Skip to content

Commit ebbb7f6

Browse files
authored
feat: use runscript v2 (#61)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Removed the CodeQL analysis workflow. - Updated Node.js CI workflow to include an additional version. - Modified release workflow to remove manual trigger. - Added `.package-lock.json` to `.gitignore`. - **Documentation** - Updated contributors section in `README.md` to use a dynamic contributors' graph. - Updated CHANGELOG.md to reflect recent version changes and bug fixes. - **Dependencies** - Updated various dependencies in `package.json` and adjusted Node.js version requirement. - Removed the `contributor` script and updated test scripts to include flags. - **Tests** - Enhanced assertion checks in multiple test files for more robust error handling. - Added a new utility function to sanitize error messages in tests. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 52f2dbc commit ebbb7f6

File tree

14 files changed

+273
-360
lines changed

14 files changed

+273
-360
lines changed

.github/workflows/codeql-analysis.yml

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

.github/workflows/nodejs.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,12 @@ name: CI
33
on:
44
push:
55
branches: [ master ]
6-
76
pull_request:
87
branches: [ master ]
98

10-
workflow_dispatch: {}
11-
129
jobs:
1310
Job:
1411
name: Node.js
1512
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
1613
with:
17-
os: 'ubuntu-latest, macos-latest, windows-latest'
18-
version: '16, 18, 20'
14+
version: '16, 18, 20, 22'

.github/workflows/release.yml

Lines changed: 0 additions & 4 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
1210
uses: eggjs/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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ test/fixtures/ts/app/controller/home.js
1010
test/fixtures/ts-pkg/app/controller/home.js
1111
!test/fixtures/**/node_modules
1212
package-lock.json
13+
.package-lock.json

CHANGELOG.md

Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,218 @@
1717
### Features
1818

1919
* support configure egg.revert in package.json ([#58](https://github.com/eggjs/egg-scripts/issues/58)) ([a294691](https://github.com/eggjs/egg-scripts/commit/a29469134293a9dec3a7dd5cf6ce71810e913498))
20+
21+
22+
---
23+
24+
25+
2.17.0 / 2022-04-28
26+
==================
27+
28+
**features**
29+
* [[`47f8e82`](http://github.com/eggjs/egg-scripts/commit/47f8e823e01b74028bf8dee7123fc3f9469fb3b6)] - feat: eggScriptsConfig support node-options (#54) (TZ | 天猪 <<[email protected]>>)
30+
31+
2.16.0 / 2022-03-27
32+
==================
33+
34+
**features**
35+
* [[`bb1ba0a`](http://github.com/eggjs/egg-scripts/commit/bb1ba0a665cab9530639d98f38b76c3c72176f76)] - feat: --trace-warnings (#53) (mansonchor.github.com <<[email protected]>>)
36+
37+
2.15.3 / 2022-03-08
38+
==================
39+
40+
**fixes**
41+
* [[`ef5496d`](http://github.com/eggjs/egg-scripts/commit/ef5496d1838a508a859cd5d77886098d7de8fec5)] - fix: ps-cmd result may be truncated (#52) (W <<[email protected]>>)
42+
43+
**others**
44+
* [[`be89f9d`](http://github.com/eggjs/egg-scripts/commit/be89f9d6bb88810ffa3237deab9e4e0d9c4000c2)] - docs(doc): 修改readme文档中的stop脚本处的描述,并增加示例. (#51) (shuidian <<[email protected]>>)
45+
46+
2.15.2 / 2021-11-17
47+
==================
48+
49+
**fixes**
50+
* [[`b122d86`](http://github.com/eggjs/egg-scripts/commit/b122d86d300df4018291d8f8d8e98ab813048f67)] - fix: sourcemap default value should respect eggScriptConfig (#50) (killa <<[email protected]>>)
51+
52+
**others**
53+
* [[`78c3284`](http://github.com/eggjs/egg-scripts/commit/78c3284cb68748f4487141f5481d6e44288c9e47)] - test: case for injecting incorrect script (#49) (hyj1991 <<[email protected]>>)
54+
55+
2.15.1 / 2021-09-15
56+
==================
57+
58+
**features**
59+
* [[`1a7f09c`](http://github.com/eggjs/egg-scripts/commit/1a7f09c707becaca42522ee415da0fe5961a6ad5)] - feat: support pkgInfo.eggScriptsConfig.require (#47) (hyj1991 <<[email protected]>>)
60+
61+
**others**
62+
* [[`a68ac67`](http://github.com/eggjs/egg-scripts/commit/a68ac679b0eee4eff19c9e5d40ca80409ddf02eb)] - Revert "feat: support pkgInfo.egg.require (#45)" (#48) (hyj1991 <<[email protected]>>)
63+
64+
2.15.0 / 2021-09-13
65+
==================
66+
67+
**features**
68+
* [[`fe179fd`](http://github.com/eggjs/egg-scripts/commit/fe179fda909cd7eb5b6497357202185a4ecf5ec6)] - feat: support pkgInfo.egg.require (#45) (TZ | 天猪 <<[email protected]>>)
69+
70+
2.14.0 / 2021-06-11
71+
==================
72+
73+
**features**
74+
* [[`f0a342f`](http://github.com/eggjs/egg-scripts/commit/f0a342ffcd3ec1823eb2d42a9dd96c075cea3754)] - feat: --no-deprecation (#44) (TZ | 天猪 <<[email protected]>>)
75+
76+
2.13.0 / 2020-02-25
77+
==================
78+
79+
**features**
80+
* [[`c0ba739`](http://github.com/eggjs/egg-scripts/commit/c0ba73900642e488b0e6306ea028ef547ceedfae)] - feat: support stop timeout (#43) (hui <<[email protected]>>)
81+
82+
2.12.0 / 2019-12-16
83+
==================
84+
85+
**features**
86+
* [[`20483fd`](http://github.com/eggjs/egg-scripts/commit/20483fd56ce51238431fb095ede1c768a99470f2)] - feat: support eggScriptsConfig in package.json (#41) (Yiyu He <<[email protected]>>)
87+
88+
2.11.1 / 2019-10-10
89+
==================
90+
91+
**fixes**
92+
* [[`de61980`](http://github.com/eggjs/egg-scripts/commit/de61980f772c8a24010d3f078658f8c55b072067)] - fix: start command should exit after child process exit when no daemon mode (#39) (killa <<[email protected]>>)
93+
94+
**others**
95+
* [[`7ae9cb0`](http://github.com/eggjs/egg-scripts/commit/7ae9cb054cb91ea7ac1e615e1e3a7fcdaba5f980)] - test: add egg@1 and egg@2 with travis (#36) (Maledong <<[email protected]>>)
96+
97+
2.11.0 / 2018-12-17
98+
===================
99+
100+
* feat(stop): only sleep when master process exists (#34)
101+
* fix: stop process only if the title matches exactly (#35)
102+
103+
2.10.0 / 2018-10-10
104+
==================
105+
106+
**fixes**
107+
* [[`4768950`](http://github.com/eggjs/egg-scripts/commit/4768950d29398031fd6ae129a981c60e308bff0a)] - fix: replace command by args in ps (#29) (Baffin Lee <<[email protected]>>)
108+
109+
**others**
110+
* [[`f31efb9`](http://github.com/eggjs/egg-scripts/commit/f31efb9133c5edc6176371ca725198f1b43b9aab)] - feat: support customize node path (#32) (Yiyu He <<[email protected]>>)
111+
* [[`c2479dc`](http://github.com/eggjs/egg-scripts/commit/c2479dc6416386b654fc6e918a4dbd575cc0639e)] - chore: update version (TZ <<[email protected]>>)
112+
113+
2.9.1 / 2018-08-24
114+
==================
115+
116+
* fix: replace command by args in ps (#29)
117+
118+
2.9.0 / 2018-08-23
119+
==================
120+
121+
**features**
122+
* [[`1367883`](http://github.com/eggjs/egg-scripts/commit/1367883804e5ab1ece88831ea4d1a934ee757f81)] - feat: add ipc channel in nonDaemon mode (#28) (Khaidi Chu <<[email protected]>>)
123+
124+
**others**
125+
* [[`262ef4c`](http://github.com/eggjs/egg-scripts/commit/262ef4c97179dbf6f8de2eb0547eef4cbc56bf92)] - chore: add license and issues link (#27) (Haoliang Gao <<[email protected]>>)
126+
127+
2.8.1 / 2018-08-19
128+
==================
129+
130+
**fixes**
131+
* [[`b98fd03`](http://github.com/eggjs/egg-scripts/commit/b98fd03d1e3aaed68004b881f0b3d42fe47341dd)] - fix: use execFile instead of exec for security reason (#26) (fengmk2 <<[email protected]>>)
132+
133+
2.8.0 / 2018-08-10
134+
==================
135+
136+
**others**
137+
* [[`dac29f7`](http://github.com/eggjs/egg-scripts/commit/dac29f73ed2dfc18edc2e8743ffd509af8ab0f4a)] - refactor: add `this.exit` to instead of `process.exit` (#25) (Khaidi Chu <<[email protected]>>)
138+
139+
2.7.0 / 2018-08-10
140+
==================
141+
142+
**features**
143+
* [[`22faa4c`](http://github.com/eggjs/egg-scripts/commit/22faa4cfbb84cc5bc819d981dce962d8f95f8357)] - feat: stop command support windows (#22) (Baffin Lee <<[email protected]>>)
144+
145+
**others**
146+
* [[`e07726c`](http://github.com/eggjs/egg-scripts/commit/e07726c176a89dd63482b588868fd1feaab1fba6)] - refactor: raw spawn call to instead of helper.spawn in start non-daemon mode (#23) (Khaidi Chu <<[email protected]>>)
147+
148+
2.6.0 / 2018-04-03
149+
==================
150+
151+
* feat: provides source map support for stack traces (#19)
152+
153+
2.5.1 / 2018-02-06
154+
==================
155+
156+
* chore: add description for ignore-stderr (#18)
157+
158+
2.5.0 / 2017-12-12
159+
==================
160+
161+
**features**
162+
* [[`b5559d5`](http://github.com/eggjs/egg-scripts/commit/b5559d54228543b5422047e6f056829df11f8c87)] - feat: support --ignore-error (#17) (TZ | 天猪 <<[email protected]>>)
163+
164+
2.4.0 / 2017-11-30
165+
==================
166+
167+
**features**
168+
* [[`8eda3d1`](https://github.com/eggjs/egg-scripts/commit/8eda3d10cfea5757f220fd82b562fd5fef433440)] - feat: add `${baseDir}/.node/bin` to PATH if exists (#14) (fengmk2 <<[email protected]>>)
169+
170+
**others**
171+
* [[`4dd24a4`](https://github.com/eggjs/egg-scripts/commit/4dd24a45d92b2c2a8e1e450e0f13ba4143550ca9)] - test: add testcase for #12 (#13) (Haoliang Gao <<[email protected]>>)
172+
173+
2.3.0 / 2017-11-29
174+
==================
175+
176+
**features**
177+
* [[`4c41319`](http://github.com/eggjs/egg-scripts/commit/4c41319f9e309402b2ccb5c7afd5a6d3cda2453f)] - feat: support stop --title (#16) (TZ | 天猪 <<[email protected]>>)
178+
179+
2.2.0 / 2017-11-22
180+
==================
181+
182+
**features**
183+
* [[`ac58d00`](http://github.com/eggjs/egg-scripts/commit/ac58d00a974fdfff6b5c722743e4b32174963c52)] - feat: cwd maybe not baseDir (#15) (zhennann <<[email protected]>>)
184+
185+
2.1.1 / 2017-11-14
186+
==================
187+
188+
**fixes**
189+
* [[`7324d99`](http://github.com/eggjs/egg-scripts/commit/7324d99b504cac5fef7dbf280f7d9e6243c16bb7)] - fix: should stop app when baseDir is symlink (#12) (Haoliang Gao <<[email protected]>>)
190+
191+
2.1.0 / 2017-10-16
192+
==================
193+
194+
**features**
195+
* [[`ac40135`](http://github.com/eggjs/egg-scripts/commit/ac40135d5b9a3200ea1bdfdb19d0f7e12d0c511a)] - feat: add eggctl bin (#10) (Haoliang Gao <<[email protected]>>)
196+
197+
2.0.0 / 2017-10-13
198+
==================
199+
200+
**features**
201+
* [[`0f7ca50`](http://github.com/eggjs/egg-scripts/commit/0f7ca502999c06a9cb05d8e5617f6045704511df)] - feat: [BREAKING_CHANGE] check the status of app when start on daemon (#9) (Haoliang Gao <<[email protected]>>)
202+
203+
**others**
204+
* [[`cfd0d2f`](http://github.com/eggjs/egg-scripts/commit/cfd0d2f67845fffb9d5974514b65e43b22ed8040)] - refactor: modify the directory of logDir (#8) (Haoliang Gao <<[email protected]>>)
205+
206+
1.2.0 / 2017-09-11
207+
==================
208+
209+
**features**
210+
* [[`c0300b8`](http://github.com/eggjs/egg-scripts/commit/c0300b8c657fe4f75ca388061f6cb3de9864a743)] - feat: log success at daemon mode (#7) (TZ | 天猪 <<[email protected]>>)
211+
212+
**others**
213+
* [[`fdd273c`](http://github.com/eggjs/egg-scripts/commit/fdd273c2d6f15d104288fef4d699627a7cf701d9)] - test: add cluster-config fixture (#4) (TZ | 天猪 <<[email protected]>>)
214+
215+
1.1.2 / 2017-09-01
216+
==================
217+
218+
* fix: should not pass undefined env (#6)
219+
* docs: fix stop typo (#5)
220+
221+
1.1.1 / 2017-08-29
222+
==================
223+
224+
* fix: should set title correct (#3)
225+
226+
1.1.0 / 2017-08-16
227+
==================
228+
229+
* feat: remove env default value (#2)
230+
231+
1.0.0 / 2017-08-02
232+
==================
233+
234+
* feat: first implementation (#1)

0 commit comments

Comments
 (0)