build icon indicating copy to clipboard operation
build copied to clipboard

Create a build command for every package and distribute a lib folder inside the packages instead of the src one

Open lukasholzer opened this issue 1 year ago • 0 comments

As first step copy the src to a lib folder in a dedicated build npm script. And create all the CI/CD stuff for publishing the package with the correct content.

  • the package structure should look like the same except a src folder in there it should be the build one.
  • adapt the package.json files inside the packages to reflect the structure and copy additional files if needed like yaml etc.
  • As first small step you can just run cp -R src lib instead of actually running tsc

Pre requisite for #4472

As a strech goal you can use lerna with nx to execute the builds https://lerna.js.org/docs/lerna-and-nx

instead of invoking with npm run build --workspaces

lukasholzer avatar Sep 20 '22 14:09 lukasholzer