{"id":19149836,"url":"https://github.com/harness/uicore","last_synced_at":"2025-04-07T07:12:23.274Z","repository":{"id":36951497,"uuid":"323518097","full_name":"harness/uicore","owner":"harness","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-29T05:50:45.000Z","size":143632,"stargazers_count":12,"open_issues_count":0,"forks_count":14,"subscribers_count":59,"default_branch":"main","last_synced_at":"2025-03-29T08:02:52.112Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://uicore.harness.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harness.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-22T04:14:20.000Z","updated_at":"2025-03-29T05:44:53.000Z","dependencies_parsed_at":"2023-09-28T11:39:30.351Z","dependency_job_id":"39618c81-eb13-4c4b-82b4-02be72692582","html_url":"https://github.com/harness/uicore","commit_stats":{"total_commits":2837,"total_committers":140,"mean_commits":"20.264285714285716","dds":0.7564328516038068,"last_synced_commit":"0469907923d580906d98c3cefafaa875f7a98162"},"previous_names":[],"tags_count":715,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harness%2Fuicore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harness%2Fuicore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harness%2Fuicore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harness%2Fuicore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harness","download_url":"https://codeload.github.com/harness/uicore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608153,"owners_count":20965952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T08:09:47.816Z","updated_at":"2025-04-07T07:12:23.268Z","avatar_url":"https://github.com/harness.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repo contains code used in the [Harness CD Community Edition](https://github.com/harness/harness-cd-community) which is licensed under the [PolyForm Shield License 1.0.0](./licenses/PolyForm-Shield-1.0.0.txt). This repo also contains code belonging to Harness CD Enterprise Plan which is licensed under the [PolyForm Free Trial License 1.0.0](./licenses/PolyForm-Free-Trial-1.0.0.txt). You may obtain a copy of these licenses in the [licenses](./licenses/) directory at the root of this repository.\n\nThis repository contains implementation of [Next Generation UI Architecture](https://docs.google.com/document/d/1oe_cHcDyYhwjJ6QZqyOIlpUWGgYyeCIBfUOdElg2rBg/edit#heading=h.41cp29fl3vvn).\n\nThis repo uses a [monorepo architechture](https://monorepo.tools/). We are using [yarn workspaces](https://classic.yarnpkg.com/lang/en/docs/workspaces/) for dependency managment and [lerna](https://lerna.js.org/) for package publishing\n\nList of packages:\n\n- [@harness/design-system](./packages/design-system/)\n- [@harness/help-panel](./packages/help-panel/)\n- [@harness/icons](./packages/icons/)\n- [@harness/uicore](./packages/uicore/)\n- [@harness/use-modal](./packages/useModal/)\n\n## Branches\n\n- `main` branch is on v3 and uses formik v2\n- `v2` branch is on v2 and uses formik v1\n\n\u003e Note: If you need your fix/feature in UICore v2, please open a PR against v2 barnch too.\n\n## Local development\n\n- `yarn setup` - to set up authentication to access Github Package Registry\n- `yarn storybook` - to start storybook\n- `yarn build` - to build all the packages locally.\n\n\u003e Note: You will need to build the packages once before you start working on the codebase, else you will see error messages relating to package resolutions.\n\n## Icons\n\nIcons are under available `packages/icons` folder. Please follow below steps to add new icons -\n\n1. Place the new icon (in SVG format) inside `packages/icons/src` directory.\n2. compress svg images using https://vecta.io/nano\n3. remove width and height from svg\n4. Run `yarn ui:icons` (under the root directory)\n5. Commit all the changes and open a PR.\n\n**Note**: For `uicore/icons` to be auto published, please ensure to bump up the package version in `packages/icons/package.json` _(only if an immediate new release is required)_\n\n## Storybook\n\n`yarn storybook` - to start storybook\n\nThen navigate to [http://localhost:6006](http://localhost:6006) to see storybook.\n\nYou can also use `yalc` package for development with nextgen ui\n\nInstall it globally\n\n```\nyarn global add yalc\n```\n\nBuild and publish locally. This should be done inside the particular package's folder.\n\n```\n# package: @harness/uicore\n# dir: packages/uicore\nyarn build \u0026\u0026 yalc publish\n```\n\nYou'll see the published version like `@harness/uicore@0.1.256 published in store.`\n\nInstall it in nextgenui\n\n```\nyalc add @harness/uicore@0.1.256\n```\n\nNote: The version number must match to whatever was printed on the screen during publish.\n\nPlease do not commit any changes made by `yalc` in nextgenui.\n\n## Publish\n\nPublishing is done using Harness CI and stored in [Harness GitHub Package Registry](https://github.com/orgs/harness/packages).\n\nAs soon as the PR is merged into master, a new release will be built and published into [Harness GitHub Package Registry](https://github.com/orgs/harness/packages).\n\n## Updating Image Snapshots\n\nRun the following to update the Storybook Image Snapshots:\n\n```sh\nyarn run build-storybook \u0026\u0026 yarn run do-puppeteer-storyshots -u\n```\n\n\u003e note: You might want to set `PUPPETEER_EXECUTABLE_PATH=\"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\"` on MacOS\n\nDocumentation is published at [uicore.harness.io](http://uicore.harness.io/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharness%2Fuicore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharness%2Fuicore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharness%2Fuicore/lists"}