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

Github packages and/or repositories #2538

Open
canadaduane opened this issue Jun 9, 2023 · 5 comments
Open

Github packages and/or repositories #2538

canadaduane opened this issue Jun 9, 2023 · 5 comments

Comments

@canadaduane
Copy link
Contributor

I've forked a package called shelf and I've made it into a module (possibly temporarily--I'm just experimenting with something).

Is there a way to tell jspm to install the following package? It has no dependencies.

https://github.com/canadaduane/shelf

Prior related work: #2497

@guybedford
Copy link
Member

The current best way to achieve this is to treat it as a file: dependency in the dependencies and have it locally available. You can also set up a custom map as well.

The hope remains for features like IPFS support to be able to assist with these kinds of more varied workflows.

@canadaduane
Copy link
Contributor Author

As a workaround, I discovered this: http://raw.githack.com/

@guybedford
Copy link
Member

guybedford commented Jun 10, 2023 via email

@canadaduane
Copy link
Contributor Author

Sure, I'm willing. However, I'm a bit confused about how to get jspm-cli running locally. I use chomp to build... and then node dist/cli.js does... nothing.

@guybedford
Copy link
Member

I mean, I think it would be really cool to see. Perhaps try running https://github.com/jspm/jspm-cli/blob/main/jspm.js directly - ./jspm.js or node ./jspm.js.

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

2 participants