Install guide

You need an EmDash site and a NuuStudio license. Your key is on your dashboard.

Connect the private registry

Add this to .npmrc in your site's root, and set NUU_LICENSE_KEY in your shell, CI and hosting environment. Keep the key out of git.

@nuustudio:registry=https://nuu.studio/api/npm/
//nuu.studio/api/npm/:_authToken=${NUU_LICENSE_KEY}

Install the plugin

pnpm add @nuustudio/emdash

npm and yarn work too. Prefer a file? Download the latest .tgz from your dashboard.

Register it in Astro

// astro.config.mjs
import { nuuStudio } from "@nuustudio/emdash";

export default defineConfig({
  integrations: [
    emdash({ plugins: [nuuStudio()] }),
  ],
});

Activate your license

In the EmDash admin, open NuuStudio settings and paste your key. The site's public address takes one seat. Local and staging addresses are free. To move a license, remove the site from your dashboard first.

Keep it updated

Run pnpm update @nuustudio/emdash and deploy. The admin also shows a notice when a new version is out. To automate it, add Renovate with the registry credentials:

// renovate.json
{
  "extends": ["config:recommended"],
  "hostRules": [
    { "matchHost": "https://nuu.studio/api/npm/", "token": "{{ secrets.NUU_LICENSE_KEY }}" }
  ],
  "packageRules": [
    { "matchPackageNames": ["@nuustudio/emdash"], "automerge": true }
  ]
}

If your license lapses, you keep every version released before it expired.