Skip to content

Commit

Permalink
Update for elk 0.9.0 (#70)
Browse files Browse the repository at this point in the history
* Add new elkjs version 0.9.0

* remove unnecessary whitespace

* add elkjs 0.9.0 to yarn.lock

* update lockfile with correct versions

* correct elk webworker reference

* update to use current 0.9.3 version of elkjs
  • Loading branch information
Eddykasp authored May 22, 2024
1 parent b89b246 commit 0ee850f
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 3 deletions.
1 change: 1 addition & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"elkjs-7": "npm:[email protected]",
"elkjs-7-1": "npm:[email protected]",
"elkjs-8": "npm:[email protected]",
"elkjs-9": "npm:[email protected]",
"elkjs-latest": "npm:elkjs@latest",
"elkjs-next": "npm:elkjs@next",
"jquery": "^3.4.0",
Expand Down
3 changes: 2 additions & 1 deletion client/src/json/json_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<form class="form-inline float-right">
<select id="elk-version" class="custom-select">
<option value="latest" selected>@latest (<%= htmlWebpackPlugin.options.latestVersion %>)</option>
<option value="9">0.9.3</option>
<option value="8">0.8.2</option>
<option value="7-1">0.7.1</option>
<option value="7">0.7.0</option>
Expand Down Expand Up @@ -70,4 +71,4 @@
<script src="jquery/jquery.slim.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
</html>
7 changes: 6 additions & 1 deletion client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module.exports = async function (env) {
const elkWorkerPath7 = 'node_modules/elkjs-7/lib/elk-worker.min.js';
const elkWorkerPath7_1 = 'node_modules/elkjs-7-1/lib/elk-worker.min.js';
const elkWorkerPath8 = 'node_modules/elkjs-8/lib/elk-worker.min.js';
const elkWorkerPath9 = 'node_modules/elkjs-9/lib/elk-worker.min.js';
const elkWorkerPathLatest = 'node_modules/elkjs-latest/lib/elk-worker.min.js';
const elkWorkerPathNext = 'node_modules/elkjs-next/lib/elk-worker.min.js';
const currentGitCommit = childProcess.execSync('git rev-parse --short HEAD').toString().trim();
Expand Down Expand Up @@ -203,6 +204,10 @@ module.exports = async function (env) {
from: elkWorkerPath8,
to: 'elk-8'
}]),
new CopyWebpackPlugin([{
from: elkWorkerPath9,
to: 'elk-9'
}]),
new CopyWebpackPlugin([{
from: elkWorkerPathLatest,
to: 'elk-latest'
Expand All @@ -213,4 +218,4 @@ module.exports = async function (env) {
}])
]
}
}
}
15 changes: 15 additions & 0 deletions client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,21 @@ duplexify@^3.4.2, duplexify@^3.6.0:
resolved "https://registry.yarnpkg.com/elkjs/-/elkjs-0.8.2.tgz#c37763c5a3e24e042e318455e0147c912a7c248e"
integrity sha512-L6uRgvZTH+4OF5NE/MBbzQx/WYpru1xCBE9respNj6qznEewGUIfhzmm7horWWxbNO2M0WckQypGctR8lH79xQ==

"elkjs-9@npm:[email protected]":
version "0.9.3"
resolved "https://registry.yarnpkg.com/elkjs/-/elkjs-0.9.3.tgz#16711f8ceb09f1b12b99e971b138a8384a529161"
integrity sha512-f/ZeWvW/BCXbhGEf1Ujp29EASo/lk1FDnETgNKwJrsVvGZhUWCZyg3xLJjAsxfOmt8KjswHmI5EwCQcPMpOYhQ==

"elkjs-latest@npm:elkjs@latest":
version "0.9.3"
resolved "https://registry.yarnpkg.com/elkjs/-/elkjs-0.9.3.tgz#16711f8ceb09f1b12b99e971b138a8384a529161"
integrity sha512-f/ZeWvW/BCXbhGEf1Ujp29EASo/lk1FDnETgNKwJrsVvGZhUWCZyg3xLJjAsxfOmt8KjswHmI5EwCQcPMpOYhQ==

"elkjs-next@npm:elkjs@next":
version "0.9.3"
resolved "https://registry.yarnpkg.com/elkjs/-/elkjs-0.9.3.tgz#16711f8ceb09f1b12b99e971b138a8384a529161"
integrity sha512-f/ZeWvW/BCXbhGEf1Ujp29EASo/lk1FDnETgNKwJrsVvGZhUWCZyg3xLJjAsxfOmt8KjswHmI5EwCQcPMpOYhQ==

elliptic@^6.0.0:
version "6.5.4"
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb"
Expand Down
2 changes: 1 addition & 1 deletion server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
}

ext.versions = [
xtext: '2.25.0',
xtext: '2.28.0',
elk: '0.9.0-SNAPSHOT',
sprotty: '0.9.1',
lsp4j: '0.8.0',
Expand Down

0 comments on commit 0ee850f

Please sign in to comment.