chore: 升级依赖

This commit is contained in:
winixt 2022-08-17 10:49:48 +08:00
parent 0643a32fed
commit c69c937563
30 changed files with 2261 additions and 2948 deletions

View File

@ -68,7 +68,7 @@ fes-template
"@fesjs/plugin-monaco-editor": "^3.0.0-beta.0", "@fesjs/plugin-monaco-editor": "^3.0.0-beta.0",
"@fesjs/plugin-windicss": "^3.0.0-beta.0", "@fesjs/plugin-windicss": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0", "@fesjs/fes-design": "^0.5.0",
"vue": "^3.0.5", "vue": "^3.2.37",
"vuex": "^4.0.0" "vuex": "^4.0.0"
}, },
"private": true "private": true

View File

@ -40,7 +40,6 @@
"access": "public" "access": "public"
}, },
"devDependencies": { "devDependencies": {
"@vue/compiler-sfc": "^3.2.6",
"@webank/eslint-config-webank": "^1.0.2", "@webank/eslint-config-webank": "^1.0.2",
"@ttou/postcss-px-to-viewport": "1.1.1" "@ttou/postcss-px-to-viewport": "1.1.1"
}, },
@ -49,7 +48,7 @@
"@fesjs/plugin-icon": "^3.0.0-beta.0", "@fesjs/plugin-icon": "^3.0.0-beta.0",
"@fesjs/plugin-request": "^3.0.0-beta.5", "@fesjs/plugin-request": "^3.0.0-beta.5",
"@fesjs/builder-webpack": "^3.0.0-beta.0", "@fesjs/builder-webpack": "^3.0.0-beta.0",
"vue": "^3.2.6", "vue": "^3.2.37",
"core-js": "^3.19.2" "core-js": "^3.19.2"
}, },
"private": true "private": true

View File

@ -43,7 +43,6 @@
"access": "public" "access": "public"
}, },
"devDependencies": { "devDependencies": {
"@vue/compiler-sfc": "^3.2.6",
"@webank/eslint-config-webank": "^1.0.2" "@webank/eslint-config-webank": "^1.0.2"
}, },
"dependencies": { "dependencies": {
@ -54,7 +53,7 @@
"@fesjs/plugin-enums": "^3.0.0-beta.0", "@fesjs/plugin-enums": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0", "@fesjs/fes-design": "^0.5.0",
"@fesjs/builder-webpack": "^3.0.0-beta.0", "@fesjs/builder-webpack": "^3.0.0-beta.0",
"vue": "^3.2.6", "vue": "^3.2.37",
"core-js": "^3.19.2" "core-js": "^3.19.2"
}, },
"private": true "private": true

View File

@ -32,7 +32,7 @@
}, },
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"lint-staged": { "lint-staged": {
"*.{js,jsx,vue,ts}": [ "*.{js,jsx,vue,ts}": [

View File

@ -42,8 +42,7 @@
}, },
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"@vue/compiler-sfc": "^3.0.5",
"core-js": "^3.19.2" "core-js": "^3.19.2"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -64,7 +64,6 @@
}, },
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"@vue/compiler-sfc": "^3.0.5",
"core-js": "^3.19.2" "core-js": "^3.19.2"
} }
} }

View File

@ -33,8 +33,8 @@
}, },
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"vue": "^3.0.5", "vue": "^3.2.37",
"vue-router": "^4.0.1" "vue-router": "^4.0.1"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -29,7 +29,7 @@
}, },
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -28,10 +28,10 @@
"access": "public" "access": "public"
}, },
"peerDependencies": { "peerDependencies": {
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"dependencies": { "dependencies": {
"svgo": "^2.3.1" "svgo": "^2.3.1"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -33,8 +33,8 @@
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0", "@fesjs/fes-design": "^0.5.0",
"vue": "^3.0.5", "vue": "^3.2.37",
"vue-router": "^4.0.1" "vue-router": "^4.0.1"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -34,7 +34,7 @@
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0", "@fesjs/fes-design": "^0.5.0",
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -32,7 +32,7 @@
}, },
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -34,7 +34,7 @@
}, },
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -33,7 +33,7 @@
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"pinia": "^2.0.11", "pinia": "^2.0.11",
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -45,7 +45,7 @@
"dependencies": { "dependencies": {
"@fesjs/fes": "^2.0.0", "@fesjs/fes": "^2.0.0",
"@fesjs/builder-webpack": "^1.0.0", "@fesjs/builder-webpack": "^1.0.0",
"vue": "^3.0.5", "vue": "^3.2.37",
"@fesjs/fes-design": "^0.5.0" "@fesjs/fes-design": "^0.5.0"
}, },
"private": true "private": true

View File

@ -44,7 +44,7 @@
}, },
"dependencies": { "dependencies": {
"@fesjs/fes": "^2.0.0", "@fesjs/fes": "^2.0.0",
"vue": "^3.0.5", "vue": "^3.2.37",
"@fesjs/fes-design": "^0.5.0" "@fesjs/fes-design": "^0.5.0"
}, },
"private": true "private": true

View File

@ -44,7 +44,7 @@
}, },
"dependencies": { "dependencies": {
"@fesjs/fes": "^2.0.0", "@fesjs/fes": "^2.0.0",
"vue": "^3.0.5", "vue": "^3.2.37",
"@fesjs/fes-design": "^0.1.10" "@fesjs/fes-design": "^0.1.10"
}, },
"private": true "private": true

View File

@ -42,7 +42,7 @@
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0", "@fesjs/fes-design": "^0.5.0",
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -29,11 +29,11 @@
}, },
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"dependencies": { "dependencies": {
"@fesjs/utils": "^3.0.0-beta.0", "@fesjs/utils": "^3.0.0-beta.0",
"axios": "^1.0.0-alpha.1" "axios": "^1.0.0-alpha.1"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -32,8 +32,8 @@
}, },
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"vue": "^3.0.5", "vue": "^3.2.37",
"vuex": "^4.0.0" "vuex": "^4.0.0"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -33,7 +33,7 @@
}, },
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -28,7 +28,7 @@
"access": "public" "access": "public"
}, },
"peerDependencies": { "peerDependencies": {
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"dependencies": { "dependencies": {
"vite-plugin-windicss": "^1.8.3", "vite-plugin-windicss": "^1.8.3",
@ -36,4 +36,4 @@
"windicss-webpack-plugin": "^1.6.0" "windicss-webpack-plugin": "^1.6.0"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -33,8 +33,7 @@
"express": "^4.17.3" "express": "^4.17.3"
}, },
"peerDependencies": { "peerDependencies": {
"vue": "^3.0.5", "vue": "^3.2.37"
"@vue/compiler-sfc": "^3.0.5"
}, },
"typings": "./types.d.ts" "typings": "./types.d.ts"
} }

View File

@ -15,7 +15,6 @@ export default function () {
// bundle configs // bundle configs
require.resolve('./plugins/features/alias'), require.resolve('./plugins/features/alias'),
require.resolve('./plugins/features/autoprefixer'), require.resolve('./plugins/features/autoprefixer'),
require.resolve('./plugins/features/checkVuePackage'),
require.resolve('./plugins/features/define'), require.resolve('./plugins/features/define'),
require.resolve('./plugins/features/dynamicImport'), require.resolve('./plugins/features/dynamicImport'),
require.resolve('./plugins/features/globalCSS'), require.resolve('./plugins/features/globalCSS'),

View File

@ -1,27 +0,0 @@
import { chalk, semver } from '@fesjs/utils';
export default (api) => {
api.describe({
key: 'checkVuePackage',
config: {
schema(joi) {
return joi.object();
},
default: {},
},
});
api.onStart(() => {
// eslint-disable-next-line import/no-extraneous-dependencies
const vuePkg = require('vue/package.json');
const vueCompilerPkg = require('@vue/compiler-sfc/package.json');
if (!semver.satisfies(vuePkg.version, `~${vueCompilerPkg.version.replace(/\d+$/, '0')}`, { includePrerelease: true })) {
console.log(
chalk.red(
`You are using vue@${vuePkg.version}, requires @vue/compiler-sfc@${vuePkg.version}.\nPlease upgrade your @vue/compiler-sfc@${vueCompilerPkg.version} version.`,
),
);
process.exit(1);
}
});
};

View File

@ -27,9 +27,9 @@
"access": "public" "access": "public"
}, },
"peerDependencies": { "peerDependencies": {
"vue": "^3.0.5" "vue": "^3.2.37"
}, },
"dependencies": { "dependencies": {
"vue-router": "^4.0.1" "vue-router": "^4.0.1"
} }
} }

View File

@ -40,15 +40,14 @@
"access": "public" "access": "public"
}, },
"devDependencies": { "devDependencies": {
"@ttou/postcss-px-to-viewport": "1.1.4", "@ttou/postcss-px-to-viewport": "1.1.4"
"@vue/compiler-sfc": "^3.2.2"
}, },
"dependencies": { "dependencies": {
"@fesjs/fes": "^3.0.0-beta.0", "@fesjs/fes": "^3.0.0-beta.0",
"@fesjs/plugin-icon": "^3.0.0-beta.0", "@fesjs/plugin-icon": "^3.0.0-beta.0",
"@fesjs/plugin-request": "^3.0.0-beta.0", "@fesjs/plugin-request": "^3.0.0-beta.0",
"@fesjs/builder-webpack": "^3.0.0-beta.0", "@fesjs/builder-webpack": "^3.0.0-beta.0",
"vue": "^3.2.2" "vue": "^3.2.37"
}, },
"private": true "private": true
} }

View File

@ -61,8 +61,8 @@
"@fesjs/plugin-windicss": "^3.0.0-beta.0", "@fesjs/plugin-windicss": "^3.0.0-beta.0",
"cssnano": "^5.1.12", "cssnano": "^5.1.12",
"pinia": "^2.0.11", "pinia": "^2.0.11",
"vue": "^3.0.5", "vue": "^3.2.37",
"vuex": "^4.0.0" "vuex": "^4.0.0"
}, },
"private": true "private": true
} }

View File

@ -57,9 +57,9 @@
"@fesjs/plugin-monaco-editor": "^3.0.0-beta.0", "@fesjs/plugin-monaco-editor": "^3.0.0-beta.0",
"@fesjs/plugin-windicss": "^3.0.0-beta.0", "@fesjs/plugin-windicss": "^3.0.0-beta.0",
"@fesjs/plugin-pinia": "^3.0.0-beta.0", "@fesjs/plugin-pinia": "^3.0.0-beta.0",
"@fesjs/plugin-watermark": "^3.0.0-beta.0", "@fesjs/plugin-watermark": "^3.0.0-beta.0",
"@fesjs/fes-design": "^0.5.0", "@fesjs/fes-design": "^0.5.0",
"vue": "^3.0.5", "vue": "^3.2.37",
"vuex": "^4.0.0", "vuex": "^4.0.0",
"pinia": "^2.0.11" "pinia": "^2.0.11"
}, },

5085
yarn.lock

File diff suppressed because it is too large Load Diff