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 automatic install and build for plugins #46

Merged
merged 5 commits into from
Sep 5, 2024

Conversation

Bassel17
Copy link
Member

@Bassel17 Bassel17 commented Sep 4, 2024

What does it do?

  • Made it so we install and build plugins
  • we use the preferred package manager or the explicitly chosen package manager

How to test it?

  • if you run the init command in a strapi project:

    • the strapi project package manager will be used
  • if you use the --use-yarn, --use-pnpm or --use-npm :

    • the chosen package manager will be used
  • you use --no-install to avoid installing (it installs and builds by default)

  • your preferred system packageManager will be used automatically

running those commands should be successful

Related issue(s)/PR(s)

fixes #34

@Bassel17 Bassel17 added pr: enhancement Refactorings / perfs / testing / translations source: sdk-plugin labels Sep 4, 2024
Copy link

changeset-bot bot commented Sep 4, 2024

🦋 Changeset detected

Latest commit: 18d249f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@strapi/sdk-plugin Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Bassel17 Bassel17 self-assigned this Sep 4, 2024
Copy link
Collaborator

@innerdvations innerdvations left a comment

Choose a reason for hiding this comment

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

Works for me!

@innerdvations innerdvations merged commit 4803fe6 into main Sep 5, 2024
2 checks passed
@innerdvations innerdvations deleted the feat/automatic-install branch September 5, 2024 08:55
@echoes-hq echoes-hq bot added the echoes: enhancement Extensions to existing functionality, tests, tools and features label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: enhancement Extensions to existing functionality, tests, tools and features pr: enhancement Refactorings / perfs / testing / translations source: sdk-plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat]: Creating a new plugin should automatically install modules and build
2 participants