Skip to content

Commit

Permalink
chore(project): move formily deps to peerDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Sep 22, 2021
1 parent 3be7d36 commit ee19f25
Show file tree
Hide file tree
Showing 9 changed files with 151 additions and 116 deletions.
20 changes: 12 additions & 8 deletions formily/antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,32 @@
"webpack": "^4.41.5",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
"webpack-dev-server": "^3.10.1",
"@formily/antd": "^2.0.0-rc.10",
"@formily/core": "^2.0.0-rc.10",
"@formily/react": "^2.0.0-rc.10",
"@formily/shared": "^2.0.0-rc.10"
},
"peerDependencies": {
"@types/react": ">=16.8.0 || >=17.0.0",
"@types/react-dom": ">=16.8.0 || >=17.0.0",
"antd": "^4.0.0",
"react": ">=16.8.0 || >=17.0.0",
"react-dom": ">=16.8.0",
"react-is": ">=16.8.0 || >=17.0.0"
"react-is": ">=16.8.0 || >=17.0.0",
"@formily/antd": "^2.0.0-rc.10",
"@formily/core": "^2.0.0-rc.10",
"@formily/react": "^2.0.0-rc.10",
"@formily/shared": "^2.0.0-rc.10"
},
"dependencies": {
"@designable/core": "1.0.0-beta.5",
"@designable/formily-setters": "1.0.0-beta.5",
"@designable/formily-transformer": "1.0.0-beta.5",
"@designable/react": "1.0.0-beta.5",
"@formily/antd": "^2.0.0-rc.9",
"@formily/core": "^2.0.0-rc.9",
"@formily/react": "^2.0.0-rc.9",
"@formily/shared": "^2.0.0-rc.9"
"@designable/react": "1.0.0-beta.5"
},
"publishConfig": {
"access": "public"
},
"gitHead": "2c44ae410a73f02735c63c6430e021a50e21f3ec"
}
}
20 changes: 12 additions & 8 deletions formily/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@
"webpack": "^4.41.5",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
"webpack-dev-server": "^3.10.1",
"@formily/core": "^2.0.0-rc.10",
"@formily/next": "^2.0.0-rc.10",
"@formily/react": "^2.0.0-rc.10",
"@formily/shared": "^2.0.0-rc.10"
},
"peerDependencies": {
"@alifd/next": "^1.23.0",
Expand All @@ -48,20 +52,20 @@
"antd": "^4.0.0",
"react": ">=16.8.0 || >=17.0.0",
"react-dom": ">=16.8.0",
"react-is": ">=16.8.0 || >=17.0.0"
"react-is": ">=16.8.0 || >=17.0.0",
"@formily/core": "^2.0.0-rc.10",
"@formily/next": "^2.0.0-rc.10",
"@formily/react": "^2.0.0-rc.10",
"@formily/shared": "^2.0.0-rc.10"
},
"dependencies": {
"@designable/core": "1.0.0-beta.5",
"@designable/formily-setters": "1.0.0-beta.5",
"@designable/formily-transformer": "1.0.0-beta.5",
"@designable/react": "1.0.0-beta.5",
"@formily/core": "^2.0.0-rc.9",
"@formily/next": "^2.0.0-rc.9",
"@formily/react": "^2.0.0-rc.9",
"@formily/shared": "^2.0.0-rc.9"
"@designable/react": "1.0.0-beta.5"
},
"publishConfig": {
"access": "public"
},
"gitHead": "2c44ae410a73f02735c63c6430e021a50e21f3ec"
}
}
20 changes: 12 additions & 8 deletions formily/setters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,32 @@
"start": "webpack-dev-server --config playground/webpack.dev.ts"
},
"devDependencies": {
"antd": "^4.0.0"
"antd": "^4.0.0",
"@formily/antd": "^2.0.0-rc.10",
"@formily/core": "^2.0.0-rc.10",
"@formily/react": "^2.0.0-rc.10",
"@formily/shared": "^2.0.0-rc.10"
},
"peerDependencies": {
"@types/react": ">=16.8.0 || >=17.0.0",
"@types/react-dom": ">=16.8.0 || >=17.0.0",
"antd": "^4.0.0",
"react": ">=16.8.0 || >=17.0.0",
"react-dom": ">=16.8.0",
"react-is": ">=16.8.0 || >=17.0.0"
"react-is": ">=16.8.0 || >=17.0.0",
"@formily/antd": "^2.0.0-rc.10",
"@formily/core": "^2.0.0-rc.10",
"@formily/react": "^2.0.0-rc.10",
"@formily/shared": "^2.0.0-rc.10"
},
"dependencies": {
"@designable/core": "1.0.0-beta.5",
"@designable/formily-transformer": "1.0.0-beta.5",
"@designable/react": "1.0.0-beta.5",
"@designable/react-settings-form": "1.0.0-beta.5",
"@formily/antd": "^2.0.0-rc.9",
"@formily/core": "^2.0.0-rc.9",
"@formily/react": "^2.0.0-rc.9",
"@formily/shared": "^2.0.0-rc.9"
"@designable/react-settings-form": "1.0.0-beta.5"
},
"publishConfig": {
"access": "public"
},
"gitHead": "2c44ae410a73f02735c63c6430e021a50e21f3ec"
}
}
14 changes: 10 additions & 4 deletions formily/transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,17 @@
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@formily/core": "^2.0.0-rc.10",
"@formily/json-schema": "^2.0.0-rc.10"
},
"peerDependencies": {
"@formily/core": "^2.0.0-rc.10",
"@formily/json-schema": "^2.0.0-rc.10"
},
"dependencies": {
"@designable/core": "1.0.0-beta.5",
"@designable/shared": "1.0.0-beta.5",
"@formily/core": "^2.0.0-rc.9",
"@formily/json-schema": "^2.0.0-rc.9"
"@designable/shared": "1.0.0-beta.5"
},
"gitHead": "bda070c137ba0003cc4451b2208e089d2e326b23"
}
}
15 changes: 11 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,22 @@
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm",
"build:umd": "rollup --config"
},
"devDependencies": {
"@formily/json-schema": "^2.0.0-rc.10",
"@formily/path": "^2.0.0-rc.10",
"@formily/reactive": "^2.0.0-rc.10"
},
"peerDependencies": {
"@formily/json-schema": "^2.0.0-rc.10",
"@formily/path": "^2.0.0-rc.10",
"@formily/reactive": "^2.0.0-rc.10"
},
"dependencies": {
"@designable/shared": "1.0.0-beta.5",
"@formily/json-schema": "^2.0.0-rc.9",
"@formily/path": "^2.0.0-rc.9",
"@formily/reactive": "^2.0.0-rc.9",
"@juggle/resize-observer": "^3.3.1"
},
"publishConfig": {
"access": "public"
},
"gitHead": "bda070c137ba0003cc4451b2208e089d2e326b23"
}
}
4 changes: 2 additions & 2 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"@designable/react-sandbox": "1.0.0-beta.5",
"@designable/react-settings-form": "1.0.0-beta.5",
"@designable/shared": "1.0.0-beta.5",
"@formily/reactive": "^2.0.0-rc.9",
"@formily/reactive-react": "^2.0.0-rc.9",
"@formily/reactive": "^2.0.0-rc.10",
"@formily/reactive-react": "^2.0.0-rc.10",
"antd": "^4.15.2",
"react": "^16.8.x",
"react-dom": "^16.8.x",
Expand Down
24 changes: 15 additions & 9 deletions packages/react-settings-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,28 @@
"build:umd": "rollup --config"
},
"peerDependencies": {
"antd": "^4.0.0"
"antd": "^4.0.0",
"@formily/antd": "^2.0.0-rc.10",
"@formily/core": "^2.0.0-rc.10",
"@formily/react": "^2.0.0-rc.10",
"@formily/reactive": "^2.0.0-rc.10",
"@formily/reactive-react": "^2.0.0-rc.10",
"@formily/shared": "^2.0.0-rc.10"
},
"devDependencies": {
"antd": "^4.15.5"
"antd": "^4.15.5",
"@formily/antd": "^2.0.0-rc.10",
"@formily/core": "^2.0.0-rc.10",
"@formily/react": "^2.0.0-rc.10",
"@formily/reactive": "^2.0.0-rc.10",
"@formily/reactive-react": "^2.0.0-rc.10",
"@formily/shared": "^2.0.0-rc.10"
},
"dependencies": {
"@babel/parser": "^7.14.7",
"@designable/core": "1.0.0-beta.5",
"@designable/react": "1.0.0-beta.5",
"@designable/shared": "1.0.0-beta.5",
"@formily/antd": "^2.0.0-rc.9",
"@formily/core": "^2.0.0-rc.9",
"@formily/react": "^2.0.0-rc.9",
"@formily/reactive": "^2.0.0-rc.9",
"@formily/reactive-react": "^2.0.0-rc.9",
"@formily/shared": "^2.0.0-rc.9",
"@monaco-editor/react": "^4.2.1",
"monaco-editor": "^0.25.2",
"prettier": "^2.3.2",
Expand All @@ -49,4 +55,4 @@
"access": "public"
},
"gitHead": "bda070c137ba0003cc4451b2208e089d2e326b23"
}
}
12 changes: 8 additions & 4 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,24 @@
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm",
"build:umd": "rollup --config"
},
"devDependencies": {
"@formily/reactive": "^2.0.0-rc.10",
"@formily/reactive-react": "^2.0.0-rc.10"
},
"peerDependencies": {
"antd": "^4.15.4",
"react": "16.x || 17.x"
"react": "16.x || 17.x",
"@formily/reactive": "^2.0.0-rc.10",
"@formily/reactive-react": "^2.0.0-rc.10"
},
"dependencies": {
"@designable/core": "1.0.0-beta.5",
"@designable/shared": "1.0.0-beta.5",
"@formily/reactive": "^2.0.0-rc.9",
"@formily/reactive-react": "^2.0.0-rc.9",
"@juggle/resize-observer": "^3.3.1",
"dateformat": "^4.5.1"
},
"publishConfig": {
"access": "public"
},
"gitHead": "bda070c137ba0003cc4451b2208e089d2e326b23"
}
}
Loading

0 comments on commit ee19f25

Please sign in to comment.