0.0.12 • Published 4 months ago

@travelhubx/aws v0.0.12

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

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: 1. Run npm run build 2. Run npm run bundle

D. Change directory to dist/libs/aws and do the following: 1. In the generated package.json change name from "@thx/aws" to "@travelhubx/aws". 2. Run npm login to authenticate with your npm account and follow the instructions. 3. Run npm publish --access=public

Issues: 1. code ENEEDAUTH. You probably forgot to register. Go back to previous step and retry 2. 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. 3. 403 Forbidden . When publishing, you need to increase your version number. 3. 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.