1.0.14 • Published 10 months ago

@microservice-ticketing/common v1.0.14

Weekly downloads
1
License
ISC
Repository
-
Last release
10 months ago

Some prerequisites about this directory

This directory was created to share the common code, such as Custom errors and middlewares, etc. with other services. This is done so that the development of shared code is done in one place. Once the development is done we push the code to the npm registry. To push the code to npm registry we need to initialize this dir to a git repo. Once done we simply use the command "npm publish --access public" to publish this package as a public package. The name of the package.json file should be of type "@organization-name/package-name". After the first run of the "npm publish --access public", the package is on the registry. After this if we make any updates, we simply need to commit the changes to git, then use "npm version patch" command or manually change the version in package.json. And finally use the command "npm publish" to publish, the access flag is not required since the package has already been published under public access.

Also the build script in npm, first clears the contents of the build dir, then converts the .ts file content to .js file content along with .d.ts files for support of ts files that might use this package.

Lastly, the pub script will never be used in a real world package because it in plain words is bad.

1.0.11

10 months ago

1.0.10

10 months ago

1.0.14

10 months ago

1.0.13

10 months ago

1.0.12

10 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago

1.0.7

11 months ago

1.0.3

11 months ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago