1.0.0 • Published 9 months ago

@code_fusion/root v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Stashfin NPM Packages

Create new package

First, create the package_name folder inside /packages:

mkdir utils

Initialize a package.json file inside utils with this npm command:

npm init --scope @stashfin --workspace ./packages/package_name -y

Build the individual package

Make sure to launch it in the root directory of the stasfin.

npm run build --workspace ./packages/package_name

Build all packages

Make sure you have added the packages folder path in tsconfig.json->reference field.

npm run build

References

https://docs.npmjs.com/cli/v8/using-npm/workspaces https://earthly.dev/blog/setup-typescript-monorepo/

1.0.0

9 months ago