Skip to content

Commit

Permalink
💠 chore: upgrade node v18 pnpm v9 (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdsuwwz authored Jun 13, 2024
1 parent 3257d80 commit fa740c7
Show file tree
Hide file tree
Showing 11 changed files with 5,115 additions and 4,186 deletions.
1 change: 0 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
VUE_APP_BASE_API=http://api.test.xxx.xxx.com
VITE_BASE_API=http://api.test.xxx.xxx.com/api
1 change: 0 additions & 1 deletion .env.prod
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
VUE_APP_BASE_API=http://api.test.xxx.xxx.com
VITE_BASE_API=http://api.test.xxx.xxx.com
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.15.x
node-version: 18.12.x

- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install dependencies
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install dependencies
run: pnpm i
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ __[💻 Live Demo 在线体验](https://pdsuwwz.github.io/vue-boilerplate-i18n/#
## 前置条件

* Vue 3.2.x
* Node >= 16.15.x
* Pnpm 8.x
* Node >= 18.12.x
* Pnpm 9.x
* **VS Code 插件 `dbaeumer.vscode-eslint` >= v3.0.5 (pre-release)**


Expand Down
10 changes: 10 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current'
}
}
]
],
plugins: [
'babel-plugin-transform-vite-meta-env'
]
Expand Down
2 changes: 1 addition & 1 deletion components.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
export {}

/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
404: typeof import('./src/components/404.vue')['default']
Expand Down
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"prepare": "husky"
},
"engines": {
"node": ">= 16.15.x",
"pnpm": ">= 8.6.2"
"node": ">= 18.12.x",
"pnpm": ">= 9.x"
},
"keywords": [
"vue",
Expand Down Expand Up @@ -50,67 +50,67 @@
},
"dependencies": {
"@element-plus/icons-vue": "2.3.1",
"@vueuse/core": "^10.9.0",
"axios": "1.7.1",
"@vueuse/core": "^10.11.0",
"axios": "1.7.2",
"echarts": "^5.5.0",
"element-plus": "2.7.3",
"element-plus": "2.7.5",
"js-cookie": "^3.0.5",
"nprogress": "^0.2.0",
"pinia": "^2.1.7",
"uuid": "^9.0.1",
"uuid": "^10.0.0",
"vue": "^3.4.27",
"vue-i18n": "^9.13.1",
"vue-router": "^4.3.2"
"vue-router": "^4.3.3"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@eslint/js": "^9.3.0",
"@iconify/json": "^2.2.212",
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@eslint/js": "^9.4.0",
"@iconify/json": "^2.2.218",
"@iconify/vue": "^4.1.2",
"@stylistic/eslint-plugin": "^2.1.0",
"@stylistic/stylelint-plugin": "^2.1.2",
"@types/js-cookie": "^3.0.6",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.12.12",
"@types/node": "^20.14.2",
"@types/nprogress": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"@vitejs/plugin-vue": "^5.0.4",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@vitejs/plugin-vue": "^5.0.5",
"@vitest/coverage-v8": "^1.6.0",
"@vue/compiler-sfc": "^3.4.27",
"@vue/test-utils": "2.4.6",
"babel-plugin-transform-vite-meta-env": "^1.0.3",
"cross-env": "^7.0.3",
"eslint": "^9.3.0",
"eslint": "^9.4.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-html": "8.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-vue": "^9.26.0",
"globals": "^15.3.0",
"globals": "^15.4.0",
"husky": "^9.0.11",
"identity-obj-proxy": "^3.0.0",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"jsdom": "^24.1.0",
"lint-staged": "^15.2.7",
"lodash-es": "^4.17.21",
"postcss": "^8.4.38",
"postcss-html": "^1.7.0",
"postcss-scss": "^4.0.9",
"rollup": "^4.17.2",
"sass": "^1.77.2",
"stylelint": "^16.5.0",
"rollup": "^4.18.0",
"sass": "^1.77.5",
"stylelint": "^16.6.1",
"stylelint-config-recommended-scss": "14.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-config-standard-scss": "13.1.0",
"sucrase": "^3.35.0",
"typescript": "^5.4.5",
"unocss": "^0.60.3",
"unocss": "^0.61.0",
"unplugin-auto-import": "^0.17.6",
"unplugin-icons": "^0.19.0",
"unplugin-vue-components": "^0.27.0",
"vite": "^5.2.11",
"vite": "^5.2.13",
"vitest": "^1.6.0",
"vue-eslint-parser": "^9.4.2"
"vue-eslint-parser": "^9.4.3"
}
}
Loading

0 comments on commit fa740c7

Please sign in to comment.