Skip to content

Commit 8bc67fd

Browse files
committed
Merge branch 'fix/migrate-to-npm-package-core' into fix/migrate-to-npm-package-openscd
2 parents 2ad146a + 23db13b commit 8bc67fd

32 files changed

+1861
-31444
lines changed

package-lock.json

Lines changed: 1713 additions & 31328 deletions
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"module": "open-scd.js",
1919
"type": "module",
2020
"dependencies": {
21-
"@compas-oscd/core": "^0.1.7",
21+
"@compas-oscd/core": "^0.1.21",
2222
"@compas-oscd/open-scd": "^0.34.32",
2323
"@compas-oscd/xml": "^0.0.1",
2424
"@material/mwc-dialog": "0.22.1",

packages/compas-open-scd/src/addons/CompasHistory.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
HistoryUIDetail,
1818
OscdHistory,
1919
} from '@compas-oscd/open-scd/addons/History.js';
20+
2021
import { wizards } from '@openscd/plugins/src/wizards/wizard-library';
2122
import { newWizardEvent, SCLTag } from '@compas-oscd/open-scd/foundation';
2223
import { nothing } from 'lit-html';

packages/compas-open-scd/src/compas-editors/CompasVersions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import { MultiSelectedEvent } from '@material/mwc-list/mwc-list-foundation';
2323

2424
import '@compas-oscd/open-scd/plain-compare-list.js';
2525

26-
import { newLogEvent } from '@compas-oscd/core/foundation/deprecated/history.js';
27-
import { newOpenDocEvent } from '@compas-oscd/core/foundation/deprecated/open-event.js';
26+
import { newLogEvent } from '@compas-oscd/core';
27+
import { newOpenDocEvent } from '@compas-oscd/core';
2828

2929
import { newWizardEvent, Wizard } from '@compas-oscd/open-scd/foundation.js';
3030

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { LitElement, property } from 'lit-element';
2-
import {
3-
newActionEvent,
4-
} from '@compas-oscd/core/foundation/deprecated/editor.js';
2+
import { newActionEvent } from '@compas-oscd/core';
53
import { createElement } from '@compas-oscd/xml';
6-
import { newLogEvent } from '@compas-oscd/core/foundation/deprecated/history.js';
4+
import { newLogEvent } from '@compas-oscd/core';
75
import { get } from 'lit-translate';
86

97
let cbNum = 1;

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,11 @@ import '@material/mwc-icon-button';
1818
import { IconButton } from '@material/mwc-icon-button';
1919

2020
import { isPublic } from '@compas-oscd/open-scd/foundation.js';
21-
import { newActionEvent } from '@compas-oscd/core/foundation/deprecated/editor.js';
21+
import { newActionEvent } from '@compas-oscd/core';
2222
import { createElement } from '@compas-oscd/xml';
23-
import { newLogEvent } from '@compas-oscd/core/foundation/deprecated/history.js';
23+
import { newLogEvent } from '@compas-oscd/core';
2424

25-
import {
26-
ComplexAction,
27-
SimpleAction,
28-
} from '@compas-oscd/core/foundation/deprecated/editor.js';
25+
import { ComplexAction, SimpleAction } from '@compas-oscd/core';
2926

3027
import '@compas-oscd/open-scd/action-pane.js';
3128
import '@compas-oscd/open-scd/action-icon.js';

packages/compas-open-scd/src/compas-services/Websocket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { newPendingStateEvent } from '@compas-oscd/core/foundation/deprecated/waiter.js';
1+
import { newPendingStateEvent } from '@compas-oscd/core';
22
import {
33
APPLICATION_ERROR,
44
extractErrorMessage,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { get } from 'lit-translate';
2-
import { newLogEvent } from '@compas-oscd/core/foundation/deprecated/history.js';
2+
import { newLogEvent } from '@compas-oscd/core';
33

44
export const NOT_FOUND_ERROR = 'NotFoundError';
55
export const APPLICATION_ERROR = 'ApplicationError';

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ import {
1010

1111
import { cloneElement } from '@compas-oscd/xml';
1212

13-
import {
14-
ComplexAction,
15-
EditorAction,
16-
} from '@compas-oscd/core/foundation/deprecated/editor.js';
13+
import { ComplexAction, EditorAction } from '@compas-oscd/core';
1714

1815
import '../compas/CompasLabelsField.js';
1916

packages/compas-open-scd/src/compas/CompasAutoAlignment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import '@material/mwc-list';
1212
import '@material/mwc-list/mwc-check-list-item';
1313

1414
import { newWizardEvent } from '@compas-oscd/open-scd/foundation.js';
15-
import { newLogEvent } from '@compas-oscd/core/foundation/deprecated/history.js';
16-
import { newOpenDocEvent } from '@compas-oscd/core/foundation/deprecated/open-event.js';
15+
import { newLogEvent } from '@compas-oscd/core';
16+
import { newOpenDocEvent } from '@compas-oscd/core';
1717

1818
import { CompasSclAutoAlignmentService } from '../compas-services/CompasSclAutoAlignmentService.js';
1919
import { createLogEvent } from '../compas-services/foundation.js';

0 commit comments

Comments
 (0)