@darraghor/nest-backend-libs 2.16.0 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@
8
8
  "typings": "dist/index.d.ts",
9
9
  "scripts": {
10
10
  "build": "tsc",
11
- "prepare": "yarn build"
11
+ "prepare": "pnpm build"
12
12
  },
13
13
  "devDependencies": {
14
14
  "typescript": "^3.9.5"
@@ -5,12 +5,16 @@ npx @openapitools/openapi-generator-cli generate -i ./open-api/swagger.json -g t
5
5
  cp ./node_modules/@darraghor/nest-backend-libs/dist/open-api-generation/api-client-templates/api-client-ts-config-template.json $1/tsconfig.json
6
6
  cp ./node_modules/@darraghor/nest-backend-libs/dist/open-api-generation/api-client-templates/package-json-template.json $1/package.json
7
7
  cd $1
8
+ # replace the name property in the package.json
9
+ echo "setting package name"
10
+ npm pkg set name=$4
11
+
8
12
  pnpm install -r
9
13
 
10
- # # install latest into the client
14
+ # install latest into the client
11
15
  # cd $2
12
16
  # rm -rf ./node_modules/shared-api-client
13
- # pnpm install --check-files
17
+ # pnpm install
14
18
 
15
19
  # # install latest into the e2e tests
16
20
  # cd $3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darraghor/nest-backend-libs",
3
- "version": "2.16.0",
3
+ "version": "2.17.0",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "description": "Some helpers for personal projects in nestjs",
6
6
  "homepage": "https://github.com/darraghoriordan/nest-backend-libs",