You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gongc performs a few npm install commands (such as jointjs) at the initialisation because they will be needed by gongdoc
gongc adds some import path to the tsconfig.json file because they will be needed by gongdoc, gongleaflet, ...
Problem:
those are indirect depedencies and they should not be explicit. For instance, if the dependency in gongdoc changes, all package that depends on gongdoc need to be changed.
in the vendor/github.com/fullstack-lang/gongdoc/ng/tsconfig.json
{
// we cannot extends the global ../../tsconfig.json file because it is not embedded"compilerOptions": {
..."jointjs": [
"./node_modules/jointjs"
],
...
}
repo github.com\thomaspeugeot\helloworld
has a working configuration
When go mod vendor is performed, it deleted the node_modules directory, therefore a npm install has to be performed again. This is 30' but this is acceptable.
The text was updated successfully, but these errors were encountered:
thomaspeugeot
changed the title
Investigatie wether it is possible to import import paths from another stack to avoid indirect imports path
With typescript v5, investigatie wether it is possible to import import paths from another stack to avoid indirect imports path
Jan 29, 2023
thomaspeugeot
changed the title
With typescript v5, investigatie wether it is possible to import import paths from another stack to avoid indirect imports path
With typescript v5, avoid avoid indirect imports path in tsconfig.json and package.json
Jan 29, 2023
thomaspeugeot
changed the title
With typescript v5, avoid avoid indirect imports path in tsconfig.json and package.json
Avoid indirect imports in tsconfig.json and package.json
Feb 2, 2023
OK, there have somme changes to the vendor files and those changed have to be back ported to gongdoc. But right now, there is regression in the helloworld. the material icons are not there anymore.
Investigation.
Maybe this is due to angular 15 and not the mess we performed
Situation:
gongc
performs a fewnpm install
commands (such as jointjs) at the initialisation because they will be needed by gongdocgongc
adds some import path to thetsconfig.json
file because they will be needed by gongdoc, gongleaflet, ...Problem:
Solution:
in vendor\github.com\fullstack-lang\gongdoc\ng\projects\gongdocdiagrams\package.json
problem, it duplicates a full local install and it might be deleted during a
go mod vendor
commandin the tsconfig.json, add
in the vendor/github.com/fullstack-lang/gongdoc/ng/tsconfig.json
repo github.com\thomaspeugeot\helloworld
has a working configuration
When go mod vendor is performed, it deleted the node_modules directory, therefore a npm install has to be performed again. This is 30' but this is acceptable.
The text was updated successfully, but these errors were encountered: