mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
chore: 升级依赖
This commit is contained in:
parent
0643a32fed
commit
c69c937563
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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}": [
|
||||||
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
@ -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'),
|
||||||
|
@ -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);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
};
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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
|
||||||
}
|
}
|
@ -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
|
||||||
}
|
}
|
@ -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"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user