@lionweb/class-core-generator 0.7.0-beta.3 → 0.7.0-beta.5

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":"AAiCA;;GAEG;AACH,eAAO,MAAM,4BAA4B,4GAC0B,CAAA;AAEnE;;GAEG;AACH,eAAO,MAAM,+CAA+C,QACqC,CAAA"}
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
- // SPDX-FileCopyrightText: 2025 TRUMPF Laser SE
1
+ // Copyright 2025 TRUMPF Laser SE and other contributors
2
2
  //
3
- // SPDX-License-Identifier: LicenseRef-TRUMPF
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
- // ${reverseString("txeTthgirypoCeliF-XDPS")}: 2025 TRUMPF Laser SE and other contributors
28
- // ${reverseString("reifitnedI-esneciL-XDPS")}: Apache-2.0`;
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,+CAA+C;AAC/C,EAAE;AACF,6CAA6C;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAE7C;;;GAGG;AACH,MAAM,aAAa,GAAG,CAAC,GAAW,EAAE,EAAE,CAClC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAEpC;;GAEG;AACH,MAAM,+CAA+C,GAAG;;;;;;;;;;;;;;KAcnD,aAAa,CAAC,wBAAwB,CAAC;KACvC,aAAa,CAAC,yBAAyB,CAAC,cAAc,CAAA;AAE3D;;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"}
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",
3
+ "version": "0.7.0-beta.5",
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",
@@ -15,7 +15,7 @@
15
15
  "url": "https://github.com/LionWeb-io/lionweb-typescript/issues"
16
16
  },
17
17
  "scripts": {
18
- "clean": "rm -rf dist/ node_modules/ lionweb-class-core-generator-*.tgz",
18
+ "clean": "npx rimraf dist node_modules -g lionweb-class-core-generator-*.tgz",
19
19
  "build": "tsc",
20
20
  "lint": "eslint src",
21
21
  "prep:pre-release": "npm run clean && npm install && npm run build",
@@ -27,14 +27,14 @@
27
27
  "release": "npm publish"
28
28
  },
29
29
  "devDependencies": {
30
- "@lionweb/core": "0.7.0-beta.3",
31
- "@lionweb/io-lionweb-mps-specific": "0.7.0-beta.3",
32
- "@lionweb/json": "0.7.0-beta.3",
33
- "@lionweb/textgen-utils": "0.7.0-beta.3",
34
- "@lionweb/ts-utils": "0.7.0-beta.3",
35
- "@lionweb/utilities": "0.7.0-beta.3",
30
+ "@lionweb/core": "0.7.0-beta.5",
31
+ "@lionweb/io-lionweb-mps-specific": "0.7.0-beta.5",
32
+ "@lionweb/json": "0.7.0-beta.5",
33
+ "@lionweb/textgen-utils": "0.7.0-beta.5",
34
+ "@lionweb/ts-utils": "0.7.0-beta.5",
35
+ "@lionweb/utilities": "0.7.0-beta.5",
36
36
  "@types/node": "22.15.21",
37
- "littoral-templates": "0.4.0",
37
+ "littoral-templates": "0.4.1",
38
38
  "typescript": "5.3.3"
39
39
  }
40
40
  }
@@ -1,16 +1,22 @@
1
- // SPDX-FileCopyrightText: 2025 TRUMPF Laser SE
1
+ // Copyright 2025 TRUMPF Laser SE and other contributors
2
2
  //
3
- // SPDX-License-Identifier: LicenseRef-TRUMPF
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
- // ${reverseString("txeTthgirypoCeliF-XDPS")}: 2025 TRUMPF Laser SE and other contributors
32
- // ${reverseString("reifitnedI-esneciL-XDPS")}: Apache-2.0`
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.