Addressing yarn run dist issues. (#1928)

* Addressing `yarn run dist` issues.

* Pin node-gyp version

* Move node-gyp to devDependencies

* Addressing review comments.

* Updated yarn.lock.
This commit is contained in:
nitsakh 2017-06-13 17:44:33 -07:00 committed by Albin Ekblom
parent 7b403380b0
commit debbfa1553
3 changed files with 7 additions and 1 deletions

View file

@ -152,6 +152,7 @@
"eslint-config-xo-react": "0.10.0",
"eslint-plugin-react": "6.7.1",
"husky": "0.13.4",
"node-gyp": "3.6.2",
"redux-logger": "3.0.6",
"spectron": "3.6.4",
"webpack": "2.6.1",

View file

@ -52,6 +52,11 @@ make sure its build process is working correctly by running `yarn run rebuild-no
If you're on macOS, this typically is related to Xcode issues (like not having agreed
to the Terms of Service by running `sudo xcodebuild` after a fresh Xcode installation).
### Error with `codesign` on macOS when running `yarn run dist`
If you have issues in the `codesign` step when running `yarn run dist` on macOS, you can temporarily disable code signing locally by setting
`export CSC_IDENTITY_AUTO_DISCOVERY=false` for the current terminal session.
## Related Repositories
- [Art](https://github.com/zeit/art/tree/master/hyper)

View file

@ -4069,7 +4069,7 @@ node-forge@^0.7.1:
version "0.7.1"
resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.7.1.tgz#9da611ea08982f4b94206b3beb4cc9665f20c300"
node-gyp@^3.6.0:
node-gyp@3.6.2, node-gyp@^3.6.0:
version "3.6.2"
resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-3.6.2.tgz#9bfbe54562286284838e750eac05295853fa1c60"
dependencies: