File tree 3 files changed +3
-30
lines changed
3 files changed +3
-30
lines changed Original file line number Diff line number Diff line change 73
73
npm cache clean || npm cache verify
74
74
fi
75
75
76
- # Prevent bootstrap, we only want top-level dependencies
77
- cp package.json package.json.bak
78
- grep -v " postinstall" package.json > temp && mv temp package.json
76
+ # Bootstrap monorepo
79
77
yarn
80
- mv package.json.bak package.json
81
-
82
- # We removed the postinstall, so do it manually
83
- node bootstrap.js
84
-
85
- cd packages/react-error-overlay/
86
- yarn run build:prod
87
- cd ../..
88
78
89
79
# ******************************************************************************
90
80
# First, publish the monorepo.
Original file line number Diff line number Diff line change 65
65
npm cache clean || npm cache verify
66
66
fi
67
67
68
- # Prevent bootstrap, we only want top-level dependencies
69
- cp package.json package.json.bak
70
- grep -v " postinstall" package.json > temp && mv temp package.json
68
+ # Bootstrap monorepo
71
69
yarn
72
- mv package.json.bak package.json
73
-
74
- # We removed the postinstall, so do it manually
75
- node bootstrap.js
76
-
77
- cd packages/react-error-overlay/
78
- yarn build:prod
79
- cd ../..
80
70
81
71
# ******************************************************************************
82
72
# First, publish the monorepo.
Original file line number Diff line number Diff line change 77
77
npm cache clean || npm cache verify
78
78
fi
79
79
80
- # Prevent bootstrap, we only want top-level dependencies
81
- cp package.json package.json.bak
82
- grep -v " postinstall" package.json > temp && mv temp package.json
80
+ # Bootstrap monorepo
83
81
yarn
84
- mv package.json.bak package.json
85
82
86
83
# Start local registry
87
84
tmp_registry_log=` mktemp`
@@ -96,9 +93,6 @@ yarn config set registry http://localhost:4873
96
93
# Login so we can publish packages
97
94
npx npm-cli-login@0.0.10 -u user -p password -e user@example.com -r http://localhost:4873 --quotes
98
95
99
- # We removed the postinstall, so do it manually here
100
- node bootstrap.js
101
-
102
96
# Lint own code
103
97
./node_modules/.bin/eslint --max-warnings 0 packages/babel-preset-react-app/
104
98
./node_modules/.bin/eslint --max-warnings 0 packages/create-react-app/
@@ -108,7 +102,6 @@ node bootstrap.js
108
102
cd packages/react-error-overlay/
109
103
./node_modules/.bin/eslint --max-warnings 0 src/
110
104
yarn test
111
- yarn build:prod
112
105
cd ../..
113
106
cd packages/react-dev-utils/
114
107
yarn test
You can’t perform that action at this time.
0 commit comments