@lionweb/class-core-generator 0.7.0-beta.2 → 0.7.0-beta.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generation-headers.d.ts","sourceRoot":"","sources":["../src/generation-headers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generation-headers.d.ts","sourceRoot":"","sources":["../src/generation-headers.ts"],"names":[],"mappings":"AAuCA;;GAEG;AACH,eAAO,MAAM,4BAA4B,4GAC0B,CAAA;AAEnE;;GAEG;AACH,eAAO,MAAM,+CAA+C,QACqC,CAAA"}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Copyright 2025 TRUMPF Laser SE and other contributors
|
|
2
2
|
//
|
|
3
|
-
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License")
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
|
|
16
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
17
|
import { asString } from "littoral-templates";
|
|
5
|
-
/**
|
|
6
|
-
* @return the given string, reversed — "abc" -> "cba"
|
|
7
|
-
* Note: only used to hack around the REUSE compliance checker!
|
|
8
|
-
*/
|
|
9
|
-
const reverseString = (str) => str.split("").reverse().join("");
|
|
10
18
|
/**
|
|
11
19
|
* The license header (as //-styled comments) for code originating from Trumpf Laser SE, licensed under Apache-2.0.
|
|
12
20
|
*/
|
|
@@ -24,8 +32,8 @@ const trumpfOriginatingApache2_0LicenseHeaderComments = `// Copyright 2025 TRUMP
|
|
|
24
32
|
// See the License for the specific language governing permissions and
|
|
25
33
|
// limitations under the License.
|
|
26
34
|
//
|
|
27
|
-
//
|
|
28
|
-
//
|
|
35
|
+
// SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
|
|
36
|
+
// SPDX-License-Identifier: Apache-2.0`;
|
|
29
37
|
/**
|
|
30
38
|
* Generic (//-styled) comments warning about code being generated.
|
|
31
39
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generation-headers.js","sourceRoot":"","sources":["../src/generation-headers.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"generation-headers.js","sourceRoot":"","sources":["../src/generation-headers.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,iEAAiE;AACjE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,sEAAsE;AACtE,sCAAsC;AAEtC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAE7C;;GAEG;AACH,MAAM,+CAA+C,GAAG;;;;;;;;;;;;;;;uCAejB,CAAA;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG;mEACuB,CAAA;AAEnE;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GACxD,QAAQ,CAAC,CAAC,+CAA+C,EAAE,EAAE,EAAE,4BAA4B,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lionweb/class-core-generator",
|
|
3
|
-
"version": "0.7.0-beta.
|
|
3
|
+
"version": "0.7.0-beta.4",
|
|
4
4
|
"description": "Generator for implementations of languages based on the class-core package",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"release": "npm publish"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@lionweb/core": "0.7.0-beta.
|
|
31
|
-
"@lionweb/io-lionweb-mps-specific": "0.7.0-beta.
|
|
32
|
-
"@lionweb/json": "0.7.0-beta.
|
|
33
|
-
"@lionweb/textgen-utils": "0.7.0-beta.
|
|
34
|
-
"@lionweb/ts-utils": "0.7.0-beta.
|
|
35
|
-
"@lionweb/utilities": "0.7.0-beta.
|
|
30
|
+
"@lionweb/core": "0.7.0-beta.4",
|
|
31
|
+
"@lionweb/io-lionweb-mps-specific": "0.7.0-beta.4",
|
|
32
|
+
"@lionweb/json": "0.7.0-beta.4",
|
|
33
|
+
"@lionweb/textgen-utils": "0.7.0-beta.4",
|
|
34
|
+
"@lionweb/ts-utils": "0.7.0-beta.4",
|
|
35
|
+
"@lionweb/utilities": "0.7.0-beta.4",
|
|
36
36
|
"@types/node": "22.15.21",
|
|
37
|
-
"littoral-templates": "0.4.
|
|
37
|
+
"littoral-templates": "0.4.1-beta.0",
|
|
38
38
|
"typescript": "5.3.3"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Copyright 2025 TRUMPF Laser SE and other contributors
|
|
2
2
|
//
|
|
3
|
-
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License")
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
|
|
16
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
17
|
|
|
5
18
|
import { asString } from "littoral-templates"
|
|
6
19
|
|
|
7
|
-
/**
|
|
8
|
-
* @return the given string, reversed — "abc" -> "cba"
|
|
9
|
-
* Note: only used to hack around the REUSE compliance checker!
|
|
10
|
-
*/
|
|
11
|
-
const reverseString = (str: string) =>
|
|
12
|
-
str.split("").reverse().join("")
|
|
13
|
-
|
|
14
20
|
/**
|
|
15
21
|
* The license header (as //-styled comments) for code originating from Trumpf Laser SE, licensed under Apache-2.0.
|
|
16
22
|
*/
|
|
@@ -28,8 +34,8 @@ const trumpfOriginatingApache2_0LicenseHeaderComments = `// Copyright 2025 TRUMP
|
|
|
28
34
|
// See the License for the specific language governing permissions and
|
|
29
35
|
// limitations under the License.
|
|
30
36
|
//
|
|
31
|
-
//
|
|
32
|
-
//
|
|
37
|
+
// SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
|
|
38
|
+
// SPDX-License-Identifier: Apache-2.0`
|
|
33
39
|
|
|
34
40
|
/**
|
|
35
41
|
* Generic (//-styled) comments warning about code being generated.
|