-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support dependency management through npm
- Add support for 'package.json' files -- Listen to changes of 'package.json' files -- Add VS code plugins to support editing 'package.json' files - Add package manager for simple dependency management -- Do not build 'package.json' files (as they do not match CM grammar) -- Instead build up dependency graph based on package information -- Consider models under 'package.json' directory part of the package - Replace workspace-based scoping with package-based scoping -- Only models within the same models or dependent models are visible -- Ensure 'node_modules' directory is also scanned Minor: - Update to latest version of Langium - Convert model service to shared service -- Requires retrieval of serializer based on URI -- Extend language model service to ensure we have serializer - Fix eclipse-theia/theia#12260 locally TODO: - Requires reload after npm install (file watching issue?)
- Loading branch information
1 parent
1143efe
commit 27eb2ef
Showing
82 changed files
with
2,056 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
registry=http://localhost:4873/ | ||
//localhost:4873/:_authToken="fooBar" | ||
always-auth=true |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "@crossbreeze/entities", | ||
"version": "1.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
registry=http://localhost:4873/ | ||
//localhost:4873/:_authToken="fooBar" | ||
always-auth=true |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
examples/systemB/entities/entityC.cm → ...aries/example-library/entities/entityB.cm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
entity C { | ||
entity B { | ||
description := "hello"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
entity C { | ||
description := "hello"; | ||
attributes { | ||
name := 'A'; | ||
} | ||
} | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "@crossbreeze/example-library", | ||
"version": "1.0.0" | ||
} |
File renamed without changes.
File renamed without changes.
24 changes: 24 additions & 0 deletions
24
examples/libraries/example-library/views/system.diagram.cm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diagram { | ||
node nodeA for A { | ||
x := 10; | ||
y := 10; | ||
width := 76; | ||
height := 32; | ||
}; | ||
node nodeB for B { | ||
x := 122; | ||
y := 8; | ||
width := 70; | ||
height := 37; | ||
}; | ||
node nodeD for D { | ||
x := 222; | ||
y := 11; | ||
width := 77; | ||
height := 33; | ||
}; | ||
edge aToB for aToB { | ||
source := nodeA; | ||
target := nodeB; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
registry=http://localhost:4873/ | ||
//localhost:4873/:_authToken="fooBar" | ||
always-auth=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "@crossbreeze/relationships", | ||
"version": "1.0.0", | ||
"dependencies": { "@crossbreeze/entities": "1.0.0" } | ||
} |
5 changes: 5 additions & 0 deletions
5
examples/libraries/relationships/relationships/aToB.relationship.cm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
relationship aToB { | ||
source := @crossbreeze/entities@1-0-0_A; | ||
target := @crossbreeze/entities@1-0-0_B; | ||
type := 1:1; | ||
} |
5 changes: 5 additions & 0 deletions
5
examples/libraries/relationships/relationships/cToD.relationship.cm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
relationship cToD { | ||
source := @crossbreeze/entities@1-0-0_C with @crossbreeze/entities@1-0-0_C.name; | ||
target := @crossbreeze/entities@1-0-0_D; | ||
type := 1:n; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
registry=http://localhost:4873/ | ||
//localhost:4873/:_authToken="fooBar" | ||
always-auth=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
entity E { | ||
description := "hello"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "@crossbreeze/system", | ||
"version": "1.0.0", | ||
"dependencies": { "@crossbreeze/relationships": "1.0.0" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diagram { | ||
node nodeA for @crossbreeze/entities@1-0-0_A { | ||
x := 10; | ||
y := 10; | ||
width := 76; | ||
height := 32; | ||
}; | ||
node nodeB for @crossbreeze/entities@1-0-0_B { | ||
x := 122; | ||
y := 8; | ||
width := 70; | ||
height := 37; | ||
}; | ||
node nodeD for E { | ||
x := 222; | ||
y := 11; | ||
width := 77; | ||
height := 33; | ||
}; | ||
edge aToB for @crossbreeze/relationships@1-0-0_aToB { | ||
source := nodeA; | ||
target := nodeB; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"list":["@crossbreeze/example-library","@crossbreeze/entities","@crossbreeze/relationships","@crossbreeze/system"],"secret":"60c39cc34e5c891842c84a74f177baa1cc229cc7a7d8594242f9ec131f7573ba"} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "@crossbreeze/entities", | ||
"versions": { | ||
"1.0.0": { | ||
"name": "@crossbreeze/entities", | ||
"version": "1.0.0", | ||
"gitHead": "04c8aaff5b1ab8919446643ad34705bbb483004e", | ||
"_id": "@crossbreeze/[email protected]", | ||
"_nodeVersion": "16.19.1", | ||
"_npmVersion": "8.19.3", | ||
"dist": { | ||
"integrity": "sha512-vBdcse9+d+Pn39iyz5R+MuGUSmxc1d9NR7/8UZqHwmhloSa9cgfkWOLRtSF6ygot0U+n+j6C0Ft3RjlDx+RcfA==", | ||
"shasum": "bcab1949357f3d2200608c1a22e53a28e4731673", | ||
"tarball": "http://localhost:4873/@crossbreeze/entities/-/@crossbreeze/entities-1.0.0.tgz" | ||
}, | ||
"contributors": [] | ||
} | ||
}, | ||
"time": { | ||
"modified": "2023-03-08T19:16:17.040Z", | ||
"created": "2023-03-08T19:16:17.040Z", | ||
"1.0.0": "2023-03-08T19:16:17.040Z" | ||
}, | ||
"users": {}, | ||
"dist-tags": { | ||
"latest": "1.0.0" | ||
}, | ||
"_uplinks": {}, | ||
"_distfiles": {}, | ||
"_attachments": { | ||
"entities-1.0.0.tgz": { | ||
"shasum": "bcab1949357f3d2200608c1a22e53a28e4731673", | ||
"version": "1.0.0" | ||
} | ||
}, | ||
"_rev": "3-8ff6fa263a2d326b", | ||
"_id": "@crossbreeze/entities", | ||
"readme": "ERROR: No README data found!" | ||
} |
Binary file added
BIN
+579 Bytes
examples/registry/@crossbreeze/example-library/example-library-1.0.0.tgz
Binary file not shown.
39 changes: 39 additions & 0 deletions
39
examples/registry/@crossbreeze/example-library/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "@crossbreeze/example-library", | ||
"versions": { | ||
"1.0.0": { | ||
"name": "@crossbreeze/example-library", | ||
"version": "1.0.0", | ||
"gitHead": "04c8aaff5b1ab8919446643ad34705bbb483004e", | ||
"_id": "@crossbreeze/[email protected]", | ||
"_nodeVersion": "16.19.1", | ||
"_npmVersion": "8.19.3", | ||
"dist": { | ||
"integrity": "sha512-61sJCOXPB6KB9NyaI0JnAT+Y2OfZrb33MMeV2006pntb0B7TDKcHkYPnN4w9gFGUdRnNFp61k7vLCyUAl8zOUQ==", | ||
"shasum": "90c05db207fc2621ec1a2aa9ea9052ba98cb24c0", | ||
"tarball": "http://localhost:4873/@crossbreeze/example-library/-/@crossbreeze/example-library-1.0.0.tgz" | ||
}, | ||
"contributors": [] | ||
} | ||
}, | ||
"time": { | ||
"modified": "2023-03-08T19:14:02.451Z", | ||
"created": "2023-03-08T19:14:02.451Z", | ||
"1.0.0": "2023-03-08T19:14:02.451Z" | ||
}, | ||
"users": {}, | ||
"dist-tags": { | ||
"latest": "1.0.0" | ||
}, | ||
"_uplinks": {}, | ||
"_distfiles": {}, | ||
"_attachments": { | ||
"example-library-1.0.0.tgz": { | ||
"shasum": "90c05db207fc2621ec1a2aa9ea9052ba98cb24c0", | ||
"version": "1.0.0" | ||
} | ||
}, | ||
"_rev": "3-5ae5b718d1b2503f", | ||
"_id": "@crossbreeze/example-library", | ||
"readme": "ERROR: No README data found!" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "@crossbreeze/relationships", | ||
"versions": { | ||
"1.0.0": { | ||
"name": "@crossbreeze/relationships", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"@crossbreeze/entities": "1.0.0" | ||
}, | ||
"gitHead": "04c8aaff5b1ab8919446643ad34705bbb483004e", | ||
"_id": "@crossbreeze/[email protected]", | ||
"_nodeVersion": "16.19.1", | ||
"_npmVersion": "8.19.3", | ||
"dist": { | ||
"integrity": "sha512-xQTnINR1RR2B2HFVtU0rETlzIg0monRKxL3EXlB4saXasBiq4VTDL1LOjQ59Y/J09JZ9ESXl7ahqHH0+D3yIIg==", | ||
"shasum": "cfe226ce35ef93861aefece1506dad6183842608", | ||
"tarball": "http://localhost:4873/@crossbreeze/relationships/-/@crossbreeze/relationships-1.0.0.tgz" | ||
}, | ||
"contributors": [] | ||
} | ||
}, | ||
"time": { | ||
"modified": "2023-03-08T19:18:01.564Z", | ||
"created": "2023-03-08T19:18:01.564Z", | ||
"1.0.0": "2023-03-08T19:18:01.564Z" | ||
}, | ||
"users": {}, | ||
"dist-tags": { | ||
"latest": "1.0.0" | ||
}, | ||
"_uplinks": {}, | ||
"_distfiles": {}, | ||
"_attachments": { | ||
"relationships-1.0.0.tgz": { | ||
"shasum": "cfe226ce35ef93861aefece1506dad6183842608", | ||
"version": "1.0.0" | ||
} | ||
}, | ||
"_rev": "3-c527784b438a9861", | ||
"_id": "@crossbreeze/relationships", | ||
"readme": "ERROR: No README data found!" | ||
} |
Binary file added
BIN
+322 Bytes
examples/registry/@crossbreeze/relationships/relationships-1.0.0.tgz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "@crossbreeze/system", | ||
"versions": { | ||
"1.0.0": { | ||
"name": "@crossbreeze/system", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"@crossbreeze/relationships": "1.0.0" | ||
}, | ||
"gitHead": "04c8aaff5b1ab8919446643ad34705bbb483004e", | ||
"_id": "@crossbreeze/[email protected]", | ||
"_nodeVersion": "16.19.1", | ||
"_npmVersion": "8.19.3", | ||
"dist": { | ||
"integrity": "sha512-YCyLc7Mp+g9O2CGYahPGAHVuLfq1aD02w7++dhRo02JrFgg2qTSoEn9t6CXcnsTWLy+Y2vZ4XjX8yODjMZvkRg==", | ||
"shasum": "df078510ff479d45ca193e812a7946d19cd9fc25", | ||
"tarball": "http://localhost:4873/@crossbreeze/system/-/@crossbreeze/system-1.0.0.tgz" | ||
}, | ||
"contributors": [] | ||
} | ||
}, | ||
"time": { | ||
"modified": "2023-03-08T19:21:18.988Z", | ||
"created": "2023-03-08T19:21:18.988Z", | ||
"1.0.0": "2023-03-08T19:21:18.988Z" | ||
}, | ||
"users": {}, | ||
"dist-tags": { | ||
"latest": "1.0.0" | ||
}, | ||
"_uplinks": {}, | ||
"_distfiles": {}, | ||
"_attachments": { | ||
"system-1.0.0.tgz": { | ||
"shasum": "df078510ff479d45ca193e812a7946d19cd9fc25", | ||
"version": "1.0.0" | ||
} | ||
}, | ||
"_rev": "3-54b73fe736964d2f", | ||
"_id": "@crossbreeze/system", | ||
"readme": "ERROR: No README data found!" | ||
} |
Binary file not shown.
Oops, something went wrong.