trifid icon indicating copy to clipboard operation
trifid copied to clipboard

Use ESM in all Trifid packages

Open bergos opened this issue 2 years ago • 10 comments

All packages should be converted from CommonJS to ESM.

bergos avatar Apr 19 '22 12:04 bergos

I've marked as 'Move to ESM', the ones that are dependencies of trifid

{
    "trifid-core": "^1.3.0",
    "trifid-handler-fetch": "^1.3.2",
    "trifid-handler-sparql": "^1.4.1",
    "trifid-plugin-cotton-candy": "^1.0.0",
    "trifid-plugin-hydra-box": "^1.2.0",
    "trifid-plugin-markdown": "^1.0.0",
    "trifid-plugin-renderer": "^1.2.0",
    "trifid-plugin-yasgui": "^1.3.0",
    "trifid-renderer-simple": "^5.0.1"
}

These are all the trifid repositories (that are not instances) that I found:

Trifid

  • [ ] Move to ESM visibility: public

https://github.com/zazuko/trifid

description: Lightweight Linked Data Server and Proxy

Trifid-core

  • [x] Move to ESM visibility: public

https://github.com/zazuko/trifid-core

description: Trifid Core

Plugins

Trifid-plugin-cotton-candy

  • [x] Move to ESM visibility: public

https://github.com/zazuko/trifid-plugin-cotton-candy

Trifid Cotton Candy template engine plugin

Trifid-plugin-hydra-box

  • [ ] Move to ESM visibility: public

https://github.com/zazuko/trifid-plugin-hydra-box

Trifid Hydra Box plugin

Trifid-plugin-markdown

  • [x] Move to ESM visibility: public

https://github.com/zazuko/trifid-plugin-markdown

Trifid Markdown plugin

Trifid-plugin-renderer

  • [x] Move to ESM visibility: public

https://github.com/zazuko/trifid-plugin-renderer

Trifid graph HTML render plugin

Trifid-renderer-simple

  • [x] Move to ESM visibility: private

https://github.com/zazuko/trifid-renderer-simple

A simple renderer for Trifid

Trifid-plugin-yasgui

  • [x] Move to ESM visibility:public

https://github.com/zazuko/trifid-plugin-yasgui

YASGUI for Trifid

Trifid-plugin-graph-explorer

visibility: public

https://github.com/zazuko/trifid-plugin-graph-explorer

Trifid-plugin-spex

visibility: public

https://github.com/zazuko/trifid-plugin-spex

SPEX for Trifid

Trifid-plugin-i18n

visibility: public

https://github.com/zazuko/trifid-plugin-i18n

Trifid plugin for i18n support

Handlers

Trifid-handler-sparql

  • [x] Move to ESM visiblity: public

https://github.com/zazuko/trifid-handler-sparql

Trifid-handler-fetch

  • [x] Move to ESM visibility: public

https://github.com/zazuko/trifid-handler-fetch

Fetch handler for Trifid

Trifid-handler-fs

visibility: public

https://github.com/zazuko/trifid-handler-fs

File system handler for Trifid

Trifid-handler-file

visibility: public

https://github.com/zazuko/trifid-handler-file

File handler for Trifid

cristianvasquez avatar May 04 '22 12:05 cristianvasquez

@ludovicm67 or @bergos Is this the list of packages to move to ESM?

cristianvasquez avatar May 11 '22 14:05 cristianvasquez

This would be a nice start: https://github.com/search?q=org%3Azazuko+trifid-plugin+user%3Azazuko&type=Repositories

ludovicm67 avatar May 11 '22 14:05 ludovicm67

Some pull requests

https://github.com/zazuko/trifid-plugin-yasgui/pull/3 https://github.com/zazuko/trifid-plugin-iiif/pull/1 https://github.com/zazuko/trifid-plugin-graph-explorer/pull/8 https://github.com/zazuko/trifid-plugin-spex/pull/4

cristianvasquez avatar May 30 '22 05:05 cristianvasquez

Lets try to deploy a first version on https://ld.zazuko.com/

l00mi avatar Jun 20 '22 09:06 l00mi

Could you please provide more details?

There is some source code, config files or data to start from?

cristianvasquez avatar Jun 22 '22 08:06 cristianvasquez

You would need to ask @ludovicm67 plese.

l00mi avatar Jun 22 '22 08:06 l00mi

The repo for ld.zazuko.com is here: https://github.com/zazuko/ld.zazuko.com It will automatically deploy on new SemVer tags.

You can do some tests in the https://github.com/zazuko/trifid-pocs repo if you want.

You can ask more details to @bergos if needed.

ludovicm67 avatar Jul 06 '22 15:07 ludovicm67

The status of this issue (all its sub-modules) can be checked using the https://github.com/orgs/zazuko/projects/14/views/2 instance.

cristianvasquez avatar Jul 11 '22 08:07 cristianvasquez

@cristianvasquez please create a meeting to discuss:

  • @ludovicm67 please help deploy new default instance 2.3 (ld.zazuko.com)
  • test the instance
  • create new issues for discovered problems

Irosch avatar Aug 15 '22 09:08 Irosch