marcosvidolin / ugla

Web Componentes designed for the Angular ecosystem.

Home Page:https://ugla.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ugla

Open issues licence version angular Build Production

Versioning

Given a version number MAJOR.MINOR.PATCH, increment the:

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards-compatible manner, and
  3. PATCH version when you make backwards-compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

Contributing

Would you like to contribute to the Ugla project?

Ugla Library

To contribute to the Ugla project, you must first have an environment ready to run Angular.

Starting

Fork Ugla, make any changes you feel necessary and submit a Pull Request. PRs are evaluated and the code will be tested, if it meets our standards, will be integrated into the main code and a new version will be generated.

Running

To test at development time, run the npm start command. Remember, npm start executes ng serve.

Tests

Remember to submit any code snippets before executing the following commands and correcting possible alerts:

npm run lint

This command will run lint for both Typescript and SCSS.

Creating Components

To create a component, run the command:

ng g c components/<component name> --project=ugla

To create a directive, run the command:

ng g directive directives/<directive name> --project=ugla

To create a service, run the command:

ng g service services/<service name> --project=ugla

Testing on a Local Project

Run this command on Ugla root path:

npm run build-lib

The dist 'directory will be created with a file as follows: ugla-x.y.z.tgz`, where X, Y and Z is the version number.

Then go to the project you want to use Ugla and package.json by adding a line below the dependencies:

"ugla": "<ugla directory>/dist/ugla-x.y.z.tgz"

Run npm install on the project and Ugla will be installed and can be tested as if using a published version.

Oficial Site

Read more on: Ugla

Contributors

About

Web Componentes designed for the Angular ecosystem.

https://ugla.dev

License:MIT License


Languages

Language:TypeScript 58.0%Language:CSS 27.9%Language:HTML 12.4%Language:JavaScript 1.3%Language:Shell 0.4%