feat: 优化peer依赖

This commit is contained in:
wanchun 2023-03-31 14:38:43 +08:00
parent 5f41abf6ce
commit 71dd6a3555
25 changed files with 67 additions and 914 deletions

View File

@ -42,7 +42,7 @@
"vite-plugin-html": "^3.2.0"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.2",
"@fesjs/fes": "^3.0.0-rc.0",
"core-js": "^3.29.1"
},
"typings": "./types.d.ts"

View File

@ -65,7 +65,7 @@
"webpackbar": "^5.0.2"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.8",
"@fesjs/fes": "^3.0.0-rc.0",
"core-js": "^3.29.1"
}
}

View File

@ -1,4 +0,0 @@
import { winPath } from '@fesjs/utils';
import { dirname } from 'path';
export const runtimePath = winPath(dirname(require.resolve('@fesjs/runtime/package.json')));

View File

@ -1,6 +1,6 @@
import { lodash, winPath } from '@fesjs/utils';
import assert from 'assert';
import path from 'path';
import { lodash, winPath } from '@fesjs/utils';
const reserveLibrarys = ['fes']; // reserve library
// todo 插件导出内容冲突问题待解决

View File

@ -32,7 +32,7 @@
"lodash-es": "^4.17.21"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.5",
"@fesjs/fes": "^3.0.0-rc.0",
"vue": "^3.2.47",
"vue-router": "^4.0.1"
},

View File

@ -28,7 +28,7 @@
"access": "public"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.1",
"@fesjs/fes": "^3.0.0-rc.0",
"vue": "^3.2.47"
},
"typings": "./types.d.ts"

View File

@ -28,6 +28,7 @@
"access": "public"
},
"peerDependencies": {
"@fesjs/fes": "^3.0.0-rc.0",
"vue": "^3.2.47"
},
"dependencies": {

View File

@ -29,6 +29,9 @@
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@fesjs/fes": "^3.0.0-rc.0"
},
"dependencies": {
"@babel/preset-env": "^7.15.0",
"@vue/babel-plugin-jsx": "^1.0.6",

View File

@ -31,7 +31,7 @@
"@fesjs/utils": "3.0.0-rc.2"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.8",
"@fesjs/fes": "^3.0.0-rc.0",
"@fesjs/fes-design": "^0.7.0",
"vue": "^3.2.47",
"vue-router": "^4.0.1"

View File

@ -32,7 +32,7 @@
"vue-i18n": "^9.0.0"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.2",
"@fesjs/fes": "^3.0.0-rc.0",
"@fesjs/fes-design": "^0.7.0",
"vue": "^3.2.47"
},

View File

@ -28,7 +28,7 @@
"access": "public"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.4",
"@fesjs/fes": "^3.0.0-rc.0",
"@fesjs/plugin-request": "^3.0.0-rc.5",
"vue": "^3.2.47"
},

View File

@ -31,7 +31,7 @@
"@fesjs/utils": "3.0.0-rc.2"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.2",
"@fesjs/fes": "^3.0.0-rc.0",
"vue": "^3.2.47"
},
"typings": "./types.d.ts"

View File

@ -33,7 +33,7 @@
"vite-plugin-monaco-editor": "^1.1.0"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.2",
"@fesjs/fes": "^3.0.0-rc.0",
"vue": "^3.2.47"
},
"typings": "./types.d.ts"

View File

@ -31,7 +31,7 @@
"@fesjs/utils": "3.0.0-rc.2"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.4",
"@fesjs/fes": "^3.0.0-rc.0",
"pinia": "^2.0.11",
"vue": "^3.2.47"
},

View File

@ -42,7 +42,7 @@
"npm-run-all": "^4.1.5"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.2",
"@fesjs/fes": "^3.0.0-rc.0",
"@fesjs/fes-design": "^0.7.20",
"vue": "^3.2.47"
},

View File

@ -28,7 +28,7 @@
"access": "public"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.5",
"@fesjs/fes": "^3.0.0-rc.0",
"vue": "^3.2.47"
},
"dependencies": {

View File

@ -32,7 +32,7 @@
"sass-loader": "^11.0.1"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.1"
"@fesjs/fes": "^3.0.0-rc.0"
},
"typings": "./types.d.ts"
}

View File

@ -35,7 +35,6 @@
"css-minimizer-webpack-plugin": "^4.0.0"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.7",
"@fesjs/builder-webpack": "3.0.0-rc.5"
"@fesjs/fes": "^3.0.0-rc.0"
}
}

View File

@ -31,7 +31,7 @@
"@fesjs/utils": "3.0.0-rc.2"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.2",
"@fesjs/fes": "^3.0.0-rc.0",
"vue": "^3.2.47",
"vuex": "^4.0.0"
},

View File

@ -32,7 +32,7 @@
"lodash-es": "^4.17.21"
},
"peerDependencies": {
"@fesjs/fes": "3.0.0-rc.8",
"@fesjs/fes": "^3.0.0-rc.0",
"vue": "^3.2.47"
},
"typings": "./types.d.ts"

View File

@ -28,6 +28,7 @@
"access": "public"
},
"peerDependencies": {
"@fesjs/fes": "^3.0.0-rc.0",
"vue": "^3.2.47"
},
"dependencies": {

View File

@ -28,6 +28,7 @@
"dependencies": {
"@fesjs/compiler": "3.0.0-rc.3",
"@fesjs/utils": "3.0.0-rc.2",
"@fesjs/runtime": "3.0.0-rc.2",
"@vue/compiler-sfc": "^3.2.47",
"envinfo": "^7.7.3",
"express": "^4.17.3",

View File

@ -1,4 +1,4 @@
import { winPath } from '@fesjs/utils';
import { dirname } from 'path';
import { winPath } from '@fesjs/utils';
export const runtimePath = winPath(dirname(require.resolve('@fesjs/runtime/package.json')));

View File

@ -61,7 +61,7 @@
"@fesjs/plugin-watermark": "^3.0.0-rc.0",
"@fesjs/plugin-windicss": "^3.0.0-rc.0",
"@fesjs/plugin-swc": "^3.0.0-rc.0",
"core-js": "3.27.0",
"core-js": "3.29.1",
"pinia": "^2.0.33",
"vue": "^3.2.47"
},

932
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff