ndw / xslt-relax-ng

RELAX NG grammars for XSLT 1.0, 2.0, ...
http://norman.walsh.name/2006/07/12/xslt20
MIT License
36 stars 4 forks source link

Package up and publish the schemas #8

Open ndw opened 3 months ago

ndw commented 3 months ago
  1. On a website somewhere
  2. In Maven
  3. In other repositories?
sashafirsov commented 3 months ago

In NPM. Also schema should be as in compact as in XML format. Most of use would be in XML.

If the output would include JSON or JSON5, it would make npm exposure simpler.

Output as TypeScript types+object?

When published in NPM, there are semver CDNs like unpkg automatically pick it up. But it is not valuable commercially due to performance and reliability.
Perhaps same site as previous schema published?

sashafirsov commented 3 months ago

Suggesting the monorepo (Nx?) as proj structure to produce the multiple build pipelines. NPM and MVN would be sub-projects.

ndw commented 3 months ago

I can produce RNC and RNG easily. I have no idea what JSON (JSON5?) versions of the schemas would be. I'm not aware of any JSON serialization of RELAX NG. Nor can I begin to imagine what TypeScript could be generated.