@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.
|
@@ -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
|
-
#
|
|
14
|
+
# install latest into the client
|
|
11
15
|
# cd $2
|
|
12
16
|
# rm -rf ./node_modules/shared-api-client
|
|
13
|
-
# pnpm install
|
|
17
|
+
# pnpm install
|
|
14
18
|
|
|
15
19
|
# # install latest into the e2e tests
|
|
16
20
|
# cd $3
|
package/package.json
CHANGED