Skip to content

Commit 7e1fc74

Browse files
committed
chore: upgrade tsd
1 parent 8b47679 commit 7e1fc74

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

CONTRIBUTING.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ Follow below steps to run tests locally.
5050
Below is the procedure to upgrade TypeScript version.
5151

5252
1. Update `typescript` dependency in `package.json` and `tests/package.json`
53-
2. Update the git submodule in `TypeScript` directory (use the git tag of target version)
54-
3. Build this library (see 'Commiting Build Artifacts' section)
55-
4. Review the diff in `generated/lib.*.d.ts` files. This represents the diff of TypeScript library between the previous version and the target version. If any change is undesirable (e.g. contains a new `any`), implement a fix in `lib/` directory (maybe as a separate task).
56-
5. Run tests with the new version, of course.
57-
6. Done!
53+
2. Update `tsd` dependency in `tests/package.json` to a version that supports the target TypeScript version
54+
3. Update the git submodule in `TypeScript` directory (use the git tag of target version)
55+
4. Build this library (see 'Commiting Build Artifacts' section)
56+
5. Review the diff in `generated/lib.*.d.ts` files. This represents the diff of TypeScript library between the previous version and the target version. If any change is undesirable (e.g. contains a new `any`), implement a fix in `lib/` directory (maybe as a separate task).
57+
6. Run tests with the new version, of course.
58+
7. Done!

tests/package-lock.json

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"devDependencies": {
1616
"@types/node": "^16.9.6",
17-
"tsd": "^0.29.0",
17+
"tsd": "^0.30.0",
1818
"typescript": "^5.3.3"
1919
},
2020
"dependencies": {

0 commit comments

Comments
 (0)