Skip to content

Commit

Permalink
chore(deps): upgrade TypeScript, Vite, Vitest (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
koistya authored Nov 10, 2024
1 parent 09f406c commit 0323daf
Show file tree
Hide file tree
Showing 8 changed files with 1,289 additions and 789 deletions.
2 changes: 1 addition & 1 deletion .yarn/sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript",
"version": "5.3.3-sdk",
"version": "5.6.3-sdk",
"main": "./lib/typescript.js",
"type": "commonjs",
"bin": {
Expand Down
10 changes: 5 additions & 5 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
"@babel/core": "^7.23.9",
"@emotion/babel-plugin": "^11.11.0",
"@rollup/plugin-graphql": "^2.0.4",
"@types/node": "^20.11.16",
"@types/node": "^22.9.0",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-react": "^4.3.3",
"envars": "^1.0.2",
"happy-dom": "^13.3.8",
"typescript": "~5.3.3",
"vite": "~5.0.12",
"vitest": "~1.2.2"
"typescript": "~5.6.3",
"vite": "~5.4.10",
"vitest": "~2.1.4"
}
}
6 changes: 3 additions & 3 deletions db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@google-cloud/cloud-sql-connector": "^1.2.2",
"@googleapis/identitytoolkit": "^8.0.1",
"@types/node": "^20.11.16",
"@types/node": "^22.9.0",
"chalk": "^5.3.0",
"commander": "^12.0.0",
"dotenv": "^16.4.1",
Expand All @@ -26,7 +26,7 @@
"knex": "^3.1.0",
"ora": "^8.0.1",
"pg": "^8.11.3",
"tsx": "~4.7.0",
"typescript": "~5.3.3"
"tsx": "~4.19.2",
"typescript": "~5.6.3"
}
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@emotion/babel-plugin": "^11.11.0",
"@emotion/eslint-plugin": "^11.11.0",
"@emotion/react": "^11.11.3",
"@types/node": "^20.11.16",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@yarnpkg/pnpify": "^4.0.1",
Expand All @@ -44,15 +44,15 @@
"prettier": "^3.2.5",
"react": "^18.2.0",
"relay-config": "^12.0.1",
"tsx": "~4.7.0",
"typescript": "~5.3.3",
"vitest": "~1.2.2",
"tsx": "~4.19.2",
"typescript": "~5.6.3",
"vitest": "~2.1.4",
"wrangler": "^3.27.0",
"zx": "^7.2.3"
"zx": "^8.2.1"
},
"resolutions": {
"graphql": "^16.8.1",
"vite": "~4.4.9"
"vite": "~5.4.10"
},
"envars": {
"cwd": "./env"
Expand Down
8 changes: 4 additions & 4 deletions scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@google-cloud/storage": "^7.7.0",
"@octokit/rest": "^20.0.2",
"@types/cross-spawn": "^6.0.6",
"@types/node": "^20.11.16",
"@types/node": "^22.9.0",
"cross-spawn": "^7.0.3",
"dotenv": "^16.4.1",
"envars": "^1.0.2",
Expand All @@ -39,10 +39,10 @@
"toml": "^3.0.0",
"ts-import": "^5.0.0-beta.0",
"ts-node": "^10.9.2",
"typescript": "~5.3.3",
"vite": "~5.0.12",
"typescript": "~5.6.3",
"vite": "~5.4.10",
"wrangler": "^3.27.0",
"zx": "^7.2.3"
"zx": "^8.2.1"
},
"envars": {
"cwd": "../env"
Expand Down
16 changes: 8 additions & 8 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@graphql-codegen/cli": "5.0.2",
"@originjs/vite-plugin-commonjs": "^1.0.3",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.11.16",
"@types/node": "^22.9.0",
"@types/pg": "^8.11.0",
"@types/source-map-support": "^0.5.10",
"@types/supertest": "^6.0.2",
Expand All @@ -56,12 +56,12 @@
"happy-dom": "^13.3.8",
"scripts": "workspace:*",
"supertest": "^6.3.4",
"type-fest": "^4.10.2",
"typescript": "~5.3.3",
"vite": "~5.0.12",
"vite-node": "1.2.2",
"vite-plugin-node": "^3.1.0",
"vite-plugin-static-copy": "^1.0.1",
"vitest": "~1.2.2"
"type-fest": "^4.26.1",
"typescript": "~5.6.3",
"vite": "~5.4.10",
"vite-node": "~2.1.4",
"vite-plugin-node": "^4.0.0",
"vite-plugin-static-copy": "^2.1.0",
"vitest": "~2.1.4"
}
}
6 changes: 3 additions & 3 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
// "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
// "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
// "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
// "noUncheckedSideEffectImports": true, /* Check side effect imports. */
"resolveJsonModule": true, /* Enable importing .json files. */
// "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
// "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
Expand All @@ -54,12 +55,11 @@
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
// "noEmit": true, /* Disable emitting files from a compilation. */
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
// "outDir": "./", /* Specify an output folder for all emitted files. */
// "removeComments": true, /* Disable emitting comments. */
// "noEmit": true, /* Disable emitting files from a compilation. */
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
// "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
// "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
Expand All @@ -71,11 +71,11 @@
// "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
// "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
// "declarationDir": "./", /* Specify the output directory for generated declaration files. */
// "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */

/* Interop Constraints */
"isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
// "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
// "isolatedDeclarations": true, /* Require sufficient annotation on exports so other tools can trivially generate declaration files. */
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
Expand Down
Loading

0 comments on commit 0323daf

Please sign in to comment.