Skip to content

Commit 1b66983

Browse files
committed
Post Featured Image: add a dev project for the block-library TypeScript test
The new dimension controls test is the first TypeScript test file in block-library, so validate-tsconfig now wants a dev project for the package. Add one and reference it from the root solution.
1 parent eb06a16 commit 1b66983

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "https://json.schemastore.org/tsconfig.json",
3+
"extends": "./tsconfig.json",
4+
"compilerOptions": {
5+
"composite": false,
6+
"emitDeclarationOnly": false,
7+
"noEmit": true,
8+
"checkJs": false,
9+
"rootDir": ".",
10+
"types": [ "gutenberg-env", "gutenberg-vitest-test-env" ]
11+
},
12+
"files": [],
13+
"include": [ "src/**/test/**/*.ts", "src/**/test/**/*.tsx" ],
14+
"exclude": []
15+
}

‎tsconfig.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
{ "path": "packages/autop" },
1111
{ "path": "packages/blob" },
1212
{ "path": "packages/block-editor" },
13+
{ "path": "packages/block-library/tsconfig.test.json" },
1314
{ "path": "packages/components" },
1415
{ "path": "packages/components/tsconfig.stories.json" },
1516
{ "path": "packages/compose" },

0 commit comments

Comments
 (0)