Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update npm run start to include cleanup #2970

Merged
merged 7 commits into from
Feb 5, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ npm install
## Run

```
npm run start
npm run start:reset
```

Runs the packager (Metro) in development mode. The packager stays running to serve the app bundle to the clients that request it.
Expand Down
2 changes: 1 addition & 1 deletion gutenberg
Submodule gutenberg updated 39 files
+14 −0 .eslintrc.js
+2 −4 .github/workflows/unit-test.yml
+90 −90 bin/packages/build-worker.js
+2 −2 docs/contributors/getting-started-native-mobile.md
+3 −3 package-lock.json
+10 −18 packages/block-editor/src/components/block-switcher/index.js
+9 −0 packages/block-editor/src/components/block-switcher/style.scss
+5 −9 packages/block-editor/src/components/block-title/index.js
+2 −4 packages/block-editor/src/components/block-title/test/index.js
+13 −0 packages/block-editor/src/components/block-toolbar/style.scss
+15 −6 packages/block-editor/src/store/reducer.js
+25 −19 packages/block-editor/src/store/selectors.js
+74 −0 packages/block-editor/src/store/test/reducer.js
+14 −0 packages/blocks/README.md
+1 −0 packages/blocks/src/api/index.js
+13 −0 packages/blocks/src/api/registration.js
+4 −4 packages/components/src/ui/utils/create-component.js
+4 −0 packages/data/CHANGELOG.md
+23 −0 packages/data/README.md
+1 −1 packages/data/src/controls.js
+3 −4 packages/data/src/index.js
+4 −3 packages/data/src/redux-store/index.js
+4 −4 packages/data/src/registry.js
+9 −20 packages/e2e-tests/specs/editor/plugins/block-variations.test.js
+1 −3 packages/edit-navigation/src/store/controls.js
+2 −4 packages/edit-navigation/src/store/test/controls.js
+1 −1 packages/edit-site/src/components/editor/index.js
+1 −1 packages/edit-widgets/src/components/layout/interface.js
+2 −2 packages/edit-widgets/src/components/sidebar/index.js
+2 −2 packages/edit-widgets/src/store/controls.js
+4 −0 packages/hooks/CHANGELOG.md
+8 −1 packages/hooks/README.md
+3 −1 packages/hooks/src/index.js
+0 −2 packages/i18n/src/create-i18n.js
+1 −4 packages/icons/src/library/post-title.js
+0 −2 packages/keycodes/src/index.js
+3 −2 packages/react-native-editor/package.json
+0 −5 packages/token-list/src/index.js
+0 −2 packages/url/src/get-query-arg.js
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
},
"scripts": {
"postinstall": "npm ci --prefix gutenberg && cd jetpack/projects/plugins/jetpack && yarn install --frozen-lockfile --ignore-engines",
"start": "react-native start --config ./metro.config.js",
"start:reset": "npm run core clean:runtime && npm run start -- --reset-cache",
"start": "echo \"\\x1b[33mThe start command is not available in this project. It is strongly recommended to use \\x1b[1:33mstart:reset\\x1b[0m\\x1b[33m to perform some cleanup when starting the metro bundler.\nOr you may use \\x1b[1:33mstart:quick\\x1b[0m\\x1b[33m for a quicker startup, but this may lead to unexpected javascript errors when running the app.\\x1b[0m\"",
"start:reset": "npm run core clean:runtime && npm run start:quick -- --reset-cache",
"start:quick": "react-native start --config ./metro.config.js",
"core": "cd gutenberg && npm run native",
"prern-bundle": "patch-package --patch-dir gutenberg/packages/react-native-editor/metro-patch",
"rn-bundle": "react-native bundle",
Expand Down