Skip to content

Commit

Permalink
Upgrade to TypeScript 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
wojpawlik committed Dec 14, 2023
1 parent b559ef3 commit 51ce3d2
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 56 deletions.
3 changes: 2 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"lock": false,
"nodeModulesDir": false,
"unstable": ["byonm"],
"fmt": { "proseWrap": "preserve" },
"exclude": ["lib/", "package-lock.json"]
}
77 changes: 28 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deno2node",
"version": "1.10.1",
"version": "1.11.0",
"description": "`tsc` replacement for transpiling Deno libraries to run on Node.js.",
"type": "module",
"bin": {
Expand Down Expand Up @@ -43,11 +43,11 @@
"node": ">=14.13.1"
},
"dependencies": {
"ts-morph": "^20.0.0"
"ts-morph": "^21.0.1"
},
"devDependencies": {
"@types/node": "^18.15.11",
"deno-bin": "~1.37.0",
"deno-bin": "~1.39.0",
"fast-check": "^3.10.0"
}
}
6 changes: 4 additions & 2 deletions scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ fi
npm install --save-dev --save-prefix='~' deno-bin@latest
npm install-test ts-morph@latest
! git diff --quiet src/deps.deno.ts
src/cli.ts --noEmit

newTsVersion=$(scripts/ts-version.ts || exit 0)
git add src/deps.deno.ts
npm run prepare
lib/cli.js --noEmit

git add src/deps.deno.ts
npm version minor --force --message "Upgrade to TypeScript ${newTsVersion}"
2 changes: 1 addition & 1 deletion src/deps.deno.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Deno-only, see https://doc.deno.land/https/deno.land/x/deno2node/src/mod.ts#deno2node
// Auto-updated in `dependencies` script
export * from "https://deno.land/x/ts_morph@20.0.0/mod.ts";
export * from "https://deno.land/x/ts_morph@21.0.1/mod.ts";

0 comments on commit 51ce3d2

Please sign in to comment.