Skip to content

Commit

Permalink
chore: try lock vue instead
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 12, 2024
1 parent 63af906 commit 0cf0984
Show file tree
Hide file tree
Showing 13 changed files with 544 additions and 296 deletions.
16 changes: 8 additions & 8 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"docs:preview": "vitepress preview"
},
"dependencies": {
"@unocss/reset": "^0.62.3",
"@vueuse/core": "^11.0.3",
"floating-vue": "^5.2.2",
"fuse.js": "^7.0.0",
"sass": "^1.78.0",
"unocss": "^0.62.3",
"vitepress": "^1.3.4",
"vue": "^3.5.4"
"@unocss/reset": "catalog:",
"@vueuse/core": "catalog:",
"floating-vue": "catalog:",
"fuse.js": "catalog:",
"sass": "catalog:",
"unocss": "catalog:",
"vitepress": "catalog:",
"vue": "catalog:"
}
}
73 changes: 37 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,51 +16,52 @@
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^3.6.0",
"@iconify-json/ri": "^1.2.0",
"@iconify-json/svg-spinners": "^1.2.0",
"@shikijs/markdown-it": "^1.17.0",
"@shikijs/transformers": "^1.17.0",
"@shikijs/twoslash": "^1.17.0",
"@shikijs/vitepress-twoslash": "^1.17.0",
"@types/node": "^22.5.4",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@typescript/twoslash": "^3.2.8",
"@typescript/vfs": "^1.6.0",
"@vitest/coverage-v8": "^2.1.0",
"@vueuse/core": "^11.0.3",
"bumpp": "^9.5.2",
"eslint": "^9.10.0",
"esno": "^4.7.0",
"fast-glob": "^3.3.2",
"jiti": "^1.21.6",
"lint-staged": "^15.2.10",
"lz-string": "^1.5.0",
"mlly": "^1.7.1",
"preact": "^10.23.2",
"pretty-format": "^29.7.0",
"react": "^18.3.1",
"shiki": "^1.17.0",
"simple-git-hooks": "^2.11.1",
"tslib": "^2.7.0",
"@antfu/eslint-config": "catalog:",
"@iconify-json/ri": "catalog:",
"@iconify-json/svg-spinners": "catalog:",
"@shikijs/markdown-it": "catalog:",
"@shikijs/transformers": "catalog:",
"@shikijs/twoslash": "catalog:",
"@shikijs/vitepress-twoslash": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@typescript/twoslash": "catalog:",
"@typescript/vfs": "catalog:",
"@vitest/coverage-v8": "catalog:",
"@vueuse/core": "catalog:",
"bumpp": "catalog:",
"eslint": "catalog:",
"esno": "catalog:",
"fast-glob": "catalog:",
"jiti": "catalog:",
"lint-staged": "catalog:",
"lz-string": "catalog:",
"mlly": "catalog:",
"preact": "catalog:",
"pretty-format": "catalog:",
"react": "catalog:",
"shiki": "catalog:",
"simple-git-hooks": "catalog:",
"tslib": "catalog:",
"twoslash": "workspace:*",
"twoslash-cdn": "workspace:*",
"twoslash-eslint": "workspace:*",
"twoslash-vue": "workspace:*",
"typescript": "^5.6.2",
"unbuild": "^2.0.0",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.4",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.1.0",
"vue": "^3.5.4"
"typescript": "catalog:",
"unbuild": "catalog:",
"unplugin-vue-components": "catalog:",
"vite": "catalog:",
"vite-tsconfig-paths": "catalog:",
"vitest": "catalog:",
"vue": "catalog:"
},
"resolutions": {
"@types/node": "^22.5.4",
"twoslash": "workspace:*",
"twoslash-vue": "workspace:*",
"typescript": "5.5.4"
"typescript": "catalog:",
"vue": "catalog:"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
Expand Down
14 changes: 7 additions & 7 deletions packages/twoslash-cdn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
"twoslash": "workspace:*"
},
"devDependencies": {
"@typescript/ata": "^0.9.7",
"@typescript/vfs": "^1.6.0",
"@typescript/ata": "catalog:",
"@typescript/vfs": "catalog:",
"twoslash-cdn": "workspace:*",
"typescript": "^5.6.2",
"unbuild": "^2.0.0",
"unstorage": "^1.12.0",
"vite": "^5.4.4",
"vitest": "^2.1.0"
"typescript": "catalog:",
"unbuild": "catalog:",
"unstorage": "catalog:",
"vite": "catalog:",
"vitest": "catalog:"
}
}
8 changes: 4 additions & 4 deletions packages/twoslash-cdn/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"dev": "vite"
},
"dependencies": {
"@shikijs/twoslash": "^1.17.0",
"shiki": "^1.17.0"
"@shikijs/twoslash": "catalog:",
"shiki": "catalog:"
},
"devDependencies": {
"idb-keyval": "^6.2.1",
"vite": "^5.4.4"
"idb-keyval": "catalog:",
"vite": "catalog:"
}
}
2 changes: 1 addition & 1 deletion packages/twoslash-eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
"twoslash-protocol": "workspace:*"
},
"devDependencies": {
"@types/eslint": "^9.6.1"
"@types/eslint": "catalog:"
}
}
2 changes: 1 addition & 1 deletion packages/twoslash-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"typescript": "*"
},
"dependencies": {
"@vue/language-core": "~2.1.6",
"@vue/language-core": "catalog:",
"twoslash": "workspace:*",
"twoslash-protocol": "workspace:*"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/twoslash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
"typescript": "*"
},
"dependencies": {
"@typescript/vfs": "^1.6.0",
"@typescript/vfs": "catalog:",
"twoslash-protocol": "workspace:*"
},
"devDependencies": {
"ohash": "^1.1.3"
"ohash": "catalog:"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
Expand Down
6 changes: 4 additions & 2 deletions packages/twoslash/test/results/tests/completions-edge-2.json

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

3 changes: 2 additions & 1 deletion packages/twoslash/test/results/tests/completions-edge.json

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

9 changes: 6 additions & 3 deletions packages/twoslash/test/results/tests/completions-files-2.json

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

30 changes: 20 additions & 10 deletions packages/twoslash/test/results/tests/completions-literals.json

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

Loading

0 comments on commit 0cf0984

Please sign in to comment.