Skip to content

Commit

Permalink
add versioning scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinCK committed Jan 5, 2018
1 parent f550892 commit 5d258a1
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
46 changes: 46 additions & 0 deletions npm-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
0 info it worked if it ends with ok
1 verbose cli [ '/Users/vc/.nvm/versions/node/v6.9.1/bin/node',
1 verbose cli '/Users/vc/.node/bin/npm',
1 verbose cli 'run',
1 verbose cli 'patch' ]
2 info using npm@3.3.10
3 info using node@v6.9.1
4 verbose run-script [ 'prepatch', 'patch', 'postpatch' ]
5 info lifecycle vue-gallery@1.2.4~prepatch: vue-gallery@1.2.4
6 silly lifecycle vue-gallery@1.2.4~prepatch: no script for prepatch, continuing
7 info lifecycle vue-gallery@1.2.4~patch: vue-gallery@1.2.4
8 verbose lifecycle vue-gallery@1.2.4~patch: unsafe-perm in lifecycle true
9 verbose lifecycle vue-gallery@1.2.4~patch: PATH: /Users/vc/.node/lib/node_modules/npm/bin/node-gyp-bin:/Users/vc/projects/vue-gallery/node_modules/.bin:/Users/vc/.node/bin:~/Library/Android/sdk/platform-tools:~/Library/Android/sdk/tools:/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php/php7.1.1/bin:/opt/local/bin:/opt/local/sbin:~/.composer/vendor/bin:/Users/vc/.nvm/versions/node/v6.9.1/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
10 verbose lifecycle vue-gallery@1.2.4~patch: CWD: /Users/vc/projects/vue-gallery
11 silly lifecycle vue-gallery@1.2.4~patch: Args: [ '-c', 'npm version patch' ]
12 silly lifecycle vue-gallery@1.2.4~patch: Returned: code: 1 signal: null
13 info lifecycle vue-gallery@1.2.4~patch: Failed to exec patch script
14 verbose stack Error: vue-gallery@1.2.4 patch: `npm version patch`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/Users/vc/.node/lib/node_modules/npm/lib/utils/lifecycle.js:232:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess.<anonymous> (/Users/vc/.node/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:877:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid vue-gallery@1.2.4
16 verbose cwd /Users/vc/projects/vue-gallery
17 error Darwin 16.0.0
18 error argv "/Users/vc/.nvm/versions/node/v6.9.1/bin/node" "/Users/vc/.node/bin/npm" "run" "patch"
19 error node v6.9.1
20 error npm v3.3.10
21 error code ELIFECYCLE
22 error vue-gallery@1.2.4 patch: `npm version patch`
22 error Exit status 1
23 error Failed at the vue-gallery@1.2.4 patch script 'npm version patch'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the vue-gallery package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error npm version patch
23 error You can get their info via:
23 error npm owner ls vue-gallery
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "node_modules/.bin/eslint ./",
"build": "node_modules/.bin/rollup -c ./build/rollup.config.js && NODE_ENV=production node_modules/.bin/rollup -c ./build/rollup.config.js"
"build": "node_modules/.bin/rollup -c ./build/rollup.config.js && NODE_ENV=production node_modules/.bin/rollup -c ./build/rollup.config.js",
"patch": "npm version patch",
"minor": "npm version minor",
"major": "npm version major"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 5d258a1

Please # to comment.