Fix workflows and monorepo deps

* Remove 'react' packages from monorepo dependencies.
* Ensure 'react-native-web' package is built first.
This commit is contained in:
Nicolas Gallagher
2022-07-01 20:35:02 -07:00
parent e9badc3e38
commit 074861623e
11 changed files with 63 additions and 87 deletions
+3 -4
View File
@@ -5,6 +5,7 @@
"scripts": {
"clean": "del-cli ./packages/*/dist",
"build": "npm run clean && npm run build --workspaces --if-present",
"compile": "npm run build",
"dev": "npm run dev --workspaces --if-present",
"flow": "flow --flowconfig-name ./configs/.flowconfig",
"format": "prettier --check --ignore-path ./configs/.prettierignore \"**/*.js\"",
@@ -55,12 +56,10 @@
"lint-staged": "^10.5.4",
"minimist": "^1.2.6",
"npm-run-all": "^4.1.3",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2"
"prettier": "^2.2.1"
},
"workspaces": [
"packages/react-native-web",
"packages/*"
],
"husky": {