diff --git a/package-lock.json b/package-lock.json index 8debec9..9b6e0fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "karma-webpack": "^5.0.0", "prettier": "^1.19.1", "regenerator-runtime": "^0.13.5", - "typescript": "^4.6.3", + "typescript": "^5.0.0", "webpack": "5.76.0", "webpack-cli": "4.10.0", "webpack-dev-server": "4.7.3", @@ -7580,15 +7580,16 @@ } }, "node_modules/typescript": { - "version": "4.6.3", - "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/ua-parser-js": { @@ -14374,8 +14375,9 @@ } }, "typescript": { - "version": "4.6.3", - "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "dev": true }, "ua-parser-js": { diff --git a/package.json b/package.json index e7dafc2..da6dd29 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "karma-webpack": "^5.0.0", "prettier": "^1.19.1", "regenerator-runtime": "^0.13.5", - "typescript": "^4.6.3", + "typescript": "^5.0.0", "webpack": "5.76.0", "webpack-cli": "4.10.0", "webpack-dev-server": "4.7.3", diff --git a/packages/amazon-sumerian-hosts-babylon/jsconfig.json b/packages/amazon-sumerian-hosts-babylon/jsconfig.json deleted file mode 100644 index ed2a344..0000000 --- a/packages/amazon-sumerian-hosts-babylon/jsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": ".", - "target": "ES2015", - "paths": { - "@amazon-sumerian-hosts/core": ["../amazon-sumerian-hosts-core/src/core"], - "app/*": ["src/Babylon.js/*"], - }, - }, - "exclude": ["node_modules", "dist", "examples"] -} \ No newline at end of file diff --git a/packages/amazon-sumerian-hosts-babylon/tsconfig.json b/packages/amazon-sumerian-hosts-babylon/tsconfig.json index 5d579b0..fec8e23 100644 --- a/packages/amazon-sumerian-hosts-babylon/tsconfig.json +++ b/packages/amazon-sumerian-hosts-babylon/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "outDir": "./dist", "composite": true, - "target": "ES6", "paths": { "@amazon-sumerian-hosts/core": [ "../amazon-sumerian-hosts-core/src/core" @@ -12,9 +11,5 @@ }, "include": [ "src/**/*" - ], - "exclude": [ - "test/**/*", - "dist/**/*" ] -} \ No newline at end of file +} diff --git a/tsconfig.json b/tsconfig.json index ec7174b..b7e3d54 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "files": [], "references": [ { - "path": "./packages/amazon-sumerian-hosts-babylon" + "path": "./packages/amazon-sumerian-hosts-babylon/tsconfig.json" } ], "compilerOptions": { @@ -23,6 +23,10 @@ // Don't compile anything found in node_modules "skipLibCheck": true, // Disable automatic inclusion of @types packages - "types": [] + "types": [], + "module": "NodeNext", + "moduleResolution": "NodeNext", + // "target": "ESNext", // Not needed because we don't transform source code, we only emit declarations + "lib": ["DOM", "ESNext"] } -} \ No newline at end of file +}