From d19a2515838d5cc7489915cc9ecffab0d7906729 Mon Sep 17 00:00:00 2001 From: Amy Lam Date: Wed, 13 Oct 2021 10:32:01 -0700 Subject: [PATCH] Add sb metadata design-system-website is reading /metadata.json as HTML Ref: https://github.com/hashicorp/structure/pull/81 and https://github.com/hashicorp/design-system-website/pull/20 --- addons/rose/metadata.json | 5 +++++ addons/rose/package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 addons/rose/metadata.json diff --git a/addons/rose/metadata.json b/addons/rose/metadata.json new file mode 100644 index 000000000..7ce820fad --- /dev/null +++ b/addons/rose/metadata.json @@ -0,0 +1,5 @@ +{ + "versions": { + "main": "https://boundary-ui-storybook.vercel.app" + } +} \ No newline at end of file diff --git a/addons/rose/package.json b/addons/rose/package.json index b9f7a7908..d89b64cb7 100644 --- a/addons/rose/package.json +++ b/addons/rose/package.json @@ -9,7 +9,7 @@ ], "scripts": { "build:development": "ember build", - "build": "ember build --environment=production", + "build": "ember build --environment=production && cp metadata.json dist/metadata.json", "lint": "npm-run-all --aggregate-output --continue-on-error --parallel 'lint:!(fix)'", "lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix", "lint:hbs": "ember-template-lint .",