@travelhubx/aws
v0.0.12
Published
This library was generated with [Nx](https://nx.dev).
Downloads
377
Keywords
Readme
aws
This library was generated with Nx.
Running unit tests
Run nx test aws
to execute the unit tests via Jest.
Publishing the package to NPM
A. Run 'nx build aws' to prepare the library for publishing.
B. In libs/aws package.json file change the library version to a newer one (ex: from 0.0.4 to 0.0.5)
C. Change directory to libs/aws and run the following scripts:
- Run
npm run build
- Run
npm run bundle
D. Change directory to dist/libs/aws and do the following:
- In the generated package.json change name from "@thx/aws" to "@travelhubx/aws".
- Run
npm login
to authenticate with your npm account and follow the instructions. - Run
npm publish --access=public
Issues:
- code ENEEDAUTH. You probably forgot to register. Go back to previous step and retry
- 402 Payment Required . You either need a paid account or you need to publish your library publicly. Don’t forget --access=public in your command line or add a PublishConfig inside your package.json.
- 403 Forbidden . When publishing, you need to increase your version number.
- 404 Not Found — Scope not found . In our case, we defined a scope as @thx instead of our organization name @travelhubx. You need to follow step 1 from section D.