-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1346 symbolic link between our projects and the library 1 #1008
1346 symbolic link between our projects and the library 1 #1008
Conversation
…escript resolution
… the paths config
… 1346-symbolic-link-between-our-projects-and-the-library-1
"input": "./node_modules/@igo2/core/locale/", | ||
"output": "./locale/libs_locale", | ||
"ignore": ["**/*.core.json"] | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace the scripts locale-copy-from-igo2-core
"sourceMap": true | ||
"sourceMap": true, | ||
"paths": { | ||
"@igo2/*": ["node_modules/@igo2/*", "../../packages/*/src/public_api"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Workaround, when we refer to the symbolic link, we need to provide the source code for Typescript module resolution. We fallback on the last url if it exists.
"start-pwa": "ng build --configuration pwa --output-path ./dist/pwa && npm run serve.pwa", | ||
"build": "ng build", | ||
"build.prod": "ng build --configuration production", | ||
"link.start": "ng serve --configuration developpement-link", | ||
"link.build": "ng build --configuration production-link", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
link.start
vs start.link
?
…/igo2 into 1346-symbolic-link-between-our-projects-and-the-library-1
This is include in the Angular.json
…/igo2 into 1346-symbolic-link-between-our-projects-and-the-library-1
…/igo2 into 1346-symbolic-link-between-our-projects-and-the-library-1
…-1' of https://github.com/infra-geo-ouverte/igo2 into 1346-symbolic-link-between-our-projects-and-the-library-1
…ic-link-between-our-projects-and-the-library-1
… 1346-symbolic-link-between-our-projects-and-the-library-1
Rearchitect the app structure to allow a symlink between our project and our packages library igo2-lib.
See this PR for more information