• This repository has been archived on 18/Feb/2024
  • Stars
    star
    229
  • Rank 174,666 (Top 4 %)
  • Language
    JavaScript
  • Created over 11 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The jspm registry and package.json override service

jspm Registry

The raw registry file can be viewed at https://github.com/jspm/registry/blob/master/registry.json.

Pull requests welcome for registry.json and the package_overrides folder.

All registry entries are managed here through GitHub, moderated by the registry maintainers.

Registry

The currently supported endpoints are:

  • Github
  • npm

The registry provides a simple mapping in the file registry.json, which maps a shortname (bootstrap) to a canonical endpoint name (github:twbs/bootstrap). It is simply a convenience for installing through jspm.

Package.json Overrides

The registry also provides a service for overriding the package.json of existing repos.

This is useful for enabling jspm functionality in the package.json when direct access to the underlying repo is not possible.

jspm uses the package.json for modular package configuration, including:

  • Setting the main entry point (main)
  • Shim config for globals (shim)
  • Map configuration (map)
  • Module format (format)

In this way, the right package options can make any package play well with jspm, without needing any manual configuration at all.

Submitting a pull request to the original repo should be done at the same time as this is designed as a temporary service only and not a long term solution to the configuration problem.

Read more about configuring packages for jspm in the wiki.

Examples of jspm package.json files for common packages can be found in the package overrides section of the registry.

Testing Package Overrides

Package overrides may take some testing to get exactly the right configuration.

See the testing guide within Configuration Packages for jspm.

Submitting a Package Override

To submit a new package override:

  • Fork this repo, then create the file package-overrides/[endpoint name]/[repo name]@x.y.z.json.
  • Provide the correct configuration according to the configuration guide above.
  • Submit a pull request.
  • If the configuration is correct, this will be accepted and that will instantly enable the functionality on the endpoint.

The overrides will apply for all versions semver compatible with the override version, with the highest version override taking precedence.

Registry Maintainers

Anyone is welcome to assist with reviewing override changes. Overrides are reviewed based on checking syntax, backwards-compatibility and best-practises. The registry maintainers are selected based on their ability to implement these guidelines. The goal is for this to be a diverse group across timezones to provide prompt reviews for overrides.

More Repositories

1

jspm-cli

ES Module Package Manager
TypeScript
3,752
star
2

generator

JSPM Import Map Generator
TypeScript
166
star
3

project

Roadmap and management repo for the jspm project
157
star
4

vite-plugin-jspm

A plugin which externalizes dependencies and resolves them from CDN providers using import maps and es-module-shims!
TypeScript
58
star
5

jspm-core

jspm 2 Core Library
JavaScript
41
star
6

demo-es6

Demonstration of the jspm loader and CLI workflow for ES6 modules
JavaScript
40
star
7

import-map

Import Map Utility
JavaScript
37
star
8

jspm.io

jspm.io website
HTML
25
star
9

npm

NPM Location Service
JavaScript
19
star
10

jspm-starter

JSPM Starter Workflow
HTML
17
star
11

sver

Simple Semver and SemverRange classes
JavaScript
16
star
12

github

Github Location Service
JavaScript
16
star
13

jspm.org

jspm.org website
HTML
13
star
14

jspm-vscode

VSCode Plugin for JSPM Generator
JavaScript
12
star
15

rollup-plugin-jspm

JSPM Standards-Based RollupJS Preset
JavaScript
12
star
16

generator.jspm.io

HTML
8
star
17

jspm-resolve

jspm resolver
JavaScript
8
star
18

jspm

ES Module Package Manager
TypeScript
7
star
19

overrides

jspm overrides
7
star
20

jspm-packages

TypeScript
5
star
21

babel-plugin-transform-cjs-dew

CommonJS -> ES Deferred Execution Wrapper
JavaScript
4
star
22

node-importmap-http-loader

A makeshift loader to parse a importmap and hook the details into nodejs loader to support import-maps.
TypeScript
4
star
23

registry-endpoint

JavaScript
3
star
24

babel-visit-cjs-deps

Babel visitor for extracting CJS dependencies
JavaScript
3
star
25

cdn-tests

JSPM CDN Test Suite
JavaScript
1
star
26

nodelibs-console

JavaScript
1
star
27

node-browser-builtins

NodeJS browser builtins dependency
JavaScript
1
star
28

nodelibs-events

JavaScript
1
star
29

nodelibs-repl

JavaScript
1
star
30

nodelibs

DEPRECATED as of jspm 0.10
1
star
31

jspm-templates

TypeScript
1
star
32

rust-lexer

JavaScript
1
star
33

nodelibs-process

JavaScript
1
star