Skip to content

Commit

Permalink
build: sw-2410 migrate spec viewer to npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Aug 6, 2024
1 parent 9c998d9 commit d9bbb44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 192 deletions.
76 changes: 1 addition & 75 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
},
"scripts": {
"api:dev": "mock -p $MOCK_PORT -w ./src/services -w ./src/services/platform -w ./src/services/rhsm",
"api:docs": "node ./scripts/openapi.docs.js",
"api:proxy-hosts": "bash ./scripts/proxy.api.sh",
"api:spec": "SPEC=https://petstore.swagger.io/?url=https://raw.githubusercontent.com/RedHatInsights/rhsm-subscriptions/main/api/rhsm-subscriptions-api-v1-spec.yaml; xdg-open $SPEC || open $SPEC",
"api:spec2": "SPEC=https://petstore.swagger.io/?url=https://raw.githubusercontent.com/RedHatInsights/rhsm-subscriptions/main/api/rhsm-subscriptions-api-v2-spec.yaml; xdg-open $SPEC || open $SPEC",
"build": "run-s -l build:pre build:js build:post test:integration",
"build:deps": "bash ./scripts/dependencies.sh --doctor -u --doctorTest \"npm run test:deps\" --reject \"@patternfly/*, @redhat-cloud-services/frontend*, react-router, victory*\"",
"build:deps-core": "bash ./scripts/dependencies.sh --doctor -u --doctorTest \"npm run test:deps\" --filter \"@patternfly/*, @redhat-cloud-services/frontend*, victory*\"",
Expand Down Expand Up @@ -139,7 +140,6 @@
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"express": "^4.19.2",
"glob": "^10.4.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
Expand All @@ -151,10 +151,8 @@
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"redux-mock-store": "^1.5.4",
"swagger-ui-express": "^5.0.1",
"ts-patch": "^3.2.1",
"typescript": "^5.5.4",
"weldable": "^3.1.0",
"yamljs": "^0.3.0"
"weldable": "^3.1.0"
}
}
112 changes: 0 additions & 112 deletions scripts/openapi.docs.js

This file was deleted.

0 comments on commit d9bbb44

Please sign in to comment.