Skip to content

Commit a9d08f1

Browse files
committed
chore: update version to 0.6.0
1 parent 8c6ef48 commit a9d08f1

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
cache: 'pnpm'
1616
- run: pnpm install
1717
- name: Publish package on NPM 📦
18-
run: pnpm run build-lib && npm publish
18+
run: pnpm --filter=daxus publish && pnpm --filter=daxus-next publish
1919
env:
2020
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

packages/daxus-next/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "daxus-next",
3-
"version": "0.6.0-beta.3",
3+
"version": "0.6.0",
44
"type": "module",
55
"files": [
66
"dist"
@@ -24,13 +24,14 @@
2424
"url": "https://github.com/jason89521/daxus"
2525
},
2626
"scripts": {
27-
"build": "tsc",
28-
"prepublishOnly": "pnpm run build-lib"
27+
"build": "rimraf dist && tsc",
28+
"prepublishOnly": "pnpm run build"
2929
},
3030
"devDependencies": {
3131
"@types/react": "^18.2.15",
3232
"@types/react-dom": "^18.2.7",
3333
"react": "^18.2.0",
34+
"rimraf": "^5.0.1",
3435
"react-dom": "^18.2.0",
3536
"typescript": "^5.1.6",
3637
"daxus": "workspace:*",

packages/daxus/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "daxus",
3-
"version": "0.6.0-beta.3",
3+
"version": "0.6.0",
44
"type": "module",
55
"files": [
66
"dist"
@@ -25,14 +25,13 @@
2525
},
2626
"scripts": {
2727
"dev": "vite",
28-
"build": "tsc && vite build",
29-
"build-lib": " rimraf dist && tsc --project tsconfig.lib.json",
28+
"build": "rimraf dist && tsc --project tsconfig.lib.json",
3029
"lint": "eslint src",
3130
"preview": "vite preview",
3231
"gen-api": "typedoc --options ./typedoc.json",
3332
"test": "vitest run",
3433
"test-watch": "vitest watch",
35-
"prepublishOnly": "pnpm run build-lib"
34+
"prepublishOnly": "pnpm run build"
3635
},
3736
"dependencies": {
3837
"immer": "^10.0.2"

0 commit comments

Comments
 (0)