Skip to content

Commit c0231b9

Browse files
authored
feat: drop debug deps (#22)
1 parent cbaca29 commit c0231b9

File tree

8 files changed

+89
-92
lines changed

8 files changed

+89
-92
lines changed

.github/workflows/codeql.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
branches: [ "master" ]
66
pull_request:
77
branches: [ "master" ]
8-
schedule:
9-
- cron: "34 4 * * 5"
108

119
jobs:
1210
analyze:

.github/workflows/nodejs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ on:
77
pull_request:
88
branches: [ master ]
99

10-
workflow_dispatch: {}
11-
1210
jobs:
1311
Job:
1412
name: Node.js
15-
uses: artusjs/github-actions/.github/workflows/node-test.yml@v1
13+
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
1614
with:
1715
os: 'ubuntu-latest, macos-latest, windows-latest'
18-
version: '8, 10, 12, 14, 16, 18'
16+
version: '8, 10, 12, 14, 16, 18, 20'

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ on:
44
push:
55
branches: [ master ]
66

7-
workflow_dispatch: {}
8-
97
jobs:
108
release:
119
name: Node.js
12-
uses: artusjs/github-actions/.github/workflows/node-release.yml@v1
10+
uses: node-modules/github-actions/.github/workflows/node-release.yml@master
1311
secrets:
1412
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1513
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
16-
with:
17-
checkTest: false

CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,81 @@
66
### Bug Fixes
77

88
* add check cmd on Windows ([#21](https://github.com/node-modules/runscript/issues/21)) ([ff495d9](https://github.com/node-modules/runscript/commit/ff495d9163a0e655f8aebf1c466021f20ad7274a))
9+
10+
---
11+
12+
13+
1.5.3 / 2022-05-20
14+
==================
15+
16+
**fixes**
17+
* [[`fe6d304`](http://github.com/node-modules/runscript/commit/fe6d304ab66229f1e58ecac9069e15d9eedc2e04)] - fix: use object.assign instead of object.create (#16) (lusyn <<[email protected]>>)
18+
19+
**others**
20+
* [[`0008b4b`](http://github.com/node-modules/runscript/commit/0008b4bbcd32f348dc86eb374615562c63dfe24c)] - 👌 IMPROVE: You should use execa instead (#15) (fengmk2 <<[email protected]>>)
21+
22+
1.5.2 / 2022-03-08
23+
==================
24+
25+
**fixes**
26+
* [[`475fc7d`](http://github.com/node-modules/runscript/commit/475fc7dcf9e8558875713f4ec016ff251315bcdd)] - fix: Use to exit event instead of close (#13) (lusyn <<[email protected]>>)
27+
28+
**others**
29+
* [[`53f88a2`](http://github.com/node-modules/runscript/commit/53f88a28008049b0c17be8c79a4ea24d9288b0b9)] - 📖 DOC: Add contributors (#14) (fengmk2 <<[email protected]>>)
30+
* [[`09bb8cd`](http://github.com/node-modules/runscript/commit/09bb8cd38add3ae5b1b1ab46bb090dbcca4ae3b7)] - chore: fix ci badges (fengmk2 <<[email protected]>>)
31+
* [[`59b76ef`](http://github.com/node-modules/runscript/commit/59b76efac12095417155602fbd39f530cf3f8600)] - test: add more tsd test cases (#12) (fengmk2 <<[email protected]>>)
32+
33+
1.5.1 / 2021-05-07
34+
==================
35+
36+
**fixes**
37+
* [[`0fd91a4`](http://github.com/node-modules/runscript/commit/0fd91a420da493d1885f7ccd66a6a77394144551)] - fix(interface): Add the missing `extraOpts` paramter in type declaration (#11) (Aaron <<[email protected]>>)
38+
39+
**others**
40+
* [[`6fe00d6`](http://github.com/node-modules/runscript/commit/6fe00d69fd91914f7f0a05f18c38fdc1252946fb)] - deps: upgrade dev deps (#10) (fengmk2 <<[email protected]>>)
41+
42+
1.5.0 / 2020-05-22
43+
==================
44+
45+
**features**
46+
* [[`4d82803`](http://github.com/node-modules/runscript/commit/4d82803172f0a0ef0dd4a5ffecf6e4c44ae63484)] - feat: expose exitcode in error instance (#9) (Otto Mao <<[email protected]>>)
47+
48+
1.4.0 / 2019-07-06
49+
==================
50+
51+
**features**
52+
* [[`a0d7ffb`](http://github.com/node-modules/runscript/commit/a0d7ffb815041baa89b46fb5d76b23f759cd56fb)] - feat: run script with timeout (#8) (fengmk2 <<[email protected]>>)
53+
54+
1.3.1 / 2019-06-15
55+
==================
56+
57+
**fixes**
58+
* [[`8998c8f`](http://github.com/node-modules/runscript/commit/8998c8f778ce24bb36c653903719fd4ff2189a70)] - fix: add declarations (#7) (吖猩 <<[email protected]>>)
59+
60+
**others**
61+
* [[`f618799`](http://github.com/node-modules/runscript/commit/f618799676b43ff2ecda94f7e1677b51cacb8af5)] - test: node 10, 12 (#6) (fengmk2 <<[email protected]>>)
62+
63+
1.3.0 / 2017-07-28
64+
==================
65+
66+
* feat: support relative path on windows (#5)
67+
68+
1.2.1 / 2017-02-22
69+
==================
70+
71+
* fix: exit code < 0 as error too (#3)
72+
73+
1.2.0 / 2017-02-04
74+
==================
75+
76+
* feat: add options stdout and stderr (#2)
77+
78+
1.1.0 / 2016-03-06
79+
==================
80+
81+
* feat: support return stdio
82+
83+
1.0.0 / 2016-02-05
84+
==================
85+
86+
* First release

History.md

Lines changed: 0 additions & 75 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,15 @@ runScript('node user-script.js', { stdio: 'pipe' }, { timeout: 10000 })
5858
## License
5959

6060
[MIT](LICENSE.txt)
61+
6162
<!-- GITCONTRIBUTOR_START -->
6263

6364
## Contributors
6465

6566
|[<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/>|
6667
| :---: | :---: | :---: | :---: | :---: | :---: |
67-
[<img src="https://avatars.githubusercontent.com/u/5856440?v=4" width="100px;"/><br/><sub><b>whxaxes</b></sub>](https://github.com/whxaxes)<br/>
68+
[<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/>
6869

69-
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`.
70+
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`.
7071

7172
<!-- GITCONTRIBUTOR_END -->

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
const debug = require('debug')('runscript');
3+
const debug = require('util').debuglog('runscript');
44
const is = require('is-type-of');
55
const assert = require('assert');
66
const path = require('path');

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@
1111
"test": "npm run lint && egg-bin test",
1212
"test-cov": "egg-bin cov",
1313
"lint": "eslint index.js test --fix",
14-
"ci": "npm run lint && npm run test-cov"
14+
"ci": "npm run lint && npm run test-cov",
15+
"contributor": "git-contributor"
1516
},
1617
"dependencies": {
17-
"debug": "^2.6.8",
1818
"is-type-of": "^1.1.0"
1919
},
2020
"devDependencies": {
2121
"@types/node": "^12.0.8",
22-
"autod": "^3.1.0",
22+
"autod": "^3.1.2",
2323
"egg-bin": "^1.11.1",
2424
"eslint": "^4.19.1",
2525
"eslint-config-egg": "^6.0.0",
26+
"git-contributor": "^2.1.5",
2627
"typescript": "^3.9.3"
2728
},
2829
"homepage": "https://github.com/node-modules/runscript",

0 commit comments

Comments
 (0)