@finos/legend-extension-dsl-text 6.0.207 → 6.0.208
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/studio/DSL_Text_LegendStudioApplicationPlugin.js +1 -1
- package/lib/components/studio/DSL_Text_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/studio/TextElementEditor.d.ts.map +1 -1
- package/lib/components/studio/TextElementEditor.js +3 -1
- package/lib/components/studio/TextElementEditor.js.map +1 -1
- package/lib/graph/DSL_Text_PureGraphPlugin.js +1 -1
- package/lib/graph/DSL_Text_PureGraphPlugin.js.map +1 -1
- package/lib/graph-manager/DSL_Text_GraphManagerPreset.js +1 -1
- package/lib/graph-manager/DSL_Text_GraphManagerPreset.js.map +1 -1
- package/lib/graph-manager/DSL_Text_PureGraphManagerPlugin.js +1 -1
- package/lib/graph-manager/DSL_Text_PureGraphManagerPlugin.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.js +1 -1
- package/lib/graph-manager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +9 -9
- package/src/components/studio/DSL_Text_LegendStudioApplicationPlugin.tsx +1 -1
- package/src/components/studio/TextElementEditor.tsx +3 -1
- package/src/graph/DSL_Text_PureGraphPlugin.ts +1 -1
- package/src/graph-manager/DSL_Text_GraphManagerPreset.ts +1 -1
- package/src/graph-manager/DSL_Text_PureGraphManagerPlugin.ts +1 -1
- package/src/graph-manager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.ts +1 -1
@@ -14,7 +14,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
* See the License for the specific language governing permissions and
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
|
-
import packageJson from '../../../package.json'
|
17
|
+
import packageJson from '../../../package.json' with { type: 'json' };
|
18
18
|
import { LegendStudioApplicationPlugin, PACKAGEABLE_ELEMENT_GROUP_BY_CATEGORY, } from '@finos/legend-application-studio';
|
19
19
|
import { FileIcon } from '@finos/legend-art';
|
20
20
|
import { TextEditorState } from '../../stores/studio/TextEditorState.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_Text_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC,
|
1
|
+
{"version":3,"file":"DSL_Text_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtE,OAAO,EACL,6BAA6B,EAe7B,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,IAAI,EAAE,MAAM,4EAA4E,CAAC;AAClG,OAAO,EAAE,wCAAwC,EAAE,MAAM,4DAA4D,CAAC;AACtH,OAAO,EACL,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,OAAO,EAAE,yDAAyD,EAAE,MAAM,2EAA2E,CAAC;AAGtJ,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACjC,MAAM,sCAAsC,GAAG,uBAAuB,CAAC;AAEvE,MAAM,6BAA6B,GAAG,MAAM,CAAC;AAC7C,MAAM,oCAAoC,GAAG,MAAM,CAAC;AAEpD,MAAM,OAAO,sCACX,SAAQ,6BAA6B;IAGrC;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WAAwB,EACxB,aAAqB,EACW,EAAE;gBAClC,IAAI,aAAa,KAAK,6BAA6B,EAAE,CAAC;oBACpD,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,wCAAwC,CAAC,cAAc,CACxD,CAAC;gBACJ,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iDAAiD;QAC/C,OAAO;YACL,CAAC,WAAwB,EAA+B,EAAE,CAAC;gBACzD;oBACE,IAAI,EAAE,6BAA6B;oBACnC,WAAW,EAAE,OAAO;oBACpB,aAAa,EACX,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAC3D,wCAAwC,CAAC,cAAc,CACxD;oBACH,UAAU,EAAE,6BAA6B;iBAC1C;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,6BAA6B;gBAC7C,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,oCAAoC;wBAC1C,WAAW,EAAE,YAAY;wBACzB,UAAU,EAAE,kBAAkB;qBAC/B;oBACD;wBACE,IAAI,EAAE,oCAAoC;wBAC1C,WAAW,EAAE,UAAU;wBACvB,UAAU,EAAE,qBAAqB;qBAClC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;IAED,0DAA0D;QACxD,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACzC,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextElementEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/TextElementEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2CH,eAAO,MAAM,iBAAiB;;
|
1
|
+
{"version":3,"file":"TextElementEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/TextElementEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2CH,eAAO,MAAM,iBAAiB;;CAwH5B,CAAC"}
|
@@ -43,7 +43,9 @@ export const TextElementEditor = observer(() => {
|
|
43
43
|
const [showPreview, setShowPreview] = useState(false);
|
44
44
|
const isPreviewSupported = textElement.type === CODE_EDITOR_LANGUAGE.MARKDOWN;
|
45
45
|
const changeType = (val) => () => {
|
46
|
-
!isReadOnly
|
46
|
+
if (!isReadOnly) {
|
47
|
+
text_setType(textElement, val);
|
48
|
+
}
|
47
49
|
};
|
48
50
|
const changeContent = (val) => text_setContent(textElement, val);
|
49
51
|
const changePreview = (val) => setShowPreview(val);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextElementEditor.js","sourceRoot":"","sources":["../../../src/components/studio/TextElementEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EACL,eAAe,EACf,QAAQ,EACR,aAAa,EACb,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,YAAY,GACb,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,yDAAyD,EAAE,MAAM,2EAA2E,CAAC;AACtJ,OAAO,EACL,oBAAoB,EACpB,UAAU,GAC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C,6BAA6B,YAC1C,KAAC,UAAU,IACT,QAAQ,EAAE,4BAA4B,CAAC,WAAW,CAAC,IAAI,CAAC,EACxD,UAAU,EAAE,WAAW,CAAC,OAAO,EAC/B,WAAW,EAAE,aAAa,EAC1B,WAAW,EAAE,IAAI,GACjB,GACE,CACP,GACG,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import packageJson from '../../package.json'
|
16
|
+
import packageJson from '../../package.json' with { type: 'json' };
|
17
17
|
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
18
18
|
import { PureGraphPlugin } from '@finos/legend-graph';
|
19
19
|
export class DSL_Text_PureGraphPlugin extends PureGraphPlugin {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_Text_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSL_Text_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC,
|
1
|
+
{"version":3,"file":"DSL_Text_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSL_Text_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,yEAAyE,CAAC;AAE/F,OAAO,EAA2B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE/E,MAAM,OAAO,wBAAyB,SAAQ,eAAe;IAC3D;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAEQ,iCAAiC;QACxC,OAAO,CAAC,IAAI,CAAC,CAAC;IAChB,CAAC;CACF"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import packageJson from '../../package.json'
|
16
|
+
import packageJson from '../../package.json' with { type: 'json' };
|
17
17
|
import { AbstractPreset } from '@finos/legend-shared';
|
18
18
|
import { DSL_Text_PureGraphManagerPlugin as DSL_Text_PureGraphManagerPlugin } from './DSL_Text_PureGraphManagerPlugin.js';
|
19
19
|
import { DSL_Text_PureProtocolProcessorPlugin as DSL_Text_PureProtocolProcessorPlugin } from './protocol/pure/DSL_Text_PureProtocolProcessorPlugin.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_Text_GraphManagerPreset.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_Text_GraphManagerPreset.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC,
|
1
|
+
{"version":3,"file":"DSL_Text_GraphManagerPreset.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_Text_GraphManagerPreset.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,+BAA+B,IAAI,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC1H,OAAO,EAAE,oCAAoC,IAAI,oCAAoC,EAAE,MAAM,yDAAyD,CAAC;AACvJ,OAAO,EAAE,wBAAwB,IAAI,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAE5G,MAAM,OAAO,2BAA4B,SAAQ,cAAc;IAC7D;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,kBAAkB,EAAE,WAAW,CAAC,OAAO,EAAE;YACpE,IAAI,wBAAwB,EAAE;YAC9B,IAAI,+BAA+B,EAAE;YACrC,IAAI,oCAAoC,EAAE;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import packageJson from '../../package.json'
|
16
|
+
import packageJson from '../../package.json' with { type: 'json' };
|
17
17
|
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
18
18
|
import { PureGraphManagerPlugin, } from '@finos/legend-graph';
|
19
19
|
import { observe_Text } from './action/changeDetection/DSL_Text_ObserverHelper.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_Text_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_Text_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC,
|
1
|
+
{"version":3,"file":"DSL_Text_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_Text_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,yEAAyE,CAAC;AAC/F,OAAO,EACL,sBAAsB,GAIvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AAEnF,MAAM,OAAO,+BAAgC,SAAQ,sBAAsB;IACzE;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,sBAAsB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEQ,wBAAwB;QAC/B,OAAO;YACL,CACE,OAA2B,EAC3B,OAAwB,EACQ,EAAE;gBAClC,IAAI,OAAO,YAAY,IAAI,EAAE,CAAC;oBAC5B,OAAO,YAAY,CAAC,OAAO,CAAC,CAAC;gBAC/B,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import packageJson from '../../../../package.json'
|
16
|
+
import packageJson from '../../../../package.json' with { type: 'json' };
|
17
17
|
import { V1_Text } from './v1/model/packageableElements/text/V1_DSL_Text_Text.js';
|
18
18
|
import { guaranteeNonNullable, assertType, } from '@finos/legend-shared';
|
19
19
|
import { deserialize, serialize } from 'serializr';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_Text_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC,
|
1
|
+
{"version":3,"file":"DSL_Text_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,yDAAyD,CAAC;AAClF,OAAO,EAEL,oBAAoB,EACpB,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,kBAAkB,EAClB,6BAA6B,GAC9B,MAAM,gEAAgE,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,+EAA+E,CAAC;AACrG,OAAO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AAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-text",
|
3
|
-
"version": "6.0.
|
3
|
+
"version": "6.0.208",
|
4
4
|
"description": "Legend extension for Text DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -44,13 +44,13 @@
|
|
44
44
|
"test:watch": "jest --watch"
|
45
45
|
},
|
46
46
|
"dependencies": {
|
47
|
-
"@finos/legend-application": "15.1.
|
48
|
-
"@finos/legend-application-studio": "28.18.
|
49
|
-
"@finos/legend-art": "7.1.
|
50
|
-
"@finos/legend-graph": "31.10.
|
51
|
-
"@finos/legend-lego": "1.2.
|
52
|
-
"@finos/legend-shared": "10.0.
|
53
|
-
"@finos/legend-storage": "3.0.
|
47
|
+
"@finos/legend-application": "15.1.23",
|
48
|
+
"@finos/legend-application-studio": "28.18.18",
|
49
|
+
"@finos/legend-art": "7.1.51",
|
50
|
+
"@finos/legend-graph": "31.10.23",
|
51
|
+
"@finos/legend-lego": "1.2.59",
|
52
|
+
"@finos/legend-shared": "10.0.52",
|
53
|
+
"@finos/legend-storage": "3.0.102",
|
54
54
|
"@types/react": "18.3.3",
|
55
55
|
"mobx": "6.13.1",
|
56
56
|
"mobx-react-lite": "4.0.7",
|
@@ -58,7 +58,7 @@
|
|
58
58
|
"serializr": "3.0.2"
|
59
59
|
},
|
60
60
|
"devDependencies": {
|
61
|
-
"@finos/legend-dev-utils": "2.1.
|
61
|
+
"@finos/legend-dev-utils": "2.1.18",
|
62
62
|
"@jest/globals": "29.7.0",
|
63
63
|
"cross-env": "7.0.3",
|
64
64
|
"eslint": "8.57.0",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import packageJson from '../../../package.json'
|
17
|
+
import packageJson from '../../../package.json' with { type: 'json' };
|
18
18
|
import {
|
19
19
|
LegendStudioApplicationPlugin,
|
20
20
|
type NewElementFromStateCreator,
|
@@ -68,7 +68,9 @@ export const TextElementEditor = observer(() => {
|
|
68
68
|
const changeType =
|
69
69
|
(val: TEXT_TYPE): (() => void) =>
|
70
70
|
(): void => {
|
71
|
-
!isReadOnly
|
71
|
+
if (!isReadOnly) {
|
72
|
+
text_setType(textElement, val);
|
73
|
+
}
|
72
74
|
};
|
73
75
|
const changeContent = (val: string): void =>
|
74
76
|
text_setContent(textElement, val);
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import packageJson from '../../package.json'
|
17
|
+
import packageJson from '../../package.json' with { type: 'json' };
|
18
18
|
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
19
19
|
import type { Clazz } from '@finos/legend-shared';
|
20
20
|
import { type PackageableElement, PureGraphPlugin } from '@finos/legend-graph';
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import packageJson from '../../package.json'
|
17
|
+
import packageJson from '../../package.json' with { type: 'json' };
|
18
18
|
import { AbstractPreset } from '@finos/legend-shared';
|
19
19
|
import { DSL_Text_PureGraphManagerPlugin as DSL_Text_PureGraphManagerPlugin } from './DSL_Text_PureGraphManagerPlugin.js';
|
20
20
|
import { DSL_Text_PureProtocolProcessorPlugin as DSL_Text_PureProtocolProcessorPlugin } from './protocol/pure/DSL_Text_PureProtocolProcessorPlugin.js';
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import packageJson from '../../package.json'
|
17
|
+
import packageJson from '../../package.json' with { type: 'json' };
|
18
18
|
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
19
19
|
import {
|
20
20
|
PureGraphManagerPlugin,
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import packageJson from '../../../../package.json'
|
17
|
+
import packageJson from '../../../../package.json' with { type: 'json' };
|
18
18
|
import { V1_Text } from './v1/model/packageableElements/text/V1_DSL_Text_Text.js';
|
19
19
|
import {
|
20
20
|
type PlainObject,
|