Skip to content

Commit d6654e4

Browse files
committed
GLSP-1320: Update to latest glsp dev config
- Updates to latest version of @eclipse-glsp/dev - Add generate:index utility script - Regenerate index files - Fix codeActionsOnSave in vscode settings - Refactor upgrade:next script - Reformat code base with prettier - Fix copyright headers (by running a full check with glsp checkHeaders . -t full) Part of eclipse-glsp/glsp#1320
1 parent f6a13d3 commit d6654e4

File tree

29 files changed

+2189
-1319
lines changed

29 files changed

+2189
-1319
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ to learn how to report vulnerabilities.
2525

2626
<!-- Please check, when if it applies to your change. -->
2727

28-
- [ ] This PR should be mentioned in the changelog
29-
- [ ] This PR introduces a breaking change (if yes, provide more details below for the changelog and the migration guide)
28+
- [ ] This PR should be mentioned in the changelog
29+
- [ ] This PR introduces a breaking change (if yes, provide more details below for the changelog and the migration guide)

example/workflow/extension/src/workflow-extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (c) 2021-2022 EclipseSource and others.
2+
* Copyright (c) 2021-2024 EclipseSource and others.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0 which is available at

example/workflow/web-extension/src/workflow-extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (c) 2023 EclipseSource and others.
2+
* Copyright (c) 2023-2024 EclipseSource and others.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0 which is available at

example/workflow/webview/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (c) 2020-2021 EclipseSource and others.
2+
* Copyright (c) 2020-2024 EclipseSource and others.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0 which is available at

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,24 @@
1313
"check:pr": "yarn all && yarn check:headers",
1414
"clean": "lerna run clean && rimraf logs/*.log",
1515
"compile": "tsc -b",
16+
"generate:index": "lerna run generate:index && yarn lint:fix",
1617
"lint": "eslint --ext .ts,.tsx .",
1718
"lint:ci": "yarn lint -o eslint.xml -f checkstyle",
19+
"lint:fix": "yarn lint --fix",
1820
"prepare": "yarn build",
1921
"publish:latest": "lerna publish from-git --no-git-reset --no-git-tag-version --no-push",
2022
"publish:next": "lerna publish preminor --exact --canary --preid next --dist-tag next --no-git-reset --no-git-tag-version --no-push --ignore-scripts --yes",
2123
"publish:prepare": "lerna version --ignore-scripts --yes --no-push",
22-
"upgrade:next": "yarn upgrade -p \"@eclipse-glsp.*|sprotty.*\" --next ",
23-
"watch": "concurrently --kill-others -n tsc,extension,web-extension -c red,yellow.green \"tsc -b -w --preserveWatchOutput\" \"yarn -s workflow watch:bundle\" \"yarn -s workflow:web watch:bundle\"",
24+
"upgrade:next": "glsp upgradeNext",
25+
"watch": "concurrently --kill-others -n tsc,extension,web-extension -c red,yellow.green \"tsc -b -w --preserveWatchOutput\" \"yarn -s workflow watch:bundle\" \"yarn -s workflow:web watch:bundle\"",
2426
"workflow": "yarn --cwd example/workflow/extension",
2527
"workflow:web": "yarn --cwd example/workflow/web-extension"
2628
},
29+
"resolutions": {
30+
"snabbdom": "~3.5.1"
31+
},
2732
"devDependencies": {
28-
"@eclipse-glsp/dev": "2.0.0",
33+
"@eclipse-glsp/dev": "next",
2934
"@types/node": "16",
3035
"@types/vscode": "^1.54.0",
3136
"concurrently": "^8.2.2",

packages/vscode-integration-webview/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"scripts": {
3737
"build": "tsc -b",
3838
"clean": "rimraf lib tsconfig.tsbuildinfo ",
39+
"generate:index": "glsp generateIndex src -s -f",
3940
"lint": "eslint --ext .ts,.tsx ./src",
4041
"watch": "tsc -w"
4142
},

packages/vscode-integration-webview/src/features/copyPaste/copy-paste-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (c) 2023 EclipseSource and others.
2+
* Copyright (c) 2023-2024 EclipseSource and others.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0 which is available at

packages/vscode-integration-webview/src/features/default/default-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (c) 2023 EclipseSource and others.
2+
* Copyright (c) 2023-2024 EclipseSource and others.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0 which is available at

packages/vscode-integration-webview/src/features/default/extension-action-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (c) 2021-2023 EclipseSource and others.
2+
* Copyright (c) 2021-2024 EclipseSource and others.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0 which is available at

packages/vscode-integration-webview/src/features/default/vscode-glsp-modelsource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (c) 2023 EclipseSource and others.
2+
* Copyright (c) 2023-2024 EclipseSource and others.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0 which is available at

0 commit comments

Comments
 (0)