Adds a new npm workspace and nx project under libs/extensions/angular
Adds a readme and guides for how to contribute components and fixes/features
Sets up storybook for documentation and jest+spectator for testing
Updates all libraries to be built to a project-specific dist folder
Updates local paths aliases to point to dist-bundle, so we follow angular package recommendations as outlined in angular library docs
This had the side-effect of having to change all imports for the storybook stories in designsystem referencing local code to the correct aliases. An eslint rule that disallows the previous approach with relative imports is added.
A temporary reference component 'kirby-x-banner' is added to ease initial implementation for product team devs
Does this PR introduce a breaking change?
[ ] Yes
[x] No
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Reminders
[ ] Make sure you have implemented tests following the guidelines in: "The good: Test".
[ ] Make sure you have updated the cookbook with examples and showcases (for bug fixes, enhancements & new components).
Review
[x] Determine if your changes are a fix, feature or breaking-change, and add the matching label to your PR. If it is tooling, dependency updates or similar, add ignore-for-release.
Which issue does this PR close?
This PR closes #3443
What is the new behavior?
libs/extensions/angular
designsystem
referencing local code to the correct aliases. An eslint rule that disallows the previous approach with relative imports is added.Does this PR introduce a breaking change?
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Reminders
Make sure you have implemented tests following the guidelines in: "The good: Test".Make sure you have updated the cookbook with examples and showcases (for bug fixes, enhancements & new components).Review
When the pull request has been approved it will be merged to
develop
by Team Kirby.