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
Yarn/npm link to link the package doesnt work great, since we have different react versions amongst other things.
One easy way would be to create a symlink for the dist folder. By doing that, you can just execute yarn build in DS repo, and app-frontend will get the updated package via the symlinked directory.
This can be done f.ex by;
Execute yarn build to generate dist folder
Remove node_modules/@altinn/altinn-design-system/dist folder in app-frontend (or in other consuming repo)
Create the symlink from DS dist folder to node_modules/@altinn/altinn-design-system/dist in the repo where its used
We could perhaps create a script to simplify this process.
Additional Information
No response
Tasks
No response
Acceptance Criterias
No response
The text was updated successfully, but these errors were encountered:
haakemon
added
the
status/draft
Status: When you create an issue before you have enough info to properly describe the issue.
label
Jul 1, 2022
Description
Yarn/npm link to link the package doesnt work great, since we have different react versions amongst other things.
One easy way would be to create a symlink for the
dist
folder. By doing that, you can just executeyarn build
in DS repo, and app-frontend will get the updated package via the symlinked directory.This can be done f.ex by;
We could perhaps create a script to simplify this process.
Additional Information
No response
Tasks
No response
Acceptance Criterias
No response
The text was updated successfully, but these errors were encountered: