Thanks for the video! To be honest, I don't find 'npm publish' that complicated. I guess adding an additional layer with Nx introduces more things to manage, don't you think? Also, while there aren't too many fans of "npm link" out there, I'm one of them 😂. It's a great solution for all npm-based frameworks, and I wish more people talked about it since libraries are everywhere. Great content, by the way!
You still have to 'npm publish' with Nx anyway, the tricky part it handles is the out of the box compilation to both CJS and ESM, auto generating the package.json entries for that, and if you need them it can also handle adding secondary entry points for you.
Can you show how to integrate: Husky, Commitlint, Commitizen, Automatic Semver with ci/cd/github workflow (with eg jscutlery/semver package), auto distribution.. and so on
Next newsletter goes out tomorrow with some extra notes on TypeScript mixins: mobirony.ck.page/4a331b9076
thanks so much!
Thanks for the video! To be honest, I don't find 'npm publish' that complicated. I guess adding an additional layer with Nx introduces more things to manage, don't you think? Also, while there aren't too many fans of "npm link" out there, I'm one of them 😂. It's a great solution for all npm-based frameworks, and I wish more people talked about it since libraries are everywhere. Great content, by the way!
You still have to 'npm publish' with Nx anyway, the tricky part it handles is the out of the box compilation to both CJS and ESM, auto generating the package.json entries for that, and if you need them it can also handle adding secondary entry points for you.
Can you show how to integrate:
Husky, Commitlint, Commitizen, Automatic Semver with ci/cd/github workflow (with eg jscutlery/semver package), auto distribution.. and so on
You just have to go to their website, read the on-screen instructions and it should be done pretty easily
@@NatoBoram yeah would be nice to have a video about it too to spread awareness.
These additional tools should be automatically invoiced by the CLI generator at this point.
Another way to bump and create tag at the same time:
yarn version [--(major|minor|patch|...)]
Personally I think everyone should move away from CommonJS and fully embrace ESM. It's a native cross-runtime standard that works everywhere.