Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirvolek committed May 27, 2024
1 parent ecf1029 commit bf9649c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"scripts": {
"prepublish": "yarn build",
"build": "yarn bundle && yarn generate-types && yarn generate-json-schema",
"build": "rimraf lib && yarn tsc && yarn bundle && yarn generate-types && yarn generate-json-schema",
"bundle": "yarn redocly bundle -o ./openapi.yaml src/definitions.yaml && yarn copy",
"copy": "cp ./openapi.yaml ./docs/spec.yaml",
"lint": "yarn build && scalar validate ./openapi.yaml",
Expand All @@ -28,6 +28,7 @@
"@scalar/cli": "^0.2.91",
"@vitest/coverage-v8": "^1.0.4",
"openapi-typescript": "6.7.3",
"rimraf": "^5.0.5",
"typescript": "^5.3.2",
"vitest": "^1.0.4"
},
Expand Down
14 changes: 13 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ __metadata:
ajv: "npm:^8.12.0"
cbor: "npm:^9.0.1"
openapi-typescript: "npm:6.7.3"
rimraf: "npm:^5.0.5"
typescript: "npm:^5.3.2"
vitest: "npm:^1.0.4"
yaml: "npm:^2.3.4"
Expand Down Expand Up @@ -3536,7 +3537,7 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^10.2.2, glob@npm:^10.3.10":
"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7":
version: 10.4.1
resolution: "glob@npm:10.4.1"
dependencies:
Expand Down Expand Up @@ -6413,6 +6414,17 @@ __metadata:
languageName: node
linkType: hard

"rimraf@npm:^5.0.5":
version: 5.0.7
resolution: "rimraf@npm:5.0.7"
dependencies:
glob: "npm:^10.3.7"
bin:
rimraf: dist/esm/bin.mjs
checksum: 10/1e3cecfe59ee2383dfd9ba5373caeed48ed941318a0360119419b7dffc63115661408b9427f67e1f66b5bbb8855a3953db09e55a7362b3df904a44453dfa22fb
languageName: node
linkType: hard

"rollup@npm:^4.13.0":
version: 4.18.0
resolution: "rollup@npm:4.18.0"
Expand Down

0 comments on commit bf9649c

Please sign in to comment.