@linx-digital/nx-icons

1.1.3 • Public • Published

NX Icons

Automatically generate SVG Icons for the NX Design System based on the Figma NX Icon Library:

Installation

Install the Icons with the following command:

npm install --save-dev @linx-digital/nx-icons

Usage

Have a look at the dist folder inside node_modules: ./node_modules/@linx-digital/nx-icons/. There you will find a folder containing all the icons and a json file which will list all icons with their name, id and the svg contents.

Development

Conventional Commits

Please follow the Conventional Commits specification to make sure we can automatically determine the next release version if necessary.

Env Variables

To test and develop the workflow on your local machine, you need to setup an .env file in the root directory of the project with the following content:

FIGMA_ACCESS_TOKEN=XXX
FIGMA_ICONS_FILE_ID=XXX
NPM_TOKEN=XXX

Deployment

The Azure Devops job to build and deploy the Icons will be triggered as soon as the Figma Team Library file for the Icons got changed and published. In this case, the configured Figma Webhook will fire a request to the Express Server hosted on (Azure) App Services (https://linx-nx-figma-server.azurewebsites.net/). After the Express Server has verified that the request comes from the corresponding Figma file, it will trigger the Travis build via API.

Furthermore, Azure Devops is building as soon as a branch gets merged into the master branch. After successful linting, the Lyne Icons package will be published to npm. You can find the package on npm here.

Readme

Keywords

none

Package Sidebar

Install

npm i @linx-digital/nx-icons

Weekly Downloads

3

Version

1.1.3

License

ISC

Unpacked Size

5.15 MB

Total Files

5013

Last publish

Collaborators

  • giovanni-linxcommerce
  • luizahaaslinx
  • nelsoncunha
  • gbombassaro-linx
  • topogigiovanni