Skip to content

Commit

Permalink
Fix openapi-type-fetch prepare script for Windows (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendez authored May 3, 2023
1 parent b2174ef commit a483121
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
5 changes: 5 additions & 0 deletions .changeset/cool-ghosts-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@qdrant/js-client-rest': patch
---

Fix npm install script of dependency for Windows envs
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
version: pnpm ci:version
publish: pnpm ci:release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"packageManager": "[email protected]",
"scripts": {
"prepare": "node ./prepare.cjs && pnpm -r build",
"version": "pnpm changeset version && pnpm install --lockfile-only",
"ci:version": "pnpm changeset version && pnpm install --no-frozen-lockfile && git add .",
"ci:release": "pnpm changeset publish"
},
"devDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions packages/js-client-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,12 @@
},
"dependencies": {
"@sevinf/maybe": "0.5.0",
"openapi-typescript-fetch": "Rendez/openapi-typescript-fetch#ea89f6480e498ec022e2f2f67f85004eb54e6f54"
"openapi-typescript-fetch": "Rendez/openapi-typescript-fetch#c114c381602b9b3891f0ec45dbc5409816743dad"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "15.0.2",
"@rollup/plugin-replace": "5.0.2",
"@rollup/plugin-terser": "0.4.0",
"@total-typescript/ts-reset": "0.4.2",
"@types/node": "18.15.11",
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/js-client-rest/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"declaration": true,
"declarationDir": "./dist/types",
"outDir": "./dist/esm",
"types": ["node", "vitest/importMeta", "@total-typescript/ts-reset"]
"types": ["node", "vitest/importMeta"]
},
"include": ["src", "tests", "examples", "vite.config.ts", "vite.integration.config.ts", "rollup.config.js"]
}
15 changes: 4 additions & 11 deletions pnpm-lock.yaml

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

0 comments on commit a483121

Please sign in to comment.