1.0.0 • Published 2 years ago

nodejs-config-library v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago
  1. Install globally npm install -g file:/Users/adam.gilbert/Documents/Workspace/shared/nodejs-library/nodejs-library-1.0.0.tgz
  2. Run getSharedPackage to update scripts: getSharedPackage "`pwd`/package.json" && npm install
  3. Run with "update = true" update dependency versions to default package: "node -e 'require(\"nodejs-library\").merge(path.resolve(__dirname, \"./package.json\"), null, true)'" getSharedPackage "`pwd`/package.json" --update Deployment:
  4. npm config set @welllabs:registry https://gitlab.com/api/v4/packages/npm/
  5. npm config set -- '//gitlab.com/api/v4/packages/npm/:_authToken' "deploy_token"
  6. npm publish

todo: when npm 7 (node14) is installed in the gitlab image, use workspaces to achieve monorepo

npm config set @well:registry https://gitlab.com/api/v4/projects/37473273/packages/npm/ npm config set -- '//gitlab.com/api/v4/projects/37473273/packages/npm/:_authToken' "glpat-GPdW8zKRP5ZLJLAn4Y1A"