Skip to content

Commit 9c8f24c

Browse files
committed
refactor: replace assert with assert-plus
1 parent 8ffc2dd commit 9c8f24c

File tree

3 files changed

+14
-140
lines changed

3 files changed

+14
-140
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
"@volar/typescript": "~1.11.1",
8787
"@vue/babel-plugin-jsx": "^1.2.2",
8888
"@vue/language-service": "1.9.0-alpha.3",
89-
"assert": "^2.1.0",
9089
"bumpp": "^9.4.1",
9190
"codemirror": "^5.65.16",
9291
"conventional-changelog-cli": "^5.0.0",
@@ -105,5 +104,8 @@
105104
"vite-plugin-dts": "^3.9.1",
106105
"vue": "^3.4.29",
107106
"vue-tsc": "^2.0.21"
107+
},
108+
"dependencies": {
109+
"assert-plus": "^1.0.0"
108110
}
109111
}

pnpm-lock.yaml

Lines changed: 10 additions & 139 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vite.preview.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default defineConfig({
1414
alias: {
1515
'@vue/compiler-dom': '@vue/compiler-dom/dist/compiler-dom.cjs.js',
1616
'@vue/compiler-core': '@vue/compiler-core/dist/compiler-core.cjs.js',
17+
assert: 'assert-plus',
1718
},
1819
},
1920
build: {

0 commit comments

Comments
 (0)