Skip to content

wei-harness/uicore

 
 

Repository files navigation

This repo contains code used in the Harness CD Community Edition which is licensed under the PolyForm Shield License 1.0.0. This repo also contains code belonging to Harness CD Enterprise Plan which is licensed under the PolyForm Free Trial License 1.0.0. You may obtain a copy of these licenses in the licenses directory at the root of this repository.

This repository contains implementation of Next Generation UI Architecture.

Local development

  • yarn setup - to set up authentication to access Github Package Registry
  • yarn storybook - to start storybook
  • yarn ui:icons - to build icons, run this command after placing your icon svg inside src/icons/ directory

Then navigate to http://localhost:6006 to see storybook.

You can also use yalc package for development with nextgen ui

Install it globally

yarn global add yalc

Build and publish locally

yarn build && yalc publish

You'll see the published version like @harness/uicore@0.1.256 published in store.

Install it in nextgenui

yalc add @harness/uicore@0.1.256

Note: The version number must match to whatever was printed on the screen during publish.

Please do not commit any changes made by yalc in nextgenui.

Build

yarn build

Publish

Publishing is done using Github Actions and stored in Harness GitHub Package Registry.

As soon as the PR is merged into master, a new release will be built and published into Harness GitHub Package Registry.

Updating Image Snapshots

Run the following to update the Storybook Image Snapshots:

yarn run build-storybook && yarn run do-puppeteer-storyshots -u

Documentation is published at uicore.harness.io.

Packages

No packages published

Languages

  • TypeScript 80.3%
  • CSS 17.0%
  • Shell 1.4%
  • JavaScript 1.3%