mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 10:01:08 +08:00
chore: TypeScript 5.2 with Nx 16.8.1 (#10380)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{
|
||||
"useTabs": true,
|
||||
"printWidth": 80,
|
||||
"tabWidth": 2,
|
||||
"singleQuote": true
|
||||
"useTabs": true,
|
||||
"printWidth": 80,
|
||||
"tabWidth": 2,
|
||||
"singleQuote": true
|
||||
}
|
||||
|
@ -54,20 +54,20 @@
|
||||
"webpack-virtual-modules": "^0.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^16.1.0",
|
||||
"@angular-devkit/build-angular": "^16.2.0",
|
||||
"@types/css": "0.0.33",
|
||||
"@types/jest": "29.5.2",
|
||||
"@types/jest": "29.5.4",
|
||||
"@types/loader-utils": "2.0.3",
|
||||
"@types/lodash.get": "4.4.7",
|
||||
"@types/micromatch": "4.0.2",
|
||||
"@types/sax": "1.2.4",
|
||||
"@types/terser-webpack-plugin": "5.2.0",
|
||||
"@types/webpack-virtual-modules": "0.1.1",
|
||||
"jest": "29.5.0",
|
||||
"jest-matcher-utils": "29.4.1",
|
||||
"jest": "~29.6.4",
|
||||
"jest-matcher-utils": "~29.6.4",
|
||||
"nativescript-vue-template-compiler": "2.9.3",
|
||||
"ts-jest": "29.1.0",
|
||||
"typescript": "5.1.6"
|
||||
"ts-jest": "29.1.1",
|
||||
"typescript": "~5.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"nativescript-vue-template-compiler": "^2.8.1"
|
||||
|
@ -21,12 +21,12 @@ WorkerDependency.Template.prototype.apply = function apply(
|
||||
) {
|
||||
const { chunkGraph, moduleGraph, runtimeRequirements } = templateContext;
|
||||
const dep = /** @type {WorkerDependency} */ dependency;
|
||||
const block = /** @type {AsyncDependenciesBlock} */ moduleGraph.getParentBlock(
|
||||
dependency
|
||||
);
|
||||
const entrypoint = /** @type {Entrypoint} */ chunkGraph.getBlockChunkGroup(
|
||||
block
|
||||
);
|
||||
const block =
|
||||
/** @type {AsyncDependenciesBlock} */ moduleGraph.getParentBlock(
|
||||
dependency
|
||||
);
|
||||
const entrypoint =
|
||||
/** @type {Entrypoint} */ chunkGraph.getBlockChunkGroup(block);
|
||||
const chunk = entrypoint.getEntrypointChunk();
|
||||
|
||||
// runtimeRequirements.add(RuntimeGlobals.publicPath);
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": ["src"]
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user