Skip to content

Commit

Permalink
feat: drop debug deps (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 authored Jan 11, 2024
1 parent cbaca29 commit c0231b9
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 92 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "34 4 * * 5"

jobs:
analyze:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ on:
pull_request:
branches: [ master ]

workflow_dispatch: {}

jobs:
Job:
name: Node.js
uses: artusjs/github-actions/.github/workflows/node-test.yml@v1
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
with:
os: 'ubuntu-latest, macos-latest, windows-latest'
version: '8, 10, 12, 14, 16, 18'
version: '8, 10, 12, 14, 16, 18, 20'
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ on:
push:
branches: [ master ]

workflow_dispatch: {}

jobs:
release:
name: Node.js
uses: artusjs/github-actions/.github/workflows/node-release.yml@v1
uses: node-modules/github-actions/.github/workflows/node-release.yml@master
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
with:
checkTest: false
78 changes: 78 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,81 @@
### Bug Fixes

* add check cmd on Windows ([#21](https://github.com/node-modules/runscript/issues/21)) ([ff495d9](https://github.com/node-modules/runscript/commit/ff495d9163a0e655f8aebf1c466021f20ad7274a))

---


1.5.3 / 2022-05-20
==================

**fixes**
* [[`fe6d304`](http://github.com/node-modules/runscript/commit/fe6d304ab66229f1e58ecac9069e15d9eedc2e04)] - fix: use object.assign instead of object.create (#16) (lusyn <<[email protected]>>)

**others**
* [[`0008b4b`](http://github.com/node-modules/runscript/commit/0008b4bbcd32f348dc86eb374615562c63dfe24c)] - 👌 IMPROVE: You should use execa instead (#15) (fengmk2 <<[email protected]>>)

1.5.2 / 2022-03-08
==================

**fixes**
* [[`475fc7d`](http://github.com/node-modules/runscript/commit/475fc7dcf9e8558875713f4ec016ff251315bcdd)] - fix: Use to exit event instead of close (#13) (lusyn <<[email protected]>>)

**others**
* [[`53f88a2`](http://github.com/node-modules/runscript/commit/53f88a28008049b0c17be8c79a4ea24d9288b0b9)] - 📖 DOC: Add contributors (#14) (fengmk2 <<[email protected]>>)
* [[`09bb8cd`](http://github.com/node-modules/runscript/commit/09bb8cd38add3ae5b1b1ab46bb090dbcca4ae3b7)] - chore: fix ci badges (fengmk2 <<[email protected]>>)
* [[`59b76ef`](http://github.com/node-modules/runscript/commit/59b76efac12095417155602fbd39f530cf3f8600)] - test: add more tsd test cases (#12) (fengmk2 <<[email protected]>>)

1.5.1 / 2021-05-07
==================

**fixes**
* [[`0fd91a4`](http://github.com/node-modules/runscript/commit/0fd91a420da493d1885f7ccd66a6a77394144551)] - fix(interface): Add the missing `extraOpts` paramter in type declaration (#11) (Aaron <<[email protected]>>)

**others**
* [[`6fe00d6`](http://github.com/node-modules/runscript/commit/6fe00d69fd91914f7f0a05f18c38fdc1252946fb)] - deps: upgrade dev deps (#10) (fengmk2 <<[email protected]>>)

1.5.0 / 2020-05-22
==================

**features**
* [[`4d82803`](http://github.com/node-modules/runscript/commit/4d82803172f0a0ef0dd4a5ffecf6e4c44ae63484)] - feat: expose exitcode in error instance (#9) (Otto Mao <<[email protected]>>)

1.4.0 / 2019-07-06
==================

**features**
* [[`a0d7ffb`](http://github.com/node-modules/runscript/commit/a0d7ffb815041baa89b46fb5d76b23f759cd56fb)] - feat: run script with timeout (#8) (fengmk2 <<[email protected]>>)

1.3.1 / 2019-06-15
==================

**fixes**
* [[`8998c8f`](http://github.com/node-modules/runscript/commit/8998c8f778ce24bb36c653903719fd4ff2189a70)] - fix: add declarations (#7) (吖猩 <<[email protected]>>)

**others**
* [[`f618799`](http://github.com/node-modules/runscript/commit/f618799676b43ff2ecda94f7e1677b51cacb8af5)] - test: node 10, 12 (#6) (fengmk2 <<[email protected]>>)

1.3.0 / 2017-07-28
==================

* feat: support relative path on windows (#5)

1.2.1 / 2017-02-22
==================

* fix: exit code < 0 as error too (#3)

1.2.0 / 2017-02-04
==================

* feat: add options stdout and stderr (#2)

1.1.0 / 2016-03-06
==================

* feat: support return stdio

1.0.0 / 2016-02-05
==================

* First release
75 changes: 0 additions & 75 deletions History.md

This file was deleted.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ runScript('node user-script.js', { stdio: 'pipe' }, { timeout: 10000 })
## License

[MIT](LICENSE.txt)

<!-- GITCONTRIBUTOR_START -->

## Contributors

|[<img src="https://avatars.githubusercontent.com/u/156269?v=4" width="100px;"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src="https://avatars.githubusercontent.com/u/8433821?v=4" width="100px;"/><br/><sub><b>lusyn</b></sub>](https://github.com/lusyn)<br/>|[<img src="https://avatars.githubusercontent.com/u/9939767?v=4" width="100px;"/><br/><sub><b>walkthunder</b></sub>](https://github.com/walkthunder)<br/>|[<img src="https://avatars.githubusercontent.com/u/360661?v=4" width="100px;"/><br/><sub><b>popomore</b></sub>](https://github.com/popomore)<br/>|[<img src="https://avatars.githubusercontent.com/u/1622697?v=4" width="100px;"/><br/><sub><b>ottomao</b></sub>](https://github.com/ottomao)<br/>|[<img src="https://avatars.githubusercontent.com/u/227713?v=4" width="100px;"/><br/><sub><b>atian25</b></sub>](https://github.com/atian25)<br/>|
| :---: | :---: | :---: | :---: | :---: | :---: |
[<img src="https://avatars.githubusercontent.com/u/5856440?v=4" width="100px;"/><br/><sub><b>whxaxes</b></sub>](https://github.com/whxaxes)<br/>
[<img src="https://avatars.githubusercontent.com/u/47808321?v=4" width="100px;"/><br/><sub><b>akitaSummer</b></sub>](https://github.com/akitaSummer)<br/>|[<img src="https://avatars.githubusercontent.com/in/17324?v=4" width="100px;"/><br/><sub><b>lgtm-com[bot]</b></sub>](https://github.com/apps/lgtm-com)<br/>|[<img src="https://avatars.githubusercontent.com/u/32174276?v=4" width="100px;"/><br/><sub><b>semantic-release-bot</b></sub>](https://github.com/semantic-release-bot)<br/>|[<img src="https://avatars.githubusercontent.com/u/5856440?v=4" width="100px;"/><br/><sub><b>whxaxes</b></sub>](https://github.com/whxaxes)<br/>

This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Fri May 20 2022 10:00:09 GMT+0800`.
This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Thu Jan 11 2024 16:25:27 GMT+0800`.

<!-- GITCONTRIBUTOR_END -->
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const debug = require('debug')('runscript');
const debug = require('util').debuglog('runscript');
const is = require('is-type-of');
const assert = require('assert');
const path = require('path');
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@
"test": "npm run lint && egg-bin test",
"test-cov": "egg-bin cov",
"lint": "eslint index.js test --fix",
"ci": "npm run lint && npm run test-cov"
"ci": "npm run lint && npm run test-cov",
"contributor": "git-contributor"
},
"dependencies": {
"debug": "^2.6.8",
"is-type-of": "^1.1.0"
},
"devDependencies": {
"@types/node": "^12.0.8",
"autod": "^3.1.0",
"autod": "^3.1.2",
"egg-bin": "^1.11.1",
"eslint": "^4.19.1",
"eslint-config-egg": "^6.0.0",
"git-contributor": "^2.1.5",
"typescript": "^3.9.3"
},
"homepage": "https://github.com/node-modules/runscript",
Expand Down

0 comments on commit c0231b9

Please sign in to comment.