Skip to content

windows启动时 选择作为服务模式,不用弹出进程框 #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 72 commits into
base: win
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
cfd0d2f
refactor: modify the directory of logDir (#8)
popomore Oct 12, 2017
0f7ca50
feat: [BREAKING_CHANGE] check the status of app when start on daemon …
popomore Oct 13, 2017
e207052
Release 2.0.0
popomore Oct 13, 2017
ac40135
feat: add eggctl bin (#10)
popomore Oct 16, 2017
f5d502e
Release 2.1.0
popomore Oct 16, 2017
7324d99
fix: should stop app when baseDir is symlink (#12)
popomore Nov 14, 2017
0c376a1
Release 2.1.1
popomore Nov 14, 2017
ac58d00
feat: cwd maybe not baseDir (#15)
zhennann Nov 22, 2017
e1a11c2
Release 2.2.0
popomore Nov 22, 2017
4c41319
feat: support stop --title (#16)
atian25 Nov 28, 2017
c6cdf09
Release 2.3.0
popomore Nov 29, 2017
4dd24a4
test: add testcase for #12 (#13)
popomore Nov 30, 2017
8eda3d1
feat: add `${baseDir}/.node/bin` to PATH if exists (#14)
fengmk2 Nov 30, 2017
3684d9f
Release 2.4.0
atian25 Nov 30, 2017
b5559d5
feat: support --ignore-error (#17)
atian25 Dec 12, 2017
9ce6764
Release 2.5.0
popomore Dec 12, 2017
c323edf
chore: add description for ignore-stderr (#18)
atian25 Feb 6, 2018
0016e28
Release 2.5.1
atian25 Feb 6, 2018
6e3fef5
feat: provides source map support for stack traces (#19)
atian25 Apr 3, 2018
82f4125
Release 2.6.0
atian25 Apr 3, 2018
22faa4c
feat: stop command support windows (#22)
BaffinLee Jul 11, 2018
e07726c
refactor: raw spawn call to instead of helper.spawn in start non-daem…
XadillaX Aug 9, 2018
d4ebb30
Release 2.7.0
popomore Aug 10, 2018
dac29f7
refactor: add `this.exit` to instead of `process.exit` (#25)
XadillaX Aug 10, 2018
08f8ea9
Release 2.8.0
fengmk2 Aug 10, 2018
b98fd03
fix: use execFile instead of exec for security reason (#26)
fengmk2 Aug 19, 2018
2ccc21e
Release 2.8.1
fengmk2 Aug 19, 2018
262ef4c
chore: add license and issues link (#27)
popomore Aug 21, 2018
1367883
feat: add ipc channel in nonDaemon mode (#28)
XadillaX Aug 23, 2018
d615083
Release 2.9.0
popomore Aug 23, 2018
4768950
fix: replace command by args in ps (#29)
BaffinLee Aug 23, 2018
36ed7e0
Release 2.9.1
atian25 Aug 24, 2018
c2479dc
chore: update version
atian25 Aug 24, 2018
f31efb9
feat: support customize node path (#32)
dead-horse Oct 9, 2018
1a8ad1f
Release 2.10.0
dead-horse Oct 10, 2018
2f2cfe6
fix: stop process only if the title matches exactly (#35)
plusmancn Dec 17, 2018
a3d2c03
feat(stop): only sleep when master process exists (#34)
Dec 17, 2018
b3e8b47
Release 2.11.0
atian25 Dec 17, 2018
7ae9cb0
test: add egg@1 and egg@2 with travis (#36)
Mar 4, 2019
de61980
fix: start command should exit after child process exit when no daemo…
killagu Oct 10, 2019
df9933a
Release 2.11.1
killagu Oct 10, 2019
20483fd
feat: support eggScriptsConfig in package.json (#41)
dead-horse Dec 16, 2019
d18487f
Release 2.12.0
dead-horse Dec 16, 2019
c0ba739
feat: support stop timeout (#43)
leoner Feb 25, 2020
ad585eb
Release 2.13.0
atian25 Feb 25, 2020
f0a342f
feat: --no-deprecation (#44)
atian25 Jun 11, 2021
499dedd
Release 2.14.0
atian25 Jun 11, 2021
fe179fd
feat: support pkgInfo.egg.require (#45)
atian25 Sep 13, 2021
48af4f7
Release 2.15.0
atian25 Sep 13, 2021
a68ac67
Revert "feat: support pkgInfo.egg.require (#45)" (#48)
hyj1991 Sep 14, 2021
1a7f09c
feat: support pkgInfo.eggScriptsConfig.require (#47)
hyj1991 Sep 15, 2021
ab978a0
Release 2.15.1
atian25 Sep 15, 2021
78c3284
test: case for injecting incorrect script (#49)
hyj1991 Sep 15, 2021
b122d86
fix: sourcemap default value should respect eggScriptConfig (#50)
killagu Nov 17, 2021
765086e
Release 2.15.2
atian25 Nov 17, 2021
be89f9d
docs(doc): 修改readme文档中的stop脚本处的描述,并增加示例. (#51)
shuidian Dec 22, 2021
ef5496d
fix: ps-cmd result may be truncated (#52)
WJayWJay Mar 8, 2022
cb00441
Release 2.15.3
fengmk2 Mar 8, 2022
bb1ba0a
feat: --trace-warnings (#53)
mansonchor Mar 27, 2022
429d3c2
Release 2.16.0
mansonchor Mar 27, 2022
47f8e82
feat: eggScriptsConfig support node-options (#54)
atian25 Apr 28, 2022
4d9440b
Release 2.17.0
atian25 Apr 28, 2022
1c1a052
Create codeql-analysis.yml
fengmk2 Sep 24, 2022
880ad19
chore: auto release (#55)
fengmk2 Dec 17, 2022
a294691
feat: support configure egg.revert in package.json (#58)
killagu Feb 19, 2024
35fd6aa
Release 3.0.0
semantic-release-bot Feb 19, 2024
7f2cecf
fix: head 100 stderr when startup failed (#59)
gxkl May 11, 2024
52f2dbc
Release 3.0.1
semantic-release-bot May 11, 2024
ebbb7f6
feat: use runscript v2 (#61)
fengmk2 Dec 10, 2024
16d468e
Release 3.1.0
semantic-release-bot Dec 10, 2024
d9d0bc6
feat: support cjs and esm both by tshy (#63)
fengmk2 Dec 31, 2024
74605f7
Release 4.0.0
semantic-release-bot Dec 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .autod.conf.js

This file was deleted.

3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
test/fixtures
coverage
test/fixtures/ts/app/controller/home.js
test/fixtures/ts-pkg/app/controller/home.js
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "eslint-config-egg"
"extends": [
"eslint-config-egg/typescript",
"eslint-config-egg/lib/rules/enforce-node-prefix"
]
}
24 changes: 0 additions & 24 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
Job:
name: Node.js
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
with:
version: '18.19.0, 18, 20, 22'
os: 'ubuntu-latest, macos-latest'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/pkg.pr.new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish Any Commit
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm install

- name: Build
run: npm run prepublishOnly --if-present

- run: npx pkg-pr-new publish
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Release

on:
push:
branches: [ master ]

jobs:
release:
name: Node.js
uses: eggjs/github-actions/.github/workflows/node-release.yml@master
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
12 changes: 9 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
logs/
npm-debug.log
node_modules/
node_modules
coverage/
.idea/
run/
.DS_Store
*.swp
!test/fixtures/example/node_modules

test/fixtures/ts/app/controller/home.js
test/fixtures/ts-pkg/app/controller/home.js
!test/fixtures/**/node_modules
package-lock.json
.package-lock.json
.tshy*
.eslintcache
dist
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

Loading