This library supplies all the contracts for Amplication Code Generation. The purpose is to make the contracts available for inclusion in plugins.
Run nx test amplication-code-gen-types
to execute the unit tests via Jest.
Run nx lint amplication-code-gen-types
to execute the lint via ESLint.
In order to publish to npm @amplication/code-gen-types
:
- Make sure to update the version in the package.json.
- Run the following:
# From the monorepo root folder
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