Git Product home page Git Product logo

webcomponents.org's Introduction

webcomponents.org

A new version of webcomponents.org

The currently deployed version is on the old-site branch.

See DESIGN.md for more information.

Packages

This monorepo contains several npm packages:

  • @webcomponents/catalog-server: A data-only backend that indexes npm packages and provides a GraphQL API into the database
  • @webcomponents/catalog-api: GraphQL schemas and TypeScript interfaces for the registry API.
  • @webcomponents/custom-elements-manifest-tools: Tools for working with Custom Element Manifests
  • @webcomponents/internal-site-content: An HTML client served by the frontend server
  • @webcomponents/internal-site-client: JavaScript for the site
  • @webcomponents/internal-site-server: A frontend server that serves the user-facing webcompoents.org site

Quick Start

  1. Install dependencies:

    npm ci
  2. Run tests:

    npm test
  3. Start everything in development mode and watch for changes:

    npm start --watch
  4. Visit http://localhost:6451/bootstrap-packages to bootstrap the database with a default set of elements.

  5. Visit http://localhost:5450/catalog and search for "button" to see example elements.

Docker

Using Docker locally gives you the most realistic simulation of a production environment:

npm run start:docker

Ports

We use the following port scheme for consistency and to prevent collisions:

webcomponents.org's People

Contributors

abdonrd avatar aomarks avatar bkjohnson avatar btopro avatar dependabot[bot] avatar dfreedm avatar dstoc avatar exe-boss avatar flawyte avatar fluorescenthallucinogen avatar justinfagnani avatar keanulee avatar link2twenty avatar matthewp avatar pdgago avatar rictic avatar samuelli avatar sbeleidy avatar shans avatar timvdlippe avatar tony19 avatar would-code-again avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webcomponents.org's Issues

Accessibility review

We should get a thorough a11y review before we open this up at the Summit. When do you think we might be a good state to run through with an audit?

Many google-web-components don't resolve to a valid spdx license identifier

We can't show these elements on the site until our system understands their license correctly:

  • firebase-element
  • google-analytics
  • google-apis
  • google-calendar
  • google-castable-video
  • google-chart
  • google-hangout-button
  • google-map
  • google-sheets
  • google-signin
  • google-streetview-pano
  • google-url-shortener
  • google-web-components

eg. google-web-components includes "license": "BSD", in its bower.json but that isn't a valid SDPX Identifier.

google-feeds comes up as BSD-2-Clause based on the LICENSE file, but its bower.json says Apache-2.

@addyosmani @ebidel

Search API fails to parse query

Request: GET custom-elements-staging.appspot.com/api/search/'%22%3E%3Cimg%3E?offset=0 (View request logs)
Status: 500 Internal Server Error

Client shouldn't be making this request, but search API also shouldn't result in a 500.

Several elements don't generate documentation

  • PolymerElements/paper-radio-group
    • This has broken dependencies -- some actual dependencies (like paper-radio-button) are listed as devDependencies.
  • PolymerElements/paper-badge
  • PolymerElements/iron-test-helpers
  • PolymerElements/iron-iconset

Serve unbundled when developing locally

Either add a second app.yaml, or run polymer build in the top level directory and serve from build/ when testing build/ and serve top level for local unbundled testing.

Add deploy step to gulp? To run build and serve build/ version.

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.