Skip to content

Commit

Permalink
Package: Move apollo-client-devtools to dev-deps & use --prune
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jul 30, 2023
1 parent f6333cd commit 729f866
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 258 deletions.
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
},
"dependencies": {
"adbkit": "^2.11.0",
"apollo-client-devtools": "^4.1.4",
"electron-store": "^1.2.0",
"react-devtools-core": "^4.28.0"
},
"devDependencies": {
"apollo-client-devtools": "^4.1.4",
"patch-package": "^6.2.2"
}
}
254 changes: 0 additions & 254 deletions dist/patches/apollo-client-devtools+4.1.4.patch

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/package-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ electron-packager dist/ \
--asar \
--extra-resource=dist/devtools-helper \
--extra-resource=dist/node_modules/apollo-client-devtools/ac-devtools-ext-build \
--no-prune \
--prune \
--out release \
--electron-version $(node -e "console.log(require('electron/package').version)") \
--app-version $PACKAGE_VERSION
Expand Down
2 changes: 1 addition & 1 deletion scripts/package-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function build_with_arch() {
--asar \
--extra-resource=dist/devtools-helper \
--extra-resource=dist/node_modules/apollo-client-devtools/ac-devtools-ext-build \
--no-prune \
--prune \
--out release \
--protocol-name "React Native Debugger" \
--protocol "rndebugger" \
Expand Down
2 changes: 1 addition & 1 deletion scripts/package-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ electron-packager dist/ \
--asar \
--extra-resource=dist/devtools-helper \
--extra-resource=dist/node_modules/apollo-client-devtools/ac-devtools-ext-build \
--no-prune \
--prune \
--out release \
--electron-version $(node -e "console.log(require('electron/package').version)") \
--app-version $PACKAGE_VERSION \
Expand Down

0 comments on commit 729f866

Please sign in to comment.