@eclipse-glsp-examples/workflow-glsp 1.1.0-next.cb7168a.239 → 1.1.0-next.d3b810d.243
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/scripts/config.json +0 -9
- package/scripts/download.ts +0 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp-examples/workflow-glsp",
|
|
3
|
-
"version": "1.1.0-next.
|
|
3
|
+
"version": "1.1.0-next.d3b810d.243+d3b810d",
|
|
4
4
|
"description": "GLSP diagrams for the Workflow DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"glsp",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"watch": "tsc -w"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@eclipse-glsp/client": "1.1.0-next.
|
|
46
|
+
"@eclipse-glsp/client": "1.1.0-next.d3b810d.243+d3b810d",
|
|
47
47
|
"balloon-css": "^0.5.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "d3b810d2d295b12ef4a2854751ba55a309aad21a"
|
|
56
56
|
}
|
package/scripts/config.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"releaseRepository": "https://repo1.maven.org/maven2/",
|
|
3
|
-
"snapshotRepository": "https://oss.sonatype.org/content/repositories/snapshots/",
|
|
4
|
-
"groupId": "org.eclipse.glsp.example",
|
|
5
|
-
"artifactId": "org.eclipse.glsp.example.workflow",
|
|
6
|
-
"version": "1.1.0",
|
|
7
|
-
"isSnapShot": true,
|
|
8
|
-
"classifier": "glsp"
|
|
9
|
-
}
|
package/scripts/download.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2020-2022 EclipseSource and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
import download from 'mvn-artifact-download';
|
|
17
|
-
import { join, resolve } from 'path';
|
|
18
|
-
import * as config from './config.json';
|
|
19
|
-
|
|
20
|
-
const downloadDir = resolve(join(__dirname)) + '/../../..';
|
|
21
|
-
|
|
22
|
-
const { groupId, artifactId, classifier, version, isSnapShot } = config;
|
|
23
|
-
const mavenRepository = isSnapShot ? config.snapshotRepository : config.releaseRepository;
|
|
24
|
-
|
|
25
|
-
console.log('Downloading latest version of the Workflow Example Java Server from the maven repository...');
|
|
26
|
-
download({ groupId, artifactId, version, classifier, isSnapShot }, downloadDir, mavenRepository).then(() =>
|
|
27
|
-
console.log(
|
|
28
|
-
'Download completed. Start the server using this command: \njava -jar org.eclipse.glsp.example.workflow-' +
|
|
29
|
-
version +
|
|
30
|
-
`${isSnapShot ? '-SNAPSHOT' : ''}` +
|
|
31
|
-
'-glsp.jar org.eclipse.glsp.example.workflow.launch.ExampleServerLauncher --port=8081 --websocket\n\n' +
|
|
32
|
-
'After starting the server, access the following file locally in your browser to see the running example:\n' +
|
|
33
|
-
'./examples/workflow-standalone/app/diagram.html'
|
|
34
|
-
)
|
|
35
|
-
);
|