Coder Social home page Coder Social logo

sarbull / components Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sheerun/components

0.0 1.0 0.0 8.99 MB

Registry of bower components

Home Page: https://bower.io/search/

License: MIT License

JavaScript 84.69% HTML 0.55% Io 1.72% CoffeeScript 0.51% CSS 9.05% Roff 2.37% PHP 0.16% DIGITAL Command Language 0.16% Logos 0.13% TypeScript 0.16% Stata 0.04% XSLT 0.05% Gnuplot 0.04% q 0.04% C++ 0.04% GLSL 0.12% Haxe 0.04% Propeller Spin 0.05% 1C Enterprise 0.04% Pep8 0.04%

components's Introduction

Bower Components

Discord chat

Bower needs your help (yes, really). If you're willing to help, please donate or contribute.

This repository contains a list of Bower components and their metadata (currently only url of main repository).

Please read this issue for reasoning and discussion.

All components reside in the /packages directory, each of them with the following structure:

{
  // REQUIRED: Name of package (needed to maintain backward compatibility with old registry)
  "name": "jquery",
  // REQUIRED: Repository URL that Bower should use to resolve package
  "url": "https://github.com/jquery/jquery-dist.git"
}

We will consider adding extra metadata fields in the future. If you have an idea, please open an issue

Usage

The registry is tagged, starting with 1.0.0 which reflects the state of the old registry at the time it was frozen. You can use this tag as a starting point, and gradually "bump" the registry tag in .bowerrc, at the same time ensuring projects still work. Please see Migration section to see how you can point your Bower to the new registry.

We highly discourage using master tag of this repository, as it can change in breaking ways at any time. Instead, please choose an appropriate tag from available releases, and set the registry url as follows:

{
  "registry": "https://raw.githubusercontent.com/bower/components/x.x.x"
}

Migration

The structure of this repository matches the API of the old registry. Also, 1.0.0 tag reflects its frozen state. It means you can (and should) seamlessly migrate by creating or updating your .bowerrc file (either in project's directory or home directory):

{
  "registry": "https://raw.githubusercontent.com/bower/components/1.0.0"
}

At some point we will turn off the old registry, so please make this change as soon as possible. Switching bower to the the 1.0.0 tag of new registry should be 100% backwards-compatible, even for old Bower clients.

If you also want to preserve search / register / unregister functionality (please mind, it might be deprecated):

{
  "registry": {
    "default": "https://raw.githubusercontent.com/bower/components/1.0.0",
    "search": "https://bower.herokuapp.com",
    "register": "https://bower.herokuapp.com",
    "publish": "https://bower.herokuapp.com"
  }
}

Modifying registry

We opt-out of changing entries in the /packages folder directly. Instead, we encourage contributors to create migration scripts in /migrations directory that update packages appropriately. Pull Requests proposing these migrations shoudn't include any changes in the /packages directory. Only Maintainers of Bower Components are responsible for reviewing migrations, and running them periodically.

Respository uses semver for tagging, and uses the same nomenclature for migrations:

  • major migrations can break bower client, running them results in major semver bump
  • minor migrations are 100% backward-compatible, and add extra stuff, they result in minor semver bump

Currently the registry contains mixed-cased packages like jquery and jQuery, so you need to develop this repository on a case-sensitive filesystem. This excludes default OSX and Windows installations. Ubuntu is OK.

Private registry

You can fork this registry and point Bower to it instead, like so:

{
  "registry": "https://raw.githubusercontent.com/sheerun/components/1.0.0"
}

Please e-mail us if you're interested in private registry in non-public repository.

License

MIT

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.