mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
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:
parent
c9f0cb7ff2
commit
cb41b600cf
2 changed files with 8 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -112,3 +112,4 @@ playwright-report/
|
|||
|
||||
|
||||
electron-builder-appx.yaml
|
||||
test-results/
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue