amplication-code-gen-types
This library supplies all the contracts for Amplication Code Generation.
The purpose is to make the contracts available for inclusion in plugins.
Running unit tests
Run nx test amplication-code-gen-types
to execute the unit tests via Jest.
Running lint
Run nx lint amplication-code-gen-types
to execute the lint via ESLint.
Publish to npm
In order to publish to npm @amplication/code-gen-types
:
- Make sure to update the version in the package.json.
- Run the following:
npm i
npx nx build code-gen-types
cd ./dist/libs/util/code-gen-types
To publish the package as "beta" run:
npm publish --access public --tag beta
To publish the package as "latest" run:
npm publish --access public