Skip to content

Commit

Permalink
feat: bump volar 2.2.0-alpha.6
Browse files Browse the repository at this point in the history
  • Loading branch information
wangshunnn committed Apr 7, 2024
1 parent 459526a commit 677f74b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 23 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ mpx-tsc --noEmit --incremental
```shell
# 安装依赖
pnpm i
# tsc watch 模式
# 构建
pnpm build
# watch 模式
pnpm watch
# 清除 node_modules 和 tsc 缓存
pnpm clean
# 清除缓存重新构建
pnpm resetup
```

## 发布前先本地构建
Expand Down
2 changes: 1 addition & 1 deletion bin/mpx-tsc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env node
// @ts-check
if (process.argv.includes("--info")) {
const pkgJSON = require("../package.json");
console.log(`Version ${pkgJSON["version"]} (mpx-tsc)`);
} else {
// @ts-check
require("../lib/index.js").run();
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "命令行中对Mpx文件与ts文件进行类型检查",
"main": "lib/index.js",
"scripts": {
"setup": "npm run clean && pnpm i && npm run build",
"resetup": "npm run clean && pnpm i && npm run build",
"build": "tsc -b",
"watch": "tsc -b -w",
"test": "vitest run",
Expand All @@ -20,7 +20,7 @@
"**/*.d.ts"
],
"keywords": [
"@mpxjs",
"mpx",
"miniprogram",
"typescript",
"tsc"
Expand All @@ -39,8 +39,8 @@
"mpx-tsc": "bin/mpx-tsc.js"
},
"dependencies": {
"@volar/language-core": "2.2.0-alpha.5",
"@volar/typescript": "2.2.0-alpha.5",
"@volar/language-core": "2.2.0-alpha.6",
"@volar/typescript": "2.2.0-alpha.6",
"@vue/compiler-dom": "^3.4.21",
"@vue/language-core": "2.0.10",
"computeds": "^0.0.1",
Expand Down
31 changes: 16 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 677f74b

Please sign in to comment.