Skip to content

Commit

Permalink
build: upgrade to typescript 5.x (#64)
Browse files Browse the repository at this point in the history
Fixes #63
  • Loading branch information
chrispcampbell authored Feb 24, 2024
1 parent 9da17c0 commit 161b76e
Show file tree
Hide file tree
Showing 5 changed files with 607 additions and 450 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"ci-build": "./scripts/ci-build"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"husky": "^8.0.1",
"npm-run-all": "^4.1.5",
"tsup": "^6.0.1",
"typescript": "^4.7.4"
"tsup": "^8.0.2",
"typescript": "^5.3.3"
},
"author": "Climate Interactive",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"devDependencies": {
"@types/lunr": "^2.3.4",
"@types/marked": "^4.0.1",
"@types/node": "^14.14.6"
"@types/node": "^20.11.20"
},
"author": "Climate Interactive",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs-builder/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "es2020",
"esModuleInterop": true,
// Enable strict enforcement of `import type`
"importsNotUsedAsValues": "error",
"verbatimModuleSyntax": true,
"noImplicitAny": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
Expand Down
4 changes: 3 additions & 1 deletion packages/docs-builder/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ export default defineConfig({
dts: true,
splitting: false,
sourcemap: true,
clean: true
clean: true,
// Enable shims so that `import.meta.url` is translated to `__dirname` in CJS bundle
shims: true
})
Loading

0 comments on commit 161b76e

Please sign in to comment.