Skip to content

Commit 5771e14

Browse files
committed
Merge branch 'main' into better-diff
2 parents 9e0bd24 + e20932a commit 5771e14

File tree

23 files changed

+1146
-1192
lines changed

23 files changed

+1146
-1192
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ speed on some of the tools and concepts we'll be covering:
5050
## System Requirements
5151

5252
- [git][git] v2.18 or greater
53-
- **[NodeJS][node] v23.11.0 or greater**
53+
- **[NodeJS][node] v24 or greater**
5454
- [npm][npm] v8 or greater
5555

5656
All of these must be available in your `PATH`. To verify things are set up

exercises/01.setup/01.solution.vscode-extension/src/sort-by.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ test('sorts a list of players by their score', () => {
2020
'score',
2121
),
2222
).toEqual([
23-
{ name: 'Sarah', score: 21 },
24-
{ name: 'John', score: 10 },
2523
{ name: 'Allen', score: 5 },
24+
{ name: 'John', score: 10 },
25+
{ name: 'Sarah', score: 21 },
2626
])
2727
})

exercises/01.setup/02.problem.multiple-workspaces/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"test": "vitest"
66
},
77
"devDependencies": {
8+
"@edge-runtime/types": "^4.0.0",
89
"vitest": "^3.1.1"
910
}
1011
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"files": [],
33
"references": [
4-
{ "path": "tsconfig.edge.json" },
5-
{ "path": "tsconfig.app.json" },
6-
{ "path": "tsconfig.node.json" },
7-
{ "path": "tsconfig.test.edge.json" },
8-
{ "path": "tsconfig.test.json" }
4+
{ "path": "./tsconfig.edge.json" },
5+
{ "path": "./tsconfig.app.json" },
6+
{ "path": "./tsconfig.node.json" },
7+
{ "path": "./tsconfig.test.edge.json" },
8+
{ "path": "./tsconfig.test.json" }
99
]
1010
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"extends": "./tsconfig.app.json",
3-
"include": ["global.d.ts", "src/**/*", "src/**/*.test.ts"],
4-
"exclude": [],
3+
"include": ["global.d.ts", "src/**/*.test.ts"],
4+
"exclude": ["src/**/*.edge.test.ts"],
55
"compilerOptions": {
6-
"types": ["vitest/globals"]
6+
"types": ["@types/node", "vitest/globals"]
77
}
88
}

exercises/01.setup/02.solution.multiple-workspaces/tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "./tsconfig.base.json",
3-
"include": ["src/**/*"],
3+
"include": ["src"],
44
"exclude": ["src/api", "src/**/*.test.ts"],
55
"compilerOptions": {
66
"lib": ["esnext"]
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"files": [],
33
"references": [
4-
{ "path": "tsconfig.edge.json" },
5-
{ "path": "tsconfig.app.json" },
6-
{ "path": "tsconfig.node.json" },
7-
{ "path": "tsconfig.test.edge.json" },
8-
{ "path": "tsconfig.test.json" }
4+
{ "path": "./tsconfig.edge.json" },
5+
{ "path": "./tsconfig.app.json" },
6+
{ "path": "./tsconfig.node.json" },
7+
{ "path": "./tsconfig.test.edge.json" },
8+
{ "path": "./tsconfig.test.json" }
99
]
1010
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"extends": "./tsconfig.app.json",
3-
"include": ["global.d.ts", "src/**/*", "src/**/*.test.ts"],
4-
"exclude": [],
3+
"include": ["global.d.ts", "src/**/*.test.ts"],
4+
"exclude": ["src/**/*.edge.test.ts"],
55
"compilerOptions": {
6-
"types": ["vitest/globals"]
6+
"types": ["@types/node", "vitest/globals"]
77
}
88
}

exercises/03.assertions/01.problem.custom-matchers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"test": "vitest"
66
},
77
"devDependencies": {
8-
"@types/node": "^22.14.1",
8+
"@types/node": "^24.3.0",
99
"vitest": "^3.2.0"
1010
},
1111
"dependencies": {

exercises/03.assertions/01.solution.custom-matchers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"test": "vitest"
66
},
77
"devDependencies": {
8-
"@types/node": "^22.14.1",
8+
"@types/node": "^24.3.0",
99
"vitest": "^3.2.0"
1010
},
1111
"dependencies": {

0 commit comments

Comments
 (0)