File tree Expand file tree Collapse file tree 3 files changed +3
-21
lines changed Expand file tree Collapse file tree 3 files changed +3
-21
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
+ # Install packages
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
78
85
79
cd packages/react-error-overlay/
86
80
yarn run build:prod
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
+ # Install packages
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
70
77
71
cd packages/react-error-overlay/
78
72
yarn build:prod
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
+ # Install packages
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
[email protected] -u user -p password -e
[email protected] -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/
You can’t perform that action at this time.
0 commit comments