Skip to content

Commit 73548bc

Browse files
authored
Use Changesets for publishing (openapi-ts#1132)
* Add changesets CI action * Update changeset for openapi-ts#1130 * Speed up monorepo build * Disable npm token for debugging * Update examples
1 parent 65d7f09 commit 73548bc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,24 @@
3232
"svelte"
3333
],
3434
"scripts": {
35-
"build": "npm run build:clean && npm run build:ts && npm run build:ts-min",
35+
"build": "pnpm run build:clean && pnpm run build:ts && pnpm run build:ts-min",
3636
"build:clean": "del dist",
3737
"build:ts": "tsc -p tsconfig.build.json",
3838
"build:ts-min": "esbuild --bundle src/index.ts --format=esm --minify --outfile=dist/index.min.js && cp dist/index.d.ts dist/index.min.d.ts",
39-
"lint": "npm run lint:js",
40-
"lint:js": "npx prettier --check \"{src,test}/**/*\"",
41-
"test": "npm run test:ts && npm run test:js",
39+
"lint": "pnpm run lint:js",
40+
"lint:js": "prettier --check \"{src,test}/**/*\"",
41+
"test": "pnpm run test:ts && npm run test:js",
4242
"test:js": "vitest run",
4343
"test:ts": "tsc --noEmit",
4444
"prepare": "openapi-typescript test/v1.yaml -o test/v1.d.ts",
45-
"prepublish": "npm run prepare && npm run build",
46-
"version": "npm run prepare && npm run build"
45+
"prepublish": "pnpm run prepare && npm run build",
46+
"version": "pnpm run prepare && npm run build"
4747
},
4848
"devDependencies": {
4949
"del-cli": "^5.0.0",
5050
"esbuild": "^0.17.19",
5151
"nanostores": "^0.8.1",
52-
"openapi-typescript": "workspace:^",
52+
"openapi-typescript": "^6.2.4",
5353
"prettier": "^2.8.8",
5454
"typescript": "^5.0.4",
5555
"vitest": "^0.31.1",

0 commit comments

Comments
 (0)