fix: include run-parallel.mjs in npm package files

This commit is contained in:
Ubuntu 2026-04-23 12:02:14 +00:00
parent b920b6315c
commit e4ab168d72
3 changed files with 9 additions and 2 deletions

View File

@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [4.0.10] - 2026-04-23
### 修复
- **Package**: `files` 字段补充遗漏的 `scripts/run-parallel.mjs`,修复 npm install 时 `MODULE_NOT_FOUND` 错误
## [4.0.9] - 2026-04-23 ## [4.0.9] - 2026-04-23
### 变更 ### 变更

View File

@ -1,6 +1,6 @@
{ {
"name": "@costrict/csc", "name": "@costrict/csc",
"version": "4.0.9", "version": "4.0.10",
"description": "costrict", "description": "costrict",
"type": "module", "type": "module",
"author": "claude-code-best <claude-code-best@proton.me>", "author": "claude-code-best <claude-code-best@proton.me>",
@ -37,6 +37,7 @@
"files": [ "files": [
"dist", "dist",
"scripts/postinstall.cjs", "scripts/postinstall.cjs",
"scripts/run-parallel.mjs",
"scripts/setup-chrome-mcp.mjs" "scripts/setup-chrome-mcp.mjs"
], ],
"scripts": { "scripts": {

View File

@ -7,7 +7,7 @@
*/ */
export function getMacroDefines(): Record<string, string> { export function getMacroDefines(): Record<string, string> {
return { return {
"MACRO.VERSION": JSON.stringify("4.0.9"), "MACRO.VERSION": JSON.stringify("4.0.10"),
"MACRO.BUILD_TIME": JSON.stringify(new Date().toISOString()), "MACRO.BUILD_TIME": JSON.stringify(new Date().toISOString()),
"MACRO.FEEDBACK_CHANNEL": JSON.stringify(""), "MACRO.FEEDBACK_CHANNEL": JSON.stringify(""),
"MACRO.ISSUES_EXPLAINER": JSON.stringify(""), "MACRO.ISSUES_EXPLAINER": JSON.stringify(""),