From 25ce676d3ab87f3ab349701badeb30f115049e6b Mon Sep 17 00:00:00 2001 From: castastrophe Date: Thu, 2 Jan 2025 22:27:33 -0500 Subject: [PATCH] build: integrate yarn constraints --- .github/actions/file-diff/package.json | 13 ++ .storybook/package.json | 21 +- components/accordion/package.json | 37 ++- components/actionbar/package.json | 43 +++- components/actionbutton/package.json | 37 ++- components/actiongroup/package.json | 37 ++- components/actionmenu/package.json | 43 +++- components/alertbanner/package.json | 43 +++- components/alertdialog/package.json | 45 +++- components/asset/package.json | 35 ++- components/assetcard/package.json | 37 ++- components/assetlist/package.json | 39 +++- components/avatar/package.json | 35 ++- components/badge/package.json | 37 ++- components/breadcrumb/package.json | 39 +++- components/button/package.json | 39 +++- components/buttongroup/package.json | 37 ++- components/calendar/package.json | 37 ++- components/card/package.json | 45 +++- components/checkbox/package.json | 37 ++- components/clearbutton/package.json | 37 ++- components/closebutton/package.json | 37 ++- components/coachindicator/package.json | 35 ++- components/coachmark/package.json | 47 ++-- components/colorarea/package.json | 37 ++- components/colorhandle/package.json | 39 +++- components/colorloupe/package.json | 35 ++- components/colorslider/package.json | 39 +++- components/colorwheel/package.json | 41 +++- components/combobox/package.json | 45 +++- components/commons/package.json | 11 + components/contextualhelp/package.json | 41 +++- components/datepicker/package.json | 43 +++- components/dial/package.json | 35 ++- components/dialog/package.json | 43 +++- components/divider/package.json | 35 ++- components/dropindicator/package.json | 37 ++- components/dropzone/package.json | 41 +++- components/fieldgroup/package.json | 41 +++- components/fieldlabel/package.json | 37 ++- components/floatingactionbutton/package.json | 35 ++- components/helptext/package.json | 37 ++- components/icon/package.json | 35 ++- components/illustratedmessage/package.json | 37 ++- components/infieldbutton/package.json | 37 ++- components/inlinealert/package.json | 39 +++- components/link/package.json | 35 ++- components/logicbutton/package.json | 36 ++- components/menu/package.json | 45 +++- components/miller/package.json | 41 +++- components/modal/package.json | 35 ++- components/opacitycheckerboard/package.json | 35 ++- components/page/package.json | 35 ++- components/pagination/package.json | 43 +++- components/picker/package.json | 45 +++- components/pickerbutton/package.json | 41 +++- components/popover/package.json | 43 +++- components/progressbar/package.json | 37 ++- components/progresscircle/package.json | 35 ++- components/radio/package.json | 37 ++- components/rating/package.json | 37 ++- components/search/package.json | 41 +++- components/sidenav/package.json | 37 ++- components/slider/package.json | 37 ++- components/splitview/package.json | 35 ++- components/statuslight/package.json | 35 ++- components/steplist/package.json | 39 +++- components/stepper/package.json | 43 +++- components/swatch/package.json | 37 ++- components/swatchgroup/package.json | 37 ++- components/switch/package.json | 35 ++- components/table/package.json | 43 +++- components/tabs/package.json | 41 +++- components/tag/package.json | 41 +++- components/taggroup/package.json | 37 ++- components/textfield/package.json | 37 ++- components/thumbnail/package.json | 37 ++- components/toast/package.json | 41 +++- components/tooltip/package.json | 37 ++- components/tray/package.json | 45 +++- components/treeview/package.json | 39 +++- components/typography/package.json | 35 ++- components/underlay/package.json | 36 ++- components/well/package.json | 35 ++- generator/package.json | 13 +- lint-staged.config.js | 2 +- package.json | 16 +- plugins/postcss-combininator/package.json | 9 + plugins/postcss-rgb-mapping/package.json | 9 + plugins/postcss-splitinator/package.json | 9 + plugins/stylelint-no-missing-var/package.json | 13 ++ .../package.json | 9 + .../package.json | 9 + .../stylelint-theme-alignment/package.json | 9 + tokens/package.json | 26 ++- ui-icons/package.json | 7 + yarn.config.cjs | 218 ++++++++++++++++++ 97 files changed, 2800 insertions(+), 721 deletions(-) create mode 100644 yarn.config.cjs diff --git a/.github/actions/file-diff/package.json b/.github/actions/file-diff/package.json index 4f2ddaeccf2..dafed252d50 100644 --- a/.github/actions/file-diff/package.json +++ b/.github/actions/file-diff/package.json @@ -5,7 +5,20 @@ "description": "A GitHub Action to compare asset sizes and generate a diff if changes are found.", "license": "Apache-2.0", "author": "Adobe", + "homepage": "https://opensource.adobe.com/spectrum-css", + "repository": { + "type": "git", + "url": "https://github.com/adobe/spectrum-css.git", + "directory": ".github/actions/file-diff" + }, + "bugs": { + "url": "https://github.com/adobe/spectrum-css/issues" + }, "main": "index.js", + "files": [ + "*.md", + "package.json" + ], "dependencies": { "@actions/artifact": "^2.2.0", "@actions/core": "^1.11.1", diff --git a/.storybook/package.json b/.storybook/package.json index 900c16f6c94..d6125c40ef8 100644 --- a/.storybook/package.json +++ b/.storybook/package.json @@ -5,6 +5,14 @@ "license": "Apache-2.0", "author": "Adobe", "homepage": "https://opensource.adobe.com/spectrum-css/preview", + "repository": { + "type": "git", + "url": "https://github.com/adobe/spectrum-css.git", + "directory": ".storybook" + }, + "bugs": { + "url": "https://github.com/adobe/spectrum-css/issues" + }, "type": "module", "exports": { ".": "./preview.js", @@ -24,6 +32,10 @@ "./types/*": "./types/*" }, "module": "main.js", + "files": [ + "*.md", + "package.json" + ], "scripts": { "build": "cross-env NODE_ENV=development storybook build --config-dir . --output-dir ./storybook-static" }, @@ -67,5 +79,12 @@ "rollup-plugin-postcss-lit": "^2.1.0", "storybook": "^8.4.7", "vite": "^5.4.11" - } + }, + "keywords": [ + "design-system", + "spectrum", + "spectrum-css", + "adobe", + "adobe-spectrum" + ] } diff --git a/components/accordion/package.json b/components/accordion/package.json index 978a7979991..ea222c89ef0 100644 --- a/components/accordion/package.json +++ b/components/accordion/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS accordion component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/accordion", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-accordion--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build accordion", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare accordion", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report accordion" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/actionbar/package.json b/components/actionbar/package.json index 462b020934e..0500d445db0 100644 --- a/components/actionbar/package.json +++ b/components/actionbar/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS actionbar component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/actionbar", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-actionbar--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build actionbar", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare actionbar", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report actionbar" + }, "peerDependencies": { "@spectrum-css/actiongroup": ">=5", "@spectrum-css/closebutton": ">=5", @@ -38,17 +52,24 @@ "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/actiongroup": "workspace:^", - "@spectrum-css/closebutton": "workspace:^", - "@spectrum-css/fieldlabel": "workspace:^", - "@spectrum-css/popover": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/actiongroup": "5.2.0", + "@spectrum-css/closebutton": "5.3.0", + "@spectrum-css/fieldlabel": "8.2.0", + "@spectrum-css/popover": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/actionbutton/package.json b/components/actionbutton/package.json index 328f105a476..4e07efd19d9 100644 --- a/components/actionbutton/package.json +++ b/components/actionbutton/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS action button component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/actionbutton", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-actionbutton--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build actionbutton", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare actionbutton", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report actionbutton" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" @@ -41,14 +55,21 @@ }, "devDependencies": { "@spectrum-css/commons": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/actiongroup/package.json b/components/actiongroup/package.json index 457bcb4ab6d..580eee5557c 100644 --- a/components/actiongroup/package.json +++ b/components/actiongroup/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS actiongroup component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/actiongroup", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-actiongroup--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build actiongroup", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare actiongroup", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report actiongroup" + }, "peerDependencies": { "@spectrum-css/actionbutton": ">=6", "@spectrum-css/tokens": ">=14" @@ -39,11 +53,22 @@ "optional": true } }, + "devDependencies": { + "@spectrum-css/actionbutton": "6.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" + }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/actionmenu/package.json b/components/actionmenu/package.json index a71c7289c15..e030771728b 100644 --- a/components/actionmenu/package.json +++ b/components/actionmenu/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS actionmenu component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/actionmenu", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-actionmenu--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build actionmenu", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare actionmenu", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report actionmenu" + }, "peerDependencies": { "@spectrum-css/actionbutton": ">=6", "@spectrum-css/icon": ">=7", @@ -38,17 +52,24 @@ "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/actionbutton": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/menu": "workspace:^", - "@spectrum-css/popover": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/actionbutton": "6.2.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/menu": "7.2.0", + "@spectrum-css/popover": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/alertbanner/package.json b/components/alertbanner/package.json index 011ddf2a6e1..6037e26769d 100644 --- a/components/alertbanner/package.json +++ b/components/alertbanner/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS alertbanner component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/alertbanner", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-alertbanner--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build alertbanner", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare alertbanner", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report alertbanner" + }, "peerDependencies": { "@spectrum-css/button": ">=13", "@spectrum-css/closebutton": ">=5", @@ -43,17 +57,24 @@ } }, "devDependencies": { - "@spectrum-css/button": "workspace:^", - "@spectrum-css/closebutton": "workspace:^", - "@spectrum-css/divider": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/button": "13.5.0", + "@spectrum-css/closebutton": "5.3.0", + "@spectrum-css/divider": "3.2.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/alertdialog/package.json b/components/alertdialog/package.json index 0196af89c14..ac3fc52b900 100644 --- a/components/alertdialog/package.json +++ b/components/alertdialog/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS alertdialog component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-alertdialog--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build alertdialog", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare alertdialog", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report alertdialog" + }, "peerDependencies": { "@spectrum-css/buttongroup": ">=7", "@spectrum-css/divider": ">=3", @@ -47,18 +61,25 @@ } }, "devDependencies": { - "@spectrum-css/buttongroup": "workspace:^", - "@spectrum-css/divider": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/modal": "workspace:^", - "@spectrum-css/tokens": "workspace:^", - "@spectrum-css/underlay": "workspace:^" + "@spectrum-css/buttongroup": "7.2.0", + "@spectrum-css/divider": "3.2.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/modal": "5.2.0", + "@spectrum-css/tokens": "14.6.0", + "@spectrum-css/underlay": "4.2.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/asset/package.json b/components/asset/package.json index 8b1065ab252..69bb9ce19d8 100644 --- a/components/asset/package.json +++ b/components/asset/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS asset component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/asset", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-asset--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build asset", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare asset", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report asset" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/assetcard/package.json b/components/assetcard/package.json index 2ebd8e64ea7..1537bdf48e4 100644 --- a/components/assetcard/package.json +++ b/components/assetcard/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS asset card component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/assetcard", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-assetcard--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build assetcard", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare assetcard", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report assetcard" + }, "peerDependencies": { "@spectrum-css/checkbox": ">=9", "@spectrum-css/tokens": ">=14" @@ -40,14 +54,21 @@ } }, "devDependencies": { - "@spectrum-css/checkbox": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/checkbox": "9.2.1", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/assetlist/package.json b/components/assetlist/package.json index 85243216f1b..d769c8bdf2c 100644 --- a/components/assetlist/package.json +++ b/components/assetlist/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS assetlist component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/assetlist", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-assetlist--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build assetlist", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare assetlist", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report assetlist" + }, "peerDependencies": { "@spectrum-css/checkbox": ">=9", "@spectrum-css/icon": ">=7", @@ -44,15 +58,22 @@ } }, "devDependencies": { - "@spectrum-css/checkbox": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/checkbox": "9.2.1", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/avatar/package.json b/components/avatar/package.json index df70e495604..79462484d8d 100644 --- a/components/avatar/package.json +++ b/components/avatar/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS avatar component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/avatar", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-avatar--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build avatar", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare avatar", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report avatar" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/badge/package.json b/components/badge/package.json index d34fa1d02ef..5d3cb166165 100644 --- a/components/badge/package.json +++ b/components/badge/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS badge component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/badge", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-badge--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build badge", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare badge", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report badge" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" @@ -40,14 +54,21 @@ } }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/breadcrumb/package.json b/components/breadcrumb/package.json index 9571b8a06f8..b80ebf22b9d 100644 --- a/components/breadcrumb/package.json +++ b/components/breadcrumb/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS breadcrumb component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/breadcrumb", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-breadcrumb--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build breadcrumb", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare breadcrumb", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report breadcrumb" + }, "peerDependencies": { "@spectrum-css/actionbutton": ">=6", "@spectrum-css/icon": ">=7", @@ -44,15 +58,22 @@ } }, "devDependencies": { - "@spectrum-css/actionbutton": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/actionbutton": "6.2.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/button/package.json b/components/button/package.json index fe1b973990c..c9682dbde34 100644 --- a/components/button/package.json +++ b/components/button/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS button component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/button-accent", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-button--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build button", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare button", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report button" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/progresscircle": ">=3", @@ -45,15 +59,22 @@ }, "devDependencies": { "@spectrum-css/commons": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/progresscircle": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/progresscircle": "3.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/buttongroup/package.json b/components/buttongroup/package.json index 67ea4f80d30..67f50055808 100644 --- a/components/buttongroup/package.json +++ b/components/buttongroup/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS buttongroup component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/buttongroup", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-buttongroup--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build buttongroup", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare buttongroup", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report buttongroup" + }, "peerDependencies": { "@spectrum-css/button": ">=13", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/button": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/button": "13.5.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/calendar/package.json b/components/calendar/package.json index 7a7b9ea0b20..c7c6e4b4640 100644 --- a/components/calendar/package.json +++ b/components/calendar/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS calendar component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/calendar", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-calendar--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build calendar", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare calendar", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report calendar" + }, "peerDependencies": { "@spectrum-css/actionbutton": ">=6", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/actionbutton": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/actionbutton": "6.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/card/package.json b/components/card/package.json index 5391f853903..78f8ae747aa 100644 --- a/components/card/package.json +++ b/components/card/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS card component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/card", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-card--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build card", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare card", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report card" + }, "peerDependencies": { "@spectrum-css/actionbutton": ">=6", "@spectrum-css/asset": ">=5", @@ -60,19 +74,26 @@ } }, "devDependencies": { - "@spectrum-css/actionbutton": "workspace:^", - "@spectrum-css/asset": "workspace:^", - "@spectrum-css/checkbox": "workspace:^", - "@spectrum-css/icon": "workspace:^", + "@spectrum-css/actionbutton": "6.2.0", + "@spectrum-css/asset": "5.2.0", + "@spectrum-css/checkbox": "9.2.1", + "@spectrum-css/icon": "7.2.0", "@spectrum-css/quickaction": "^3.1.1", - "@spectrum-css/tokens": "workspace:^", - "@spectrum-css/typography": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "@spectrum-css/typography": "6.2.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/checkbox/package.json b/components/checkbox/package.json index 242eda05d6a..b98679b3c53 100644 --- a/components/checkbox/package.json +++ b/components/checkbox/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS checkbox component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/checkbox", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-checkbox--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build checkbox", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare checkbox", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report checkbox" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/clearbutton/package.json b/components/clearbutton/package.json index 0f867492889..c5814f03697 100644 --- a/components/clearbutton/package.json +++ b/components/clearbutton/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS clearbutton component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/clearbutton", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-clearbutton--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build clearbutton", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare clearbutton", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report clearbutton" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/closebutton/package.json b/components/closebutton/package.json index 956935c2e2a..c36fc68a12c 100644 --- a/components/closebutton/package.json +++ b/components/closebutton/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS close button component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/closebutton", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-closebutton--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,29 +21,50 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build closebutton", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare closebutton", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report closebutton" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" }, "devDependencies": { "@spectrum-css/commons": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/coachindicator/package.json b/components/coachindicator/package.json index 133a5c22db4..86c09af8eb0 100644 --- a/components/coachindicator/package.json +++ b/components/coachindicator/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS Coach Indicator component ", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/coachindicator", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-coachindicator--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build coachindicator", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare coachindicator", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report coachindicator" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14.6.0" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/coachmark/package.json b/components/coachmark/package.json index d9f385b5e20..d5212cc903c 100644 --- a/components/coachmark/package.json +++ b/components/coachmark/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS coachmark component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/coachmark", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-coachmark--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build coachmark", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare coachmark", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report coachmark" + }, "peerDependencies": { "@spectrum-css/actionbutton": ">=6", "@spectrum-css/actionmenu": ">=6", @@ -45,19 +59,26 @@ } }, "devDependencies": { - "@spectrum-css/actionbutton": "workspace:^", - "@spectrum-css/actionmenu": "workspace:^", - "@spectrum-css/button": "workspace:^", - "@spectrum-css/buttongroup": "workspace:^", - "@spectrum-css/menu": "workspace:^", - "@spectrum-css/popover": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/actionbutton": "6.2.0", + "@spectrum-css/actionmenu": "6.2.0", + "@spectrum-css/button": "13.5.0", + "@spectrum-css/buttongroup": "7.2.0", + "@spectrum-css/menu": "7.2.0", + "@spectrum-css/popover": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/colorarea/package.json b/components/colorarea/package.json index 1fa61f7fe6e..d46be6f69ef 100644 --- a/components/colorarea/package.json +++ b/components/colorarea/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS Color Area component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/colorarea", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-colorarea--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build colorarea", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare colorarea", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report colorarea" + }, "peerDependencies": { "@spectrum-css/colorhandle": ">=8", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/colorhandle": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/colorhandle": "8.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/colorhandle/package.json b/components/colorhandle/package.json index a68a5f24382..7c47d852408 100644 --- a/components/colorhandle/package.json +++ b/components/colorhandle/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS Color Handle component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/colorhandle", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-colorhandle--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build colorhandle", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare colorhandle", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report colorhandle" + }, "peerDependencies": { "@spectrum-css/colorloupe": ">=5", "@spectrum-css/opacitycheckerboard": ">=2", @@ -41,15 +55,22 @@ } }, "devDependencies": { - "@spectrum-css/colorloupe": "workspace:^", - "@spectrum-css/opacitycheckerboard": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/colorloupe": "5.2.0", + "@spectrum-css/opacitycheckerboard": "2.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/colorloupe/package.json b/components/colorloupe/package.json index 5873ba621c0..f86609468d9 100644 --- a/components/colorloupe/package.json +++ b/components/colorloupe/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS Color Loupe component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/colorloupe", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-colorloupe--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build colorloupe", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare colorloupe", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report colorloupe" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/colorslider/package.json b/components/colorslider/package.json index 889c092b831..21cc648828b 100644 --- a/components/colorslider/package.json +++ b/components/colorslider/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS Color slider component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/colorslider", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-colorslider--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,30 +21,51 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build colorslider", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare colorslider", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report colorslider" + }, "peerDependencies": { "@spectrum-css/colorhandle": ">=8", "@spectrum-css/opacitycheckerboard": ">=2", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/colorhandle": "workspace:^", - "@spectrum-css/opacitycheckerboard": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/colorhandle": "8.2.0", + "@spectrum-css/opacitycheckerboard": "2.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/colorwheel/package.json b/components/colorwheel/package.json index 71e4df7db54..019092f3ec7 100644 --- a/components/colorwheel/package.json +++ b/components/colorwheel/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS Color Area component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/colorwheel", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-colorwheel--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build colorwheel", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare colorwheel", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report colorwheel" + }, "peerDependencies": { "@spectrum-css/colorarea": ">=5", "@spectrum-css/colorhandle": ">=8", @@ -45,16 +59,23 @@ } }, "devDependencies": { - "@spectrum-css/colorarea": "workspace:^", - "@spectrum-css/colorhandle": "workspace:^", - "@spectrum-css/colorloupe": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/colorarea": "5.2.0", + "@spectrum-css/colorhandle": "8.2.0", + "@spectrum-css/colorloupe": "5.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/combobox/package.json b/components/combobox/package.json index f49c3be06d2..7ac9f4d6634 100644 --- a/components/combobox/package.json +++ b/components/combobox/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS combobox component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-combobox--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build combobox", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare combobox", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report combobox" + }, "peerDependencies": { "@spectrum-css/menu": ">=7", "@spectrum-css/pickerbutton": ">=5", @@ -44,18 +58,25 @@ } }, "devDependencies": { - "@spectrum-css/menu": "workspace:^", - "@spectrum-css/pickerbutton": "workspace:^", - "@spectrum-css/popover": "workspace:^", - "@spectrum-css/progresscircle": "workspace:^", - "@spectrum-css/textfield": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/menu": "7.2.0", + "@spectrum-css/pickerbutton": "5.2.0", + "@spectrum-css/popover": "7.2.0", + "@spectrum-css/progresscircle": "3.2.0", + "@spectrum-css/textfield": "7.3.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/commons/package.json b/components/commons/package.json index 2e480bf4bb2..2f998bd86e4 100644 --- a/components/commons/package.json +++ b/components/commons/package.json @@ -14,12 +14,23 @@ "url": "https://github.com/adobe/spectrum-css/issues" }, "main": "index.css", + "files": [ + "*.md", + "package.json" + ], "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { "@spectrum-css/tokens": "workspace:^" }, + "keywords": [ + "design-system", + "spectrum", + "spectrum-css", + "adobe", + "adobe-spectrum" + ], "publishConfig": { "access": "public" } diff --git a/components/contextualhelp/package.json b/components/contextualhelp/package.json index 40e540604aa..74662e24d2a 100644 --- a/components/contextualhelp/package.json +++ b/components/contextualhelp/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS contextualhelp component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-contextualhelp--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build contextualhelp", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare contextualhelp", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report contextualhelp" + }, "peerDependencies": { "@spectrum-css/actionbutton": ">=6", "@spectrum-css/link": ">=5", @@ -42,16 +56,23 @@ } }, "devDependencies": { - "@spectrum-css/actionbutton": "workspace:^", - "@spectrum-css/link": "workspace:^", - "@spectrum-css/popover": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/actionbutton": "6.2.0", + "@spectrum-css/link": "5.2.0", + "@spectrum-css/popover": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/datepicker/package.json b/components/datepicker/package.json index 15d38b0963d..dcdc17be2e2 100644 --- a/components/datepicker/package.json +++ b/components/datepicker/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS datepicker component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-datepicker--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build datepicker", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare datepicker", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report datepicker" + }, "peerDependencies": { "@spectrum-css/calendar": ">=5", "@spectrum-css/pickerbutton": ">=5", @@ -38,17 +52,24 @@ "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/calendar": "workspace:^", - "@spectrum-css/pickerbutton": "workspace:^", - "@spectrum-css/popover": "workspace:^", - "@spectrum-css/textfield": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/calendar": "5.3.0", + "@spectrum-css/pickerbutton": "5.2.0", + "@spectrum-css/popover": "7.2.0", + "@spectrum-css/textfield": "7.3.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/dial/package.json b/components/dial/package.json index 0ba00453d5e..5f97f242c41 100644 --- a/components/dial/package.json +++ b/components/dial/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS dial component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/dial", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-dial--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build dial", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare dial", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report dial" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/dialog/package.json b/components/dialog/package.json index 128c8e408c0..d9f17e07ef4 100644 --- a/components/dialog/package.json +++ b/components/dialog/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS dialog component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/dialog", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-dialog--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build dialog", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare dialog", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report dialog" + }, "peerDependencies": { "@spectrum-css/closebutton": ">=5", "@spectrum-css/divider": ">=3", @@ -50,17 +64,24 @@ }, "devDependencies": { "@spectrum-css/buttongroup": "workspace:^", - "@spectrum-css/closebutton": "workspace:^", - "@spectrum-css/divider": "workspace:^", - "@spectrum-css/modal": "workspace:^", - "@spectrum-css/tokens": "workspace:^", - "@spectrum-css/underlay": "workspace:^" + "@spectrum-css/closebutton": "5.3.0", + "@spectrum-css/divider": "3.2.0", + "@spectrum-css/modal": "5.2.0", + "@spectrum-css/tokens": "14.6.0", + "@spectrum-css/underlay": "4.2.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/divider/package.json b/components/divider/package.json index f9d255af819..f30d9045c99 100644 --- a/components/divider/package.json +++ b/components/divider/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS divider component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/divider", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-divider--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build divider", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare divider", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report divider" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/dropindicator/package.json b/components/dropindicator/package.json index dc07373203e..efe5a55bd91 100644 --- a/components/dropindicator/package.json +++ b/components/dropindicator/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS dropindicator component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/dropindicator", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-dropindicator--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build dropindicator", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare dropindicator", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report dropindicator" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/dropzone/package.json b/components/dropzone/package.json index 4fb44cb6c3b..e69789b19ed 100644 --- a/components/dropzone/package.json +++ b/components/dropzone/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS dropzone component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/dropzone", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-dropzone--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build dropzone", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare dropzone", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report dropzone" + }, "peerDependencies": { "@spectrum-css/actionbutton": ">=6", "@spectrum-css/illustratedmessage": ">=7", @@ -45,16 +59,23 @@ } }, "devDependencies": { - "@spectrum-css/actionbutton": "workspace:^", - "@spectrum-css/illustratedmessage": "workspace:^", - "@spectrum-css/link": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/actionbutton": "6.2.0", + "@spectrum-css/illustratedmessage": "7.2.0", + "@spectrum-css/link": "5.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/fieldgroup/package.json b/components/fieldgroup/package.json index 4cad0ed5664..227e4b9da16 100644 --- a/components/fieldgroup/package.json +++ b/components/fieldgroup/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS fieldgroup component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/fieldgroup", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-fieldgroup--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build fieldgroup", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare fieldgroup", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report fieldgroup" + }, "peerDependencies": { "@spectrum-css/checkbox": ">=9", "@spectrum-css/helptext": ">=5", @@ -48,16 +62,23 @@ } }, "devDependencies": { - "@spectrum-css/checkbox": "workspace:^", - "@spectrum-css/helptext": "workspace:^", - "@spectrum-css/radio": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/checkbox": "9.2.1", + "@spectrum-css/helptext": "5.2.0", + "@spectrum-css/radio": "9.4.1", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/fieldlabel/package.json b/components/fieldlabel/package.json index 3abf4885c02..86a6ff49aaf 100644 --- a/components/fieldlabel/package.json +++ b/components/fieldlabel/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS fieldlabel component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/fieldlabel", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-fieldlabel--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build fieldlabel", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare fieldlabel", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report fieldlabel" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/floatingactionbutton/package.json b/components/floatingactionbutton/package.json index d7e065bc10f..72fca3d4b94 100644 --- a/components/floatingactionbutton/package.json +++ b/components/floatingactionbutton/package.json @@ -5,7 +5,7 @@ "license": "Apache-2.0", "author": "Adobe", "contributors": [], - "homepage": "https://opensource.adobe.com/spectrum-css/", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-floatingactionbutton--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -22,26 +22,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build floatingactionbutton", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare floatingactionbutton", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report floatingactionbutton" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/helptext/package.json b/components/helptext/package.json index c09a64c5ff3..aeb28dfc37d 100644 --- a/components/helptext/package.json +++ b/components/helptext/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS helptext component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/helptext", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-helptext--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build helptext", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare helptext", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report helptext" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/icon/package.json b/components/icon/package.json index 293aeaf0f96..458d1ac56a5 100644 --- a/components/icon/package.json +++ b/components/icon/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS icon component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-icon--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build icon", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare icon", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report icon" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/illustratedmessage/package.json b/components/illustratedmessage/package.json index 91cbbb9f7e4..213f12f65e6 100644 --- a/components/illustratedmessage/package.json +++ b/components/illustratedmessage/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS illustratedmessage component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/illustratedmessage", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-illustratedmessage--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build illustratedmessage", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare illustratedmessage", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report illustratedmessage" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14", "@spectrum-css/typography": ">=6" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^", - "@spectrum-css/typography": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "@spectrum-css/typography": "6.2.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/infieldbutton/package.json b/components/infieldbutton/package.json index 8fc651ed416..332b45fa024 100644 --- a/components/infieldbutton/package.json +++ b/components/infieldbutton/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS infield button component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/infieldbutton", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-infieldbutton--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build infieldbutton", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare infieldbutton", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report infieldbutton" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" @@ -40,14 +54,21 @@ } }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/inlinealert/package.json b/components/inlinealert/package.json index 139d9acbf79..898e679d8ff 100644 --- a/components/inlinealert/package.json +++ b/components/inlinealert/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS in-line alert component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/inlinealert", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-inlinealert--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build inlinealert", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare inlinealert", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report inlinealert" + }, "peerDependencies": { "@spectrum-css/button": ">=13", "@spectrum-css/icon": ">=7", @@ -41,15 +55,22 @@ } }, "devDependencies": { - "@spectrum-css/button": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/button": "13.5.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/link/package.json b/components/link/package.json index dbe72dbc99e..fdad50649d2 100644 --- a/components/link/package.json +++ b/components/link/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS link component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/link", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-link--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build link", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare link", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report link" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/logicbutton/package.json b/components/logicbutton/package.json index dda75daeb7d..173f31c4f25 100644 --- a/components/logicbutton/package.json +++ b/components/logicbutton/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS logicbutton component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/logicbutton", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-logicbutton--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,48 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build logicbutton", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare logicbutton", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report logicbutton" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/commons": "workspace:^" + "@spectrum-css/commons": "workspace:^", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/menu/package.json b/components/menu/package.json index f8565467dba..e828f33d608 100644 --- a/components/menu/package.json +++ b/components/menu/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS menu component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/menu", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-menu--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build menu", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare menu", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report menu" + }, "peerDependencies": { "@spectrum-css/checkbox": ">=9", "@spectrum-css/divider": ">=3", @@ -53,18 +67,25 @@ } }, "devDependencies": { - "@spectrum-css/checkbox": "workspace:^", - "@spectrum-css/divider": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/switch": "workspace:^", - "@spectrum-css/tokens": "workspace:^", - "@spectrum-css/tray": "workspace:^" + "@spectrum-css/checkbox": "9.2.1", + "@spectrum-css/divider": "3.2.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/switch": "5.2.0", + "@spectrum-css/tokens": "14.6.0", + "@spectrum-css/tray": "3.2.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/miller/package.json b/components/miller/package.json index a09980c654e..404b2293bfe 100644 --- a/components/miller/package.json +++ b/components/miller/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS miller component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/miller", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-miller--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build miller", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare miller", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report miller" + }, "peerDependencies": { "@spectrum-css/assetlist": ">=6", "@spectrum-css/checkbox": ">=9", @@ -37,16 +51,23 @@ "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/assetlist": "workspace:^", - "@spectrum-css/checkbox": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/assetlist": "6.4.0", + "@spectrum-css/checkbox": "9.2.1", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/modal/package.json b/components/modal/package.json index e2b52f1af59..f62ebb1b671 100644 --- a/components/modal/package.json +++ b/components/modal/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS modal component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/modal", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-modal--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,27 +21,48 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build modal", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare modal", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report modal" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { "@spectrum-css/commons": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/opacitycheckerboard/package.json b/components/opacitycheckerboard/package.json index 4e25dbc1d49..577af437b9f 100644 --- a/components/opacitycheckerboard/package.json +++ b/components/opacitycheckerboard/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS opacitycheckerboard component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-opacitycheckerboard--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build opacitycheckerboard", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare opacitycheckerboard", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report opacitycheckerboard" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/page/package.json b/components/page/package.json index 64690a19fa0..110f1879346 100644 --- a/components/page/package.json +++ b/components/page/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS page component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/page", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-page--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build page", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare page", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report page" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/pagination/package.json b/components/pagination/package.json index 4bc388c7f2c..7acb6614574 100644 --- a/components/pagination/package.json +++ b/components/pagination/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS Pagination component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/pagination", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-pagination--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build pagination", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare pagination", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report pagination" + }, "peerDependencies": { "@spectrum-css/actionbutton": ">=6", "@spectrum-css/button": ">=13", @@ -39,18 +53,25 @@ "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/actionbutton": "workspace:^", - "@spectrum-css/button": "workspace:^", - "@spectrum-css/icon": "workspace:^", + "@spectrum-css/actionbutton": "6.2.0", + "@spectrum-css/button": "13.5.0", + "@spectrum-css/icon": "7.2.0", "@spectrum-css/splitbutton": "^8.1.2", - "@spectrum-css/textfield": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/textfield": "7.3.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/picker/package.json b/components/picker/package.json index 840c99e1b3d..b1f8e221625 100644 --- a/components/picker/package.json +++ b/components/picker/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS picker component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/picker", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-picker--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build picker", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare picker", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report picker" + }, "peerDependencies": { "@spectrum-css/helptext": ">=5", "@spectrum-css/icon": ">=7", @@ -48,18 +62,25 @@ }, "devDependencies": { "@spectrum-css/commons": "workspace:^", - "@spectrum-css/helptext": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/menu": "workspace:^", - "@spectrum-css/popover": "workspace:^", - "@spectrum-css/progresscircle": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/helptext": "5.2.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/menu": "7.2.0", + "@spectrum-css/popover": "7.2.0", + "@spectrum-css/progresscircle": "3.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/pickerbutton/package.json b/components/pickerbutton/package.json index 281ede12f1b..02894e0b57a 100644 --- a/components/pickerbutton/package.json +++ b/components/pickerbutton/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS picker button component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/pickerbutton", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-pickerbutton--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build pickerbutton", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare pickerbutton", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report pickerbutton" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/menu": ">=7", @@ -37,16 +51,23 @@ "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/menu": "workspace:^", - "@spectrum-css/popover": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/menu": "7.2.0", + "@spectrum-css/popover": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/popover/package.json b/components/popover/package.json index 961b825cddf..a790806b599 100644 --- a/components/popover/package.json +++ b/components/popover/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS popover component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/popover", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-popover--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build popover", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare popover", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report popover" + }, "peerDependencies": { "@spectrum-css/alertdialog": ">=2", "@spectrum-css/dialog": ">=10", @@ -46,18 +60,25 @@ } }, "devDependencies": { - "@spectrum-css/alertdialog": "workspace:^", + "@spectrum-css/alertdialog": "2.2.0", "@spectrum-css/commons": "workspace:^", - "@spectrum-css/dialog": "workspace:^", - "@spectrum-css/divider": "workspace:^", - "@spectrum-css/menu": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/dialog": "10.2.0", + "@spectrum-css/divider": "3.2.0", + "@spectrum-css/menu": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/progressbar/package.json b/components/progressbar/package.json index da26db33092..7a0a0c35ce3 100644 --- a/components/progressbar/package.json +++ b/components/progressbar/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS progress bar component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/progressbar", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-progressbar--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build progressbar", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare progressbar", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report progressbar" + }, "peerDependencies": { "@spectrum-css/fieldlabel": ">=8", "@spectrum-css/tokens": ">=14" @@ -40,14 +54,21 @@ } }, "devDependencies": { - "@spectrum-css/fieldlabel": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/fieldlabel": "8.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/progresscircle/package.json b/components/progresscircle/package.json index 8587d222a04..fa79d32ca0d 100644 --- a/components/progresscircle/package.json +++ b/components/progresscircle/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS progress circle component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/progresscircle", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-progresscircle--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build progresscircle", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare progresscircle", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report progresscircle" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/radio/package.json b/components/radio/package.json index 3db57b4f02e..27eb2a9fee4 100644 --- a/components/radio/package.json +++ b/components/radio/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS radio component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/radio", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-radio--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build radio", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare radio", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report radio" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/rating/package.json b/components/rating/package.json index 2413dd9f806..3588fecfac9 100644 --- a/components/rating/package.json +++ b/components/rating/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS rating component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/rating", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-rating--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build rating", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare rating", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report rating" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/search/package.json b/components/search/package.json index ef798f7c4d2..aaeeaca183c 100644 --- a/components/search/package.json +++ b/components/search/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS search component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/search", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-search--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build search", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare search", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report search" + }, "peerDependencies": { "@spectrum-css/clearbutton": ">=6", "@spectrum-css/icon": ">=7", @@ -37,16 +51,23 @@ "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/clearbutton": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/textfield": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/clearbutton": "6.4.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/textfield": "7.3.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/sidenav/package.json b/components/sidenav/package.json index f17cc275c95..01a1b4ce9fc 100644 --- a/components/sidenav/package.json +++ b/components/sidenav/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS sidenav component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/sidenav", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-sidenav--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build sidenav", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare sidenav", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report sidenav" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" @@ -40,14 +54,21 @@ } }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/slider/package.json b/components/slider/package.json index fb047af5489..cb769289a81 100644 --- a/components/slider/package.json +++ b/components/slider/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS slider component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/slider", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-slider--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build slider", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare slider", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report slider" + }, "peerDependencies": { "@spectrum-css/stepper": ">=6", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/stepper": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/stepper": "6.3.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/splitview/package.json b/components/splitview/package.json index 93a0a7e36c1..743ad955ff7 100644 --- a/components/splitview/package.json +++ b/components/splitview/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS splitview component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/splitview", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-splitview--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build splitview", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare splitview", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report splitview" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/statuslight/package.json b/components/statuslight/package.json index 1ddbb84bc8a..5cb3b334467 100644 --- a/components/statuslight/package.json +++ b/components/statuslight/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS statuslight component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/statuslight", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-statuslight--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build statuslight", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare statuslight", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report statuslight" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/steplist/package.json b/components/steplist/package.json index 428b2e91ed0..54d43fde787 100644 --- a/components/steplist/package.json +++ b/components/steplist/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS steplist component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/steplist", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-steplist--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build steplist", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare steplist", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report steplist" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14", @@ -41,15 +55,22 @@ } }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^", - "@spectrum-css/tooltip": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "@spectrum-css/tooltip": "6.2.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/stepper/package.json b/components/stepper/package.json index 9fda6f9abcc..2ebc8e00bb2 100644 --- a/components/stepper/package.json +++ b/components/stepper/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS stepper component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/stepper", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-stepper--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build stepper", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare stepper", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report stepper" + }, "peerDependencies": { "@spectrum-css/actionbutton": ">=6", "@spectrum-css/icon": ">=7", @@ -43,17 +57,24 @@ } }, "devDependencies": { - "@spectrum-css/actionbutton": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/infieldbutton": "workspace:^", - "@spectrum-css/textfield": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/actionbutton": "6.2.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/infieldbutton": "5.2.0", + "@spectrum-css/textfield": "7.3.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/swatch/package.json b/components/swatch/package.json index 55d5844340c..244048005f8 100644 --- a/components/swatch/package.json +++ b/components/swatch/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS Color swatch component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/swatch", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-swatch--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build swatch", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare swatch", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report swatch" + }, "peerDependencies": { "@spectrum-css/opacitycheckerboard": ">=2", "@spectrum-css/tokens": ">=14.5.0" }, "devDependencies": { - "@spectrum-css/opacitycheckerboard": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/opacitycheckerboard": "2.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/swatchgroup/package.json b/components/swatchgroup/package.json index ee54f9d7809..61af71bdf8c 100644 --- a/components/swatchgroup/package.json +++ b/components/swatchgroup/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS Color swatch group component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/swatchgroup", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-swatchgroup--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build swatchgroup", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare swatchgroup", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report swatchgroup" + }, "peerDependencies": { "@spectrum-css/swatch": ">=6", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/swatch": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/swatch": "6.4.1", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/switch/package.json b/components/switch/package.json index 05fb335f77b..fe3c8a2fd00 100644 --- a/components/switch/package.json +++ b/components/switch/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS switch component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/switch", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-switch--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build switch", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare switch", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report switch" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/table/package.json b/components/table/package.json index 36ab920258b..2651ab834b5 100644 --- a/components/table/package.json +++ b/components/table/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS table component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/table", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-table--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build table", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare table", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report table" + }, "peerDependencies": { "@spectrum-css/button": ">=13", "@spectrum-css/checkbox": ">=9", @@ -49,17 +63,24 @@ } }, "devDependencies": { - "@spectrum-css/button": "workspace:^", - "@spectrum-css/checkbox": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/thumbnail": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/button": "13.5.0", + "@spectrum-css/checkbox": "9.2.1", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/thumbnail": "6.3.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/tabs/package.json b/components/tabs/package.json index ac24c27f8ae..c6c686420c3 100644 --- a/components/tabs/package.json +++ b/components/tabs/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS tabs component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/tabs", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-tabs--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build tabs", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare tabs", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report tabs" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/menu": ">=7", @@ -42,16 +56,23 @@ } }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/menu": "workspace:^", - "@spectrum-css/picker": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/menu": "7.2.0", + "@spectrum-css/picker": "8.3.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/tag/package.json b/components/tag/package.json index ce75b5d77be..0bc3e380d61 100644 --- a/components/tag/package.json +++ b/components/tag/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS tags component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/tag", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-tag--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build tag", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare tag", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report tag" + }, "peerDependencies": { "@spectrum-css/avatar": ">=7", "@spectrum-css/clearbutton": ">=6", @@ -45,16 +59,23 @@ } }, "devDependencies": { - "@spectrum-css/avatar": "workspace:^", - "@spectrum-css/clearbutton": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/avatar": "7.3.0", + "@spectrum-css/clearbutton": "6.4.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/taggroup/package.json b/components/taggroup/package.json index f3cbe784c7a..c24a984328b 100644 --- a/components/taggroup/package.json +++ b/components/taggroup/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS tag group component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/taggroup", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-taggroup--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build taggroup", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare taggroup", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report taggroup" + }, "peerDependencies": { "@spectrum-css/tag": ">=9", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tag": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tag": "9.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/textfield/package.json b/components/textfield/package.json index 2f3c57a2f8d..d19dbf304e0 100644 --- a/components/textfield/package.json +++ b/components/textfield/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS textfield component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/textfield", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-textfield--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build textfield", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare textfield", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report textfield" + }, "peerDependencies": { "@spectrum-css/helptext": ">=5", "@spectrum-css/tokens": ">=14" @@ -40,14 +54,21 @@ } }, "devDependencies": { - "@spectrum-css/helptext": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/helptext": "5.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/thumbnail/package.json b/components/thumbnail/package.json index adaebfbe996..9610cc97cce 100644 --- a/components/thumbnail/package.json +++ b/components/thumbnail/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS thumbnail component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/thumbnail", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-thumbnail--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,28 +21,49 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build thumbnail", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare thumbnail", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report thumbnail" + }, "peerDependencies": { "@spectrum-css/opacitycheckerboard": ">=2", "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/opacitycheckerboard": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/opacitycheckerboard": "2.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/toast/package.json b/components/toast/package.json index 1a5e93333e8..c8b3b7df0fb 100644 --- a/components/toast/package.json +++ b/components/toast/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS toast component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/toast", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-toast--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build toast", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare toast", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report toast" + }, "peerDependencies": { "@spectrum-css/button": ">=13", "@spectrum-css/closebutton": ">=5", @@ -37,16 +51,23 @@ "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/button": "workspace:^", - "@spectrum-css/closebutton": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/button": "13.5.0", + "@spectrum-css/closebutton": "5.3.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/tooltip/package.json b/components/tooltip/package.json index 63ff8df81c3..d1ac51c2425 100644 --- a/components/tooltip/package.json +++ b/components/tooltip/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS tooltip component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/tooltip", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-tooltip--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,29 +21,50 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build tooltip", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare tooltip", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report tooltip" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/tokens": ">=14" }, "devDependencies": { "@spectrum-css/commons": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/tray/package.json b/components/tray/package.json index 2f18a40b63a..41871ed1e3f 100644 --- a/components/tray/package.json +++ b/components/tray/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS tray component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/tray", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-tray--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build tray", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare tray", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report tray" + }, "peerDependencies": { "@spectrum-css/button": ">=13", "@spectrum-css/dialog": ">=10", @@ -47,18 +61,25 @@ } }, "devDependencies": { - "@spectrum-css/button": "workspace:^", - "@spectrum-css/dialog": "workspace:^", - "@spectrum-css/divider": "workspace:^", - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/modal": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/button": "13.5.0", + "@spectrum-css/dialog": "10.2.0", + "@spectrum-css/divider": "3.2.0", + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/modal": "5.2.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/treeview/package.json b/components/treeview/package.json index ce535fb0cc0..6f5b9b14554 100644 --- a/components/treeview/package.json +++ b/components/treeview/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS Tree view component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/treeview", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-treeview--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,15 +21,29 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build treeview", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare treeview", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report treeview" + }, "peerDependencies": { "@spectrum-css/icon": ">=7", "@spectrum-css/thumbnail": ">=6", @@ -41,15 +55,22 @@ } }, "devDependencies": { - "@spectrum-css/icon": "workspace:^", - "@spectrum-css/thumbnail": "workspace:^", - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/icon": "7.2.0", + "@spectrum-css/thumbnail": "6.3.0", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/typography/package.json b/components/typography/package.json index 75fb05313c9..432e4407d0b 100644 --- a/components/typography/package.json +++ b/components/typography/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS typography component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/typography", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-typography--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build typography", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare typography", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report typography" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14.5.0" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/underlay/package.json b/components/underlay/package.json index a0b5c521bd2..fe87a787375 100644 --- a/components/underlay/package.json +++ b/components/underlay/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS underlay component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-underlay--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,48 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build underlay", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare underlay", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report underlay" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/commons": "workspace:^" + "@spectrum-css/commons": "workspace:^", + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/components/well/package.json b/components/well/package.json index b52195d4b18..26ca6305acf 100644 --- a/components/well/package.json +++ b/components/well/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS well component", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/well", + "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-well--docs", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -21,26 +21,47 @@ "./index.css": "./dist/index.css", "./metadata.json": "./metadata/metadata.json", "./metadata/*": "./metadata/*", - "./package.json": "./package.json" + "./package.json": "./package.json", + "./stories/*": "./stories/*" }, "main": "dist/index.css", "files": [ "dist/*", "*.md", "package.json", - "metadata/*" + "metadata/*", + "stories/*" ], + "scripts": { + "build": "yarn run component:build well", + "build:full": "yarn report", + "clean": "rimraf dist && test -d dist && echo \"Error: dist directory could not be removed\" && exit 1 || exit 0", + "compare": "yarn run component:compare well", + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.{md,mdx} **/*.{md,mdx}", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.json stories/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.json stories/*.js", + "report": "yarn run component:report well" + }, "peerDependencies": { "@spectrum-css/tokens": ">=14" }, "devDependencies": { - "@spectrum-css/tokens": "workspace:^" + "@spectrum-css/tokens": "14.6.0", + "eslint": "^8.57.0", + "npm-run-all2": "*", + "prettier": "^3.4.2", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "component", + "css" ], "publishConfig": { "access": "public" diff --git a/generator/package.json b/generator/package.json index 07c1ee3b2b7..5dc730e8649 100644 --- a/generator/package.json +++ b/generator/package.json @@ -15,6 +15,10 @@ }, "type": "module", "main": "plopfile.js", + "files": [ + "*.md", + "package.json" + ], "scripts": { "new": "plop", "test": "echo \"Error: no test specified\" && exit 1" @@ -24,5 +28,12 @@ "inquirer": "^9.2.23", "inquirer-autocomplete-prompt": "^3.0.1", "plop": "^4.0.1" - } + }, + "keywords": [ + "design-system", + "spectrum", + "spectrum-css", + "adobe", + "adobe-spectrum" + ] } diff --git a/lint-staged.config.js b/lint-staged.config.js index 9f9e2a6dad4..3b06d27679f 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -4,7 +4,7 @@ module.exports = { "prettier --no-config --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc", ], "*.{js,json}": [ - "eslint --fix --cache --no-error-on-unmatched-pattern --quiet --ignore-pattern \"!.storybook/\"" + "eslint --fix --cache --no-error-on-unmatched-pattern --quiet" ], "dist/*.css": [ "prettier --no-config --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc" diff --git a/package.json b/package.json index 5c893a851c1..a9b1b4634bb 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,10 @@ "bugs": { "url": "https://github.com/adobe/spectrum-css/issues" }, + "files": [ + "*.md", + "package.json" + ], "scripts": { "build": "yarn builder tag:component,ui-icons", "build:docs": "nx build storybook --output-dir ../dist/", @@ -25,12 +29,15 @@ "clean:preview": "nx clean storybook", "cleaner": "nx run-many --target clean --projects", "compare": "cross-env NODE_ENV=production node --no-warnings ./tasks/compare-compiled-output.js", + "component:build": "node --no-warnings ./tasks/component-builder.js", + "component:compare": "node --no-warnings ./tasks/component-compare.js", + "component:report": "node --no-warnings ./tasks/component-reporter.js", "dev": "cross-env NODE_ENV=development nx run storybook:build:docs", "format": "yarn formatter tag:component", "formatter": "nx run-many --target format --projects", "lint": "yarn linter tag:component", "linter": "nx run-many --target lint --verbose --projects", - "new": "nx run @spectrum-css/generator:new", + "new": "yarn workspace @spectrum-css/generator run new", "postinstall": "husky || true && yarn refresh", "precommit": "lint-staged --allow-empty --config lint-staged.config.js", "publish:docs": "cross-env NODE_ENV=production yarn build:docs && gh-pages -d dist/ -f -e . --nojekyll", @@ -117,6 +124,13 @@ "tar": "^7.4.3", "yargs": "^17.7.2" }, + "keywords": [ + "design-system", + "spectrum", + "spectrum-css", + "adobe", + "adobe-spectrum" + ], "engines": { "node": ">=20" }, diff --git a/plugins/postcss-combininator/package.json b/plugins/postcss-combininator/package.json index a0560db6317..2b8dd50c1d2 100644 --- a/plugins/postcss-combininator/package.json +++ b/plugins/postcss-combininator/package.json @@ -5,6 +5,15 @@ "description": "Combines multiple blocks of custom properties", "license": "Apache-2.0", "author": "Adobe", + "homepage": "https://opensource.adobe.com/spectrum-css", + "repository": { + "type": "git", + "url": "https://github.com/adobe/spectrum-css.git", + "directory": "plugins/postcss-combininator" + }, + "bugs": { + "url": "https://github.com/adobe/spectrum-css/issues" + }, "main": "index.js", "files": [ "index.js" diff --git a/plugins/postcss-rgb-mapping/package.json b/plugins/postcss-rgb-mapping/package.json index 92578955e6c..8d4465b1712 100644 --- a/plugins/postcss-rgb-mapping/package.json +++ b/plugins/postcss-rgb-mapping/package.json @@ -8,6 +8,15 @@ "contributors": [ "Cassondra Roberts (https://allons-y.llc)" ], + "homepage": "https://opensource.adobe.com/spectrum-css", + "repository": { + "type": "git", + "url": "https://github.com/adobe/spectrum-css.git", + "directory": "plugins/postcss-rgb-mapping" + }, + "bugs": { + "url": "https://github.com/adobe/spectrum-css/issues" + }, "main": "index.js", "files": [ "index.js" diff --git a/plugins/postcss-splitinator/package.json b/plugins/postcss-splitinator/package.json index 86ec659b472..8a1a8907187 100644 --- a/plugins/postcss-splitinator/package.json +++ b/plugins/postcss-splitinator/package.json @@ -5,6 +5,15 @@ "description": "Turn container queryies into the var hack", "license": "Apache-2.0", "author": "Adobe", + "homepage": "https://opensource.adobe.com/spectrum-css", + "repository": { + "type": "git", + "url": "https://github.com/adobe/spectrum-css.git", + "directory": "plugins/postcss-splitinator" + }, + "bugs": { + "url": "https://github.com/adobe/spectrum-css/issues" + }, "main": "index.js", "files": [ "index.js" diff --git a/plugins/stylelint-no-missing-var/package.json b/plugins/stylelint-no-missing-var/package.json index ec862445d85..65e0edd69f0 100644 --- a/plugins/stylelint-no-missing-var/package.json +++ b/plugins/stylelint-no-missing-var/package.json @@ -4,8 +4,21 @@ "description": "Check for custom properties without a var function around them", "license": "Apache-2.0", "author": "Adobe", + "homepage": "https://opensource.adobe.com/spectrum-css", + "repository": { + "type": "git", + "url": "https://github.com/adobe/spectrum-css.git", + "directory": "plugins/stylelint-no-missing-var" + }, + "bugs": { + "url": "https://github.com/adobe/spectrum-css/issues" + }, "type": "module", "main": "index.js", + "files": [ + "*.md", + "package.json" + ], "scripts": { "test": "ava" }, diff --git a/plugins/stylelint-no-unknown-custom-properties/package.json b/plugins/stylelint-no-unknown-custom-properties/package.json index 5ebc1d380d1..8e482e26705 100644 --- a/plugins/stylelint-no-unknown-custom-properties/package.json +++ b/plugins/stylelint-no-unknown-custom-properties/package.json @@ -8,6 +8,15 @@ "contributors": [ "Cassondra Roberts " ], + "homepage": "https://opensource.adobe.com/spectrum-css", + "repository": { + "type": "git", + "url": "https://github.com/adobe/spectrum-css.git", + "directory": "plugins/stylelint-no-unknown-custom-properties" + }, + "bugs": { + "url": "https://github.com/adobe/spectrum-css/issues" + }, "type": "module", "main": "index.js", "files": [ diff --git a/plugins/stylelint-no-unused-custom-properties/package.json b/plugins/stylelint-no-unused-custom-properties/package.json index 4054061926e..58b352f869a 100644 --- a/plugins/stylelint-no-unused-custom-properties/package.json +++ b/plugins/stylelint-no-unused-custom-properties/package.json @@ -7,6 +7,15 @@ "contributors": [ "Cassondra Roberts " ], + "homepage": "https://opensource.adobe.com/spectrum-css", + "repository": { + "type": "git", + "url": "https://github.com/adobe/spectrum-css.git", + "directory": "plugins/stylelint-no-unused-custom-properties" + }, + "bugs": { + "url": "https://github.com/adobe/spectrum-css/issues" + }, "type": "module", "main": "index.js", "files": [ diff --git a/plugins/stylelint-theme-alignment/package.json b/plugins/stylelint-theme-alignment/package.json index 1b285fd12c9..ffbb4119c0e 100644 --- a/plugins/stylelint-theme-alignment/package.json +++ b/plugins/stylelint-theme-alignment/package.json @@ -7,6 +7,15 @@ "contributors": [ "Cassondra Roberts " ], + "homepage": "https://opensource.adobe.com/spectrum-css", + "repository": { + "type": "git", + "url": "https://github.com/adobe/spectrum-css.git", + "directory": "plugins/stylelint-theme-alignment" + }, + "bugs": { + "url": "https://github.com/adobe/spectrum-css/issues" + }, "type": "module", "main": "index.js", "files": [ diff --git a/tokens/package.json b/tokens/package.json index cdbac2fc5e8..2da04071976 100644 --- a/tokens/package.json +++ b/tokens/package.json @@ -4,7 +4,7 @@ "description": "The Spectrum CSS tokens package", "license": "Apache-2.0", "author": "Adobe", - "homepage": "https://opensource.adobe.com/spectrum-css/", + "homepage": "https://opensource.adobe.com/spectrum-css", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-css.git", @@ -16,15 +16,23 @@ "main": "dist/index.css", "files": [ "dist", - "CHANGELOG.md", - "README.md", + "*.md", "package.json" ], + "scripts": { + "format": "run-p \"format:*\"", + "format:content": "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern *.md **/*.md", + "format:scripts": "eslint --fix --cache --no-error-on-unmatched-pattern *.{js,json} {tasks,utilities}/*.js", + "lint": "run-p \"lint:*\"", + "lint:scripts": "eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives *.{js,json} {tasks,utilities}/*.js" + }, "devDependencies": { "@adobe/spectrum-tokens": "12.25.0", "@nxkit/style-dictionary": "^6.0.0", "cssnano": "^7.0.3", "cssnano-preset-advanced": "^7.0.6", + "eslint": "^8.57.0", + "npm-run-all2": "*", "postcss": "^8.4.49", "postcss-cli": "^11.0.0", "postcss-import": "^16.1.0", @@ -33,13 +41,17 @@ "postcss-sorting": "^9.1.0", "prettier": "^3.4.2", "style-dictionary": "^3.9.2", - "style-dictionary-sets": "^2.3.0" + "style-dictionary-sets": "^2.3.0", + "stylelint": "^16.9.0" }, "keywords": [ + "design-system", "spectrum", - "css", - "design system", - "adobe" + "spectrum-css", + "adobe", + "adobe-spectrum", + "tokens", + "css" ], "publishConfig": { "access": "public" diff --git a/ui-icons/package.json b/ui-icons/package.json index 4906b41c532..69990cdc5b2 100644 --- a/ui-icons/package.json +++ b/ui-icons/package.json @@ -27,6 +27,13 @@ "svgo": "^3.3.2", "svgstore": "^3.0.1" }, + "keywords": [ + "design-system", + "spectrum", + "spectrum-css", + "adobe", + "adobe-spectrum" + ], "publishConfig": { "access": "public" } diff --git a/yarn.config.cjs b/yarn.config.cjs new file mode 100644 index 00000000000..0cb56dcf43b --- /dev/null +++ b/yarn.config.cjs @@ -0,0 +1,218 @@ +/** @type {import('@yarnpkg/types')} */ +const { defineConfig } = require("@yarnpkg/types"); +const fg = require("fast-glob"); + +/** + * The workspace object used in the constraints function + * @typedef {import('@yarnpkg/types').Yarn.Constraints.Workspace} Workspace + */ + +module.exports = defineConfig({ + async constraints({ Yarn }) { + // A static list of workspaces that do not have styles and thus do not need CSS processing + const noStyles = ["action-menu"]; + + // Fetch a list of all the component workspaces using a glob pattern + const components = fg.sync("components/*", { + cwd: __dirname, + onlyDirectories: true, + ignore: ["components/commons"], + }); + + const rootWorkspace = Yarn.workspaces({ cwd: "." })?.[0]; + const tokenWorkspace = Yarn.workspaces({ cwd: "tokens" })?.[0]; + + /** + * A function to add dependencies to a workspace if they do not already exist + * @param {Workspace} workspace + * @param {string[]} packages + * @param {('dependencies'|'peerDependencies'|'devDependencies')} type + * @returns {void} + */ + function validateDependencies(workspace, packages = [], type = "devDependencies") { + for (const pkg of packages) { + // @note: The token package is the source-of-truth for the @adobe/spectrum-tokens version number + let rootPackage = rootWorkspace; + if (pkg === "@adobe/spectrum-tokens") { + rootPackage = tokenWorkspace; + } + + if (!workspace.manifest[type] || !workspace.manifest[type][pkg]) { + // Source the version from the root workspace if it exists + const version = rootPackage?.manifest?.[type]?.[pkg]; + workspace.set(`${type}.${pkg}`, version ?? "*"); + } + } + } + + /** + * This function checks the workspace for any local package references + * and ensure that the devDependencies are up-to-date with the latest version + * currently in the project + * @param {Workspace} workspace + * @returns {void} + */ + function validateLocalPackages(workspace) { + // Return early if the workspace does not have any peerDependencies + if (!workspace.manifest.peerDependencies) return; + + // Start by filtering out the local packages from the external dependencies + const localPackages = Object.keys(workspace.manifest.peerDependencies).filter((pkg) => Yarn.workspace({ ident: pkg })).map((pkg) => Yarn.workspace({ ident: pkg })); + + // Iterate over the local packages and ensure that the devDependencies are up-to-date + for (const localWorkspace of localPackages) { + const localVersion = localWorkspace.manifest.version; + workspace.set(`devDependencies.${localWorkspace.manifest.name}`, localVersion ?? "workspace:^"); + } + } + + /** + * A reusable function to set up linting scripts for a workspace; + * outputs format and lint scripts for any files provided to the fileGlobs object + * and uses the outputDir to ignore files in the output directory + * @param {Workspace} workspace + * @param {Object} fileGlobs -- An object containing the file globs for stylelint, eslint, and prettier + * @param {string} fileGlobs.styles -- The glob pattern(s) to use for stylelint + * @param {string} fileGlobs.scripts -- The glob pattern(s) to use for eslint + * @param {string} fileGlobs.content -- The glob pattern(s) to use for prettier + * @param {string} outputDir -- The directory to ignore when linting + * @returns {void} + */ + function lintingScripts(workspace, fileGlobs = {}, outputDir = "dist") { + workspace.set("scripts.format", "run-p \"format:*\""); + workspace.set("scripts.lint", "run-p \"lint:*\""); + if (fileGlobs.styles) { + workspace.set("scripts['format:styles']", `stylelint --fix --cache --allow-empty-input ${fileGlobs.css} --ignore-pattern ${outputDir}`); + workspace.set("scripts['lint:styles']", `stylelint --cache --allow-empty-input --report-descriptionless-disables --report-invalid-scope-disables --report-needless-disables ${fileGlobs.css} --ignore-pattern ${outputDir}`); + } + if (fileGlobs.scripts) { + workspace.set("scripts['format:scripts']", `eslint --fix --cache --no-error-on-unmatched-pattern ${fileGlobs.scripts}`); + workspace.set("scripts['lint:scripts']", `eslint --cache --no-error-on-unmatched-pattern --report-unused-disable-directives ${fileGlobs.scripts}`); + } + if (fileGlobs.content) { + workspace.set("scripts['format:content']", `prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern ${fileGlobs.content}`); + } + + // @note: npm-run-all2 is the maintained fork of npm-run-all which is no longer maintained + validateDependencies(workspace, ["npm-run-all2", "stylelint", "eslint", "prettier"], "devDependencies"); + } + + /** + * A reusable function to set up cleaning scripts for a workspace + * @param {Workspace} workspace + * @param {string} outputDir -- The directory to remove + * @returns {void} + */ + function cleaningScripts(workspace, outputDir = "dist") { + workspace.set("scripts.clean", `rimraf ${outputDir} && test -d ${outputDir} && echo "Error: ${outputDir} directory could not be removed" && exit 1 || exit 0`); + } + + /** + * A reusable function to add keywords to ensure workspaces + * include a minimal set of keywords for discoverability + * with additionalKeywords as an optional parameter to add more + * specific keywords that are relevant to the workspace + * @param {string[]} additionalKeywords + * @returns {string[]} + */ + function keywords(additionalKeywords = []) { + return ["design-system", "spectrum", "spectrum-css", "adobe", "adobe-spectrum", ...additionalKeywords]; + } + + for (const workspace of Yarn.workspaces()) { + /** + * -------------- GLOBAL -------------- + * Global configuration for all workspaces + */ + workspace.set("license", "Apache-2.0"); + workspace.set("author", "Adobe"); + + workspace.set("repository.type", "git"); + workspace.set("repository.url", "https://github.com/adobe/spectrum-css.git"); + + // We don't need to set the directory for the root workspace + if (workspace.cwd !== ".") workspace.set("repository.directory", workspace.cwd); + + workspace.set("bugs.url", "https://github.com/adobe/spectrum-css/issues"); + + /** + * -------------- COMPONENTS -------------- + * Process the components workspaces with component-specific configuration + */ + if (components.includes(workspace.cwd)) { + const folderName = workspace.cwd?.split("/")?.[1]; + + workspace.set("scripts.build", `yarn run component:build ${folderName}`); + workspace.set("scripts['build:full']", "yarn report"); + + cleaningScripts(workspace); + + workspace.set("scripts.compare", `yarn run component:compare ${folderName}`); + + lintingScripts(workspace, { + css: !noStyles ? "*.css **/*.css" : undefined, + scripts: "*.json stories/*.js", + content: "*.{md,mdx} **/*.{md,mdx}" + }); + + workspace.set("scripts.report", `yarn run component:report ${folderName}`); + + workspace.set("homepage", `https://opensource.adobe.com/spectrum-css/?path=/docs/components-${folderName}--docs`); + workspace.set("publishConfig.access", "public"); + workspace.set("keywords", keywords(["component", "css"])); + workspace.set("main", "dist/index.css"); + workspace.set("files", ["dist/*", "*.md", "package.json", "metadata/*", "stories/*"]); + workspace.set("exports", { + ".": "./dist/index.css", + "./*.md": "./*.md", + "./dist/*": "./dist/*", + "./index-*.css": "./dist/index-*.css", + "./index.css": "./dist/index.css", + "./metadata.json": "./metadata/metadata.json", + "./metadata/*": "./metadata/*", + "./package.json": "./package.json", + "./stories/*": "./stories/*" + }); + + validateLocalPackages(workspace); + } + + /** + * -------------- TOKENS -------------- + * Process the tokens workspace with token-specific configuration + */ + else if (workspace.cwd === "tokens") { + lintingScripts(workspace, { + css: "custom/*.css", + scripts: "*.{js,json} {tasks,utilities}/*.js", + content: "*.md **/*.md" + }); + + workspace.set("homepage", "https://opensource.adobe.com/spectrum-css"); + workspace.set("publishConfig.access", "public"); + workspace.set("keywords", keywords(["tokens", "css"])); + workspace.set("main", "dist/index.css"); + workspace.set("files", ["dist", "*.md", "package.json"]); + + validateLocalPackages(workspace); + } + + /** + * -------------- OTHER -------------- + * All other workspaces should have at least the following configuration + */ + if (!workspace.manifest.keywords) { + workspace.set("keywords", keywords([])); + } + + // Check if the files already exist and only add this if it does not + if (!workspace.manifest.files) { + workspace.set("files", ["*.md", "package.json"]); + } + + if (!workspace.manifest.homepage) { + workspace.set("homepage", "https://opensource.adobe.com/spectrum-css"); + } + } + }, +});