mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-25 18:37:19 +00:00
Adding back the bundle deps and a guard during publishing
This commit is contained in:
parent
1ac4c35b6d
commit
de9812cdb5
2 changed files with 8 additions and 2 deletions
|
|
@ -18,7 +18,9 @@ can be triggered by passing the string `[publish binary]` in the commit message
|
|||
4. Update the README.md to reference this current version and to previous major version docs.
|
||||
5. Generate new tags based on package.json version number with `git tag 2.0.7 -a` and include the change log in the tag's annotation.
|
||||
6. Push tags to Github with `git push --tags`
|
||||
7. Publish to npm. BUT NOT YET. Builds can an hour and occasionally fail (mainly on Appveyor) for seemingly no reason. Restart any failures in the travis or appeveyor ui. While you wait, copy the changelog updates into the Github release field. When the entire matrix succeeds and all binaries exist run `npm publish`.
|
||||
7. Switch to node v0.10 and npm 3
|
||||
8. `rm -rf node_modules && npm install` to ensure you have the node 0.10 versions of node-pre-gyp installed and flattened by npm3 to be bundled and released with the package.
|
||||
9. Publish to npm. BUT NOT YET. Builds can an hour and occasionally fail (mainly on Appveyor) for seemingly no reason. Restart any failures in the travis or appeveyor ui. While you wait, copy the changelog updates into the Github release field. When the entire matrix succeeds and all binaries exist run `npm publish`.
|
||||
|
||||
Differences for beta release
|
||||
* Tag like: `git tag 2.0.7-beta1 -a` and include the change log in the tag's annotation.
|
||||
|
|
|
|||
|
|
@ -75,6 +75,9 @@
|
|||
"sinon": "^1.17.3",
|
||||
"sinon-chai": "^2.8.0"
|
||||
},
|
||||
"bundledDependencies":[
|
||||
"node-pre-gyp"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 0.10.0"
|
||||
},
|
||||
|
|
@ -88,7 +91,8 @@
|
|||
"rebuild-all": "npm rebuild && node-pre-gyp rebuild",
|
||||
"stress": "mocha --no-timeouts test/arduinoTest/stress.js",
|
||||
"grunt": "grunt",
|
||||
"test": "grunt --verbose"
|
||||
"test": "grunt --verbose",
|
||||
"prepublish": "npm ls"
|
||||
},
|
||||
"gypfile": true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue