fullstack-lang / gong

Gong (go+ng) is a go sub-language that compiles to go and angular. All valid go is valid gong and vice versa. Gong enables fast development of web applications. Gong is model centric and by default, a UML diagram editor of the model is embedded in each application.
MIT License
11 stars 1 forks source link

Port to ng 17 and npm workspaces #479

Closed thomaspeugeot closed 3 months ago

thomaspeugeot commented 3 months ago

Steps:

As investigated in https://github.com/thomaspeugeot/multi_ws_issue, npm workspace is the solution for cross ng workspace import with ng 17

manual phase

generation phase

thomaspeugeot commented 3 months ago

It's working but one needs a path resolution in the vendor directory for gongdoc.

import { GongsvgDiagrammingComponent } from '../../../../../../vendor/'
import { GongsvgDiagrammingComponent } from '../../../../../../../../../../vendor/'

why do we need those 4 extra depth ?