Fixed #1 - Fixed the whatsnew-** script for loading release notes into builds
Added test to ensure that release notes are parsed properly Updated to latest dependencies to fix security vulnerability Updated GH Actions Workflow to run test before updating tag Updated README.md to reflect proper whatsnew documentation.
This commit is contained in:
8
node_modules/exec-sh/README.md
generated
vendored
8
node_modules/exec-sh/README.md
generated
vendored
@@ -74,17 +74,17 @@ var execShPromise = require("exec-sh").promise;
|
||||
// run interactive bash shell
|
||||
const run = async () => {
|
||||
let out;
|
||||
|
||||
|
||||
try {
|
||||
out = await execShPromise('pwd', true);
|
||||
} catch (e) {
|
||||
console.log('Error: ', e);
|
||||
console.log('Stderr: ', e.stderr);
|
||||
console.log('Stdout: ', e.stdout);
|
||||
|
||||
|
||||
return e;
|
||||
}
|
||||
|
||||
|
||||
console.log('out: ', out.stdout, out.stderr);
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ Returns [ChildProcess](http://nodejs.org/api/child_process.html#child_process_cl
|
||||
Complete API Documentation including private and public methods is generated from source code by JSDoc tool and is [available here](https://s3.eu-central-1.amazonaws.com/tsertkov-artifacts/exec-sh/master/jsdoc/index.html).
|
||||
|
||||
## Code Coverage
|
||||
Code coverage report for all files is [available here](https://s3.eu-central-1.amazonaws.com/tsertkov-artifacts/exec-sh/master/coverage/lcov-report/index.html).
|
||||
Code coverage report for all files is [available here](https://s3.eu-central-1.amazonaws.com/tsertkov-artifacts/exec-sh/master/coverage/index.html).
|
||||
|
||||
## Scripts
|
||||
|
||||
|
||||
48
node_modules/exec-sh/package.json
generated
vendored
48
node_modules/exec-sh/package.json
generated
vendored
@@ -1,34 +1,28 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"exec-sh@0.3.2",
|
||||
"/Users/drew.heavner/Documents/Github/upload-google-play"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "exec-sh@0.3.2",
|
||||
"_id": "exec-sh@0.3.2",
|
||||
"_from": "exec-sh@^0.3.2",
|
||||
"_id": "exec-sh@0.3.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-9sLAvzhI5nc8TpuQUh4ahMdCrWT00wPWz7j47/emR5+2qEfoZP5zzUXvx+vdx+H6ohhnsYC31iX04QLYJK8zTg==",
|
||||
"_integrity": "sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A==",
|
||||
"_location": "/exec-sh",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "exec-sh@0.3.2",
|
||||
"raw": "exec-sh@^0.3.2",
|
||||
"name": "exec-sh",
|
||||
"escapedName": "exec-sh",
|
||||
"rawSpec": "0.3.2",
|
||||
"rawSpec": "^0.3.2",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.3.2"
|
||||
"fetchSpec": "^0.3.2"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@cnakazawa/watch",
|
||||
"/sane"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.2.tgz",
|
||||
"_spec": "0.3.2",
|
||||
"_where": "/Users/drew.heavner/Documents/Github/upload-google-play",
|
||||
"_resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.4.tgz",
|
||||
"_shasum": "3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5",
|
||||
"_spec": "exec-sh@^0.3.2",
|
||||
"_where": "/Users/drew.heavner/Documents/Github/upload-google-play/node_modules/sane",
|
||||
"author": {
|
||||
"name": "Aleksandr Tsertkov",
|
||||
"email": "tsertkov@gmail.com"
|
||||
@@ -36,16 +30,18 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/tsertkov/exec-sh/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {},
|
||||
"deprecated": false,
|
||||
"description": "Execute shell command forwarding all stdio.",
|
||||
"devDependencies": {
|
||||
"coveralls": "^3.0.1",
|
||||
"istanbul": "^0.4.5",
|
||||
"jsdoc": "^3.5.5",
|
||||
"jshint": "^2.9.6",
|
||||
"mocha": "^5.2.0",
|
||||
"sinon": "^6.0.1",
|
||||
"standard": "^11.0.1"
|
||||
"coveralls": "^3.0.7",
|
||||
"jsdoc": "^3.6.3",
|
||||
"jshint": "^2.10.3",
|
||||
"mocha": "^6.2.2",
|
||||
"nyc": "^14.1.1",
|
||||
"sinon": "^7.5.0",
|
||||
"standard": "^14.3.1"
|
||||
},
|
||||
"homepage": "https://github.com/tsertkov/exec-sh#readme",
|
||||
"keywords": [
|
||||
@@ -65,11 +61,11 @@
|
||||
"url": "git+ssh://git@github.com/tsertkov/exec-sh.git"
|
||||
},
|
||||
"scripts": {
|
||||
"cover-test": "istanbul cover --dir artifacts/coverage _mocha -- --reporter spec",
|
||||
"cover-test": "nyc --reporter=html --report-dir=artifacts/coverage mocha",
|
||||
"dev": "mocha --reporter spec --watch",
|
||||
"jsdoc": "jsdoc --private --destination artifacts/jsdoc lib/",
|
||||
"lint": "standard --verbose **/*.js",
|
||||
"test": "npm run lint && npm run cover-test"
|
||||
},
|
||||
"version": "0.3.2"
|
||||
"version": "0.3.4"
|
||||
}
|
||||
|
||||
12
node_modules/exec-sh/test/exec-sh.js
generated
vendored
12
node_modules/exec-sh/test/exec-sh.js
generated
vendored
@@ -73,7 +73,7 @@ describe('exec-sh', function () {
|
||||
stdio: 'inherit'
|
||||
}
|
||||
execSh('command', options)
|
||||
assert.deepEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
assert.deepStrictEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
})
|
||||
|
||||
it('should allow overriding default options', function () {
|
||||
@@ -83,7 +83,7 @@ describe('exec-sh', function () {
|
||||
stdio: null
|
||||
}
|
||||
execSh('command', options)
|
||||
assert.deepEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
assert.deepStrictEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
})
|
||||
|
||||
it('should allow passing nested environment options', function () {
|
||||
@@ -101,7 +101,7 @@ describe('exec-sh', function () {
|
||||
stdio: 'inherit'
|
||||
}
|
||||
execSh('command', options)
|
||||
assert.deepEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
assert.deepStrictEqual(spawn.getCall(0).args[2], expectedOptions)
|
||||
})
|
||||
|
||||
it("should accept optional 'callback' parameter", function () {
|
||||
@@ -166,7 +166,7 @@ describe('exec-sh', function () {
|
||||
exitCode = 1
|
||||
execSh('command', function (err) {
|
||||
assert(err instanceof Error)
|
||||
assert.equal(exitCode, err.code)
|
||||
assert.strictEqual(exitCode, err.code)
|
||||
done()
|
||||
})
|
||||
})
|
||||
@@ -177,8 +177,8 @@ describe('exec-sh', function () {
|
||||
|
||||
it('promise interface: should resolve with stderr and stdout', function (done) {
|
||||
execSh.promise('command').then(function (data) {
|
||||
assert(data.hasOwnProperty('stdout'))
|
||||
assert(data.hasOwnProperty('stderr'))
|
||||
assert.ok('stdout' in data)
|
||||
assert.ok('stderr' in data)
|
||||
done()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user