@nativescript/template-blank-ng 8.9.0 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,13 +4,13 @@ dependencies {
4
4
  }
5
5
 
6
6
  android {
7
- compileSdkVersion 34
8
- buildToolsVersion "34"
7
+ compileSdkVersion 35
8
+ buildToolsVersion "35"
9
9
  // ndkVersion ""
10
10
 
11
11
  defaultConfig {
12
- minSdkVersion 23
13
- targetSdkVersion 34
12
+ minSdkVersion 24
13
+ targetSdkVersion 35
14
14
 
15
15
  // Version Information
16
16
  versionCode 1
@@ -4,3 +4,4 @@
4
4
  // To build for device with XCode you need to specify your development team.
5
5
  // DEVELOPMENT_TEAM = YOUR_TEAM_ID;
6
6
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
7
+ IPHONEOS_DEPLOYMENT_TARGET = 16.0;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "main": "src/main.ts",
4
4
  "displayName": "Blank",
5
5
  "templateType": "App template",
6
- "version": "8.9.0",
6
+ "version": "9.0.0",
7
7
  "description": "Blank template for NativeScript apps using Angular",
8
8
  "author": "NativeScript Team <oss@nativescript.org>",
9
9
  "license": "Apache-2.0",
@@ -40,27 +40,27 @@
40
40
  "url": "https://github.com/NativeScript/NativeScript/issues"
41
41
  },
42
42
  "dependencies": {
43
- "@angular/animations": "~19.0.0",
44
- "@angular/common": "~19.0.0",
45
- "@angular/compiler": "~19.0.0",
46
- "@angular/core": "~19.0.0",
47
- "@angular/forms": "~19.0.0",
48
- "@angular/platform-browser": "~19.0.0",
49
- "@angular/platform-browser-dynamic": "~19.0.0",
50
- "@angular/router": "~19.0.0",
51
- "@nativescript/angular": "^19.0.0",
52
- "@nativescript/core": "~8.9.0",
43
+ "@angular/animations": "~20.2.0",
44
+ "@angular/common": "~20.2.0",
45
+ "@angular/compiler": "~20.2.0",
46
+ "@angular/core": "~20.2.0",
47
+ "@angular/forms": "~20.2.0",
48
+ "@angular/platform-browser": "~20.2.0",
49
+ "@angular/platform-browser-dynamic": "~20.2.0",
50
+ "@angular/router": "~20.2.0",
51
+ "@nativescript/angular": "^20.0.0",
52
+ "@nativescript/core": "~9.0.0",
53
53
  "rxjs": "~7.8.0",
54
54
  "zone.js": "~0.15.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@angular-devkit/build-angular": "~19.0.0",
58
- "@angular/compiler-cli": "~19.0.0",
57
+ "@angular-devkit/build-angular": "~20.2.0",
58
+ "@angular/compiler-cli": "~20.2.0",
59
59
  "@nativescript/tailwind": "^2.1.0",
60
- "@nativescript/types": "~8.9.0",
61
- "@nativescript/webpack": "~5.0.0",
62
- "@ngtools/webpack": "~19.0.0",
60
+ "@nativescript/types": "~9.0.0",
61
+ "@nativescript/webpack": "~5.0.25",
62
+ "@ngtools/webpack": "~20.2.0",
63
63
  "tailwindcss": "~3.4.0",
64
- "typescript": "~5.6.0"
64
+ "typescript": "~5.8.0"
65
65
  }
66
66
  }
package/src/main.ts CHANGED
@@ -1,30 +1,21 @@
1
1
  import {
2
2
  bootstrapApplication,
3
3
  provideNativeScriptHttpClient,
4
- provideNativeScriptNgZone,
5
4
  provideNativeScriptRouter,
6
5
  runNativeScriptAngularApp,
7
6
  } from '@nativescript/angular';
8
- import { provideExperimentalZonelessChangeDetection } from '@angular/core';
7
+ import { provideZonelessChangeDetection } from '@angular/core';
9
8
  import { withInterceptorsFromDi } from '@angular/common/http';
10
9
  import { routes } from './app/app.routes';
11
10
  import { AppComponent } from './app/app.component';
12
11
 
13
- /**
14
- * Disable zone by setting this to true
15
- * Then also adjust polyfills.ts (see note there)
16
- */
17
- const EXPERIMENTAL_ZONELESS = false;
18
-
19
12
  runNativeScriptAngularApp({
20
13
  appModuleBootstrap: () => {
21
14
  return bootstrapApplication(AppComponent, {
22
15
  providers: [
23
16
  provideNativeScriptHttpClient(withInterceptorsFromDi()),
24
17
  provideNativeScriptRouter(routes),
25
- EXPERIMENTAL_ZONELESS
26
- ? provideExperimentalZonelessChangeDetection()
27
- : provideNativeScriptNgZone(),
18
+ provideZonelessChangeDetection(),
28
19
  ],
29
20
  });
30
21
  },
package/src/polyfills.ts CHANGED
@@ -6,20 +6,3 @@
6
6
  import '@nativescript/core/globals';
7
7
  // Install @nativescript/angular specific polyfills
8
8
  import '@nativescript/angular/polyfills';
9
-
10
- /**
11
- * Disable zone completely by removing the following 3 imports
12
- * alongside also adjusting main.ts to boot zoneless
13
- */
14
-
15
- /**
16
- * Zone.js and patches
17
- */
18
- // Add pre-zone.js patches needed for the NativeScript platform
19
- import '@nativescript/zone-js/dist/pre-zone-polyfills';
20
-
21
- // Zone JS is required by default for Angular itself
22
- import 'zone.js';
23
-
24
- // Add NativeScript specific Zone JS patches
25
- import '@nativescript/zone-js';
package/tsconfig.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "module": "esnext",
4
4
  "target": "ES2020",
5
- "moduleResolution": "node",
5
+ "moduleResolution": "bundler",
6
6
  "experimentalDecorators": true,
7
7
  "emitDecoratorMetadata": true,
8
8
  "noEmitHelpers": true,