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

add package-link file to storefront #745

Merged
merged 7 commits into from
Feb 5, 2021

Conversation

kieckhafer
Copy link
Member

@kieckhafer kieckhafer commented Jan 27, 2021

Impact: minor
Type: chore

Adds package-link and package-unlink, similar to we have in the api project, to allow for dev linking of outside npm packages.

We need to update the base image to use 12.14.1-v3 instead of 12.14.1-v1 as this version installs yalc inside the container, which is required for this linking.

TESTING:

  • clone this branch
  • clone any plugin (component library in this example
  • bin/package-link @reactioncommerce/components ../reaction-component-library/package
  • bin/package-unlink @reactioncommerce/components

@kieckhafer kieckhafer force-pushed the add-package-link-to-storefront branch from a8a2728 to ba7e068 Compare January 27, 2021 22:53
@kieckhafer kieckhafer force-pushed the add-package-link-to-storefront branch from ba7e068 to 65c6ecd Compare January 27, 2021 22:56
Signed-off-by: Erik Kieckhafer <[email protected]>
@mikemurray
Copy link
Member

@kieckhafer We should add the package-update script as well. It's probably less used, but still pretty helpful to refresh the already installed plugins quickly.

Signed-off-by: Erik Kieckhafer <[email protected]>
@kieckhafer
Copy link
Member Author

@mikemurray done.

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
Copy link
Member

@mikemurray mikemurray Jan 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I this file needs execute permissions.

@mikemurray
Copy link
Member

Not sure why the push is failing.

kieckhafer and others added 2 commits February 2, 2021 13:57
Signed-off-by: Erik Kieckhafer <[email protected]>
Signed-off-by: Akarshit Wal <[email protected]>
Copy link
Member

@mikemurray mikemurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kieckhafer kieckhafer merged commit 9221c1b into trunk Feb 5, 2021
@kieckhafer kieckhafer deleted the add-package-link-to-storefront branch February 5, 2021 23:06
@MohanNarayana MohanNarayana mentioned this pull request Feb 9, 2021
@Akarshit Akarshit mentioned this pull request Mar 3, 2021
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.

2 participants