Skip to content

Commit

Permalink
Add new elkjs version 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddykasp committed Dec 20, 2023
1 parent e63def6 commit a79d039
Show file tree
Hide file tree
Showing 4 changed files with 11 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.0</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>
8 changes: 7 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: elkWorkerPath8,
to: 'elk-9'
}]),
new CopyWebpackPlugin([{
from: elkWorkerPathLatest,
to: 'elk-latest'
Expand All @@ -211,6 +216,7 @@ module.exports = async function (env) {
from: elkWorkerPathNext,
to: 'elk-next'
}])

]
}
}
}
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 a79d039

Please sign in to comment.