chore(pie-design-tokens): DSW-4183 move package to monorepo#3028
Conversation
🦋 Changeset detectedLatest commit: 735e781 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
/snapit |
|
Starting a new snapshot build. You can view the logs here. |
|
@siggerzz Your snapshots have been published to npm! Test the snapshots by updating your Note If you have more than one of these packages installed, we suggest using the new snapshots for all of them to help avoid version conflicts. yarn up @justeattakeaway/pie-css@0.0.0-snapshot-release-20260716155412 --mode=update-lockfileyarn up @justeat/pie-design-tokens@0.0.0-snapshot-release-20260716155412 --mode=update-lockfileThen finally: yarn install |
|
/test-aperture |
|
Starting a new snapshot build. You can view the logs here. |
|
@siggerzz Your snapshots have been published to npm! Test the snapshots by updating your Note If you have more than one of these packages installed, we suggest using the new snapshots for all of them to help avoid version conflicts. yarn up @justeattakeaway/pie-css@0.0.0-snapshot-release-20260716155855 --mode=update-lockfileyarn up @justeat/pie-design-tokens@0.0.0-snapshot-release-20260716155855 --mode=update-lockfileThen finally: yarn install |
|
🚀 Aperture PR created: justeattakeaway/pie-aperture#527 App deployments will appear under the Deployments section of this PR shortly! Updated 16 Jul 2026, 16:02 UTC · PIE @ |
There was a problem hiding this comment.
Pull request overview
Migrates @justeat/pie-design-tokens into the PIE monorepo and updates related tooling so token-derived/generated artifacts and snapshot publishing workflows remain correct (including supporting packages published under both @justeat/* and @justeattakeaway/*).
Changes:
- Added the
@justeat/pie-design-tokensworkspace package (scripts, build pipeline, platform overrides, metadata, and tests). - Updated
pie-token-mapgenerated maps + version to align with tokens7.14.1. - Updated snapshot tooling to preserve package scopes and expanded tag parsing to match both
@justeat/*and@justeattakeaway/*, plus CI verification for generated outputs.
Reviewed changes
Copilot reviewed 45 out of 51 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/tools/pie-token-map/src/generated/version.ts | Bumps recorded tokens version to 7.14.1. |
| packages/tools/pie-token-map/src/generated/radius-map.ts | Adds newly generated radius aliases (rounded-f, rounded-g). |
| packages/tools/pie-token-map/src/generated/color-map.ts | Adds newly generated color alias (thirdparty-morrisons-container-primary). |
| packages/tools/pie-monorepo-utils/changeset-snapshot/utils.js | Expands snapshot tag parsing to match both @justeat/* and @justeattakeaway/*. |
| packages/tools/pie-monorepo-utils/changeset-snapshot/test-aperture.js | Preserves published package scope when building Aperture dispatch payload. |
| packages/tools/pie-monorepo-utils/tests/changeset-snapshot/test-aperture.spec.js | Adds coverage ensuring scopes are preserved and comments match /snapit. |
| packages/tools/pie-monorepo-utils/tests/changeset-snapshot/create-and-publish.spec.js | Adds coverage for @justeat/* packages in snapshot publish comments. |
| packages/tools/pie-design-tokens/turbo.json | Adds turborepo task wiring for test:output dependency. |
| packages/tools/pie-design-tokens/README.md | Introduces monorepo-local contributor guidance for the tokens package. |
| packages/tools/pie-design-tokens/platform/web.jsonc | Adds/defines web platform overrides (e.g. numeric font weights). |
| packages/tools/pie-design-tokens/platform/ios.jsonc | Adds/defines iOS platform overrides (e.g. font weight name suffixes). |
| packages/tools/pie-design-tokens/platform/android.jsonc | Adds/defines Android platform overrides. |
| packages/tools/pie-design-tokens/package.json | Adds workspace package manifest for @justeat/pie-design-tokens at 7.14.1. |
| packages/tools/pie-design-tokens/metadata/tokenCategories.json | Adds token category structure metadata for consumers/docs. |
| packages/tools/pie-design-tokens/LICENSE | Adds Apache-2.0 license file for the migrated package. |
| packages/tools/pie-design-tokens/jest.config.output.js | Adds Jest config for output snapshot tests. |
| packages/tools/pie-design-tokens/jest.config.js | Adds Jest config for unit tests (excluding output snapshots). |
| packages/tools/pie-design-tokens/index.js | Adds build orchestrator entrypoint for compiling tokens to dist/. |
| packages/tools/pie-design-tokens/design-changelog.md | Adds design-oriented changelog carried over with the package. |
| packages/tools/pie-design-tokens/csv_export.csv | Adds CSV export used by comparison tooling. |
| packages/tools/pie-design-tokens/compare-csv.js | Adds script to compare JSONC tokens with CSV export. |
| packages/tools/pie-design-tokens/CLAUDE.md | Adds agent tooling pointer file. |
| packages/tools/pie-design-tokens/CHANGELOG.md | Adds package changelog history through v7.14.1. |
| packages/tools/pie-design-tokens/build/tests/testObjects.js | Adds shared test fixtures for build script tests. |
| packages/tools/pie-design-tokens/build/tests/output/distOutput.spec.js | Adds snapshot tests for generated dist/* outputs. |
| packages/tools/pie-design-tokens/build/tests/helpers.spec.js | Adds tests for build helpers (formatting/conversion/filtering). |
| packages/tools/pie-design-tokens/build/tests/compileToXml.spec.js | Adds tests for XML compilation output. |
| packages/tools/pie-design-tokens/build/tests/compileToScss.spec.js | Adds tests for SCSS compilation output. |
| packages/tools/pie-design-tokens/build/tests/compileToJson.spec.js | Adds tests for JSON compilation output. |
| packages/tools/pie-design-tokens/build/tests/compileToCss.spec.js | Adds tests for CSS + HSL output compilation. |
| packages/tools/pie-design-tokens/build/tests/snapshots/helpers.spec.js.snap | Adds snapshots for helper test outputs. |
| packages/tools/pie-design-tokens/build/tests/snapshots/compileToXml.spec.js.snap | Adds snapshots for XML compiler tests. |
| packages/tools/pie-design-tokens/build/tests/snapshots/compileToScss.spec.js.snap | Adds snapshots for SCSS compiler tests. |
| packages/tools/pie-design-tokens/build/tests/snapshots/compileToJson.spec.js.snap | Adds snapshots for JSON compiler tests. |
| packages/tools/pie-design-tokens/build/tests/snapshots/compileToCss.spec.js.snap | Adds snapshots for CSS compiler tests. |
| packages/tools/pie-design-tokens/build/helpers.js | Adds shared build helper utilities (formatting, platform overrides, conversions). |
| packages/tools/pie-design-tokens/build/compileToXml.js | Adds XML build pipeline (Android colors export). |
| packages/tools/pie-design-tokens/build/compileToScss.js | Adds SCSS build pipeline (web token exports). |
| packages/tools/pie-design-tokens/build/compileToJson.js | Adds JSON build pipeline (alias resolution). |
| packages/tools/pie-design-tokens/build/compileToCss.js | Adds CSS + HSL build pipeline (including dark-mode rules). |
| packages/tools/pie-design-tokens/AGENTS.md | Adds agent/contributor guidance specific to tokens package. |
| packages/tools/pie-design-tokens/.eslintrc.js | Adds lint overrides for Jest test files. |
| packages/tools/pie-design-tokens/.babelrc | Adds Babel config stub for Jest tooling expectations. |
| package.json | Switches tokens dependency to workspace and adds generate:verify/test:output turbo scripts. |
| .github/workflows/ci.yml | Adds CI step to fail when committed generated files are out of date. |
| .cz-config.js | Updates scope derivation to handle both @justeat/* and @justeattakeaway/*. |
| .changeset/polite-frogs-laugh.md | Adds changeset entry for the tokens package migration. |
96cdf05 to
735e781
Compare
Describe your changes (can list changeset entries if preferable)
NPM Snapshot publishing:

Modifying a global token value and running pie-docs locally

Author Checklist (complete before requesting a review, do not delete any)
PIE Storybook/PIE DocsPR preview./test-aperturecommand.Not-applicable Checklist items
Please move any Author checklist items that do not apply to this pull request here.
Reviewer checklists (complete before approving)
Mark items as
[-] N/Aif not applicable.Reviewer 1
PIE Storybook/PIE DocsPR preview.Reviewer 2
PIE Storybook/PIE DocsPR preview.