From 32114316225c88bf29673c607009ba46b91efaf4 Mon Sep 17 00:00:00 2001 From: Jamie Maguire Date: Thu, 21 Mar 2024 14:02:26 +0000 Subject: [PATCH 1/3] fix(pie-docs): DSW-000 add correct storybook link to webc page link (#1342) --- .changeset/eighty-suits-explode.md | 5 + .../engineers/getting-started/structure.md | 2 +- yarn.lock | 94 +++++++++---------- 3 files changed, 53 insertions(+), 48 deletions(-) create mode 100644 .changeset/eighty-suits-explode.md diff --git a/.changeset/eighty-suits-explode.md b/.changeset/eighty-suits-explode.md new file mode 100644 index 0000000000..f07088154c --- /dev/null +++ b/.changeset/eighty-suits-explode.md @@ -0,0 +1,5 @@ +--- +"pie-docs": minor +--- + +[Added] - Correct link added for web component storybook page diff --git a/apps/pie-docs/src/engineers/getting-started/structure.md b/apps/pie-docs/src/engineers/getting-started/structure.md index 873d8400a6..441beab34b 100644 --- a/apps/pie-docs/src/engineers/getting-started/structure.md +++ b/apps/pie-docs/src/engineers/getting-started/structure.md @@ -14,7 +14,7 @@ Currently, JET has several officially supported component systems that implement - [Snacks](https://snacks.takeaway.com/) – a set of **React components** created by the legacy Takeaway design system team - [Skip PIE Project](https://react.pie.design/) – a set of **React components** created by the Skip web team -We are also currently building the [PIE Web Component System](https://www.pie.design/storybook). The long-term aim will be to migrate JET teams over to this Web Component System, so we have **one single source of truth** for our global PIE components. +We are also currently building the [PIE Web Component System](https://webc.pie.design/). The long-term aim will be to migrate JET teams over to this Web Component System, so we have **one single source of truth** for our global PIE components. For more details on Fozzie, Snacks and Skip PIE, please check out the **documentation portals** linked above. diff --git a/yarn.lock b/yarn.lock index 57db611233..ace893aa96 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5535,19 +5535,19 @@ __metadata: resolution: "@justeattakeaway/pie-assistive-text@workspace:packages/components/pie-assistive-text" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-icons-webc": 0.19.1 "@justeattakeaway/pie-webc-core": 0.19.1 cem-plugin-module-file-extensions: 0.0.5 languageName: unknown linkType: soft -"@justeattakeaway/pie-button@0.45.6, @justeattakeaway/pie-button@workspace:packages/components/pie-button": +"@justeattakeaway/pie-button@0.46.0, @justeattakeaway/pie-button@workspace:packages/components/pie-button": version: 0.0.0-use.local resolution: "@justeattakeaway/pie-button@workspace:packages/components/pie-button" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-spinner": 0.5.5 "@justeattakeaway/pie-webc-core": 0.19.1 "@justeattakeaway/pie-wrapper-react": 0.14.0 @@ -5556,12 +5556,12 @@ __metadata: languageName: unknown linkType: soft -"@justeattakeaway/pie-card@0.17.5, @justeattakeaway/pie-card@workspace:packages/components/pie-card": +"@justeattakeaway/pie-card@0.18.0, @justeattakeaway/pie-card@workspace:packages/components/pie-card": version: 0.0.0-use.local resolution: "@justeattakeaway/pie-card@workspace:packages/components/pie-card" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-webc-core": 0.19.1 "@justeattakeaway/pie-wrapper-react": 0.14.0 cem-plugin-module-file-extensions: 0.0.5 @@ -5581,7 +5581,7 @@ __metadata: languageName: unknown linkType: soft -"@justeattakeaway/pie-components-config@0.12.0, @justeattakeaway/pie-components-config@workspace:configs/pie-components-config": +"@justeattakeaway/pie-components-config@0.13.0, @justeattakeaway/pie-components-config@workspace:configs/pie-components-config": version: 0.0.0-use.local resolution: "@justeattakeaway/pie-components-config@workspace:configs/pie-components-config" dependencies: @@ -5604,18 +5604,18 @@ __metadata: languageName: node linkType: hard -"@justeattakeaway/pie-cookie-banner@0.17.6, @justeattakeaway/pie-cookie-banner@workspace:packages/components/pie-cookie-banner": +"@justeattakeaway/pie-cookie-banner@0.18.0, @justeattakeaway/pie-cookie-banner@workspace:packages/components/pie-cookie-banner": version: 0.0.0-use.local resolution: "@justeattakeaway/pie-cookie-banner@workspace:packages/components/pie-cookie-banner" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 "@justeat/pie-design-tokens": 6.0.0 - "@justeattakeaway/pie-button": 0.45.6 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-button": 0.46.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-divider": 0.12.4 "@justeattakeaway/pie-icon-button": 0.27.7 - "@justeattakeaway/pie-link": 0.15.4 - "@justeattakeaway/pie-modal": 0.40.0 + "@justeattakeaway/pie-link": 0.16.0 + "@justeattakeaway/pie-modal": 0.41.0 "@justeattakeaway/pie-switch": 0.27.3 "@justeattakeaway/pie-webc-core": 0.19.1 "@justeattakeaway/pie-wrapper-react": 0.14.0 @@ -5639,7 +5639,7 @@ __metadata: resolution: "@justeattakeaway/pie-divider@workspace:packages/components/pie-divider" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-webc-core": 0.19.1 "@justeattakeaway/pie-wrapper-react": 0.14.0 cem-plugin-module-file-extensions: 0.0.5 @@ -5651,7 +5651,7 @@ __metadata: resolution: "@justeattakeaway/pie-form-label@workspace:packages/components/pie-form-label" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-input": ^0.14.0 "@justeattakeaway/pie-switch": ^0.27.3 "@justeattakeaway/pie-webc-core": 0.19.1 @@ -5671,7 +5671,7 @@ __metadata: resolution: "@justeattakeaway/pie-icon-button@workspace:packages/components/pie-icon-button" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-icons-webc": 0.19.1 "@justeattakeaway/pie-spinner": 0.5.5 "@justeattakeaway/pie-webc-core": 0.19.1 @@ -5735,7 +5735,7 @@ __metadata: dependencies: "@babel/core": 7.23.9 "@babel/node": 7.20.7 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-icons": 4.14.0 "@justeattakeaway/pie-icons-configs": 4.5.1 "@justeattakeaway/pie-webc-core": 0.19.1 @@ -5772,19 +5772,19 @@ __metadata: dependencies: "@custom-elements-manifest/analyzer": 0.9.0 "@justeattakeaway/pie-assistive-text": 0.2.4 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-webc-core": 0.19.1 "@justeattakeaway/pie-wrapper-react": 0.14.0 cem-plugin-module-file-extensions: 0.0.5 languageName: unknown linkType: soft -"@justeattakeaway/pie-link@0.15.4, @justeattakeaway/pie-link@workspace:packages/components/pie-link": +"@justeattakeaway/pie-link@0.16.0, @justeattakeaway/pie-link@workspace:packages/components/pie-link": version: 0.0.0-use.local resolution: "@justeattakeaway/pie-link@workspace:packages/components/pie-link" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-icons-webc": 0.19.1 "@justeattakeaway/pie-webc-core": 0.19.1 "@justeattakeaway/pie-wrapper-react": 0.14.0 @@ -5792,14 +5792,14 @@ __metadata: languageName: unknown linkType: soft -"@justeattakeaway/pie-modal@0.40.0, @justeattakeaway/pie-modal@workspace:packages/components/pie-modal": +"@justeattakeaway/pie-modal@0.41.0, @justeattakeaway/pie-modal@workspace:packages/components/pie-modal": version: 0.0.0-use.local resolution: "@justeattakeaway/pie-modal@workspace:packages/components/pie-modal" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 "@justeat/pie-design-tokens": 6.0.0 - "@justeattakeaway/pie-button": 0.45.6 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-button": 0.46.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-icon-button": 0.27.7 "@justeattakeaway/pie-icons-webc": 0.19.1 "@justeattakeaway/pie-spinner": 0.5.5 @@ -5817,7 +5817,7 @@ __metadata: resolution: "@justeattakeaway/pie-notification@workspace:packages/components/pie-notification" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-icon-button": 0.27.7 "@justeattakeaway/pie-icons-webc": 0.19.1 "@justeattakeaway/pie-webc-core": 0.19.1 @@ -5831,7 +5831,7 @@ __metadata: resolution: "@justeattakeaway/pie-spinner@workspace:packages/components/pie-spinner" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-webc-core": 0.19.1 "@justeattakeaway/pie-wrapper-react": 0.14.0 cem-plugin-module-file-extensions: 0.0.5 @@ -5843,7 +5843,7 @@ __metadata: resolution: "@justeattakeaway/pie-switch@workspace:packages/components/pie-switch" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-icons-webc": 0.19.1 "@justeattakeaway/pie-webc-core": 0.19.1 "@justeattakeaway/pie-wrapper-react": 0.14.0 @@ -5857,7 +5857,7 @@ __metadata: resolution: "@justeattakeaway/pie-tag@workspace:packages/components/pie-tag" dependencies: "@custom-elements-manifest/analyzer": 0.9.0 - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 "@justeattakeaway/pie-icons-webc": 0.19.1 "@justeattakeaway/pie-webc-core": 0.19.1 "@justeattakeaway/pie-wrapper-react": 0.14.0 @@ -5869,12 +5869,12 @@ __metadata: version: 0.0.0-use.local resolution: "@justeattakeaway/pie-webc-core@workspace:packages/components/pie-webc-core" dependencies: - "@justeattakeaway/pie-components-config": 0.12.0 + "@justeattakeaway/pie-components-config": 0.13.0 lit: 3.1.2 languageName: unknown linkType: soft -"@justeattakeaway/pie-webc-testing@0.12.0, @justeattakeaway/pie-webc-testing@workspace:packages/components/pie-webc-testing": +"@justeattakeaway/pie-webc-testing@0.12.1, @justeattakeaway/pie-webc-testing@workspace:packages/components/pie-webc-testing": version: 0.0.0-use.local resolution: "@justeattakeaway/pie-webc-testing@workspace:packages/components/pie-webc-testing" peerDependencies: @@ -5887,9 +5887,9 @@ __metadata: version: 0.0.0-use.local resolution: "@justeattakeaway/pie-webc@workspace:packages/components/pie-webc" dependencies: - "@justeattakeaway/pie-button": 0.45.6 - "@justeattakeaway/pie-components-config": 0.12.0 - "@justeattakeaway/pie-modal": 0.40.0 + "@justeattakeaway/pie-button": 0.46.0 + "@justeattakeaway/pie-components-config": 0.13.0 + "@justeattakeaway/pie-modal": 0.41.0 "@justeattakeaway/pie-webc-core": 0.19.1 languageName: unknown linkType: soft @@ -29120,7 +29120,7 @@ __metadata: "@justeattakeaway/browserslist-config-pie": 0.2.0 "@justeattakeaway/generator-pie-component": 0.20.1 "@justeattakeaway/pie-icons": 4.14.0 - "@justeattakeaway/pie-webc-testing": 0.12.0 + "@justeattakeaway/pie-webc-testing": 0.12.1 "@justeattakeaway/pie-wrapper-react": 0.14.0 "@justeattakeaway/stylelint-config-pie": 0.7.0 "@percy/cli": 1.26.3 @@ -29176,18 +29176,18 @@ __metadata: dependencies: "@justeat/pie-design-tokens": 6.0.0 "@justeattakeaway/pie-assistive-text": 0.2.4 - "@justeattakeaway/pie-button": 0.45.6 - "@justeattakeaway/pie-card": 0.17.5 + "@justeattakeaway/pie-button": 0.46.0 + "@justeattakeaway/pie-card": 0.18.0 "@justeattakeaway/pie-chip": 0.3.0 - "@justeattakeaway/pie-cookie-banner": 0.17.6 + "@justeattakeaway/pie-cookie-banner": 0.18.0 "@justeattakeaway/pie-css": 0.11.0 "@justeattakeaway/pie-divider": 0.12.4 "@justeattakeaway/pie-form-label": 0.12.2 "@justeattakeaway/pie-icon-button": 0.27.7 "@justeattakeaway/pie-icons-webc": 0.19.1 "@justeattakeaway/pie-input": 0.14.0 - "@justeattakeaway/pie-link": 0.15.4 - "@justeattakeaway/pie-modal": 0.40.0 + "@justeattakeaway/pie-link": 0.16.0 + "@justeattakeaway/pie-modal": 0.41.0 "@justeattakeaway/pie-notification": 0.3.5 "@justeattakeaway/pie-spinner": 0.5.5 "@justeattakeaway/pie-switch": 0.27.3 @@ -38174,7 +38174,7 @@ __metadata: "@angular/platform-browser": 15.2.0 "@angular/platform-browser-dynamic": 15.2.0 "@angular/router": 15.2.0 - "@justeattakeaway/pie-button": 0.45.6 + "@justeattakeaway/pie-button": 0.46.0 "@justeattakeaway/pie-css": 0.11.0 rxjs: 7.8.0 tslib: 2.3.0 @@ -38194,8 +38194,8 @@ __metadata: "@babel/plugin-transform-runtime": 7.21.4 "@babel/preset-env": 7.21.4 "@babel/preset-react": 7.18.6 - "@justeattakeaway/pie-button": 0.45.6 - "@justeattakeaway/pie-cookie-banner": 0.17.6 + "@justeattakeaway/pie-button": 0.46.0 + "@justeattakeaway/pie-cookie-banner": 0.18.0 "@justeattakeaway/pie-css": 0.11.0 "@lit/react": 1.0.2 babel-loader: 8 @@ -38212,7 +38212,7 @@ __metadata: version: 0.0.0-use.local resolution: "wc-next13@workspace:apps/examples/wc-next13" dependencies: - "@justeattakeaway/pie-button": 0.45.6 + "@justeattakeaway/pie-button": 0.46.0 "@justeattakeaway/pie-css": 0.11.0 "@lit-labs/nextjs": 0.1.3 "@lit/react": 1.0.2 @@ -38234,7 +38234,7 @@ __metadata: "@babel/plugin-transform-logical-assignment-operators": 7.22.11 "@babel/plugin-transform-nullish-coalescing-operator": 7.22.11 "@babel/plugin-transform-optional-chaining": 7.23.0 - "@justeattakeaway/pie-button": 0.45.6 + "@justeattakeaway/pie-button": 0.46.0 "@justeattakeaway/pie-css": 0.11.0 babel-loader: 8 core-js: 3.30.0 @@ -38249,7 +38249,7 @@ __metadata: version: 0.0.0-use.local resolution: "wc-nuxt3@workspace:apps/examples/wc-nuxt3" dependencies: - "@justeattakeaway/pie-button": 0.45.6 + "@justeattakeaway/pie-button": 0.46.0 "@justeattakeaway/pie-css": 0.11.0 "@types/node": 18 nuxt: 3.4.3 @@ -38261,7 +38261,7 @@ __metadata: version: 0.0.0-use.local resolution: "wc-react17@workspace:apps/examples/wc-react17" dependencies: - "@justeattakeaway/pie-button": 0.45.6 + "@justeattakeaway/pie-button": 0.46.0 "@justeattakeaway/pie-css": 0.11.0 "@lit/react": 1.0.2 react: 17.0.2 @@ -38274,7 +38274,7 @@ __metadata: version: 0.0.0-use.local resolution: "wc-react18@workspace:apps/examples/wc-react18" dependencies: - "@justeattakeaway/pie-button": 0.45.6 + "@justeattakeaway/pie-button": 0.46.0 "@justeattakeaway/pie-css": 0.11.0 "@lit/react": 1.0.2 react: 18.2.0 @@ -38288,11 +38288,11 @@ __metadata: resolution: "wc-vanilla@workspace:apps/examples/wc-vanilla" dependencies: "@justeat/pie-design-tokens": 6.0.0 - "@justeattakeaway/pie-button": 0.45.6 + "@justeattakeaway/pie-button": 0.46.0 "@justeattakeaway/pie-css": 0.11.0 "@justeattakeaway/pie-icon-button": 0.27.7 "@justeattakeaway/pie-icons-webc": 0.19.1 - "@justeattakeaway/pie-modal": 0.40.0 + "@justeattakeaway/pie-modal": 0.41.0 vite: 4.5.2 languageName: unknown linkType: soft @@ -38301,7 +38301,7 @@ __metadata: version: 0.0.0-use.local resolution: "wc-vue3@workspace:apps/examples/wc-vue3" dependencies: - "@justeattakeaway/pie-button": 0.45.6 + "@justeattakeaway/pie-button": 0.46.0 "@justeattakeaway/pie-css": 0.11.0 "@types/node": 18.15.11 "@vitejs/plugin-vue": 4.0.0 From a15e998d5d565d484e90e09e287a6a595058bacc Mon Sep 17 00:00:00 2001 From: Ben Siggery <14013357+siggerzz@users.noreply.github.com> Date: Thu, 21 Mar 2024 16:30:56 +0000 Subject: [PATCH 2/3] revert(pie-monorepo): DSW-000 revert turbo update (#1346) chore(pie-monorepo): DSW-000 fix commits --- .changeset/long-peaches-learn.md | 5 +++ package.json | 2 +- yarn.lock | 58 ++++++++++++++++---------------- 3 files changed, 35 insertions(+), 30 deletions(-) create mode 100644 .changeset/long-peaches-learn.md diff --git a/.changeset/long-peaches-learn.md b/.changeset/long-peaches-learn.md new file mode 100644 index 0000000000..8bc0683479 --- /dev/null +++ b/.changeset/long-peaches-learn.md @@ -0,0 +1,5 @@ +--- +"pie-monorepo": patch +--- + +[Changed] - Reverted `turbo` back to `1.10.16`. Our current caused a bug that resulted in the `check-change-type` CI job not corretly detecting changes in the repo, resulting in deployments not being triggered. diff --git a/package.json b/package.json index 676322b6f2..a2a0ce0090 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,7 @@ "stylelint-config-standard-scss": "13.0.0", "stylelint-order": "6.0.4", "ts-node": "10.9.1", - "turbo": "1.12.4", + "turbo": "1.10.16", "typescript": "5.1.3", "vite": "4.5.2", "vite-plugin-dts": "2.3.0", diff --git a/yarn.lock b/yarn.lock index ace893aa96..69c3659f94 100644 --- a/yarn.lock +++ b/yarn.lock @@ -29159,7 +29159,7 @@ __metadata: stylelint-config-standard-scss: 13.0.0 stylelint-order: 6.0.4 ts-node: 10.9.1 - turbo: 1.12.4 + turbo: 1.10.16 typescript: 5.1.3 vite: 4.5.2 vite-plugin-dts: 2.3.0 @@ -36303,58 +36303,58 @@ __metadata: languageName: node linkType: hard -"turbo-darwin-64@npm:1.12.4": - version: 1.12.4 - resolution: "turbo-darwin-64@npm:1.12.4" +"turbo-darwin-64@npm:1.10.16": + version: 1.10.16 + resolution: "turbo-darwin-64@npm:1.10.16" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"turbo-darwin-arm64@npm:1.12.4": - version: 1.12.4 - resolution: "turbo-darwin-arm64@npm:1.12.4" +"turbo-darwin-arm64@npm:1.10.16": + version: 1.10.16 + resolution: "turbo-darwin-arm64@npm:1.10.16" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"turbo-linux-64@npm:1.12.4": - version: 1.12.4 - resolution: "turbo-linux-64@npm:1.12.4" +"turbo-linux-64@npm:1.10.16": + version: 1.10.16 + resolution: "turbo-linux-64@npm:1.10.16" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"turbo-linux-arm64@npm:1.12.4": - version: 1.12.4 - resolution: "turbo-linux-arm64@npm:1.12.4" +"turbo-linux-arm64@npm:1.10.16": + version: 1.10.16 + resolution: "turbo-linux-arm64@npm:1.10.16" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"turbo-windows-64@npm:1.12.4": - version: 1.12.4 - resolution: "turbo-windows-64@npm:1.12.4" +"turbo-windows-64@npm:1.10.16": + version: 1.10.16 + resolution: "turbo-windows-64@npm:1.10.16" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"turbo-windows-arm64@npm:1.12.4": - version: 1.12.4 - resolution: "turbo-windows-arm64@npm:1.12.4" +"turbo-windows-arm64@npm:1.10.16": + version: 1.10.16 + resolution: "turbo-windows-arm64@npm:1.10.16" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"turbo@npm:1.12.4": - version: 1.12.4 - resolution: "turbo@npm:1.12.4" +"turbo@npm:1.10.16": + version: 1.10.16 + resolution: "turbo@npm:1.10.16" dependencies: - turbo-darwin-64: 1.12.4 - turbo-darwin-arm64: 1.12.4 - turbo-linux-64: 1.12.4 - turbo-linux-arm64: 1.12.4 - turbo-windows-64: 1.12.4 - turbo-windows-arm64: 1.12.4 + turbo-darwin-64: 1.10.16 + turbo-darwin-arm64: 1.10.16 + turbo-linux-64: 1.10.16 + turbo-linux-arm64: 1.10.16 + turbo-windows-64: 1.10.16 + turbo-windows-arm64: 1.10.16 dependenciesMeta: turbo-darwin-64: optional: true @@ -36370,7 +36370,7 @@ __metadata: optional: true bin: turbo: bin/turbo - checksum: d387fb91af6ed0ea925201d3858180353c5d93be564829de2e22f48fe57124d1347d2abb8b99215901a305d4c6da4a0daf4c28afeec20fa1bc1ae2762c3b8d3d + checksum: 69d1892593449b264e0bd48b851317a743016ab62cf470e7293b2cc3781240e863c48232c89f65a5a4ce97eb791ca550b201593449350da073db07703a19cfa5 languageName: node linkType: hard From 130f1aaa32ccd464b213febf75dd147e6b8aecc3 Mon Sep 17 00:00:00 2001 From: Jamie Maguire Date: Fri, 22 Mar 2024 10:00:59 +0000 Subject: [PATCH 3/3] chore(pie-monorepo): DSW-1779 align tsconfig with Lit (#1341) * change compilation target * changeset * changesets * trigger deploy * undo --- .changeset/pink-spies-smash.md | 21 +++++++++++++++++++++ .changeset/selfish-cooks-travel.md | 5 +++++ configs/pie-components-config/tsconfig.json | 7 ++++--- 3 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 .changeset/pink-spies-smash.md create mode 100644 .changeset/selfish-cooks-travel.md diff --git a/.changeset/pink-spies-smash.md b/.changeset/pink-spies-smash.md new file mode 100644 index 0000000000..ac263a0d96 --- /dev/null +++ b/.changeset/pink-spies-smash.md @@ -0,0 +1,21 @@ +--- +"@justeattakeaway/pie-assistive-text": minor +"@justeattakeaway/pie-button": minor +"@justeattakeaway/pie-card": minor +"@justeattakeaway/pie-chip": minor +"@justeattakeaway/pie-cookie-banner": minor +"@justeattakeaway/pie-divider": minor +"@justeattakeaway/pie-form-label": minor +"@justeattakeaway/pie-icon-button": minor +"@justeattakeaway/pie-input": minor +"@justeattakeaway/pie-link": minor +"@justeattakeaway/pie-modal": minor +"@justeattakeaway/pie-notification": minor +"@justeattakeaway/pie-spinner": minor +"@justeattakeaway/pie-switch": minor +"@justeattakeaway/pie-tag": minor +"@justeattakeaway/pie-webc-core": minor +"@justeattakeaway/pie-icons-webc": minor +--- + +[Changed] - Update tsconfig target to es2021 diff --git a/.changeset/selfish-cooks-travel.md b/.changeset/selfish-cooks-travel.md new file mode 100644 index 0000000000..855e30b84b --- /dev/null +++ b/.changeset/selfish-cooks-travel.md @@ -0,0 +1,5 @@ +--- +"@justeattakeaway/pie-components-config": minor +--- + +[Changed] - Updated TSConfig file with es2021 target diff --git a/configs/pie-components-config/tsconfig.json b/configs/pie-components-config/tsconfig.json index 606a8cebbe..f5b501f8d3 100644 --- a/configs/pie-components-config/tsconfig.json +++ b/configs/pie-components-config/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { - "target": "ES6", + "target": "es2021", "module": "ES2022", - "lib": ["es2020", "DOM", "DOM.Iterable"], + "lib": ["es2021", "DOM", "DOM.Iterable"], "declaration": true, "declarationMap": true, "sourceMap": true, @@ -21,7 +21,8 @@ "forceConsistentCasingInFileNames": true, "allowImportingTsExtensions": true, "noEmit": true, - "types": ["vitest/globals"] + "types": ["vitest/globals"], + "useDefineForClassFields": false }, "exclude": [] }