Skip to content

Commit

Permalink
chore: 更新依赖并切换 cjs 为 mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed Jan 9, 2023
1 parent dd9f8c0 commit 69c9116
Show file tree
Hide file tree
Showing 11 changed files with 570 additions and 846 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
node_modules
.eslintcache
vite.config.ts.timestamp*
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
Expand Down
207 changes: 104 additions & 103 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,105 +1,106 @@
{
"name": "tov-template",
"version": "1.9.0",
"description": "vite + vue3 + ts 开箱即用现代开发模板",
"scripts": {
"dev": "vite",
"test": "vitest",
"build": "vite build",
"dev:host": "vite --host",
"dev:open": "vite --open",
"preview": "vite preview",
"deps:fresh": "npx taze -w",
"coverage": "vitest --coverage",
"analysis": "npx windicss-analysis",
"typecheck": "npx vue-tsc --noEmit",
"deps:fresh:major": "npx taze major -w",
"deps:fresh:minor": "npx taze minor -w",
"deps:fresh:patch": "npx taze patch -w",
"preview:host": "vite preview --host",
"preview:open": "vite preview --open",
"auto:create": "plop --plopfile scripts/create.js",
"auto:remove": "plop --plopfile scripts/remove.js",
"analysis:build": "npx windicss-analysis --html dist",
"lint": "eslint --ext .ts,.js,.jsx,.vue .",
"lint:fix": "eslint --fix --ext .ts,.js,.jsx,.vue .",
"prepare": "husky install"
},
"dependencies": {
"vue": "^3.2.45"
},
"engines": {
"node": ">=14"
},
"devDependencies": {
"@intlify/vite-plugin-vue-i18n": "^6.0.3",
"@types/ityped": "^1.0.1",
"@types/node": "^18.11.18",
"@typescript-eslint/parser": "^5.47.1",
"@vitejs/plugin-vue": "^3.2.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vueuse/core": "^9.9.0",
"@vueuse/integrations": "^9.9.0",
"c8": "^7.12.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.8.0",
"fast-glob": "^3.2.12",
"fs-extra": "^10.1.0",
"happy-dom": "^7.8.1",
"husky": "^8.0.2",
"ityped": "^1.0.3",
"lint-staged": "^13.1.0",
"local-pkg": "^0.4.2",
"markdown-it": "^13.0.1",
"markdown-it-anchor": "^8.6.6",
"markdown-it-prism": "^2.3.0",
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",
"pinia": "^2.0.28",
"pinia-plugin-persistedstate": "^3.0.2",
"plop": "^3.1.1",
"prettier": "^2.8.1",
"prism-theme-vars": "^0.2.4",
"prismjs": "^1.29.0",
"typescript": "^4.9.4",
"unplugin-auto-import": "^0.12.1",
"unplugin-icons": "^0.14.15",
"unplugin-vue-components": "^0.22.12",
"unplugin-vue-macros": "^1.2.0",
"unplugin-vue-router": "^0.2.3",
"vite": "^4.0.3",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-inspect": "^0.7.11",
"vite-plugin-md": "^0.20.6",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-removelog": "^0.2.1",
"vite-plugin-restart": "^0.2.0",
"vite-plugin-use-modules": "^1.3.1",
"vite-plugin-vue-meta-layouts": "^0.1.1",
"vite-plugin-windicss": "^1.8.10",
"vitest": "^0.24.5",
"vue-i18n": "^9.2.2",
"vue-request": "^1.2.4",
"vue-router": "^4.1.6",
"windicss": "^3.5.6"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"fp-ts",
"rollup",
"markdown-it",
"inferred-types",
"@types/markdown-it",
"@rollup/pluginutils",
"@yankeeinlondon/builder-api",
"@yankeeinlondon/happy-wrapper"
]
}
},
"lint-staged": {
"*.{js,jsx,vue}": "eslint --cache --fix"
}
"name": "tov-template",
"version": "1.9.0",
"description": "vite + vue3 + ts 开箱即用现代开发模板",
"type": "module",
"scripts": {
"dev": "vite",
"test": "vitest",
"build": "vite build",
"prepare": "husky install",
"dev:host": "vite --host",
"dev:open": "vite --open",
"preview": "vite preview",
"deps:fresh": "npx taze -w",
"coverage": "vitest --coverage",
"analysis": "npx windicss-analysis",
"typecheck": "npx vue-tsc --noEmit",
"deps:fresh:major": "npx taze major -w",
"deps:fresh:minor": "npx taze minor -w",
"deps:fresh:patch": "npx taze patch -w",
"preview:host": "vite preview --host",
"preview:open": "vite preview --open",
"lint": "eslint --ext .ts,.js,.jsx,.vue .",
"lint:fix": "eslint --fix --ext .ts,.js,.jsx,.vue .",
"auto:create": "plop --plopfile scripts/create.cjs",
"auto:remove": "plop --plopfile scripts/remove.cjs",
"analysis:build": "npx windicss-analysis --html dist"
},
"dependencies": {
"vue": "^3.2.45"
},
"engines": {
"node": ">=14"
},
"devDependencies": {
"@intlify/vite-plugin-vue-i18n": "^7.0.0",
"@types/ityped": "^1.0.1",
"@types/node": "^18.11.18",
"@typescript-eslint/parser": "^5.48.0",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vueuse/core": "^9.10.0",
"@vueuse/integrations": "^9.10.0",
"c8": "^7.12.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.8.0",
"fast-glob": "^3.2.12",
"fs-extra": "^11.1.0",
"happy-dom": "^8.1.3",
"husky": "^8.0.3",
"ityped": "^1.0.3",
"lint-staged": "^13.1.0",
"local-pkg": "^0.4.2",
"markdown-it": "^13.0.1",
"markdown-it-anchor": "^8.6.6",
"markdown-it-prism": "^2.3.0",
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",
"pinia": "^2.0.28",
"pinia-plugin-persistedstate": "^3.0.2",
"plop": "^3.1.1",
"prettier": "^2.8.2",
"prism-theme-vars": "^0.2.4",
"prismjs": "^1.29.0",
"typescript": "^4.9.4",
"unplugin-auto-import": "^0.12.1",
"unplugin-icons": "^0.15.1",
"unplugin-vue-components": "^0.22.12",
"unplugin-vue-macros": "^1.3.2",
"unplugin-vue-router": "^0.3.2",
"vite": "^4.0.4",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-inspect": "^0.7.12",
"vite-plugin-md": "^0.22.5",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-removelog": "^0.2.1",
"vite-plugin-restart": "^0.3.0",
"vite-plugin-use-modules": "^1.3.1",
"vite-plugin-vue-meta-layouts": "^0.1.1",
"vite-plugin-windicss": "^1.8.10",
"vitest": "^0.26.3",
"vue-i18n": "^9.2.2",
"vue-request": "^1.2.4",
"vue-router": "^4.1.6",
"windicss": "^3.5.6"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"fp-ts",
"rollup",
"markdown-it",
"inferred-types",
"@types/markdown-it",
"@rollup/pluginutils",
"@yankeeinlondon/builder-api",
"@yankeeinlondon/happy-wrapper"
]
}
},
"lint-staged": {
"*.{js,jsx,vue}": "eslint --cache --fix"
}
}
Loading

0 comments on commit 69c9116

Please sign in to comment.