The JS/TS sources generated by the compiler are created as separate "-generated" packages, and a clean API facade package is created for each module.
With this PR, after running verifyTsDeclarations, all modules are packaged as scoped packages in typescript-declarations/node_modules/@cachet. For now, they can be copied from there and attached to releases. A separate later PR can look into publishing them on merges to the main branch to npm.
Generate JS/TS sources as npm packages.
The JS/TS sources generated by the compiler are created as separate "-generated" packages, and a clean API facade package is created for each module.
With this PR, after running
verifyTsDeclarations
, all modules are packaged as scoped packages intypescript-declarations/node_modules/@cachet
. For now, they can be copied from there and attached to releases. A separate later PR can look into publishing them on merges to the main branch to npm.