Skip to content

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

@JohnRDOrazio

Description

@JohnRDOrazio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions