Comments (6)
Any guidelines on this bug? I'd like to have a go at this..
Is this related to this?
jspm-example/ › jspm install [email protected]
Looking up angular in registry
Checking versions for cdnjs:angular.js
err Unable to load endpoint cdnjs
from registry.
Thanks for posting! Unfortunately this isn't as simple as fixing the js
handling in the registry (that would be to allow jspm install angular.js
as the name, which is this issue). What is needed for this is to create an endpoint module for cdnjs, as it doesn't have a download module yet.
For example, here are the endpoint modules for GitHub and NPM:
https://github.com/jspm/npm/blob/master/npm.js
https://github.com/jspm/github/blob/master/github.js
Basically, it returns a class that has two main methods: getVersions
and download
. getVersions
returns an object of versions to hashes, download downloads to the given directory. Everything else is handled mostly automatically.
Endpoints are loaded from require('jspm-cdnjs')
inside the CLI. So it can be tested by symlinking into the jspm-cdnjs
global module name. The hard thing about this one is generating the version listings (perhaps from file listings somehow over the GitHub API). Happy to help where I can, and no pressure!
from registry.
There's a Bower and gist registry too here if it helps:
https://github.com/matthewp/jspm-bower/blob/master/bower.js
https://github.com/matthewp/gist/blob/master/gist.js
from registry.
Cool, you want to move these comments to a feature ticket? I'll see what I can do.
So whats the story with '.js' in the package name?
from registry.
Well I just tested it and the registry can in fact handle ".js" package names! (https://registry.jspm.io/[email protected])
So I've just renamed this issue :)
from registry.
This is now being tracked at jspm/jspm-cli#27
from registry.
Related Issues (20)
- Difference between Jenkins and local build HOT 7
- Slow/flaky npm.jspm.io registry HOT 7
- intro.js overrides? HOT 1
- npm Debug package override not applying HOT 3
- some fetch errors while making ts bundle HOT 1
- Latest d3 breaks jspm install HOT 3
- registry CI failure caused by transitive dependency update
- GitLab endpoint? HOT 1
- I'm confused by the module format documentation in the wiki HOT 2
- Is there a way in my package.json to tell JSPM not to install a specific dependency? HOT 14
- Mapping a dependency to `@empty` changes the import path
- Bootstrap install fails HOT 5
- `jspm install` not outputting anything in Windows bash
- React Router Dom 404
- new HOT 1
- Question: how much can I use dev.jspm.io? HOT 2
- kasperlewau.github.io/registry is not found HOT 1
- Licensing information. Can this project make it explicit?
- @shopify/app-bridge-utils is missing all new versions for the last 9 months HOT 2
- Self-hosting JSPM? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from registry.