Skip to content

Commit 6dbf811

Browse files
committed
Export the StarLasu Lionweb language from the correct module, make Lionweb an optional dependency
1 parent f6c6d09 commit 6dbf811

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
All notable changes to this project from version 1.2.0 upwards are documented in this file.
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
44

5-
## [1.6.5 - 1.6.9] – 2024-03-07
5+
## [1.6.10] – 2024-03-07
6+
7+
### Changed
8+
- Exported the StarLasu Lionweb language from the correct module
9+
- Made Lionweb an optional dependency
10+
11+
## [1.6.9] – 2024-03-07
612

713
### Added
814
- Support for Lionweb nodes as trace nodes

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "AST building blocks for TypeScript/JavaScript, part of the *lasu family, with optional integrations with ANTLR4 and Ecore.",
44
"author": "Strumenta s.r.l.",
55
"publisher": "strumenta",
6-
"version": "1.6.9",
6+
"version": "1.6.10",
77
"license": "Apache-2.0",
88
"keywords": [
99
"antlr",
@@ -78,16 +78,19 @@
7878
"generate-classes": "dist/cjs/cli.js"
7979
},
8080
"dependencies": {
81-
"@lionweb/core": "^0.6.1",
8281
"iter-ops": "^1.5.0",
8382
"reflect-metadata": "^0.1.13"
8483
},
8584
"peerDependencies": {
85+
"@lionweb/core": "^0.6.1",
8686
"antlr4ng": "^2.0.3",
8787
"cmd-ts": "^0.11.0",
8888
"ecore": "^0.12.0"
8989
},
9090
"peerDependenciesMeta": {
91+
"@lionweb/core": {
92+
"optional": true
93+
},
9194
"antlr4ng": {
9295
"optional": true
9396
},

src/interop/lionweb.ts

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import {
1515
} from "@lionweb/core";
1616
import {NodeAdapter, Issue, Node, NodeDefinition, Position, PropertyDefinition} from "..";
1717
import {STARLASU_LANGUAGE} from "./lionweb-starlasu-language";
18+
export {STARLASU_LANGUAGE} from "./lionweb-starlasu-language";
1819

1920
export class TylasuNodeWrapper implements LionwebNodeInterface {
2021
id: Id;

0 commit comments

Comments
 (0)