@darraghor/nest-backend-libs 1.26.0 → 1.27.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.
@@ -1,18 +1,18 @@
1
1
  #!/bin/sh
2
- rm -rf ../shared-api-client/src
3
- rm -rf ../shared-api-client/dist
4
- npx @openapitools/openapi-generator-cli generate -i ./open-api/swagger.json -g typescript-fetch -o ../shared-api-client --additional-properties=typescriptThreePlus=true,withInterfaces=true,npmName=shared-api-client,supportsES6=true,modelPropertyNaming=original,enumPropertyNaming=original
5
- cp ./node_modules/@darraghor/nest-backend-libs/dist/open-api-generation/api-client-templates/api-client-ts-config-template.json ../shared-api-client/tsconfig.json
6
- cp ./node_modules/@darraghor/nest-backend-libs/dist/open-api-generation/api-client-templates/package-json-template.json ../shared-api-client/package.json
7
- cd ../shared-api-client
2
+ rm -rf $1/src
3
+ rm -rf $1/dist
4
+ npx @openapitools/openapi-generator-cli generate -i ./open-api/swagger.json -g typescript-fetch -o $1 --additional-properties=typescriptThreePlus=true,withInterfaces=true,npmName=shared-api-client,supportsES6=true,modelPropertyNaming=original,enumPropertyNaming=original
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
+ cp ./node_modules/@darraghor/nest-backend-libs/dist/open-api-generation/api-client-templates/package-json-template.json $1/package.json
7
+ cd $1
8
8
  yarn
9
9
 
10
10
  # install latest into the client
11
- cd ../frontend
11
+ cd $2
12
12
  rm -rf ./node_modules/shared-api-client
13
13
  yarn install --check-files
14
14
 
15
15
  # install latest into the e2e tests
16
- cd ../e2e-backend
16
+ cd $3
17
17
  rm -rf ./node_modules/shared-api-client
18
18
  yarn install --check-files
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darraghor/nest-backend-libs",
3
- "version": "1.26.0",
3
+ "version": "1.27.0",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Some helpers for personal projects in nestjs",
6
6
  "homepage": "https://github.com/darraghoriordan/nest-backend-libs",