Behaviour SwRS-MDOKFSTUDIO-TRUST-092
The package keeps the built-in engine bundle in the VSIX
The package SHALL keep the folder out/bundle, which holds the built-in engine bundle and its licence, in the VSIX and exclude only build leftovers.
Part of StRS-MDOKFSTUDIO-TRUST-014.
Scenarios 4
The situations the tests check; open one to read it.
nominalBundle folder kept
Giventhe .vscodeignore file
Whenits lines are read
Thenno line excludes out/bundle or out/**
nominalEngine bundle and licence
Giventhe build script esbuild.mjs
Whenit is read
Thenan esbuild entry point builds out/bundle/plantumlPreview.js from src/page/modules/plantumlPreview.ts, and the engine LICENSE is copied to out/bundle/plantuml/LICENSE
nominalLeftovers excluded
Giventhe .vscodeignore file
Whenits lines are read
Thenit lists **/*.map, .claude/**, pyproject.toml and docs/*.md, and no line excludes the whole docs folder
refusalContract broken
| Input | Outcome |
|---|---|
| a .vscodeignore with the line out/** | the package contract test fails |
| a .vscodeignore without the line **/*.map | the package contract test fails |