mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-10 23:42:31 +02:00
fix: narrow npm publish surface to the module graph
This commit is contained in:
parent
9da8e5f6ac
commit
bd2aec48ed
3 changed files with 321 additions and 44 deletions
|
|
@ -35,7 +35,7 @@ function main() {
|
|||
["package.json exposes the OpenCode build and prepack hooks", () => {
|
||||
assert.strictEqual(packageJson.scripts["build:opencode"], "node scripts/build-opencode.js")
|
||||
assert.strictEqual(packageJson.scripts.prepack, "npm run build:opencode")
|
||||
assert.ok(packageJson.files.includes(".opencode/dist/"))
|
||||
assert.ok(packageJson.files.includes(".opencode/"))
|
||||
}],
|
||||
["build script generates .opencode/dist", () => {
|
||||
const result = spawnSync("node", [buildScript], {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue