-
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 and Theia - Convert model service to shared service -- Requires retrieval of serializer based on URI -- Extend language model service to ensure we have serializer
- Loading branch information
1 parent
1143efe
commit 191a0b5
Showing
84 changed files
with
3,464 additions
and
1,656 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,5 @@ | ||
{ | ||
"name": "@crossbreeze/entities", | ||
"version": "1.0.0", | ||
"alias": "entities" | ||
} |
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,5 @@ | ||
{ | ||
"name": "@crossbreeze/example-library", | ||
"version": "1.0.0", | ||
"alias": "exampleLibrary" | ||
} |
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,8 @@ | ||
{ | ||
"name": "@crossbreeze/relationships", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"@crossbreeze/entities": "1.0.0" | ||
}, | ||
"alias": "relationships" | ||
} |
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 := entities/A; | ||
target := entities/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 := entities/C with entities/C.name; | ||
target := entities/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,8 @@ | ||
{ | ||
"name": "@crossbreeze/system", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"@crossbreeze/relationships": "1.0.0" | ||
}, | ||
"alias": "system" | ||
} |
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 entities/A { | ||
x := 10; | ||
y := 10; | ||
width := 76; | ||
height := 32; | ||
}; | ||
node nodeB for entities/B { | ||
x := 122; | ||
y := 8; | ||
width := 70; | ||
height := 37; | ||
}; | ||
node nodeD for E { | ||
x := 222; | ||
y := 11; | ||
width := 77; | ||
height := 33; | ||
}; | ||
edge aToB for relationships/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/entities","@crossbreeze/system","@crossbreeze/relationships","@crossbreeze/example-library"],"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,40 @@ | ||
{ | ||
"name": "@crossbreeze/entities", | ||
"versions": { | ||
"1.0.0": { | ||
"name": "@crossbreeze/entities", | ||
"version": "1.0.0", | ||
"alias": "entities", | ||
"gitHead": "4e8796028c3ef56b5ecc5132b6cce37ac4bdb065", | ||
"_id": "@crossbreeze/[email protected]", | ||
"_nodeVersion": "16.19.1", | ||
"_npmVersion": "8.19.3", | ||
"dist": { | ||
"integrity": "sha512-j3sLE+Pzupdmy93zYJk+XIrtetf+kdNG7/jFeUeM69CC1/HxizSn6N4uGNNhlkGsZCvkZ255mk5ZUSn0HJsqsQ==", | ||
"shasum": "f7354a4bb2cd5d733f300cb74f8680f20ecd784f", | ||
"tarball": "http://localhost:4873/@crossbreeze/entities/-/@crossbreeze/entities-1.0.0.tgz" | ||
}, | ||
"contributors": [] | ||
} | ||
}, | ||
"time": { | ||
"modified": "2023-03-31T08:35:24.612Z", | ||
"created": "2023-03-31T08:35:24.612Z", | ||
"1.0.0": "2023-03-31T08:35:24.612Z" | ||
}, | ||
"users": {}, | ||
"dist-tags": { | ||
"latest": "1.0.0" | ||
}, | ||
"_uplinks": {}, | ||
"_distfiles": {}, | ||
"_attachments": { | ||
"entities-1.0.0.tgz": { | ||
"shasum": "f7354a4bb2cd5d733f300cb74f8680f20ecd784f", | ||
"version": "1.0.0" | ||
} | ||
}, | ||
"_rev": "3-4257dde6c56f0e26", | ||
"_id": "@crossbreeze/entities", | ||
"readme": "ERROR: No README data found!" | ||
} |
Binary file added
BIN
+586 Bytes
examples/registry/@crossbreeze/example-library/example-library-1.0.0.tgz
Binary file not shown.
40 changes: 40 additions & 0 deletions
40
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,40 @@ | ||
{ | ||
"name": "@crossbreeze/example-library", | ||
"versions": { | ||
"1.0.0": { | ||
"name": "@crossbreeze/example-library", | ||
"version": "1.0.0", | ||
"alias": "exampleLibrary", | ||
"gitHead": "4e8796028c3ef56b5ecc5132b6cce37ac4bdb065", | ||
"_id": "@crossbreeze/[email protected]", | ||
"_nodeVersion": "16.19.1", | ||
"_npmVersion": "8.19.3", | ||
"dist": { | ||
"integrity": "sha512-kaZMb3z3os4UPrpMcj9ZzJzkiPOG5EAkr/KQJsicQVEuHjH4p5AE5CvBWhLOBX2Ym9GFWdsKadIwzTvGcDK+DA==", | ||
"shasum": "364fb0f1a0510cfb11609af5c2675a855918391c", | ||
"tarball": "http://localhost:4873/@crossbreeze/example-library/-/@crossbreeze/example-library-1.0.0.tgz" | ||
}, | ||
"contributors": [] | ||
} | ||
}, | ||
"time": { | ||
"modified": "2023-03-31T08:43:00.605Z", | ||
"created": "2023-03-31T08:43:00.605Z", | ||
"1.0.0": "2023-03-31T08:43:00.605Z" | ||
}, | ||
"users": {}, | ||
"dist-tags": { | ||
"latest": "1.0.0" | ||
}, | ||
"_uplinks": {}, | ||
"_distfiles": {}, | ||
"_attachments": { | ||
"example-library-1.0.0.tgz": { | ||
"shasum": "364fb0f1a0510cfb11609af5c2675a855918391c", | ||
"version": "1.0.0" | ||
} | ||
}, | ||
"_rev": "3-473fb6ef4301de3b", | ||
"_id": "@crossbreeze/example-library", | ||
"readme": "ERROR: No README data found!" | ||
} |
Oops, something went wrong.