Skip to content
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 #1373

Merged
merged 46 commits into from
Oct 31, 2023

Conversation

alecarn
Copy link
Collaborator

@alecarn alecarn commented Sep 11, 2023

An update to the architecture to allow a better developer experience with way to debug our application with the library. This solution is a workaround since we were not able to create real symbolic link with the packages managers (npm, yarn).

To allow our custom symbolic link, we made several modification:

  1. Use the workspace architecture
  2. Use the workspace link between the packages, see the * for referencing the dependency of @igo2/*
  3. Convert package to internal, see the exports property in package.json of packages
  4. Rework the style output to allow similitude when we develop with symbolic link or not, see the src/style in ng-packagr
  5. Add a projects folder, where external project will be checkout
  6. Rework the build and deployment process

Unfortunately, each project will need some modification

  1. a path resolver for @igo2/* in is tsconfig to allow a fallback to the symbolic link
  2. Custom resolver for the assets, see angular.json

alecarn and others added 30 commits August 16, 2023 15:37
- feat(Scripts): handle lib packages cross dependencies
- Map: rename abstate MapBase to avoid confusion
- WfsWorkspace: add null check
- EditionWorkspace: rework the params presentation
…into 1346-symbolic-link-between-our-projects-and-the-library
@alecarn alecarn requested a review from pelord September 11, 2023 18:06
@alecarn alecarn marked this pull request as ready for review September 11, 2023 18:06
@alecarn alecarn self-assigned this Sep 18, 2023
@alecarn alecarn linked an issue Sep 18, 2023 that may be closed by this pull request
@pelord pelord changed the base branch from next to release/16.0.0 October 17, 2023 18:05
.gitignore Show resolved Hide resolved
demo/tsconfig.app.json Outdated Show resolved Hide resolved
demo/tsconfig.spec.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
packages/geo/tsconfig.lib.json Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
packages/auth/package.json Show resolved Hide resolved
packages/geo/tsconfig.lib.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
scripts/src/watch-library.ts Outdated Show resolved Hide resolved
alecarn and others added 2 commits October 23, 2023 15:28
…/igo2-lib into 1346-symbolic-link-between-our-projects-and-the-library
…ic-link-between-our-projects-and-the-library
@alecarn alecarn changed the base branch from release/16.0.0 to next October 27, 2023 18:00
@alecarn alecarn merged commit 1bea11c into next Oct 31, 2023
4 checks passed
@alecarn alecarn deleted the 1346-symbolic-link-between-our-projects-and-the-library branch October 31, 2023 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symbolic link between our projects and the library
2 participants