https://github.com/unisonweb/ui-core-scripts
Various helper scripts to install and update ui-core (the Unison design system and adjacent UI libraries) in host applications.
https://github.com/unisonweb/ui-core-scripts
Last synced: about 1 year ago
JSON representation
Various helper scripts to install and update ui-core (the Unison design system and adjacent UI libraries) in host applications.
- Host: GitHub
- URL: https://github.com/unisonweb/ui-core-scripts
- Owner: unisonweb
- License: mit
- Created: 2022-12-13T18:03:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T21:24:13.000Z (over 1 year ago)
- Last Synced: 2025-04-15T00:15:35.233Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ui-core-scripts
Various helper scripts to install and update
[ui-core](https://github.com/unisonweb/ui-core) (the Unison design system and
adjacent UI libraries) in host applications.
These scripts are meant to be used from the host applications.
Suggest adding them in the host application "scripts" section of package.json like so:
```json
{
"scripts": {
"ui-core-check-css": "ui-core-check-css",
"ui-core-install": "ui-core-install",
"ui-core-update": "ui-core-update",
"postinstall": "ui-core-install"
}
}
```
### `ui-core-install` Usage
- To install with a specific sha:
```bash
npm run ui-core-install -- [SOME_UI_CORE_SHA]
```
Note: This sha needs to be in `unisonweb/ui-core` repository.
- To install with a specific repo & sha (e.g. forked repo):
```bash
npm run ui-core-install -- [SOME_UI_CORE_SHA] [SOME_UI_CORE_URL]
# e.g. SOME_UI_CORE_URL=https://github.com/some-user/ui-core
```
## Community
[Code of conduct](https://www.unisonweb.org/code-of-conduct/)