Skip to content

Commit 6ff3356

Browse files
committed
refactor: use compas-oscd/xml npm package in compas-open-scd
1 parent 7d58cb6 commit 6ff3356

File tree

6 files changed

+25
-5
lines changed

6 files changed

+25
-5
lines changed

package-lock.json

Lines changed: 20 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/compas-open-scd/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"lit-translate": "^1.2.1",
4444
"marked": "^4.0.10",
4545
"panzoom": "^9.4.2",
46+
"@compas-oscd/xml": "^0.0.1",
4647
"@openscd/open-scd": "*",
4748
"@openscd/plugins": "*",
4849
"@openscd/addons": "*"

packages/compas-open-scd/src/compas-editors/autogen-substation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { LitElement, property } from 'lit-element';
22
import {
33
newActionEvent,
44
} from '@openscd/core/foundation/deprecated/editor.js';
5-
import { createElement } from '@openscd/xml';
5+
import { createElement } from '@compas-oscd/xml';
66
import { newLogEvent } from '@openscd/core/foundation/deprecated/history.js';
77
import { get } from 'lit-translate';
88

packages/compas-open-scd/src/compas-editors/sitipe/sitipe-bay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { IconButton } from '@material/mwc-icon-button';
1919

2020
import { isPublic } from '@openscd/open-scd/src/foundation.js';
2121
import { newActionEvent } from '@openscd/core/foundation/deprecated/editor.js';
22-
import { createElement } from '@openscd/xml';
22+
import { createElement } from '@compas-oscd/xml';
2323
import { newLogEvent } from '@openscd/core/foundation/deprecated/history.js';
2424

2525
import { ComplexAction, SimpleAction } from "@openscd/core/foundation/deprecated/editor.js";

packages/compas-open-scd/src/compas-wizards/scl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
WizardInputElement,
99
} from '@openscd/open-scd/src/foundation.js';
1010

11-
import { cloneElement } from '@openscd/xml';
11+
import { cloneElement } from '@compas-oscd/xml';
1212

1313
import { ComplexAction, EditorAction } from "@openscd/core/foundation/deprecated/editor.js";
1414

packages/compas-open-scd/src/locamation/foundation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
getValue,
88
WizardInputElement
99
} from "@openscd/open-scd/src/foundation.js";
10-
import { cloneElement } from '@openscd/xml';
10+
import { cloneElement } from '@compas-oscd/xml';
1111
import { SimpleAction } from "@openscd/core/foundation/deprecated/editor.js";
1212

1313

0 commit comments

Comments
 (0)