fix(package): match npm globstar exclusions · openclaw/openclaw@f4bcd61
vincentkoc
·
2026-05-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -140,6 +140,7 @@ describe("package dist inventory", () => {
|
140 | 140 | ); |
141 | 141 | const omittedQaCompat = path.join(packageRoot, "dist", "plugin-sdk", "qa-channel.js"); |
142 | 142 | const omittedRuntimeChunk = path.join(packageRoot, "dist", "qa-runtime-AbC123.js"); |
| 143 | +const omittedTopLevelMap = path.join(packageRoot, "dist", "runtime.js.map"); |
143 | 144 | const omittedMap = path.join(packageRoot, "dist", "plugin-sdk", "runtime.js.map"); |
144 | 145 | |
145 | 146 | await fs.mkdir(path.dirname(packagedRuntime), { recursive: true }); |
@@ -165,6 +166,7 @@ describe("package dist inventory", () => {
|
165 | 166 | await fs.writeFile(omittedNestedHelper, "export {};\n", "utf8"); |
166 | 167 | await fs.writeFile(omittedQaCompat, "export {};\n", "utf8"); |
167 | 168 | await fs.writeFile(omittedRuntimeChunk, "export {};\n", "utf8"); |
| 169 | +await fs.writeFile(omittedTopLevelMap, "{}", "utf8"); |
168 | 170 | await fs.writeFile(omittedMap, "{}", "utf8"); |
169 | 171 | |
170 | 172 | await expect(writePackageDistInventory(packageRoot)).resolves.toEqual([ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。