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 info on readme on how to install with yarn #45

Open
JohnRDOrazio opened this issue Mar 20, 2024 · 0 comments
Open

add info on readme on how to install with yarn #45

JohnRDOrazio opened this issue Mar 20, 2024 · 0 comments

Comments

@JohnRDOrazio
Copy link
Owner

JohnRDOrazio commented Mar 20, 2024

NPMJS already tells you how to install with NPM.

However installing with yarn might not be so straightforward.

After quite a bit of fiddling around with an instance of yarn 4 berry, I seem to have finally succeeded in installing from Github packages like this:

yarn add @johnrdorazio/jquery-clock-plugin@https://github.com/johnrdorazio/jquery-clock-plugin

And I'm still not sure how much the following two files had any effect on the installation process:

//.npmrc
registry=https://registry.npmjs.org/
@johnrdorazio:registry=https://npm.pkg.github.com/
//.yarnrc.yml
npmScopes:
  "johnrdorazio":
    npmRegistryServer: "https://npm.pkg.github.com"

However I haven't yet tested implementing within a project just yet.

It certainly is simpler to include from npmjs:

yarn add jquery-clock-plugin

In any case, once it's all tested and implemented, info should be added to the readme.

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

No branches or pull requests

1 participant