Skip to content

Commit ff4cf3a

Browse files
committed
chore(create-rstack): align tests tsconfig across templates
1 parent 19ae749 commit ff4cf3a

5 files changed

Lines changed: 8 additions & 5 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
4-
"types": ["rstack/types", "node", "@testing-library/jest-dom"]
4+
"types": ["rstack/types", "node", "svelte", "@testing-library/jest-dom"]
55
},
66
"include": ["./"]
77
}

‎packages/create-rstack/template-lib-react-ts/tests/tsconfig.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"rootDir": "..",
5-
"types": ["@testing-library/jest-dom"]
5+
"types": ["rstack/types", "node", "@testing-library/jest-dom"]
66
},
77
"include": ["./"]
88
}

‎packages/create-rstack/template-lib-solid-ts/tests/tsconfig.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"rootDir": "..",
5-
"types": ["@testing-library/jest-dom"]
5+
"types": ["rstack/types", "node", "@testing-library/jest-dom"]
66
},
77
"include": ["./"]
88
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
4-
"rootDir": ".."
4+
"noEmit": true,
5+
"rootDir": "..",
6+
"types": ["rstack/types", "node", "svelte"]
57
},
68
"include": ["./"]
79
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
4+
"noEmit": true,
45
"rootDir": "..",
5-
"types": ["@testing-library/jest-dom"]
6+
"types": ["rstack/types", "node", "@testing-library/jest-dom"]
67
},
78
"include": ["./"]
89
}

0 commit comments

Comments
 (0)