diff --git a/.eslintrc.json b/.eslintrc.json index 4755c00..0df28d9 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -12,18 +12,13 @@ "files": ["*.ts", "*.tsx"], "extends": ["plugin:@nx/typescript"], "rules": { - "@typescript-eslint/no-inferrable-types": "off", - "@typescript-eslint/no-extra-semi": "error", - "no-extra-semi": "off" + "@typescript-eslint/no-inferrable-types": "off" } }, { "files": ["*.js", "*.jsx"], "extends": ["plugin:@nx/javascript"], - "rules": { - "@typescript-eslint/no-extra-semi": "error", - "no-extra-semi": "off" - } + "rules": {} } ] } diff --git a/.gitignore b/.gitignore index 2fb1056..79ee124 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,6 @@ Thumbs.db /.env .nx/cache -.nx/workspace-data \ No newline at end of file +.nx/workspace-data +.cursor/rules/nx-rules.mdc +.github/instructions/nx.instructions.md diff --git a/.husky/pre-commit b/.husky/pre-commit index 4ebab2a..4b60b64 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged --allow-empty --relative diff --git a/apps/nativescript-demo-ng/App_Resources/Android/app.gradle b/apps/nativescript-demo-ng/App_Resources/Android/app.gradle index f995ed2..391032a 100644 --- a/apps/nativescript-demo-ng/App_Resources/Android/app.gradle +++ b/apps/nativescript-demo-ng/App_Resources/Android/app.gradle @@ -6,9 +6,10 @@ //} android { + namespace "org.nativescript.demong" defaultConfig { - minSdkVersion 17 - targetSdkVersion 29 + minSdkVersion 24 + targetSdkVersion 34 generatedDensities = [] applicationId = "org.nativescript.demong" manifestPlaceholders = [isUnitTesting:"${unitTesting}"] diff --git a/apps/nativescript-demo-ng/App_Resources/Android/src/main/AndroidManifest.xml b/apps/nativescript-demo-ng/App_Resources/Android/src/main/AndroidManifest.xml index f82cfbe..1fa4192 100644 --- a/apps/nativescript-demo-ng/App_Resources/Android/src/main/AndroidManifest.xml +++ b/apps/nativescript-demo-ng/App_Resources/Android/src/main/AndroidManifest.xml @@ -26,7 +26,8 @@ android:name="com.tns.NativeScriptActivity" android:label="@string/title_activity_kimera" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode" - android:theme="@style/LaunchScreenTheme"> + android:theme="@style/LaunchScreenTheme" + android:exported="true"> diff --git a/apps/nativescript-demo-ng/App_Resources/iOS/Info.plist b/apps/nativescript-demo-ng/App_Resources/iOS/Info.plist index 3c0d86f..3fa7c4e 100644 --- a/apps/nativescript-demo-ng/App_Resources/iOS/Info.plist +++ b/apps/nativescript-demo-ng/App_Resources/iOS/Info.plist @@ -1,58 +1,58 @@ - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - ${PRODUCT_NAME} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIRequiresFullScreen - - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - ITSAppUsesNonExemptEncryption - - NSAppTransportSecurity - - NSAllowsArbitraryLoads - - NSAllowsArbitraryLoadsForMedia + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS - NSAllowsArbitraryLoadsInWebContent + UILaunchStoryboardName + LaunchScreen + UIRequiresFullScreen + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + ITSAppUsesNonExemptEncryption + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSAllowsArbitraryLoadsForMedia + + NSAllowsArbitraryLoadsInWebContent + + - diff --git a/apps/nativescript-demo-ng/package.json b/apps/nativescript-demo-ng/package.json index 2dc6992..270596b 100644 --- a/apps/nativescript-demo-ng/package.json +++ b/apps/nativescript-demo-ng/package.json @@ -6,10 +6,10 @@ "@nativescript/core": "file:../../node_modules/@nativescript/core" }, "devDependencies": { - "@nativescript/android": "~8.8.0", - "@nativescript/ios": "~8.8.0", + "@nativescript/android": "~8.9.0", + "@nativescript/ios": "~8.9.0", "@nativescript/tailwind": "^2.1.0", "@nativescript/unit-test-runner": "^3.0.1", - "@nativescript/visionos": "8.8.1" + "@nativescript/visionos": "~8.9.0" } } diff --git a/apps/nativescript-demo-ng/src/app/item/items.component.ts b/apps/nativescript-demo-ng/src/app/item/items.component.ts index cd5972d..41f1ba6 100644 --- a/apps/nativescript-demo-ng/src/app/item/items.component.ts +++ b/apps/nativescript-demo-ng/src/app/item/items.component.ts @@ -15,7 +15,7 @@ import { ModalDialogService, NativeDialogService, NativeScriptCommonModule } fro schemas: [NO_ERRORS_SCHEMA] }) export class ItemsComponent implements OnInit, OnDestroy { - message = 'Hello Angular 19!'; + message = 'Hello Angular 20.0.0-rc.1!'; items: Array; constructor( diff --git a/apps/nativescript-demo-ng/src/app/item3/items.component.ts b/apps/nativescript-demo-ng/src/app/item3/items.component.ts index 0b7ad84..246f72c 100644 --- a/apps/nativescript-demo-ng/src/app/item3/items.component.ts +++ b/apps/nativescript-demo-ng/src/app/item3/items.component.ts @@ -15,7 +15,7 @@ import { ModalDialogService, NativeDialogService, NativeScriptCommonModule, Nati schemas: [NO_ERRORS_SCHEMA] }) export class ItemsComponent implements OnInit, OnDestroy { - message = 'Hello Angular 19'; + message = 'Hello Angular 20.0.0-rc.1'; items: Array; borderRadius: number; fontSize: number; diff --git a/apps/nativescript-demo-ng/src/app/modal/modal.component.html b/apps/nativescript-demo-ng/src/app/modal/modal.component.html index c85ab13..f8a92b6 100644 --- a/apps/nativescript-demo-ng/src/app/modal/modal.component.html +++ b/apps/nativescript-demo-ng/src/app/modal/modal.component.html @@ -1,6 +1,6 @@ - +