File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 4545 "react" : " ^19.0.0"
4646 },
4747 "scripts" : {
48- "build" : " npm run generate" ,
49- "generate" : " npm run generate:cs && npm run generate:html && npm run generate:ts && npm run generate:python" ,
48+ "build" : " npm run generate --buildver=$npm_config_buildver " ,
49+ "generate" : " npm run generate:cs --buildver=$npm_config_buildver && npm run generate:html && npm run generate:ts && npm run generate:python" ,
5050 "generate-dependencies" : " npm run generate-dependencies --workspaces --if-present" ,
51- "generate:cs" : " ./sdk/generate-cs.sh" ,
51+ "generate:cs" : " ./sdk/generate-cs.sh $npm_config_buildver " ,
5252 "generate:html" : " docker run --rm --user $(id -u) -v ${PWD}:/local openapitools/openapi-generator-cli generate -i /local/specification/api/notify-supplier.yml -g html -o /local/sdk/html --skip-validate-spec" ,
5353 "generate:python" : " docker run --rm --user $(id -u) -v ${PWD}:/local openapitools/openapi-generator-cli generate -i /local/specification/api/notify-supplier.yml -g python -o /local/sdk/python --skip-validate-spec" ,
5454 "generate:ts" : " ./sdk/generate-ts.sh" ,
55+ "hello" : " echo Hello $npm_config_buildver!" ,
5556 "lint" : " npm run lint --workspaces" ,
5657 "lint:fix" : " npm run lint:fix --workspaces" ,
5758 "serve" : " npm run serve-html-docs" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ VERSION ?= ""
33SHELL = /bin/bash
44
55build : version # Build the project artefact @Pipeline
6- VER=$$(cat .version ) && cd .. && npm run build -- $$ VER && cd sdk
6+ VER=$$(cat .version ) && cd .. && npm run build --buildver= $$ VER && cd sdk
77 ./swagger-static.sh
88
99clean : # Clean-up project resources (main) @Operations
Original file line number Diff line number Diff line change 1- version : 1.1.1-1.1
1+ version : 1.1.1-1.2
You can’t perform that action at this time.
0 commit comments