Skip to content

Commit 236e724

Browse files
committed
chore: update
1 parent 66604d2 commit 236e724

File tree

6 files changed

+321
-207
lines changed

6 files changed

+321
-207
lines changed

.github/workflows/deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
# # 构建
4242
# - name: Build VitePress site
43-
# run: yarn build
43+
# run: pnpm build
4444

4545
# # 部署
4646
# - name: Deploy

.github/workflows/export-size.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
.AppleDouble
44
.LSOverride
55

6-
# Dist files
7-
lib
8-
96
# Dependency directories
107
node_modules/
118
jspm_packages/
@@ -20,8 +17,6 @@ TODOs.md
2017
RELEASE_NOTE*.md
2118

2219
# Build files
23-
packages/*/client/
24-
packages/*/node/
2520
dist
2621

2722
# VuePress files

babel.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
presets: ['@babel/preset-env'],
3+
env: {
4+
test: {
5+
plugins: ['@babel/plugin-transform-modules-commonjs'],
6+
},
7+
},
8+
}

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,13 @@
9090
]
9191
]
9292
},
93+
"dependencies": {
94+
"build": "^0.1.4"
95+
},
9396
"devDependencies": {
97+
"@babel/core": "^7.15.0",
98+
"@babel/plugin-transform-modules-commonjs": "^7.15.0",
99+
"@babel/preset-env": "^7.15.0",
94100
"@commitlint/cli": "^13.1.0",
95101
"@commitlint/config-conventional": "^13.1.0",
96102
"@textlint-rule/textlint-rule-no-unmatched-pair": "1.0.8",
@@ -113,7 +119,7 @@
113119
"@vuepress/plugin-toc": "2.0.0-beta.24",
114120
"@vueuse/core": "5.3.0",
115121
"axios": "0.21.1",
116-
"babel-jest": "^27.0.6",
122+
"babel-jest": "^27.1.0",
117123
"concurrently": "6.2.1",
118124
"conventional-changelog-cli": "2.1.1",
119125
"cpx2": "3.0.1",
@@ -165,6 +171,7 @@
165171
"stylelint-prettier": "^1.2.0",
166172
"stylelint-scss": "^3.20.1",
167173
"ts-jest": "27.0.4",
174+
"ts-node": "^10.2.1",
168175
"typescript": "4.3.5",
169176
"vuepress": "2.0.0-beta.24",
170177
"vuepress-plugin-feed2": "2.0.0-alpha.6",

0 commit comments

Comments
 (0)