Skip to content

Commit fec504c

Browse files
author
jerrywu
committed
docs: pkg
1 parent d414b7c commit fec504c

File tree

5 files changed

+38
-36
lines changed

5 files changed

+38
-36
lines changed

.github/workflows/deploy.yaml

+8-7
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
deploy:
3030
needs: check
31-
name: 'Deploy to vercel'
31+
name: 'Deploy to cloud'
3232
runs-on: ubuntu-latest
3333
steps:
3434
- uses: actions/checkout@v3
@@ -44,11 +44,12 @@ jobs:
4444
build_command: 'npm run build:docs'
4545
build_directory: 'docs/docs/.vitepress/dist'
4646

47-
# https://github.com/marketplace/actions/deploy-to-vercel-action
47+
# https://github.com/marketplace/actions/vercel-action
4848
- name: deploy to vercel
49-
uses: BetaHuhn/deploy-to-vercel-action@v1.7.1
49+
uses: amondnet/vercel-action@v25
5050
with:
51-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52-
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
53-
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
54-
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
51+
github-token: ${{ secrets.GITHUB_TOKEN }}
52+
vercel-args: '--prod'
53+
vercel-token: ${{ secrets.VERCEL_TOKEN }}
54+
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
55+
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"docs:serve": "vitepress serve docs"
99
},
1010
"devDependencies": {
11-
"vitepress": "1.0.0-alpha.73",
11+
"vitepress": "1.0.0-alpha.75",
1212
"vitepress-plugin-sandpack": "latest"
1313
}
1414
}

package.json

+26-26
Original file line numberDiff line numberDiff line change
@@ -73,46 +73,46 @@
7373
"typecheck": "tsc && vue-tsc"
7474
},
7575
"dependencies": {
76-
"@babel/runtime": "^7.21.0",
77-
"core-js": "^3.30.1"
76+
"@babel/runtime": "^7.21.5",
77+
"core-js": "^3.30.2"
7878
},
7979
"devDependencies": {
8080
"@babel/plugin-transform-runtime": "^7.21.4",
8181
"@babel/plugin-transform-typescript": "^7.21.3",
82-
"@babel/preset-env": "^7.21.4",
83-
"@babel/preset-typescript": "^7.21.4",
84-
"@commitlint/cli": "^17.6.1",
85-
"@commitlint/config-conventional": "^17.6.1",
82+
"@babel/preset-env": "^7.21.5",
83+
"@babel/preset-typescript": "^7.21.5",
84+
"@commitlint/cli": "^17.6.3",
85+
"@commitlint/config-conventional": "^17.6.3",
8686
"@rollup/plugin-babel": "^6.0.3",
87-
"@swc/core": "^1.3.54",
87+
"@swc/core": "^1.3.57",
8888
"@testing-library/jest-dom": "^5.16.5",
8989
"@testing-library/user-event": "^14.4.3",
9090
"@testing-library/vue": "^7.0.0",
9191
"@types/lodash.isequal": "^4.5.6",
9292
"@types/lz-string": "^1.3.34",
93-
"@types/node": "^18.16.0",
94-
"@typescript-eslint/eslint-plugin": "^5.59.1",
95-
"@typescript-eslint/parser": "^5.59.1",
96-
"@vitejs/plugin-vue": "^4.1.0",
93+
"@types/node": "^20.1.4",
94+
"@typescript-eslint/eslint-plugin": "^5.59.5",
95+
"@typescript-eslint/parser": "^5.59.5",
96+
"@vitejs/plugin-vue": "^4.2.3",
9797
"@vitejs/plugin-vue-jsx": "^3.0.1",
98-
"@vitest/ui": "^0.30.1",
98+
"@vitest/ui": "^0.31.0",
9999
"@vue/babel-plugin-jsx": "^1.1.1",
100-
"@vue/eslint-config-typescript": "^11.0.2",
100+
"@vue/eslint-config-typescript": "^11.0.3",
101101
"babel-loader": "^9.1.2",
102102
"browserslist-to-esbuild": "^1.2.0",
103103
"bumpp": "^9.1.0",
104-
"cssnano": "^6.0.0",
104+
"cssnano": "^6.0.1",
105105
"esbuild-plugin-babel": "^0.2.3",
106-
"eslint": "^8.39.0",
106+
"eslint": "^8.40.0",
107107
"eslint-config-airbnb-base": "^15.0.0",
108108
"eslint-config-airbnb-typescript": "^17.0.0",
109109
"eslint-plugin-import": "^2.27.5",
110110
"eslint-plugin-jsx-a11y": "^6.7.1",
111-
"eslint-plugin-vue": "^9.11.0",
111+
"eslint-plugin-vue": "^9.12.0",
112112
"husky": "^8.0.3",
113-
"jsdom": "^21.1.1",
114-
"lint-staged": "^13.2.1",
115-
"npm": "^9.6.5",
113+
"jsdom": "^22.0.0",
114+
"lint-staged": "^13.2.2",
115+
"npm": "^9.6.6",
116116
"npm-run-all": "^4.1.5",
117117
"postcss": "^8.4.23",
118118
"postcss-cli": "^10.1.0",
@@ -121,20 +121,20 @@
121121
"postcss-preset-env": "^8.3.2",
122122
"postcss-scss": "^4.0.6",
123123
"rimraf": "^5.0.0",
124-
"sass": "^1.62.0",
124+
"sass": "^1.62.1",
125125
"shelljs": "^0.8.5",
126-
"stylelint": "^15.6.0",
126+
"stylelint": "^15.6.1",
127127
"stylelint-config-recommended-vue": "^1.4.0",
128128
"stylelint-config-standard": "^33.0.0",
129129
"tsup": "^6.7.0",
130-
"typescript": "^4.9.5",
131-
"vite": "^4.3.1",
130+
"typescript": "^5.0.4",
131+
"vite": "^4.3.5",
132132
"vite-plugin-dts": "^2.3.0",
133-
"vitest": "^0.30.1",
134-
"vue-tsc": "^1.4.4"
133+
"vitest": "^0.31.0",
134+
"vue-tsc": "^1.6.5"
135135
},
136136
"peerDependencies": {
137-
"vue": "^3.2.0"
137+
"vue": ">=3.2.0"
138138
},
139139
"peerDependenciesMeta": {
140140
"vue": {

playground/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"typecheck": "tsc && vue-tsc"
1212
},
1313
"dependencies": {
14-
"vue-router": "^4.1.6"
14+
"vue-router": "^4.2.0"
1515
},
1616
"devDependencies": {
1717
"@storybook/addon-actions": "~6.5.16",
@@ -21,7 +21,7 @@
2121
"@storybook/builder-vite": "0.4.2",
2222
"@storybook/vue3": "~6.5.16",
2323
"cross-env": "^7.0.3",
24-
"vue-loader": "^17.0.1"
24+
"vue-loader": "^17.1.1"
2525
},
2626
"overrides": {
2727
"@storybook/addon-essentials": {

tsup.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default defineConfig({
2222
],
2323
shims: false,
2424
clean: true,
25+
treeshake: true,
2526
dts: './src/index.ts',
2627
// sourcemap: true,
2728
splitting: false,

0 commit comments

Comments
 (0)