Commit 303d500
authored
fix(ci): allow dist/ in the MCP pack allowlist, which is the only thing it ships (#9950)
#9946 unblocked the MCP publish build; packing then failed on the very next
step with "Unexpected file in package tarball".
The allowlist permits package/(bin|lib|scripts)/, which describes a source
layout this package has not had for some time. Its package.json ships
`files: ["dist", "scripts", ...]` and both `bin` entries point at
dist/bin/*.js -- so dist/ is not stray output, it is the entire package.
Verified against a real `npm pack`: the tarball contains dist/, scripts/ and
the four metadata files, and the old pattern rejected exactly the 9 dist/
entries. With the corrected pattern all three smoke-test stages pass locally --
allowlist clean, secret scan clean, and the installed binary answers --help.
The mismatch stayed invisible because the build step failed first, so packing
never ran. Fixing one exposed the next: this is the second half of the same
never-succeeded publish.1 parent 648e68c commit 303d500
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| |||
0 commit comments