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

Publish on NPM #34

Open
PowerOfM opened this issue Jun 4, 2021 · 5 comments
Open

Publish on NPM #34

PowerOfM opened this issue Jun 4, 2021 · 5 comments

Comments

@PowerOfM
Copy link

PowerOfM commented Jun 4, 2021

Will this package be published to NPM? Using Yarn v2, I'm having difficulties adding a package from the GitHub url (it expects the branch to be called "master" - the option to customize will come in Yarn v3).

I noticed another capacitor-codepush on npmjs.com. Have there been any attempts to contact that package publisher and consolidate efforts?

@tolutronics
Copy link

Fork it and publish

@johnborges
Copy link

@PowerOfM I think you can via yarn. Try:
yarn add <git remote url>#<branch/commit/tag>

Installs a package from a remote git repository at specific git branch, git commit or git tag.

@Clovel
Copy link

Clovel commented Sep 20, 2021

This would be great !

But before that we need to :

  • Make a CI/CD script that builds the project and then publishes it to NPM
  • .gitignore the build products
  • Remove the build products from the Git repository

@alexcroox
Copy link

An npm release would be so helpful. Github actions are having a hard time with npm 7 + git+https:// deps being converted to SSH versions and failing

@afilp
Copy link

afilp commented Dec 28, 2022

Is there a better solution please? Thanks

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

6 participants