fix(e2e): include missing assets for api-test-plugin build

Copies config-schema.json and icon.svg to bundled assets, ensuring the plugin loads correctly in e2e tests. Also updates package-lock.json to resolve missing dependencies.
This commit is contained in:
Johannes Millan 2025-12-02 19:51:44 +01:00
parent c9f0cb7ff2
commit cb41b600cf
2 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View file

@ -112,3 +112,4 @@ playwright-report/
electron-builder-appx.yaml
test-results/

View file

@ -67,7 +67,13 @@ const plugins = [
if (!fs.existsSync(targetDir)) {
fs.mkdirSync(targetDir, { recursive: true });
}
const files = ['manifest.json', 'plugin.js', 'index.html'];
const files = [
'manifest.json',
'plugin.js',
'index.html',
'config-schema.json',
'icon.svg',
];
for (const file of files) {
const src = path.join(pluginPath, file);
const dest = path.join(targetDir, file);