Skip to content

Commit 4222b44

Browse files
authored
Merge pull request #1 from com-pas/fix/change-scl-lib
fix: update scl-lib import paths to use @openscd
2 parents b1e61cd + 85012ec commit 4222b44

File tree

5 files changed

+30
-14
lines changed

5 files changed

+30
-14
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# All members of the @com-pas/Alliander team are code owners for this repository
2+
3+
* @com-pas/Alliander

foundation/tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { nsdToJson, LNodeDescription } from '@openenergytools/scl-lib';
1+
import { nsdToJson, LNodeDescription } from '@openscd/scl-lib';
22
import { cdClasses } from './constants.js';
33

44
function getCDCForDOType(doc: XMLDocument, doType: string): string | undefined {

package-lock.json

Lines changed: 23 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@scopedelement/material-web": "^3.8.0",
2323
"@openenergytools/open-scd-core": "0.0.5",
2424
"@open-wc/scoped-elements": "^3.0.5",
25-
"@openenergytools/scl-lib": "1.8.0",
25+
"@openscd/scl-lib": "2.0.0",
2626
"lit": "^3.0.0"
2727
},
2828
"devDependencies": {

scl-template-update.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
removeDataType,
1414
LNodeDescription,
1515
updateLNodeType,
16-
} from '@openenergytools/scl-lib';
16+
} from '@openscd/scl-lib';
1717

1818
import { TreeGrid, TreeSelection } from '@openenergytools/tree-grid';
1919

@@ -27,7 +27,7 @@ import { MdSelectOption } from '@scopedelement/material-web/select/MdSelectOptio
2727
import { MdCircularProgress } from '@scopedelement/material-web/progress/circular-progress.js';
2828
import { MdOutlinedTextField } from '@scopedelement/material-web/textfield/MdOutlinedTextField.js';
2929
import { MdIconButton } from '@scopedelement/material-web/iconbutton/MdIconButton.js';
30-
import { CdcChildren } from '@openenergytools/scl-lib/dist/tDataTypeTemplates/nsdToJson.js';
30+
import { CdcChildren } from '@openscd/scl-lib/dist/tDataTypeTemplates/nsdToJson.js';
3131

3232
import { AddDataObjectDialog } from './components/add-data-object-dialog.js';
3333
import { LNodeTypeSidebar } from './components/lnodetype-sidebar.js';

0 commit comments

Comments
 (0)