Skip to content

Commit

Permalink
chore(pie-monorepo): DSW-1779 align tsconfig with Lit (#1341)
Browse files Browse the repository at this point in the history
* change compilation target

* changeset

* changesets

* trigger deploy

* undo
  • Loading branch information
jamieomaguire authored Mar 22, 2024
1 parent a15e998 commit 130f1aa
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .changeset/pink-spies-smash.md
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions .changeset/selfish-cooks-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@justeattakeaway/pie-components-config": minor
---

[Changed] - Updated TSConfig file with es2021 target
7 changes: 4 additions & 3 deletions configs/pie-components-config/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -21,7 +21,8 @@
"forceConsistentCasingInFileNames": true,
"allowImportingTsExtensions": true,
"noEmit": true,
"types": ["vitest/globals"]
"types": ["vitest/globals"],
"useDefineForClassFields": false
},
"exclude": []
}

0 comments on commit 130f1aa

Please sign in to comment.