Skip to content

Commit 4d9f018

Browse files
committed
feat: Add wizarding plugin
1 parent e56782a commit 4d9f018

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

packages/compas-open-scd/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"release:major": "standard-version --release-as major",
7171
"build:test": "npm run test && npm run build && cp .nojekyll build/",
7272
"build": "npm run doc && npm run build:only && cp .nojekyll build/",
73-
"build:only": "snowpack build && workbox generateSW workbox-config.cjs",
73+
"build:only": "npx rimraf node_modules/.cache/snowpack/build/[email protected] && snowpack build && workbox generateSW workbox-config.cjs",
7474
"__comment:start": "snowpack dev fails if the lit package is cached. I don't know why, but we have to delete it before starting",
7575
"start": "npx rimraf node_modules/.cache/snowpack/build/[email protected] && snowpack dev"
7676
},

packages/compas-open-scd/public/js/plugins.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,15 @@ export const officialPlugins = [
339339
requireDoc: true,
340340
position: 'middle',
341341
},
342+
{
343+
name: 'Wizarding',
344+
src: '/external-plugins/scl-wizarding/scl-wizarding.js',
345+
icon: 'edit',
346+
activeByDefault: true,
347+
kind: 'menu',
348+
requireDoc: true,
349+
position: 'middle',
350+
},
342351
{
343352
name: 'Show SCL History',
344353
src: '/plugins/src/menu/SclHistory.js',

0 commit comments

Comments
 (0)