Closed Bug 2093095 Opened 5 days ago Closed 2 days ago

Have `./mach buildtokens` regenerate the use-design-tokens checked-properties docs page

Categories

(Toolkit :: Themes, task)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

The autofix tables in docs/code-quality/lint/linters/stylelint-plugin-mozilla/rules/use-design-tokens/checked-properties.md come from token values (createRawValuesObject reads dist/semantic-categories.mjs). A token value change through ./mach buildtokens leaves that page stale, and the stylelint-plugin-mozilla node test, which runs on changes to semantic-categories.mjs, then fails.

./mach buildtokens should run ./mach npm run update-docs --prefix tools/lint/stylelint/stylelint-plugin-mozilla after its build step, installing that package's dependencies first when they are missing, as it already does for the design-system package.

Depends on: 2091738
See Also: 2091738 →
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5bddf5b7e815 https://hg.mozilla.org/integration/autoland/rev/a55cc7391d2f Have `./mach buildtokens` regenerate the use-design-tokens checked-properties docs page. r=hjones,reusable-components-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: