Skip to content

Commit 3b69cb2

Browse files
committed
Update packages
1 parent 8aa716c commit 3b69cb2

File tree

5 files changed

+37
-40
lines changed

5 files changed

+37
-40
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
.PHONY: build
33
build:
44
@rm -rf lib
5-
@npx tsc
5+
@pnpm exec tsc
66
@rsync --archive --prune-empty-dirs --include='*.d.ts' --include='*.json' -f 'hide,! */' --relative src/./ lib
77
@cp *.md lib
88
@cp package.json lib
99

1010
publish: build
11-
cd lib && npm publish --access public
11+
@cd lib && pnpm publish --access public
1212

1313
publish-next: build
14-
cd lib && npm publish --access public --tag next
14+
@cd lib && pnpm publish --access public --tag next

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"typesaurus": "^10.0.0-beta.12"
3131
},
3232
"devDependencies": {
33-
"@types/node": "^18.11.17",
34-
"typescript": "^4.9.4"
33+
"@types/node": "^20.16.5",
34+
"typescript": "^5.6.2"
3535
},
3636
"packageManager": "[email protected]+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c"
3737
}

pnpm-lock.yaml

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

src/bin.ts

-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ import(configPath)
108108

109109
Promise.all(
110110
pages.map((page) =>
111-
// @ts-expect-error: Got this error after upgrading TypeDoc, but
112-
// I don't really bother to fix it
113111
db.pages.id().then((pageId) => pagesBatch.pages.set(pageId, page))
114112
)
115113
).then(pagesBatch),

src/types.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,7 @@ export namespace DateFnsDocs {
261261
Accessor = 262144,
262262
GetSignature = 524288,
263263
SetSignature = 1048576,
264-
ObjectLiteral = 2097152,
265-
TypeAlias = 4194304,
266-
Reference = 8388608,
264+
TypeAlias = 2097152,
265+
Reference = 4194304,
267266
}
268267
}

0 commit comments

Comments
 (0)