@coze-arch/cli 0.1.3-alpha.574830 → 0.1.3-alpha.632c5c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -135,6 +135,7 @@ shift
135
135
  child_pid=$!
136
136
 
137
137
  # 先忽略 TERM,才能在向整组发 TERM(自己也在组里)之后存活下来补一发 KILL。
138
+ if [[ -z "${COZE_EVAL:-}" && -z "${COZE_PROJECT_TYPE:-}" ]]; then
138
139
  ( trap "" TERM
139
140
  sleep "${timeout_seconds}"
140
141
  echo "[dev] 后台进程运行超过 ${timeout_seconds}s,回收进程组 $$。"
@@ -142,6 +143,7 @@ child_pid=$!
142
143
  sleep 5
143
144
  kill -KILL -- "-$$" 2>/dev/null || true
144
145
  ) &
146
+ fi
145
147
 
146
148
  wait "${child_pid}"
147
149
  kill -KILL -- "-$$" 2>/dev/null || true
@@ -3163,6 +3163,10 @@ packages:
3163
3163
  engines: {node: '>=6.0.0'}
3164
3164
  hasBin: true
3165
3165
 
3166
+ baseline-browser-mapping@2.9.18:
3167
+ resolution: {integrity: sha512-e23vBV1ZLfjb9apvfPk4rHVu2ry6RIr2Wfs+O324okSidrX7pTAnEJPCh/O5BtRlr7QtZI7ktOP3vsqr7Z5XoA==}
3168
+ hasBin: true
3169
+
3166
3170
  binary-extensions@2.3.0:
3167
3171
  resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}
3168
3172
  engines: {node: '>=8'}
@@ -9452,6 +9456,8 @@ snapshots:
9452
9456
 
9453
9457
  baseline-browser-mapping@2.11.19: {}
9454
9458
 
9459
+ baseline-browser-mapping@2.9.18: {}
9460
+
9455
9461
  binary-extensions@2.3.0: {}
9456
9462
 
9457
9463
  body-parser@2.2.2:
@@ -9485,7 +9491,7 @@ snapshots:
9485
9491
 
9486
9492
  browserslist@4.28.1:
9487
9493
  dependencies:
9488
- baseline-browser-mapping: 2.11.19
9494
+ baseline-browser-mapping: 2.9.18
9489
9495
  caniuse-lite: 1.0.30001766
9490
9496
  electron-to-chromium: 1.5.279
9491
9497
  node-releases: 2.0.27
@@ -77,7 +77,7 @@ shift
77
77
  child_pid=$!
78
78
 
79
79
  # 先忽略 TERM,才能在向整组发 TERM(自己也在组里)之后存活下来补一发 KILL。
80
- if [[ -z "${COZE_EVAL:-}" ]]; then
80
+ if [[ -z "${COZE_EVAL:-}" && -z "${COZE_PROJECT_TYPE:-}" ]]; then
81
81
  ( trap "" TERM
82
82
  sleep "${timeout_seconds}"
83
83
  echo "[dev] 后台进程运行超过 ${timeout_seconds}s,回收进程组 $$。"
@@ -7,7 +7,7 @@ const hostname = process.env.HOSTNAME || 'localhost';
7
7
  const port = parseInt(process.env.PORT || '<%= port %>', 10);
8
8
 
9
9
  // Create Next.js app
10
- const app = next({ dev, hostname, port });
10
+ const app = next({ dev, hostname, port, webpack: true });
11
11
  const handle = app.getRequestHandler();
12
12
 
13
13
  app.prepare().then(() => {
@@ -77,7 +77,7 @@ shift
77
77
  child_pid=$!
78
78
 
79
79
  # 先忽略 TERM,才能在向整组发 TERM(自己也在组里)之后存活下来补一发 KILL。
80
- if [[ -z "${COZE_EVAL:-}" ]]; then
80
+ if [[ -z "${COZE_EVAL:-}" && -z "${COZE_PROJECT_TYPE:-}" ]]; then
81
81
  ( trap "" TERM
82
82
  sleep "${timeout_seconds}"
83
83
  echo "[dev] 后台进程运行超过 ${timeout_seconds}s,回收进程组 $$。"
@@ -43,7 +43,7 @@ shift
43
43
  child_pid=$!
44
44
 
45
45
  # 先忽略 TERM,才能在向整组发 TERM(自己也在组里)之后存活下来补一发 KILL。
46
- if [[ -z "${COZE_EVAL:-}" ]]; then
46
+ if [[ -z "${COZE_EVAL:-}" && -z "${COZE_PROJECT_TYPE:-}" ]]; then
47
47
  ( trap "" TERM
48
48
  sleep "${timeout_seconds}"
49
49
  echo "[dev] 后台进程运行超过 ${timeout_seconds}s,回收进程组 $$。"
@@ -57,7 +57,7 @@ shift
57
57
  child_pid=$!
58
58
 
59
59
  # 先忽略 TERM,才能在向整组发 TERM(自己也在组里)之后存活下来补一发 KILL。
60
- if [[ -z "${COZE_EVAL:-}" ]]; then
60
+ if [[ -z "${COZE_EVAL:-}" && -z "${COZE_PROJECT_TYPE:-}" ]]; then
61
61
  ( trap "" TERM
62
62
  sleep "${timeout_seconds}"
63
63
  echo "[dev] 后台进程运行超过 ${timeout_seconds}s,回收进程组 $$。"
package/lib/cli.js CHANGED
@@ -2114,7 +2114,7 @@ const EventBuilder = {
2114
2114
  };
2115
2115
 
2116
2116
  var name = "@coze-arch/cli";
2117
- var version = "0.1.3-alpha.574830";
2117
+ var version = "0.1.3-alpha.632c5c";
2118
2118
  var description = "coze coding devtools cli";
2119
2119
  var license = "MIT";
2120
2120
  var author = "fanwenjie.fe@bytedance.com";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coze-arch/cli",
3
- "version": "0.1.3-alpha.574830",
3
+ "version": "0.1.3-alpha.632c5c",
4
4
  "private": false,
5
5
  "description": "coze coding devtools cli",
6
6
  "license": "MIT",