GithubHelp home page GithubHelp logo

pkdevboxy / registry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jspm/registry

0.0 2.0 0.0 944 KB

The jspm registry and package.json override service

Home Page: https://jspm.io

JavaScript 100.00%

registry's Introduction

jspm Registry

Browse the Registry

or view the raw registry file 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.

registry's People

Contributors

2fd avatar 32graham avatar aaike avatar akash1810 avatar avnerus avatar bgoscinski avatar capaj avatar carlosagsmendes avatar codylindley avatar computmaxer avatar davinkevin avatar delebash avatar djindjic avatar douglasduteil avatar eisenbergeffect avatar guybedford avatar jamespamplin avatar jarreddebeer avatar jdanyow avatar lookfirst avatar munter avatar nicklasb avatar robwormald avatar saairey avatar smajl avatar subesokun avatar tauren avatar theefer avatar thomasburleson avatar trusktr avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.