Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add basic project constraints #5152

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

castastrophe
Copy link
Contributor

@castastrophe castastrophe commented Mar 4, 2025

Description

Yarn constraints allow enforcement of rules across workspaces in a project.

This update does not apply the constraints, but rather defines them so they can be reported. We can do a separate PR to apply the updates via: yarn constraints --fix.

Motivation and context

This update adds package.json standardization rules such as:

  • If no license is listed, use Apache-2.0 which is the standard for Adobe open source projects
  • Expects author to be "Adobe"
  • Sets the correct repository details, including accurately reflecting the directory location

For non-component packages, this update expects packages:

  • To use a default set of keywords ('design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html')
  • If no homepage is listed, using the default project website

Component-specific packages expect:

  • If no homepage is listed, uses the component's page on the project website
  • Public access when published
  • Default keywords plus 'component', 'css'
  • Standard main, module, and type settings

How has this been tested?

  • yarn constraints: expect it to report the following proposed fixes
├─ @adobe/spectrum-web-components@workspace:.
│  ├─ ⚙ Missing field license; expected 'Apache-2.0'
│  ├─ ⚙ Missing field author; expected 'Adobe'
│  ├─ ⚙ Missing field repository.type; expected 'git'
│  ├─ ⚙ Missing field repository.url; expected 'https://github.com/adobe/spectrum-web-components.git'
│  ├─ ⚙ Missing field bugs.url; expected 'https://github.com/adobe/spectrum-web-components/issues'
│  ├─ ⚙ Missing field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html' ]
│  └─ ⚙ Missing field homepage; expected 'https://opensource.adobe.com/spectrum-web-components/'
│
├─ @spectrum-web-components/eslint-plugin@workspace:linters/eslint
│  ├─ ⚙ Missing field license; expected 'Apache-2.0'
│  ├─ ⚙ Missing field author; expected 'Adobe'
│  ├─ ⚙ Missing field repository.type; expected 'git'
│  ├─ ⚙ Missing field repository.url; expected 'https://github.com/adobe/spectrum-web-components.git'
│  ├─ ⚙ Missing field repository.directory; expected 'linters/eslint'
│  ├─ ⚙ Missing field bugs.url; expected 'https://github.com/adobe/spectrum-web-components/issues'
│  ├─ ⚙ Missing field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html' ]
│  └─ ⚙ Missing field homepage; expected 'https://opensource.adobe.com/spectrum-web-components/'
│
├─ stylelint-header@workspace:linters/stylelint-header
│  ├─ ⚙ Missing field repository.type; expected 'git'
│  ├─ ⚙ Missing field repository.url; expected 'https://github.com/adobe/spectrum-web-components.git'
│  ├─ ⚙ Missing field repository.directory; expected 'linters/stylelint-header'
│  ├─ ⚙ Missing field bugs.url; expected 'https://github.com/adobe/spectrum-web-components/issues'
│  └─ ⚙ Missing field homepage; expected 'https://opensource.adobe.com/spectrum-web-components/'
│
├─ @spectrum-web-components/accordion@workspace:packages/accordion
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/action-bar@workspace:packages/action-bar
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/action-button@workspace:packages/action-button
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/action-group@workspace:packages/action-group
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/action-menu@workspace:packages/action-menu
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/alert-banner@workspace:packages/alert-banner
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/alert-dialog@workspace:packages/alert-dialog
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/asset@workspace:packages/asset
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/avatar@workspace:packages/avatar
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/badge@workspace:packages/badge
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/breadcrumbs@workspace:packages/breadcrumbs
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/button@workspace:packages/button
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/button-group@workspace:packages/button-group
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/card@workspace:packages/card
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/checkbox@workspace:packages/checkbox
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/clear-button@workspace:packages/clear-button
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/clear-button.css.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/clear-button.css.js'
│
├─ @spectrum-web-components/close-button@workspace:packages/close-button
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/close-button.css.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/close-button.css.js'
│
├─ @spectrum-web-components/coachmark@workspace:packages/coachmark
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/color-area@workspace:packages/color-area
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/color-field@workspace:packages/color-field
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/color-handle@workspace:packages/color-handle
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/color-loupe@workspace:packages/color-loupe
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/color-slider@workspace:packages/color-slider
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/color-wheel@workspace:packages/color-wheel
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/combobox@workspace:packages/combobox
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/contextual-help@workspace:packages/contextual-help
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/dialog@workspace:packages/dialog
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/divider@workspace:packages/divider
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/dropzone@workspace:packages/dropzone
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/field-group@workspace:packages/field-group
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/field-label@workspace:packages/field-label
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/help-text@workspace:packages/help-text
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/icon@workspace:packages/icon
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/icons@workspace:packages/icons
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/icons-ui@workspace:packages/icons-ui
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/icons-workflow@workspace:packages/icons-workflow
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/iconset@workspace:packages/iconset
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/illustrated-message@workspace:packages/illustrated-message
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/infield-button@workspace:packages/infield-button
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/link@workspace:packages/link
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/menu@workspace:packages/menu
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/meter@workspace:packages/meter
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/modal@workspace:packages/modal
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/modal.css.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/modal.css.js'
│
├─ @spectrum-web-components/number-field@workspace:packages/number-field
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/overlay@workspace:packages/overlay
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/picker@workspace:packages/picker
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/picker-button@workspace:packages/picker-button
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/popover@workspace:packages/popover
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/progress-bar@workspace:packages/progress-bar
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/progress-circle@workspace:packages/progress-circle
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/radio@workspace:packages/radio
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/search@workspace:packages/search
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/sidenav@workspace:packages/sidenav
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/slider@workspace:packages/slider
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/split-view@workspace:packages/split-view
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/status-light@workspace:packages/status-light
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/swatch@workspace:packages/swatch
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/switch@workspace:packages/switch
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/table@workspace:packages/table
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/tabs@workspace:packages/tabs
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/tags@workspace:packages/tags
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/textfield@workspace:packages/textfield
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/thumbnail@workspace:packages/thumbnail
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/toast@workspace:packages/toast
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/tooltip@workspace:packages/tooltip
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/top-nav@workspace:packages/top-nav
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/tray@workspace:packages/tray
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│  ├─ ⚙ Invalid field main; expected './src/index.js', found 'src/index.js'
│  └─ ⚙ Invalid field module; expected './src/index.js', found 'src/index.js'
│
├─ @spectrum-web-components/underlay@workspace:packages/underlay
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  └─ ⚙ Invalid field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html', 'component', 'css' ], found [ 'spectrum css', 'web components', 'lit-element', 'lit-html' ]
│
├─ @spectrum-web-components/custom-vars-viewer@workspace:projects/css-custom-vars-viewer
│  ├─ ⚙ Invalid field author; expected 'Adobe', found 'najikahalsema'
│  ├─ ⚙ Missing field repository.type; expected 'git'
│  ├─ ⚙ Missing field repository.url; expected 'https://github.com/adobe/spectrum-web-components.git'
│  ├─ ⚙ Missing field repository.directory; expected 'projects/css-custom-vars-viewer'
│  ├─ ⚙ Missing field bugs.url; expected 'https://github.com/adobe/spectrum-web-components/issues'
│  ├─ ⚙ Missing field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html' ]
│  └─ ⚙ Missing field homepage; expected 'https://opensource.adobe.com/spectrum-web-components/'
│
├─ documentation@workspace:projects/documentation
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Missing field repository.type; expected 'git'
│  ├─ ⚙ Missing field repository.url; expected 'https://github.com/adobe/spectrum-web-components.git'
│  ├─ ⚙ Missing field repository.directory; expected 'projects/documentation'
│  ├─ ⚙ Missing field bugs.url; expected 'https://github.com/adobe/spectrum-web-components/issues'
│  ├─ ⚙ Missing field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html' ]
│  └─ ⚙ Missing field homepage; expected 'https://opensource.adobe.com/spectrum-web-components/'
│
├─ example-project-rollup@workspace:projects/example-project-rollup
│  ├─ ⚙ Invalid field author; expected 'Adobe', found 'example-app'
│  ├─ ⚙ Missing field repository.type; expected 'git'
│  ├─ ⚙ Missing field repository.url; expected 'https://github.com/adobe/spectrum-web-components.git'
│  ├─ ⚙ Missing field repository.directory; expected 'projects/example-project-rollup'
│  ├─ ⚙ Missing field bugs.url; expected 'https://github.com/adobe/spectrum-web-components/issues'
│  ├─ ⚙ Missing field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html' ]
│  └─ ⚙ Missing field homepage; expected 'https://opensource.adobe.com/spectrum-web-components/'
│
├─ example-project-webpack@workspace:projects/example-project-webpack
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Missing field repository.type; expected 'git'
│  ├─ ⚙ Missing field repository.url; expected 'https://github.com/adobe/spectrum-web-components.git'
│  ├─ ⚙ Missing field repository.directory; expected 'projects/example-project-webpack'
│  ├─ ⚙ Missing field bugs.url; expected 'https://github.com/adobe/spectrum-web-components/issues'
│  ├─ ⚙ Missing field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html' ]
│  └─ ⚙ Missing field homepage; expected 'https://opensource.adobe.com/spectrum-web-components/'
│
├─ @spectrum-web-components/story-decorator@workspace:projects/story-decorator
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field repository.directory; expected 'projects/story-decorator', found 'packages/story-decorator'
│  └─ ⚙ Missing field homepage; expected 'https://opensource.adobe.com/spectrum-web-components/'
│
├─ swc-templates@workspace:projects/templates
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Missing field repository.type; expected 'git'
│  ├─ ⚙ Missing field repository.url; expected 'https://github.com/adobe/spectrum-web-components.git'
│  ├─ ⚙ Missing field repository.directory; expected 'projects/templates'
│  ├─ ⚙ Missing field bugs.url; expected 'https://github.com/adobe/spectrum-web-components/issues'
│  ├─ ⚙ Missing field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html' ]
│  └─ ⚙ Missing field homepage; expected 'https://opensource.adobe.com/spectrum-web-components/'
│
├─ @types/swc@workspace:projects/types
│  ├─ ⚙ Missing field license; expected 'Apache-2.0'
│  ├─ ⚙ Missing field author; expected 'Adobe'
│  ├─ ⚙ Missing field repository.type; expected 'git'
│  ├─ ⚙ Missing field repository.url; expected 'https://github.com/adobe/spectrum-web-components.git'
│  ├─ ⚙ Missing field repository.directory; expected 'projects/types'
│  ├─ ⚙ Missing field bugs.url; expected 'https://github.com/adobe/spectrum-web-components/issues'
│  ├─ ⚙ Missing field keywords; expected [ 'design-system', 'spectrum', 'adobe', 'adobe-spectrum', 'web components', 'web-components', 'lit-element', 'lit-html' ]
│  └─ ⚙ Missing field homepage; expected 'https://opensource.adobe.com/spectrum-web-components/'
│
├─ @spectrum-web-components/vrt-compare@workspace:projects/vrt-compare
│  ├─ ⚙ Invalid field author; expected 'Adobe', found ''
│  ├─ ⚙ Invalid field repository.directory; expected 'projects/vrt-compare', found 'packages/vrt-compare'
│  └─ ⚙ Missing field homepage; expected 'https://opensource.adobe.com/spectrum-web-components/'
│
├─ @spectrum-web-components/base@workspace:tools/base
│  └─ ⚙ Invalid field author; expected 'Adobe', found ''
│
├─ @spectrum-web-components/bundle@workspace:tools/bundle
│  └─ ⚙ Invalid field author; expected 'Adobe', found ''
│
├─ @spectrum-web-components/grid@workspace:tools/grid
│  └─ ⚙ Invalid field author; expected 'Adobe', found ''
│
├─ @spectrum-web-components/opacity-checkerboard@workspace:tools/opacity-checkerboard
│  └─ ⚙ Invalid field author; expected 'Adobe', found ''
│
├─ @spectrum-web-components/reactive-controllers@workspace:tools/reactive-controllers
│  └─ ⚙ Invalid field author; expected 'Adobe', found ''
│
├─ @spectrum-web-components/shared@workspace:tools/shared
│  └─ ⚙ Invalid field author; expected 'Adobe', found ''
│
├─ @spectrum-web-components/styles@workspace:tools/styles
│  └─ ⚙ Invalid field author; expected 'Adobe', found ''
│
├─ @spectrum-web-components/theme@workspace:tools/theme
│  └─ ⚙ Invalid field author; expected 'Adobe', found ''
│
└─ @spectrum-web-components/truncated@workspace:tools/truncated
   └─ ⚙ Invalid field author; expected 'Adobe', found ''

Types of changes

  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

Checklist

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • If my change required a change to the documentation, I have updated the documentation in this pull request.
  • I have read the CONTRIBUTING document.
  • [n/a] I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have reviewed at the Accessibility Practices for this feature, see: Aria Practices

Best practices

This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against main.

@castastrophe castastrophe self-assigned this Mar 4, 2025
@castastrophe castastrophe requested a review from a team as a code owner March 4, 2025 22:29
Copy link

changeset-bot bot commented Mar 4, 2025

⚠️ No Changeset found

Latest commit: 2b8029d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

github-actions bot commented Mar 4, 2025

Branch preview

Review the following VRT differences

When a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:

If the changes are expected, update the current_golden_images_cache hash in the circleci config to accept the new images. Instructions are included in that file.
If the changes are unexpected, you can investigate the cause of the differences and update the code accordingly.

Copy link

github-actions bot commented Mar 4, 2025

Tachometer results

Currently, no packages are changed by this PR...

Copy link

github-actions bot commented Mar 4, 2025

Lighthouse scores

Category Latest (report) Main (report) Branch (report)
Performance 0.99 0.98 0.98
Accessibility 1 1 1
Best Practices 1 1 1
SEO 1 0.92 0.92
PWA 1 1 1
What is this?

Lighthouse scores comparing the documentation site built from the PR ("Branch") to that of the production documentation site ("Latest") and the build currently on main ("Main"). Higher scores are better, but note that the SEO scores on Netlify URLs are artifically constrained to 0.92.

Transfer Size

Category Latest Main Branch
Total 242.596 kB 229.633 kB 🏆 229.765 kB
Scripts 60.742 kB 54.353 kB 🏆 54.398 kB
Stylesheet 45.817 kB 40.764 kB 🏆 40.825 kB
Document 6.252 kB 5.529 kB 🏆 5.559 kB
Font 126.979 kB 126.633 kB 🏆 126.634 kB

Request Count

Category Latest Main Branch
Total 52 52 52
Scripts 41 41 41
Stylesheet 5 5 5
Document 1 1 1
Font 2 2 2

@coveralls
Copy link
Collaborator

coveralls commented Mar 4, 2025

Pull Request Test Coverage Report for Build 13726468939

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.002%) to 97.975%

Totals Coverage Status
Change from base Build 13721683237: -0.002%
Covered Lines: 33650
Relevant Lines: 34148

💛 - Coveralls

Comment on lines +105 to +106
workspace.set('main', './src/index.js');
workspace.set('module', './src/index.js');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of our packages do not have a different entry point other than index.js (e.g. clear-button or opacity-checkerboard), so we might need to account for these exceptions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a couple different ways to handle it, would love your thoughts:

  1. We wrap the set command in a check first so it only adds the value if it's not already set. This prevents overwriting a value however it also negates the benefit of being able to manage the consistency of all packages.
  2. We add an exclusion for those packages that we know have exceptions (ideal if those exceptions are consistent to each other).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call! I think having an explicit list of exceptions (like clear-button and opacity-checkerboard etc) makes sense while keeping everything else consistent. That way, we don’t override anything we shouldn’t. What do you think?

@castastrophe castastrophe force-pushed the castastrophe/chore-add-constraints-settings branch 2 times, most recently from 31281f7 to eb1f4d4 Compare March 5, 2025 21:47
* Fetch a list of all the component workspaces using a glob pattern
* @type {string[]} components
*/
const components = fg.sync('packages/*', {
Copy link
Contributor

@Rajdeepc Rajdeepc Mar 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fg.sync() is called synchronously here, which might block execution since there are a lot of packages.
can we use an async function and await fg()

const localPackages = Object.keys(
workspace.manifest.peerDependencies
)
.filter((pkg) => Yarn.workspace({ ident: pkg }))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yarn.workspace({ ident: pkg }) is called twice on a single package here. can we reuse the result and call it once?

const localPackages = Object.keys(workspace.manifest.peerDependencies)
    .map((pkg) => Yarn.workspace({ ident: pkg }))
    .filter(Boolean);

* Process the components workspaces with component-specific configuration
*/
if (isComponent) {
const folderName = workspace.cwd?.split('/')?.[1];
Copy link
Contributor

@Rajdeepc Rajdeepc Mar 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A more robust approach like this path.basename(workspace.cwd) would be helpful?

Comment on lines +74 to +81
'design-system',
'spectrum',
'adobe',
'adobe-spectrum',
'web components',
'web-components',
'lit-element',
'lit-html',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add the values to a new array like baseKeyWords and use this? Saves re-allocation of new array everytime keywords is called!

@castastrophe castastrophe force-pushed the castastrophe/chore-add-constraints-settings branch from eb1f4d4 to 2b8029d Compare March 7, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants