Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit ff18ff0

Browse files
committed
Use @vitejs/release-scripts
1 parent 47c8981 commit ff18ff0

File tree

8 files changed

+456
-125
lines changed

8 files changed

+456
-125
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
cache-dependency-path: "**/pnpm-lock.yaml"
2424
- run: pnpm install --frozen-lockfile --prefer-offline
2525
- run: pnpm build
26-
- run: pnpm publishCI ${{ github.ref_name }}
26+
- run: pnpm tsx scripts/publish.ts ${{ github.ref_name }}
2727
env:
2828
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2929
- uses: ArnaudBarre/github-release@v1

CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
## 3.1.0-beta.2
66

7-
## 3.1.0-beta.1
8-
9-
## 3.1.0-beta.0
10-
117
- Fix HMR for styled components exported alongside other components
128
- Support TypeScript decorators via the new `tsDecorators` option. This requires `experimentalDecorators` in tsconfig.
139
- Support plugins via the new `plugins` options

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
"version": "3.1.0-beta.2",
44
"private": true,
55
"scripts": {
6-
"dev": "scripts/bundle.ts --dev",
7-
"build": "scripts/bundle.ts",
6+
"dev": "tsx scripts/bundle.ts --dev",
7+
"build": "tsx scripts/bundle.ts",
88
"test": "playwright test",
99
"prettier": "pnpm prettier-ci --write",
1010
"prettier-ci": "prettier --cache --ignore-path=.gitignore --check '**/*.{js,jsx,ts,tsx,html,css,json,md,yml}'",
1111
"ci": "tsc && pnpm prettier-ci && pnpm build && cd playground && tsc && cd .. && pnpm test",
12-
"release": "scripts/release.ts",
13-
"publishCI": "scripts/publish.ts"
12+
"release": "tsx scripts/release.ts"
1413
},
1514
"prettier": {
1615
"trailingComma": "all"
@@ -22,16 +21,15 @@
2221
"vite": "^4"
2322
},
2423
"devDependencies": {
25-
"@nabla/tnode": "^0.8.0",
2624
"@playwright/test": "^1.29.2",
2725
"@types/fs-extra": "^11.0.1",
2826
"@types/node": "^18.11.18",
29-
"@types/semver": "^7.3.13",
27+
"@vitejs/release-scripts": "^1.0.4",
3028
"esbuild": "^0.16.17",
3129
"fs-extra": "^11.1.0",
3230
"picocolors": "^1.0.0",
3331
"prettier": "^2.8.2",
34-
"semver": "^7.3.8",
32+
"tsx": "^3.12.2",
3533
"typescript": "^4.9.4",
3634
"vite": "^4.0.4"
3735
}

0 commit comments

Comments
 (0)