@eclipse-scout/migrate 25.2.20 → 26.1.0-beta.1
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/README.md +6 -6
- package/package.json +13 -13
- package/src/common.js +2 -2
package/README.md
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<a href="https://ci.eclipse.org/scout/job/scout-integration-
|
|
7
|
-
<a href="https://ci.eclipse.org/scout/job/scout-integration-
|
|
6
|
+
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.1-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins" src="https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.2-RT-nightly_pipeline%2F"></a>
|
|
7
|
+
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.1-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins tests" src="https://img.shields.io/jenkins/tests?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.2-RT-nightly_pipeline%2F"></a>
|
|
8
8
|
<a href="https://www.npmjs.com/package/@eclipse-scout/migrate" target="_blank" rel="noopener noreferrer"><img alt="npm" src="https://img.shields.io/npm/dm/@eclipse-scout/migrate"></a>
|
|
9
9
|
<a href="https://www.eclipse.org/legal/epl-2.0/" target="_blank" rel="noopener noreferrer"><img alt="NPM" src="https://img.shields.io/npm/l/@eclipse-scout/migrate"></a>
|
|
10
10
|
<a href="https://www.npmjs.com/package/@eclipse-scout/migrate" target="_blank" rel="noopener noreferrer"><img alt="npm (scoped)" src="https://img.shields.io/npm/v/@eclipse-scout/migrate"></a>
|
|
@@ -29,7 +29,7 @@ To set up the tool, do the following:
|
|
|
29
29
|
```json
|
|
30
30
|
{
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@eclipse-scout/migrate": "~
|
|
32
|
+
"@eclipse-scout/migrate": "~26.1.0"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
```
|
|
@@ -45,7 +45,7 @@ Some migrations require a `tsconfig.json`. You can add it as follows (do it only
|
|
|
45
45
|
```json
|
|
46
46
|
{
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@eclipse-scout/tsconfig": "~
|
|
48
|
+
"@eclipse-scout/tsconfig": "~26.1.0"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
```
|
|
@@ -138,7 +138,7 @@ In order to run the TypeScript migration, do the following:
|
|
|
138
138
|
In your widget, implement the model interface and declare a model variable.
|
|
139
139
|
- To create the event maps, you can run the `event-maps` script from below and copy the result into a separate event maps file.
|
|
140
140
|
- If you use third party libraries, you may want to check if they provide types and add them to the `devDependencies` of your `package.json` (e.g. @types/jquery).
|
|
141
|
-
See also [Project Setup for TypeScript](https://eclipsescout.github.io/scout-docs/
|
|
141
|
+
See also [Project Setup for TypeScript](https://eclipsescout.github.io/scout-docs/26.1/technical-guide/user-interface/typescript.html#project-setup-for-typescript)
|
|
142
142
|
- Remove the added `scripts`, `overrides` and dependency to `@eclipse-scout/migrate`.
|
|
143
143
|
|
|
144
144
|
```json
|
|
@@ -150,7 +150,7 @@ In order to run the TypeScript migration, do the following:
|
|
|
150
150
|
},
|
|
151
151
|
"pnpm": {
|
|
152
152
|
"overrides": {
|
|
153
|
-
"typescript": "5.
|
|
153
|
+
"typescript": "5.9.3"
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-scout/migrate",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "26.1.0-beta.1",
|
|
4
4
|
"description": "TypeScript migration module",
|
|
5
5
|
"author": "BSI Business Systems Integration AG",
|
|
6
6
|
"homepage": "https://eclipse.dev/scout/",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
},
|
|
11
11
|
"license": "EPL-2.0",
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": ">=
|
|
14
|
-
"npm": ">=
|
|
15
|
-
"pnpm": ">=
|
|
13
|
+
"node": ">=24.12.0",
|
|
14
|
+
"npm": ">=11.6.2",
|
|
15
|
+
"pnpm": ">=10.26.1"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
18
|
"scout",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"ts-migrate": "0.1.35",
|
|
33
33
|
"ts-migrate-plugins": "0.1.35",
|
|
34
34
|
"ts-migrate-server": "0.1.33",
|
|
35
|
-
"yargs-parser": "
|
|
36
|
-
"jscodeshift": "17.
|
|
37
|
-
"typescript": "5.
|
|
35
|
+
"yargs-parser": "22.0.0",
|
|
36
|
+
"jscodeshift": "17.3.0",
|
|
37
|
+
"typescript": "5.9.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@types/jscodeshift": "^
|
|
41
|
-
"@types/yargs": "^17.0.
|
|
42
|
-
"jest": "
|
|
43
|
-
"@babel/preset-env": "7.
|
|
44
|
-
"@babel/core": "7.
|
|
45
|
-
"@eclipse-scout/tsconfig": "
|
|
40
|
+
"@types/jscodeshift": "^17.3.0",
|
|
41
|
+
"@types/yargs": "^17.0.35",
|
|
42
|
+
"jest": "30.2.0",
|
|
43
|
+
"@babel/preset-env": "7.28.5",
|
|
44
|
+
"@babel/core": "7.28.5",
|
|
45
|
+
"@eclipse-scout/tsconfig": "26.1.0-beta.1"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"scout-migrate": "node bin/scout-migrate",
|
package/src/common.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2010,
|
|
2
|
+
* Copyright (c) 2010, 2026 BSI Business Systems Integration AG
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
/* eslint-disable indent */
|
|
11
|
+
/* eslint-disable @stylistic/indent */
|
|
12
12
|
|
|
13
13
|
import path from 'path';
|
|
14
14
|
|