1.0.0 • Published 9 months ago
@code_fusion/root v1.0.0
Stashfin NPM Packages
Create new package
First, create the package_name folder inside /packages:
mkdir utilsInitialize a package.json file inside utils with this npm command:
npm init --scope @stashfin --workspace ./packages/package_name -yBuild the individual package
Make sure to launch it in the root directory of the stasfin.
npm run build --workspace ./packages/package_nameBuild all packages
Make sure you have added the packages folder path in tsconfig.json->reference field.
npm run buildReferences
https://docs.npmjs.com/cli/v8/using-npm/workspaces https://earthly.dev/blog/setup-typescript-monorepo/
1.0.0
9 months ago