From d11fc3bb91d7f9cb93ee7f81886ecda209a4b539 Mon Sep 17 00:00:00 2001 From: Lemuel DLS <26912197+lemueldls@users.noreply.github.com> Date: Sun, 11 Jun 2023 19:47:28 -0400 Subject: [PATCH] chore: update typescript --- package.json | 12 +- packages/admin/package.json | 4 +- packages/admin/tsconfig.json | 4 +- packages/client/package.json | 2 +- packages/client/tsconfig.json | 4 +- packages/common/tsconfig.json | 4 +- packages/e2e/.eslintrc | 8 - packages/e2e/cypress/support/repository.ts | 1 + packages/e2e/package.json | 2 +- packages/e2e/tsconfig.json | 4 +- packages/hub/package.json | 9 +- packages/hub/tsconfig.json | 4 +- packages/server/package.json | 9 +- packages/server/tsconfig.json | 4 +- packages/tools/package.json | 2 +- packages/tools/tsconfig.json | 4 +- tsconfig.json | 58 +++-- yarn.lock | 275 ++++++++++++++++++--- 18 files changed, 311 insertions(+), 99 deletions(-) delete mode 100644 packages/e2e/.eslintrc diff --git a/package.json b/package.json index b520d63551..adce064c3a 100755 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "hub": "yarn packages hub", "start": "yarn packages start", "build": "yarn packages build", - "lint:script": "eslint packages/**/*.{ts,astro} --ignore-path .gitignore", - "lint:style": "stylelint packages/**/*.{scss,astro} --ignore-path .gitignore", + "lint:script": "eslint --cache packages/**/*.{ts,astro} --ignore-path .gitignore", + "lint:style": "stylelint --cache packages/**/*.{scss,astro} --ignore-path .gitignore", "lint:fix": "yarn lint:script --fix && yarn lint:style --fix", "lint": "yarn lint:script && yarn lint:style", "test:run": "yarn packages test:run", @@ -24,11 +24,11 @@ "map": "yarn packages map" }, "lint-staged": { - "*.ts": "eslint --cache --fix", - "*.scss": "stylelint --cache --fix" + "*.{ts,astro}": "eslint --cache --fix", + "*.{scss,astro}": "stylelint --cache --fix" }, "devDependencies": { - "@astrojs/ts-plugin": "^1.0.9", + "@astrojs/ts-plugin": "^1.0.10", "@commitlint/cli": "^17.4.2", "@commitlint/config-conventional": "^17.4.2", "@types/node": "^20.2.5", @@ -60,7 +60,7 @@ "stylelint-config-prettier": "^9.0.5", "stylelint-config-standard-scss": "^9.0.0", "stylelint-rem-over-px": "^1.0.0", - "typescript": "^5.0.4" + "typescript": "^5.1.3" }, "workspaces": [ "packages/*" diff --git a/packages/admin/package.json b/packages/admin/package.json index 2530f859c7..93085dcfdc 100644 --- a/packages/admin/package.json +++ b/packages/admin/package.json @@ -2,9 +2,7 @@ "name": "@kaetram/admin", "type": "module", "scripts": { - "hub": "astro dev", - "build": "astro check && tsc --noEmit && astro build", - "start": "node ./dist/server/entry.mjs" + "hub": "astro dev" }, "dependencies": { "@astrojs/node": "^5.2.0", diff --git a/packages/admin/tsconfig.json b/packages/admin/tsconfig.json index 63b5082a6a..8d9d2d200f 100644 --- a/packages/admin/tsconfig.json +++ b/packages/admin/tsconfig.json @@ -1,3 +1 @@ -{ - "extends": "../../tsconfig.json" -} +{ "extends": "../../tsconfig.json" } diff --git a/packages/client/package.json b/packages/client/package.json index e6fc76dbe0..35503e31ac 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -38,7 +38,7 @@ "internal-ip": "^7.0.0", "sass": "^1.62.1", "sirv-cli": "^2.0.2", - "typescript": "^5.0.4", + "typescript": "^5.1.3", "vite-plugin-glsl": "^1.1.2", "vite-plugin-pwa": "^0.16.3" } diff --git a/packages/client/tsconfig.json b/packages/client/tsconfig.json index 63b5082a6a..8d9d2d200f 100644 --- a/packages/client/tsconfig.json +++ b/packages/client/tsconfig.json @@ -1,3 +1 @@ -{ - "extends": "../../tsconfig.json" -} +{ "extends": "../../tsconfig.json" } diff --git a/packages/common/tsconfig.json b/packages/common/tsconfig.json index 63b5082a6a..8d9d2d200f 100644 --- a/packages/common/tsconfig.json +++ b/packages/common/tsconfig.json @@ -1,3 +1 @@ -{ - "extends": "../../tsconfig.json" -} +{ "extends": "../../tsconfig.json" } diff --git a/packages/e2e/.eslintrc b/packages/e2e/.eslintrc deleted file mode 100644 index e26a008001..0000000000 --- a/packages/e2e/.eslintrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "globals": { - "cy": true - }, - "rules": { - "@typescript-eslint/no-namespace": "off" - } -} diff --git a/packages/e2e/cypress/support/repository.ts b/packages/e2e/cypress/support/repository.ts index 3f11b8784b..474f70921e 100644 --- a/packages/e2e/cypress/support/repository.ts +++ b/packages/e2e/cypress/support/repository.ts @@ -77,6 +77,7 @@ Cypress.Commands.add('createPlayerInventory', (playerInventory: PlayerInventory) }); declare global { + // eslint-disable-next-line @typescript-eslint/no-namespace namespace Cypress { interface Chainable { createPlayerInfo(playerInfo: PlayerInfo): Chainable; diff --git a/packages/e2e/package.json b/packages/e2e/package.json index 4268b706c2..dc727bb844 100644 --- a/packages/e2e/package.json +++ b/packages/e2e/package.json @@ -15,7 +15,7 @@ "esbuild": "^0.14.53", "start-server-and-test": "^1.14.0", "tsx": "^3.12.7", - "typescript": "^5.0.4" + "typescript": "^5.1.3" }, "cypress-cucumber-preprocessor": { "stepDefinitions": [ diff --git a/packages/e2e/tsconfig.json b/packages/e2e/tsconfig.json index 63b5082a6a..8d9d2d200f 100644 --- a/packages/e2e/tsconfig.json +++ b/packages/e2e/tsconfig.json @@ -1,3 +1 @@ -{ - "extends": "../../tsconfig.json" -} +{ "extends": "../../tsconfig.json" } diff --git a/packages/hub/package.json b/packages/hub/package.json index 89e3597bbe..175366ae5e 100644 --- a/packages/hub/package.json +++ b/packages/hub/package.json @@ -2,9 +2,9 @@ "name": "@kaetram/hub", "type": "module", "scripts": { - "hub": "tsx watch --preserve-symlinks --clear-screen=false ./src/main.ts", - "build": "tsc --noEmit", - "start": "tsx --preserve-symlinks ./src/main.ts" + "hub": "tsx --watch --preserve-symlinks ./src/main.ts", + "build": "tsc && esbuild --platform=node --format=esm --outdir=dist --bundle --minify --sourcemap src/main.ts", + "start": "node --enable-source-maps ./dist/main.js" }, "dependencies": { "@kaetram/common": "workspace:*", @@ -27,6 +27,7 @@ "@types/dotenv-parse-variables": "^2.0.1", "@types/express": "^4.17.13", "@types/nodemailer": "^6", - "typescript": "^5.0.4" + "esbuild": "^0.18.0", + "typescript": "^5.1.3" } } diff --git a/packages/hub/tsconfig.json b/packages/hub/tsconfig.json index 63b5082a6a..8d9d2d200f 100644 --- a/packages/hub/tsconfig.json +++ b/packages/hub/tsconfig.json @@ -1,3 +1 @@ -{ - "extends": "../../tsconfig.json" -} +{ "extends": "../../tsconfig.json" } diff --git a/packages/server/package.json b/packages/server/package.json index 412d5fed12..9eb67079eb 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -2,9 +2,9 @@ "name": "@kaetram/server", "type": "module", "scripts": { - "start": "tsx --preserve-symlinks ./src/main.ts", - "dev": "tsx --watch --preserve-symlinks ./src/main.ts", - "build": "tsc --noEmit" + "dev": "tsx watch --preserve-symlinks --clear-screen=false ./src/main.ts", + "build": "tsc && esbuild --bundle --minify --sourcemap --platform=node --format=esm --outdir=dist src/main.ts", + "start": "node --enable-source-maps ./dist/main.js" }, "dependencies": { "@kaetram/common": "workspace:*", @@ -28,6 +28,7 @@ "@types/express": "^4.17.13", "@types/sanitizer": "^0.0.28", "@types/websocket": "^1.0.5", - "typescript": "^5.0.4" + "esbuild": "^0.18.0", + "typescript": "^5.1.3" } } diff --git a/packages/server/tsconfig.json b/packages/server/tsconfig.json index 901bbdad5c..8d9d2d200f 100644 --- a/packages/server/tsconfig.json +++ b/packages/server/tsconfig.json @@ -1,3 +1 @@ -{ - "extends": "../../tsconfig.json", -} +{ "extends": "../../tsconfig.json" } diff --git a/packages/tools/package.json b/packages/tools/package.json index 7d18e37bf6..bc29c6f99f 100644 --- a/packages/tools/package.json +++ b/packages/tools/package.json @@ -13,6 +13,6 @@ "websocket": "^1.0.34" }, "devDependencies": { - "typescript": "^5.0.4" + "typescript": "^5.1.3" } } diff --git a/packages/tools/tsconfig.json b/packages/tools/tsconfig.json index 901bbdad5c..8d9d2d200f 100644 --- a/packages/tools/tsconfig.json +++ b/packages/tools/tsconfig.json @@ -1,3 +1 @@ -{ - "extends": "../../tsconfig.json", -} +{ "extends": "../../tsconfig.json" } diff --git a/tsconfig.json b/tsconfig.json index 6a9d2036aa..2fe68272f5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,32 +1,52 @@ { "compilerOptions": { - "strict": true, - "target": "ESNext", - "module": "ESNext", + "incremental": true, + // "composite": true, + "tsBuildInfoFile": "./.tsbuildinfo", - "allowSyntheticDefaultImports": true, - "moduleResolution": "Node", + "target": "esnext", + "moduleDetection": "force", + + "module": "esnext", + "rootDir": "./", + "moduleResolution": "node", + "baseUrl": "./packages", + "paths": { "@kaetram/*": ["*"] }, + "types": ["@types/node", "@kaetram/common"], + "allowImportingTsExtensions": true, + // "resolvePackageJsonExports": true, + // "resolvePackageJsonImports": true, "resolveJsonModule": true, - "verbatimModuleSyntax": true, - "preserveSymlinks": true, - "forceConsistentCasingInFileNames": true, + "allowArbitraryExtensions": true, - "skipLibCheck": true, - "incremental": true, - "noEmit": true, "allowJs": false, + "checkJs": false, + // "maxNodeModuleJsDepth": 1, + + "disableSizeLimit": false, + "plugins": [{ "name": "@astrojs/ts-plugin" }], + + "noEmit": true, + "isolatedModules": true, - "sourceMap": true, + "verbatimModuleSyntax": true, + "allowSyntheticDefaultImports": true, + "esModuleInterop": false, + "preserveSymlinks": true, + "forceConsistentCasingInFileNames": true, - "strictNullChecks": true, + "strict": true, "noImplicitAny": true, + "strictNullChecks": true, + // "exactOptionalPropertyTypes": true, + // "noImplicitReturns": true, + // "noFallthroughCasesInSwitch": true, + // "noUncheckedIndexedAccess": true, "noImplicitOverride": true, - "noFallthroughCasesInSwitch": false, + // "noPropertyAccessFromIndexSignature": true, + "allowUnusedLabels": false, + "allowUnreachableCode": false, - "rootDir": "./", - "baseUrl": "./packages", - "paths": { "@kaetram/*": ["*"] }, - "types": ["@types/node", "@kaetram/common"], - "plugins": [{ "name": "@astrojs/ts-plugin" }] + "skipLibCheck": true } } diff --git a/yarn.lock b/yarn.lock index 6012225ba5..9a19d0bd26 100644 --- a/yarn.lock +++ b/yarn.lock @@ -153,13 +153,13 @@ __metadata: languageName: node linkType: hard -"@astrojs/ts-plugin@npm:^1.0.9": - version: 1.0.9 - resolution: "@astrojs/ts-plugin@npm:1.0.9" +"@astrojs/ts-plugin@npm:^1.0.10": + version: 1.0.10 + resolution: "@astrojs/ts-plugin@npm:1.0.10" dependencies: "@astrojs/compiler": "npm:^1.5.1" "@jridgewell/trace-mapping": "npm:^0.3.18" - checksum: 96011e6d0d03fd1a1a2d57c3d02e68196e241dcafc571b70bc174b49a8f2b67514b501b33e88ba95a9b27289d1ee25ab89e63fc5616ac18c72545f531491c695 + checksum: a0ef8aa8215f01beec5317d1ecf60f5fb2247b58680033853f48d9d184ea494ec50892851f87fa068412f3377b268e9f55d60c623d60892071a08474751620f8 languageName: node linkType: hard @@ -2591,6 +2591,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/android-arm64@npm:0.18.0" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/android-arm@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/android-arm@npm:0.17.12" @@ -2605,6 +2612,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/android-arm@npm:0.18.0" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@esbuild/android-x64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/android-x64@npm:0.17.12" @@ -2619,6 +2633,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-x64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/android-x64@npm:0.18.0" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "@esbuild/darwin-arm64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/darwin-arm64@npm:0.17.12" @@ -2633,6 +2654,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-arm64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/darwin-arm64@npm:0.18.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/darwin-x64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/darwin-x64@npm:0.17.12" @@ -2647,6 +2675,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-x64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/darwin-x64@npm:0.18.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@esbuild/freebsd-arm64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/freebsd-arm64@npm:0.17.12" @@ -2661,6 +2696,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-arm64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/freebsd-arm64@npm:0.18.0" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/freebsd-x64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/freebsd-x64@npm:0.17.12" @@ -2675,6 +2717,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-x64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/freebsd-x64@npm:0.18.0" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/linux-arm64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/linux-arm64@npm:0.17.12" @@ -2689,6 +2738,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/linux-arm64@npm:0.18.0" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/linux-arm@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/linux-arm@npm:0.17.12" @@ -2703,6 +2759,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/linux-arm@npm:0.18.0" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@esbuild/linux-ia32@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/linux-ia32@npm:0.17.12" @@ -2717,6 +2780,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ia32@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/linux-ia32@npm:0.18.0" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/linux-loong64@npm:0.14.53": version: 0.14.53 resolution: "@esbuild/linux-loong64@npm:0.14.53" @@ -2738,6 +2808,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/linux-loong64@npm:0.18.0" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@esbuild/linux-mips64el@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/linux-mips64el@npm:0.17.12" @@ -2752,6 +2829,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/linux-mips64el@npm:0.18.0" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "@esbuild/linux-ppc64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/linux-ppc64@npm:0.17.12" @@ -2766,6 +2850,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ppc64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/linux-ppc64@npm:0.18.0" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/linux-riscv64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/linux-riscv64@npm:0.17.12" @@ -2780,6 +2871,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-riscv64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/linux-riscv64@npm:0.18.0" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "@esbuild/linux-s390x@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/linux-s390x@npm:0.17.12" @@ -2794,6 +2892,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-s390x@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/linux-s390x@npm:0.18.0" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "@esbuild/linux-x64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/linux-x64@npm:0.17.12" @@ -2808,6 +2913,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-x64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/linux-x64@npm:0.18.0" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "@esbuild/netbsd-x64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/netbsd-x64@npm:0.17.12" @@ -2822,6 +2934,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/netbsd-x64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/netbsd-x64@npm:0.18.0" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/openbsd-x64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/openbsd-x64@npm:0.17.12" @@ -2836,6 +2955,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/openbsd-x64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/openbsd-x64@npm:0.18.0" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/sunos-x64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/sunos-x64@npm:0.17.12" @@ -2850,6 +2976,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/sunos-x64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/sunos-x64@npm:0.18.0" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "@esbuild/win32-arm64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/win32-arm64@npm:0.17.12" @@ -2864,6 +2997,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-arm64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/win32-arm64@npm:0.18.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/win32-ia32@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/win32-ia32@npm:0.17.12" @@ -2878,6 +3018,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-ia32@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/win32-ia32@npm:0.18.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/win32-x64@npm:0.17.12": version: 0.17.12 resolution: "@esbuild/win32-x64@npm:0.17.12" @@ -2892,6 +3039,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-x64@npm:0.18.0": + version: 0.18.0 + resolution: "@esbuild/win32-x64@npm:0.18.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint-community/eslint-utils@npm:^4.1.2": version: 4.1.2 resolution: "@eslint-community/eslint-utils@npm:4.1.2" @@ -3112,7 +3266,7 @@ __metadata: sass: "npm:^1.62.1" sirv-cli: "npm:^2.0.2" socket.io-client: "npm:^4.5.4" - typescript: "npm:^5.0.4" + typescript: "npm:^5.1.3" vite-plugin-glsl: "npm:^1.1.2" vite-plugin-pwa: "npm:^0.16.3" languageName: unknown @@ -3142,7 +3296,7 @@ __metadata: esbuild: "npm:^0.14.53" start-server-and-test: "npm:^1.14.0" tsx: "npm:^3.12.7" - typescript: "npm:^5.0.4" + typescript: "npm:^5.1.3" languageName: unknown linkType: soft @@ -3162,12 +3316,13 @@ __metadata: discord.js: "npm:^14.3.0" dotenv-extended: "npm:^2.9.0" dotenv-parse-variables: "npm:^2.0.0" + esbuild: "npm:^0.18.0" express: "npm:^4.18.2" mongodb: "npm:^4.8.1" nodemailer: "npm:^6.9.1" stripe: "npm:^12.2.0" tsx: "npm:^3.12.7" - typescript: "npm:^5.0.4" + typescript: "npm:^5.1.3" uws: "https://github.com/uNetworking/uWebSockets.js.git#commit=e6ecc2102d68d99dc35969b0898fbd201e0f252b" languageName: unknown linkType: soft @@ -3189,11 +3344,12 @@ __metadata: discord.js: "npm:^14.3.0" dotenv-extended: "npm:^2.9.0" dotenv-parse-variables: "npm:^2.0.0" + esbuild: "npm:^0.18.0" express: "npm:^4.18.2" mongodb: "npm:^4.8.1" sanitizer: "npm:^0.1.3" tsx: "npm:^3.12.7" - typescript: "npm:^5.0.4" + typescript: "npm:^5.1.3" uws: "https://github.com/uNetworking/uWebSockets.js.git#commit=e6ecc2102d68d99dc35969b0898fbd201e0f252b" websocket: "npm:^1.0.34" languageName: unknown @@ -3206,7 +3362,7 @@ __metadata: "@kaetram/common": "workspace:*" "@kaetram/server": "workspace:*" tsx: "npm:^3.12.7" - typescript: "npm:^5.0.4" + typescript: "npm:^5.1.3" websocket: "npm:^1.0.34" languageName: unknown linkType: soft @@ -7291,6 +7447,83 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.18.0": + version: 0.18.0 + resolution: "esbuild@npm:0.18.0" + dependencies: + "@esbuild/android-arm": "npm:0.18.0" + "@esbuild/android-arm64": "npm:0.18.0" + "@esbuild/android-x64": "npm:0.18.0" + "@esbuild/darwin-arm64": "npm:0.18.0" + "@esbuild/darwin-x64": "npm:0.18.0" + "@esbuild/freebsd-arm64": "npm:0.18.0" + "@esbuild/freebsd-x64": "npm:0.18.0" + "@esbuild/linux-arm": "npm:0.18.0" + "@esbuild/linux-arm64": "npm:0.18.0" + "@esbuild/linux-ia32": "npm:0.18.0" + "@esbuild/linux-loong64": "npm:0.18.0" + "@esbuild/linux-mips64el": "npm:0.18.0" + "@esbuild/linux-ppc64": "npm:0.18.0" + "@esbuild/linux-riscv64": "npm:0.18.0" + "@esbuild/linux-s390x": "npm:0.18.0" + "@esbuild/linux-x64": "npm:0.18.0" + "@esbuild/netbsd-x64": "npm:0.18.0" + "@esbuild/openbsd-x64": "npm:0.18.0" + "@esbuild/sunos-x64": "npm:0.18.0" + "@esbuild/win32-arm64": "npm:0.18.0" + "@esbuild/win32-ia32": "npm:0.18.0" + "@esbuild/win32-x64": "npm:0.18.0" + dependenciesMeta: + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 15414afc5167059c252b873d4b2ec2687f91df359658eaa7d90ef3ce4659fd8388f19ec65f86ab88580c375f942c9893cb2553789899d66994068052548fae67 + languageName: node + linkType: hard + "esbuild@npm:~0.17.6": version: 0.17.12 resolution: "esbuild@npm:0.17.12" @@ -10099,7 +10332,7 @@ __metadata: version: 0.0.0-use.local resolution: "kaetram@workspace:." dependencies: - "@astrojs/ts-plugin": "npm:^1.0.9" + "@astrojs/ts-plugin": "npm:^1.0.10" "@commitlint/cli": "npm:^17.4.2" "@commitlint/config-conventional": "npm:^17.4.2" "@types/node": "npm:^20.2.5" @@ -10131,7 +10364,7 @@ __metadata: stylelint-config-prettier: "npm:^9.0.5" stylelint-config-standard-scss: "npm:^9.0.0" stylelint-rem-over-px: "npm:^1.0.0" - typescript: "npm:^5.0.4" + typescript: "npm:^5.1.3" languageName: unknown linkType: soft @@ -15575,16 +15808,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.0.4": - version: 5.0.4 - resolution: "typescript@npm:5.0.4" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 56649de784c427e8f3f63d4ebfcada4fcf03bb2a301f3327342111798db7f26f8a86285f979f376cf6cec4774bd96b4650f2693a07fc409f4544ad4c4d9fe4c9 - languageName: node - linkType: hard - "typescript@patch:typescript@npm%3A*#optional!builtin, typescript@patch:typescript@npm%3A^5.1.3#optional!builtin": version: 5.1.3 resolution: "typescript@patch:typescript@npm%3A5.1.3#optional!builtin::version=5.1.3&hash=85af82" @@ -15615,16 +15838,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.0.4#optional!builtin": - version: 5.0.4 - resolution: "typescript@patch:typescript@npm%3A5.0.4#optional!builtin::version=5.0.4&hash=85af82" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 45353da032bb809a80a75f90c9db4d652e5da97e023857b494985c0aa33781efa80de10f4ee951fe4df11ef90484ef168399f974c489784344aa8881adabda82 - languageName: node - linkType: hard - "typpy@npm:2.3.11": version: 2.3.11 resolution: "typpy@npm:2.3.11"