@unison-lang/ui-core-scripts

1.2.0 • Public • Published

ui-core-scripts

Various helper scripts to install and update 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:

{
  "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:

    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):

    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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @unison-lang/ui-core-scripts

    Weekly Downloads

    16

    Version

    1.2.0

    License

    none

    Unpacked Size

    13.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • hojberg
    • chris-penner