Skip to content

Commit

Permalink
fix: remove i18n top level await
Browse files Browse the repository at this point in the history
fix: #218
  • Loading branch information
buqiyuan committed Oct 3, 2024
1 parent 8c73538 commit 7221189
Show file tree
Hide file tree
Showing 41 changed files with 5,636 additions and 8,886 deletions.
14 changes: 1 addition & 13 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
"npm.packageManager": "pnpm",
"editor.tabSize": 2,
"editor.defaultFormatter": "esbenp.prettier-vscode",
// 保存文件缓慢时,可以考虑开启以下 3 行配置。
"vue.server.maxOldSpaceSize": 4096,
"vue.server.hybridMode": true,
"typescript.tsserver.maxTsServerMemory": 4096,
"files.eol": "\n",
"editor.guides.bracketPairs": true,
"editor.bracketPairColorization.enabled": true,
Expand Down Expand Up @@ -92,15 +88,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.fixAll.stylelint": "explicit"
},
"[vue]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.fixAll.stylelint": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode"
"source.fixAll.eslint": "explicit"
},
"i18n-ally.localesPaths": ["src/locales/lang"],
"i18n-ally.keystyle": "nested",
Expand Down
107 changes: 48 additions & 59 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,26 @@
"@ant-design/icons-vue": "~7.0.1",
"@iconify/vue": "^4.1.2",
"@tinymce/tinymce-vue": "^6.0.1",
"@vueuse/core": "~10.11.0",
"ant-design-vue": "~4.2.3",
"axios": "~1.7.3",
"@vueuse/core": "~11.1.0",
"ant-design-vue": "~4.2.5",
"axios": "~1.7.7",
"crypto-js": "^4.2.0",
"dayjs": "~1.11.12",
"dayjs": "~1.11.13",
"echarts": "^5.5.1",
"file-saver": "~2.0.5",
"lodash-es": "~4.17.21",
"mitt": "~3.0.1",
"nprogress": "~1.0.0-1",
"pinia": "~2.2.0",
"pinia-plugin-persistedstate": "^3.2.1",
"pinia": "~2.2.4",
"pinia-plugin-persistedstate": "^4.0.2",
"qiniu-js": "^3.4.2",
"qs": "~6.13.0",
"sortablejs": "~1.15.2",
"tinymce": "^7.2.1",
"vue": "~3.4.35",
"vue-echarts": "^6.7.3",
"vue-i18n": "9.13.1",
"vue-router": "~4.4.2",
"sortablejs": "~1.15.3",
"tinymce": "^7.3.0",
"vue": "~3.5.11",
"vue-echarts": "^7.0.3",
"vue-i18n": "~10.0.3",
"vue-router": "~4.4.5",
"vue-types": "~5.1.3",
"vue-virtual-scroller": "2.0.0-beta.8",
"xlsx": "~0.18.5"
Expand All @@ -73,62 +73,62 @@
"@admin-pkg/vite-plugin-http2-proxy": "workspace:*",
"@admin-pkg/vite-plugin-msw": "workspace:*",
"@admin-pkg/vite-plugin-tinymce-resource": "workspace:*",
"@commitlint/cli": "~19.3.0",
"@commitlint/config-conventional": "~19.2.2",
"@faker-js/faker": "^8.4.1",
"@iconify-json/ant-design": "^1.1.16",
"@iconify-json/ep": "^1.1.15",
"@iconify/json": "^2.2.233",
"@commitlint/cli": "~19.5.0",
"@commitlint/config-conventional": "~19.5.0",
"@faker-js/faker": "^9.0.3",
"@iconify-json/ant-design": "^1.2.1",
"@iconify-json/ep": "^1.2.0",
"@iconify/json": "^2.2.255",
"@types/crypto-js": "^4.2.2",
"@types/lodash-es": "~4.17.12",
"@types/node": "~22.1.0",
"@types/qs": "^6.9.15",
"@types/node": "~22.7.4",
"@types/qs": "^6.9.16",
"@types/sortablejs": "^1.15.8",
"@typescript-eslint/eslint-plugin": "~8.0.0",
"@typescript-eslint/parser": "~8.0.0",
"@umijs/openapi": "^1.12.1",
"@vitejs/plugin-vue": "~5.1.2",
"@vitejs/plugin-vue-jsx": "~4.0.0",
"@typescript-eslint/eslint-plugin": "~8.8.0",
"@typescript-eslint/parser": "~8.8.0",
"@umijs/openapi": "^1.13.0",
"@vitejs/plugin-vue": "~5.1.4",
"@vitejs/plugin-vue-jsx": "~4.0.1",
"@vue/tsconfig": "^0.5.1",
"commitizen": "~4.3.0",
"commitizen": "~4.3.1",
"conventional-changelog-cli": "~4.1.0",
"core-js": "^3.37.1",
"core-js": "^3.38.1",
"cross-env": "~7.0.3",
"eslint": "~9.8.0",
"eslint": "~9.11.1",
"eslint-config-prettier": "~9.1.0",
"eslint-define-config": "~2.1.0",
"eslint-plugin-import": "~2.29.1",
"eslint-plugin-import": "~2.31.0",
"eslint-plugin-prettier": "~5.2.1",
"eslint-plugin-unused-imports": "^4.0.1",
"eslint-plugin-vue": "~9.27.0",
"husky": "~9.1.4",
"eslint-plugin-unused-imports": "^4.1.4",
"eslint-plugin-vue": "~9.28.0",
"husky": "~9.1.6",
"less": "~4.2.0",
"lint-staged": "~15.2.8",
"msw": "^2.3.1",
"nx": "^19.5.6",
"postcss": "~8.4.40",
"lint-staged": "~15.2.10",
"msw": "^2.4.9",
"nx": "^19.8.3",
"postcss": "~8.4.47",
"postcss-html": "~1.7.0",
"postcss-less": "~6.0.0",
"prettier": "~3.3.3",
"rimraf": "~5.0.9",
"stylelint": "~16.8.1",
"stylelint": "~16.9.0",
"stylelint-config-property-sort-order-smacss": "^10.0.0",
"stylelint-config-recommended": "~14.0.1",
"stylelint-config-recommended-vue": "~1.5.0",
"stylelint-config-standard": "~36.0.1",
"stylelint-order": "~6.0.4",
"stylelint-prettier": "^5.0.2",
"typescript": "~5.5.4",
"unocss": "^0.61.9",
"unplugin-vue-components": "~0.27.3",
"vite": "~5.3.5",
"vite-plugin-checker": "~0.7.2",
"vite-plugin-inspect": "^0.8.5",
"vite-plugin-mkcert": "^1.17.5",
"typescript": "~5.6.2",
"unocss": "^0.63.2",
"unplugin-vue-components": "~0.27.4",
"vite": "~5.4.8",
"vite-plugin-checker": "~0.8.0",
"vite-plugin-inspect": "^0.8.7",
"vite-plugin-mkcert": "^1.17.6",
"vite-plugin-svg-icons": "~2.0.1",
"vite-plugin-vue-inspector": "^5.1.3",
"vite-plugin-vue-inspector": "^5.2.0",
"vue-eslint-parser": "~9.4.3",
"vue-tsc": "~2.0.29"
"vue-tsc": "~2.1.6"
},
"__npminstall_done": false,
"repository": {
Expand All @@ -150,18 +150,7 @@
"pnpm": {
"overrides": {},
"peerDependencyRules": {
"allowedVersions": {
"typescript-eslint>eslint": "^9.0.0",
"@typescript-eslint/eslint-plugin>eslint": "^9.0.0",
"@typescript-eslint/parser>eslint": "^9.0.0",
"@typescript-eslint/type-utils>eslint": "^9.0.0",
"@typescript-eslint/utils>eslint": "^9.0.0",
"eslint-plugin-import>eslint": "^9.0.0",
"eslint-plugin-unused-imports>eslint": "^9.0.0"
}
"allowedVersions": {}
}
},
"workspaces": [
"packages/*"
]
}
}
4 changes: 1 addition & 3 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"typescript": "~5.4.2",
"vite": "^5.1.5"
"typescript": "~5.5.4"
},
"peerDependencies": {
"vite": "^5.0.0",
"vue": "^3.4.0"
}
}
4 changes: 1 addition & 3 deletions packages/vite-plugin-http2-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@
"dependencies": {
"http2-proxy": "^5.0.53"
},
"peerDependencies": {
"vite": "^5.3.5"
}
"peerDependencies": {}
}
7 changes: 3 additions & 4 deletions packages/vite-plugin-msw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,14 @@
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@mswjs/interceptors": "^0.29.1",
"@mswjs/interceptors": "^0.36.1",
"headers-polyfill": "^4.0.3",
"strict-event-emitter": "^0.5.1"
},
"devDependencies": {
"tsup": "^8.0.2"
"tsup": "^8.3.0"
},
"peerDependencies": {
"msw": "^2.3.0",
"vite": "^5.3.5"
"msw": "^2.3.0"
}
}
4 changes: 1 addition & 3 deletions packages/vite-plugin-tinymce-resource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@
"scripts": {
"build": "tsc"
},
"peerDependencies": {
"vite": "^5.3.5"
}
"peerDependencies": {}
}
Loading

0 comments on commit 7221189

Please sign in to comment.