@darraghor/nest-backend-libs 2.15.4 → 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,14 +5,18 @@ 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
- yarn
8
+ # replace the name property in the package.json
9
+ echo "setting package name"
10
+ npm pkg set name=$4
11
+
12
+ pnpm install -r
9
13
 
10
14
  # install latest into the client
11
- cd $2
12
- rm -rf ./node_modules/shared-api-client
13
- yarn install --check-files
15
+ # cd $2
16
+ # rm -rf ./node_modules/shared-api-client
17
+ # pnpm install
14
18
 
15
- # install latest into the e2e tests
16
- cd $3
17
- rm -rf ./node_modules/shared-api-client
18
- yarn install --check-files
19
+ # # install latest into the e2e tests
20
+ # cd $3
21
+ # rm -rf ./node_modules/shared-api-client
22
+ # pnpm install --check-files
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darraghor/nest-backend-libs",
3
- "version": "2.15.4",
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",