Skip to content

Commit

Permalink
feat: Update packages to use ts-config package
Browse files Browse the repository at this point in the history
  • Loading branch information
im3dabasia committed Feb 7, 2025
1 parent d306a16 commit 5dab93e
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ A `tsconfig.json` file should look like the following (comments are not necessar
```jsonc
{
// Extends a base configuration common to most packages
"extends": "../../tsconfig.base.json",
"extends": "@wordpress/ts-config/tsconfig.base.json",

// Options for the TypeScript compiler
// We'll usually set our `rootDir` and `declarationDir` as follows, which is specific
Expand Down
2 changes: 1 addition & 1 deletion packages/blob/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json"
"extends": "@wordpress/ts-config/tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/block-serialization-default-parser/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json"
"extends": "@wordpress/ts-config/tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/deprecated/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json",
"extends": "@wordpress/ts-config/tsconfig.base.json",
"references": [ { "path": "../hooks" } ]
}
2 changes: 1 addition & 1 deletion packages/dom-ready/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json"
"extends": "@wordpress/ts-config/tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/edit-site/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json",
"extends": "@wordpress/ts-config/tsconfig.base.json",
"references": [
{ "path": "../a11y" },
{ "path": "../api-fetch" },
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json",
"extends": "@wordpress/ts-config/tsconfig.base.json",
"compilerOptions": {
"checkJs": false
},
Expand Down
2 changes: 1 addition & 1 deletion packages/escape-html/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json"
"extends": "@wordpress/ts-config/tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/html-entities/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json"
"extends": "@wordpress/ts-config/tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/interactivity/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json",
"extends": "@wordpress/ts-config/tsconfig.base.json",
"compilerOptions": {
"noImplicitAny": false
}
Expand Down
2 changes: 1 addition & 1 deletion packages/interactivity/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json",
"extends": "@wordpress/ts-config/tsconfig.base.json",
"compilerOptions": {
"noEmit": true,
"emitDeclarationOnly": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/is-shallow-equal/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json"
"extends": "@wordpress/ts-config/tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/private-apis/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json",
"extends": "@wordpress/ts-config/tsconfig.base.json",
"compilerOptions": {
"types": [ "gutenberg-env" ]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/project-management-automation/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json",
"extends": "@wordpress/ts-config/tsconfig.base.json",
"compilerOptions": {
"rootDir": "lib",
"types": [ "node" ]
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-routine/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json"
"extends": "@wordpress/ts-config/tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/style-engine/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json"
"extends": "@wordpress/ts-config/tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/token-list/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json"
"extends": "@wordpress/ts-config/tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/vips/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json"
"extends": "@wordpress/ts-config/tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/warning/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json",
"extends": "@wordpress/ts-config/tsconfig.base.json",
"compilerOptions": {
"types": [ "gutenberg-env" ]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/wordcount/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json"
"extends": "@wordpress/ts-config/tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion test/performance/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.base.json",
"extends": "@wordpress/ts-config/tsconfig.base.json",
"compilerOptions": {
"checkJs": false,
"noEmit": true,
Expand Down

0 comments on commit 5dab93e

Please sign in to comment.