bingocode 1.1.42 → 1.1.44
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.
- package/bin/bingo-win.cjs +1 -2
- package/bin/bingocode-win.cjs +1 -2
- package/bin/claude-win.cjs +1 -2
- package/package.json +1 -2
- package/tsconfig.json +0 -24
package/bin/bingo-win.cjs
CHANGED
|
@@ -120,9 +120,8 @@ if (fs.existsSync(envPath)) {
|
|
|
120
120
|
envFlag = `--env-file=${envPath}`;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
const tsconfig = path.join(ROOT_DIR, 'tsconfig.json');
|
|
124
123
|
const extraArgs = process.argv.slice(2);
|
|
125
|
-
const args = [`--preload=${preload}`,
|
|
124
|
+
const args = [`--preload=${preload}`, envFlag, entry, ...extraArgs].filter(Boolean);
|
|
126
125
|
|
|
127
126
|
const child = spawn(bun, args, { stdio: 'inherit' });
|
|
128
127
|
|
package/bin/bingocode-win.cjs
CHANGED
|
@@ -56,9 +56,8 @@ if (fs.existsSync(envPath)) {
|
|
|
56
56
|
envFlag = `--env-file=${envPath}`;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
const tsconfig = path.join(__dirname, '..', 'tsconfig.json');
|
|
60
59
|
const extraArgs = process.argv.slice(2);
|
|
61
|
-
const args = [`--preload=${preload}`,
|
|
60
|
+
const args = [`--preload=${preload}`, envFlag, entry, ...extraArgs].filter(Boolean);
|
|
62
61
|
|
|
63
62
|
const child = spawn(bun, args, { stdio: 'inherit' });
|
|
64
63
|
|
package/bin/claude-win.cjs
CHANGED
|
@@ -56,9 +56,8 @@ if (fs.existsSync(envPath)) {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
// 拼接全部参数:preload、主文件、env、传入参数
|
|
59
|
-
const tsconfig = path.join(__dirname, '..', 'tsconfig.json');
|
|
60
59
|
const extraArgs = process.argv.slice(2);
|
|
61
|
-
const args = [`--preload=${preload}`,
|
|
60
|
+
const args = [`--preload=${preload}`, envFlag, entry, ...extraArgs].filter(Boolean); // 过滤空串
|
|
62
61
|
|
|
63
62
|
// 启动 bun
|
|
64
63
|
const child = spawn(bun, args, { stdio: 'inherit' });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bingocode",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.44",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"claude": "bin/claude-win.cjs",
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"src/",
|
|
23
23
|
"config/",
|
|
24
24
|
"preload.ts",
|
|
25
|
-
"tsconfig.json",
|
|
26
25
|
"package.json",
|
|
27
26
|
"README.md",
|
|
28
27
|
"bun.lock",
|
package/tsconfig.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ESNext",
|
|
4
|
-
"module": "ESNext",
|
|
5
|
-
"moduleResolution": "bundler",
|
|
6
|
-
"allowJs": true,
|
|
7
|
-
"jsx": "react-jsx",
|
|
8
|
-
"baseUrl": ".",
|
|
9
|
-
"paths": {
|
|
10
|
-
"@ant/claude-for-chrome-mcp": [
|
|
11
|
-
"./stubs/ant-claude-for-chrome-mcp.ts"
|
|
12
|
-
],
|
|
13
|
-
"color-diff-napi": [
|
|
14
|
-
"./stubs/color-diff-napi.ts"
|
|
15
|
-
],
|
|
16
|
-
"src/*": [
|
|
17
|
-
"./src/*"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"types": [
|
|
21
|
-
"bun-types"
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
}
|