How to use the oc.Registry function in oc

To help you get started, we’ve selected a few oc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github opencomponents / oc-template-react / acceptance-setup / __tests__ / acceptance.js View on Github external
(err, compiledInfo) => {
      if (err) {
        return done(err);

      registry = new Registry({
        local: true,
        discovery: true,
        verbosity: 0,
        path: path.join(__dirname, "../../acceptance-components"),
        port: registryPort,
        baseUrl: registryUrl,
        env: { name: "local" },
        hotReloading: false,
        templates: [require("../../packages/oc-template-react")]

      registry.start(err => {
        if (err) {
          return done(err);
        testServer = server(serverPort, err => {


A framework for developing and distributing html components

Latest version published 1 month ago

Package Health Score

78 / 100
Full package analysis