|
45 | 45 | "react": "^19.0.0" |
46 | 46 | }, |
47 | 47 | "scripts": { |
48 | | - "build": "npm run generate --buildver=$npm_config_buildver", |
| 48 | + "build": "npm run bundle-oas && npm run generate --buildver=$npm_config_buildver", |
49 | 49 | "bundle-oas": "mkdir -p build && redocly bundle specification/api/notify-supplier-phase1.yml --dereferenced --remove-unused-components --ext yml > build/notify-supplier.yml", |
50 | 50 | "generate": "npm run generate:cs --buildver=$npm_config_buildver && npm run generate:html && npm run generate:ts --buildver=$npm_config_buildver && npm run generate:python", |
51 | 51 | "generate-dependencies": "npm run generate-dependencies --workspaces --if-present", |
52 | 52 | "generate:cs": "./sdk/generate-cs.sh $npm_config_buildver", |
53 | 53 | "generate:cs-server": "./server/generate-cs-server.sh $npm_config_buildver", |
54 | | - "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", |
55 | | - "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", |
| 54 | + "generate:html": "docker run --rm --user $(id -u) -v ${PWD}:/local openapitools/openapi-generator-cli generate -i /local/build/notify-supplier.yml -g html -o /local/sdk/html --skip-validate-spec", |
| 55 | + "generate:python": "docker run --rm --user $(id -u) -v ${PWD}:/local openapitools/openapi-generator-cli generate -i /local/build/notify-supplier.yml -g python -o /local/sdk/python --skip-validate-spec", |
56 | 56 | "generate:ts": "./sdk/generate-ts.sh $npm_config_buildver", |
57 | 57 | "lint": "npm run lint --workspaces", |
58 | | - "lint-oas": "redocly lint specification/api/notify-supplier.yml", |
| 58 | + "lint-oas": "redocly lint specification/api/notify-supplier-phase1.yml", |
59 | 59 | "lint:fix": "npm run lint:fix --workspaces", |
60 | 60 | "publish-oas": "mkdir -p build && redocly bundle specification/api/notify-supplier-phase1.yml --dereferenced --remove-unused-components --ext json > build/notify-supplier.json", |
61 | 61 | "serve": "npm run serve-html-docs", |
|
0 commit comments