Custom Elements Storage
Branch: master
Clone or download
Latest commit 6127b4c Feb 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
env added SSL support Feb 9, 2019
src changed components directory name Feb 11, 2019
tests changed domy service tests Feb 6, 2019
.gitignore first commit Oct 26, 2018
.npmignore first commit Oct 26, 2018
CHANGELOG.md changed components directory name Feb 11, 2019
LICENSE.md first commit Oct 26, 2018
README.md Updated README file Feb 23, 2019
package.json changed components directory name Feb 11, 2019
tsconfig.json changed names for dom commands Dec 25, 2018
tslint.json added main file Dec 8, 2018
webpack.config.js changed env variables Feb 4, 2019

README.md

a Custom Elements storage

License NPM Issues

Installation

Install Domy package using NPM registry:

npm install -g domy-cli

Utilization

Sign up by using your username, password and email:

domy signup

Log in to the system from another computer or using another account:

domy login

Build the project by running Stencil compiler, Domy comes with the latest one:

domy compile

Publish all compiled components by submitting the whole directory:

domy publish --version 0.1.0

Execute the command in the root (base) directory of your project
The version is optional. Non-versioned components will be sent to the master branch

It's possible to publish just one component by passing its class name

domy publish MyComponent --version 0.1.0

Install the component in another project using its class name:

domy install MyComponent --version 0.1.0

Installed components will be tracked in package.json webcomponents compartment

To install all components listed in package.json webcomponents compartment, drop the class name:

domy install

Components are installed in the node_modules/@ directory and could be reused in another Stencil application:

// master is a non-versioned release
import "@/MyComponent/master" // or

// 0.1.0 is a versioned release
import "@/MyComponent/0.1.0"

Remove a component from the registry (unpublish it):

domy remove MyComponent --purge