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

feat: prepack script to allow github installs #25

Merged
merged 1 commit into from
Dec 7, 2023
Merged

Conversation

rflechtner
Copy link
Collaborator

@rflechtner rflechtner commented Aug 21, 2023

Adds a prepack script to build the package, which is called by yarn 2+ if you install the package from the GitHub source (https://yarnpkg.com/advanced/lifecycle-scripts/#prepack-and-postpack).
After this is merged, you can directly install unreleased versions of this package to your local (yarn 2+) projects, using e.g.

yarn add @kiltprotocol/kilt-extension-api@KILTprotocol/kilt-extension-api

How to test:

  • Create a new project using yarn 2 / yarn 3 as package manager
  • Install the extension library from this branch, using yarn add @kiltprotocol/kilt-extension-api@KILTprotocol/kilt-extension-api#rf-prepack-script
  • Try running the cli, e.g. using yarn createDidConfig --help

Checklist:

  • I have verified that the code works
  • I have verified that the code is easy to understand
    • If not, I have left a well-balanced amount of inline comments
  • I have left the code in a better state
  • I have documented the changes (where applicable)
    • Either PR or Ticket to update the Docs
    • Link the PR/Ticket here

@rflechtner rflechtner merged commit f7f7d40 into main Dec 7, 2023
3 checks passed
@rflechtner rflechtner deleted the rf-prepack-script branch December 7, 2023 09:05
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