diff --git a/.editorconfig b/.editorconfig
deleted file mode 100644
index 6e87a00..0000000
--- a/.editorconfig
+++ /dev/null
@@ -1,13 +0,0 @@
-# Editor configuration, see http://editorconfig.org
-root = true
-
-[*]
-charset = utf-8
-indent_style = space
-indent_size = 2
-insert_final_newline = true
-trim_trailing_whitespace = true
-
-[*.md]
-max_line_length = off
-trim_trailing_whitespace = false
diff --git a/.eslintrc.json b/.eslintrc.json
deleted file mode 100644
index e4e4ed0..0000000
--- a/.eslintrc.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "root": true,
- "ignorePatterns": ["**/*"],
- "plugins": ["@nx"],
- "overrides": [
- {
- "files": "*.json",
- "parser": "jsonc-eslint-parser",
- "rules": {}
- },
- {
- "files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
- "rules": {
- "@nx/enforce-module-boundaries": [
- "error",
- {
- "enforceBuildableLibDependency": true,
- "allow": [],
- "depConstraints": [
- {
- "sourceTag": "*",
- "onlyDependOnLibsWithTags": ["*"]
- }
- ]
- }
- ]
- }
- },
- {
- "files": ["*.ts", "*.tsx"],
- "extends": ["plugin:@nx/typescript"],
- "rules": {
- "@typescript-eslint/no-extra-semi": "error",
- "no-extra-semi": "off"
- }
- },
- {
- "files": ["*.js", "*.jsx"],
- "extends": ["plugin:@nx/javascript"],
- "rules": {
- "@typescript-eslint/no-extra-semi": "error",
- "no-extra-semi": "off"
- }
- }
- ]
-}
diff --git a/.github/workflows/extract-templates.yml b/.github/workflows/extract-templates.yml
deleted file mode 100644
index 148df3f..0000000
--- a/.github/workflows/extract-templates.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-name: Extract Templates
-
-on:
- push:
- branches: [ main ]
-
-jobs:
- build:
- runs-on: ubuntu-latest
-
- strategy:
- matrix:
- starter: ['angular', 'javascript', 'react', 'solid', 'svelte', 'typescript', 'vue']
-
- steps:
- - uses: actions/checkout@v3
- - run: |
- # create output directory
- mkdir dist/
-
- # copy template to output directory
- cp -r apps/nativescript-starter-${{ matrix.starter }} dist/
-
- # enter template directory
- cd dist/nativescript-starter-${{ matrix.starter }}
-
- # copy gitignore from template
- cp ../../tools/assets/dot.gitignore .gitignore
-
- # remove nx project config
- rm project.json
-
- # replace App_Resources path in the config
- sed -i 's/\.\.\/\.\.\/tools\/assets\/App_Resources/App_Resources/g' nativescript.config.ts
-
- # print all files
- ls -al .
-
- - name: Deploy
- uses: s0/git-publish-subdir-action@develop
- env:
- REPO: self
- BRANCH: ${{ matrix.starter }}
- MESSAGE: "chore(update): {target-branch} to {sha}"
- FOLDER: dist/nativescript-starter-${{ matrix.starter }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.gitignore b/.gitignore
index 3a538db..1cb1231 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,51 +1,28 @@
-# See http://help.github.com/ignore-files/ for more about ignoring files.
-
-# App assets not part of the templates
-apps/**/App_Resources
-apps/**/node_modules
-apps/**/platforms
-apps/**/hooks
-apps/**/package-lock.json
-apps/**/yarn.lock
-
-# compiled output
-/dist
-/tmp
-/out-tsc
-
-# dependencies
-node_modules
-
-# IDEs and editors
-/.idea
+# NativeScript
+hooks/
+node_modules/
+platforms/
+
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+
+# General
+.DS_Store
+.AppleDouble
+.LSOverride
+.idea
+.cloud
.project
-.classpath
-.c9/
-*.launch
-.settings/
-*.sublime-workspace
+tmp/
+typings/
-# IDE - VSCode
+# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
-
-# misc
-/.sass-cache
-/connect.lock
-/coverage
-/libpeerconnection.log
-npm-debug.log
-yarn-error.log
-testem.log
-/typings
-package-lock.json
-
-# System Files
-.DS_Store
-Thumbs.db
-
-.nx/cache
-.nx/workspace-data
\ No newline at end of file
diff --git a/.prettierignore b/.prettierignore
deleted file mode 100644
index daffe92..0000000
--- a/.prettierignore
+++ /dev/null
@@ -1,7 +0,0 @@
-# Add files here to ignore them from prettier formatting
-
-/dist
-/coverage
-
-/.nx/cache
-/.nx/workspace-data
\ No newline at end of file
diff --git a/.prettierrc b/.prettierrc
deleted file mode 100644
index 544138b..0000000
--- a/.prettierrc
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "singleQuote": true
-}
diff --git a/apps/nativescript-starter-angular/.stackblitzrc b/.stackblitzrc
similarity index 100%
rename from apps/nativescript-starter-angular/.stackblitzrc
rename to .stackblitzrc
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
deleted file mode 100644
index 97e81d4..0000000
--- a/.vscode/extensions.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "recommendations": [
- "nrwl.angular-console",
- "esbenp.prettier-vscode",
- "firsttris.vscode-jest-runner"
- ]
-}
diff --git a/.vscode/settings.json b/.vscode/settings.json
deleted file mode 100644
index 1471fb9..0000000
--- a/.vscode/settings.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "eslint.validate": ["json"]
-}
diff --git a/README.md b/README.md
deleted file mode 100644
index 8345c49..0000000
--- a/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-# StackBlitz Templates
-
-The templates are managed on the `main` branch only - the individual flavor branches are automatically updated when pushing to `main`
-
-> **Warning:** Do not edit the individual flavor branches manually!.
-
-# Templates
-
-- TypeScript: https://new.nativescript.org
-- Angular: https://new.nativescript.org/angular
-- JavaScript: https://new.nativescript.org/javascript
-- React: https://new.nativescript.org/react
-- Svelte: https://new.nativescript.org/svelte
-- TypeScript: https://new.nativescript.org/typescript
-- Vue: https://new.nativescript.org/vue
-
-- https://nativescript.new
-- https://nativescript.new/angular
-- https://nativescript.new/javascript
-- https://nativescript.new/react
-- https://nativescript.new/svelte
-- https://nativescript.new/typescript
-- https://nativescript.new/vue
-
-
-
-
-Full URLS (used in redirects)
-
-
-```
-/ /typescript
-/angular https://stackblitz.com/fork/github/NativeScript/stackblitz-templates/tree/angular?file=src%2Fapp%2Fitem%2Fitems.component.html&title=NativeScript%20Starter%20Angular
-/javascript https://stackblitz.com/fork/github/NativeScript/stackblitz-templates/tree/javascript?file=app%2Fmain-page.xml&title=NativeScript%20Starter%20JavaScript
-/react https://stackblitz.com/fork/github/NativeScript/stackblitz-templates/tree/react?file=src%2Fcomponents%2FHomeScreen.tsx&title=NativeScript%20Starter%20React
-/svelte https://stackblitz.com/fork/github/NativeScript/stackblitz-templates/tree/svelte?file=app%2Fcomponents%2FHome.svelte&title=NativeScript%20Starter%20Svelte
-/typescript https://stackblitz.com/fork/github/NativeScript/stackblitz-templates/tree/typescript?file=app%2Fmain-page.xml&title=NativeScript%20Starter%20TypeScript
-/vue https://stackblitz.com/fork/github/NativeScript/stackblitz-templates/tree/vue?file=app%2Fcomponents%2FHome.vue&title=NativeScript%20Starter%20Vue
-```
-
-
diff --git a/apps/.gitkeep b/apps/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/apps/nativescript-starter-angular/nativescript.config.ts b/apps/nativescript-starter-angular/nativescript.config.ts
deleted file mode 100644
index f2ac392..0000000
--- a/apps/nativescript-starter-angular/nativescript.config.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NativeScriptConfig } from '@nativescript/core';
-
-export default {
- id: 'org.nativescript.app',
- appPath: 'src',
- appResourcesPath: '../../tools/assets/App_Resources',
- android: {
- v8Flags: '--expose_gc',
- markingMode: 'none',
- },
-} as NativeScriptConfig;
diff --git a/apps/nativescript-starter-angular/package.json b/apps/nativescript-starter-angular/package.json
deleted file mode 100644
index 812eefd..0000000
--- a/apps/nativescript-starter-angular/package.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "name": "stackblitz-nativescript-angular",
- "main": "./src/main.ts",
- "version": "1.0.0",
- "private": true,
- "dependencies": {
- "@angular/animations": "~20.0.0",
- "@angular/common": "~20.0.0",
- "@angular/compiler": "~20.0.0",
- "@angular/core": "~20.0.0",
- "@angular/forms": "~20.0.0",
- "@angular/platform-browser": "~20.0.0",
- "@angular/platform-browser-dynamic": "~20.0.0",
- "@angular/router": "~20.0.0",
- "@nativescript/angular": "^20.0.0",
- "@nativescript/core": "~8.9.0",
- "rxjs": "~7.8.0",
- "zone.js": "~0.15.0"
- },
- "devDependencies": {
- "@angular-devkit/build-angular": "~20.0.0",
- "@angular/compiler-cli": "~20.0.0",
- "@nativescript/preview-cli": "^1.0.14",
- "@nativescript/stackblitz": "^0.0.8",
- "@nativescript/tailwind": "^2.1.0",
- "@nativescript/types": "~8.9.0",
- "@nativescript/webpack": "~5.0.27",
- "@ngtools/webpack": "~20.0.0",
- "tailwindcss": "~3.4.0",
- "typescript": "~5.8.0"
- }
-}
diff --git a/apps/nativescript-starter-angular/project.json b/apps/nativescript-starter-angular/project.json
deleted file mode 100644
index e5c849d..0000000
--- a/apps/nativescript-starter-angular/project.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "name": "nativescript-starter-angular",
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
- "sourceRoot": "apps/nativescript-starter-angular/src",
- "projectType": "application",
- "targets": {
- "build": {
- "executor": "@nativescript/nx:build",
- "options": {
- "noHmr": true,
- "production": true,
- "uglify": true,
- "release": true,
- "forDevice": true
- },
- "configurations": {}
- },
- "debug": {
- "executor": "@nativescript/nx:debug",
- "options": {
- "noHmr": true,
- "uglify": false,
- "release": false,
- "forDevice": false,
- "prepare": false
- },
- "configurations": {}
- },
- "clean": {
- "executor": "@nativescript/nx:clean",
- "options": {}
- },
- "lint": {
- "executor": "@nx/eslint:lint"
- }
- }
-}
\ No newline at end of file
diff --git a/apps/nativescript-starter-angular/src/app.css b/apps/nativescript-starter-angular/src/app.css
deleted file mode 100644
index bd6213e..0000000
--- a/apps/nativescript-starter-angular/src/app.css
+++ /dev/null
@@ -1,3 +0,0 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
\ No newline at end of file
diff --git a/apps/nativescript-starter-angular/src/app/app.component.html b/apps/nativescript-starter-angular/src/app/app.component.html
deleted file mode 100644
index be22686..0000000
--- a/apps/nativescript-starter-angular/src/app/app.component.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/apps/nativescript-starter-angular/src/app/app.component.ts b/apps/nativescript-starter-angular/src/app/app.component.ts
deleted file mode 100644
index b391b90..0000000
--- a/apps/nativescript-starter-angular/src/app/app.component.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { Component, NO_ERRORS_SCHEMA } from '@angular/core';
-import { PageRouterOutlet } from '@nativescript/angular';
-
-@Component({
- selector: 'ns-app',
- templateUrl: './app.component.html',
- imports: [PageRouterOutlet],
- schemas: [NO_ERRORS_SCHEMA],
-})
-export class AppComponent {}
diff --git a/apps/nativescript-starter-angular/src/app/app.routes.ts b/apps/nativescript-starter-angular/src/app/app.routes.ts
deleted file mode 100644
index 607e5ad..0000000
--- a/apps/nativescript-starter-angular/src/app/app.routes.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Routes } from '@angular/router';
-import { PeopleComponent } from './people/person.component';
-import { PersonDetailComponent } from './people/person-detail.component';
-
-export const routes: Routes = [
- { path: '', redirectTo: '/items', pathMatch: 'full' },
- { path: 'items', component: PeopleComponent },
- { path: 'item/:id', component: PersonDetailComponent },
-];
diff --git a/apps/nativescript-starter-angular/src/app/people/people.component.html b/apps/nativescript-starter-angular/src/app/people/people.component.html
deleted file mode 100644
index 5e7d37b..0000000
--- a/apps/nativescript-starter-angular/src/app/people/people.component.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/apps/nativescript-starter-angular/src/app/people/person-detail.component.html b/apps/nativescript-starter-angular/src/app/people/person-detail.component.html
deleted file mode 100644
index d8ffbad..0000000
--- a/apps/nativescript-starter-angular/src/app/people/person-detail.component.html
+++ /dev/null
@@ -1,29 +0,0 @@
-
-@if (isAndroid) {
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/apps/nativescript-starter-angular/src/app/people/person-detail.component.ts b/apps/nativescript-starter-angular/src/app/people/person-detail.component.ts
deleted file mode 100644
index 99df2f4..0000000
--- a/apps/nativescript-starter-angular/src/app/people/person-detail.component.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-import { ChangeDetectionStrategy, Component, NO_ERRORS_SCHEMA, OnInit, inject, signal } from '@angular/core';
-import { ActivatedRoute } from '@angular/router';
-import { NativeScriptCommonModule, RouterExtensions } from '@nativescript/angular';
-import { Person } from './person';
-import { PersonService } from './person.service';
-
-@Component({
- selector: 'ns-person-detail',
- templateUrl: './person-detail.component.html',
- imports: [NativeScriptCommonModule],
- schemas: [NO_ERRORS_SCHEMA],
- changeDetection: ChangeDetectionStrategy.OnPush
-})
-export class PersonDetailComponent implements OnInit {
- personService = inject(PersonService);
-routerExtensions = inject(RouterExtensions);
- route = inject(ActivatedRoute);
- person = signal(null);
- isAndroid = __ANDROID__;
-
- ngOnInit(): void {
- const id = +this.route.snapshot.params.id;
- this.person.set(this.personService.getPerson(id));
-
- // log the person to the console
- console.log(this.person());
- }
-
-
- goBack() {
- this.routerExtensions.back();
- }
-
- formatAchievements(achievements: string[] | undefined | null): string {
- if (!achievements || !Array.isArray(achievements)) return '';
- return achievements.map( (a, index) => (index + 1) + '. ' + a.trim()).join('\n');
- }
-
-}
diff --git a/apps/nativescript-starter-angular/src/app/people/person.component.ts b/apps/nativescript-starter-angular/src/app/people/person.component.ts
deleted file mode 100644
index df79f09..0000000
--- a/apps/nativescript-starter-angular/src/app/people/person.component.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { ChangeDetectionStrategy, Component, NO_ERRORS_SCHEMA, inject } from '@angular/core'
-import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'
-import { Page } from '@nativescript/core'
-import { PersonService } from './person.service'
-
-@Component({
- selector: 'ns-people',
- templateUrl: './people.component.html',
- imports: [NativeScriptCommonModule, NativeScriptRouterModule],
- schemas: [NO_ERRORS_SCHEMA],
- changeDetection: ChangeDetectionStrategy.OnPush
-})
-export class PeopleComponent {
- personService = inject(PersonService);
- page = inject(Page);
-
- constructor() {
- // Setup large titles on iOS
- this.page.on('loaded', (args) => {
- if (__IOS__) {
- const navigationController: UINavigationController = this.page.frame.ios.controller;
- navigationController.navigationBar.prefersLargeTitles = true;
- }
- })
- }
-}
diff --git a/apps/nativescript-starter-angular/src/app/people/person.service.ts b/apps/nativescript-starter-angular/src/app/people/person.service.ts
deleted file mode 100644
index f1af52b..0000000
--- a/apps/nativescript-starter-angular/src/app/people/person.service.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import { Injectable, signal } from '@angular/core';
-import { Person } from './person';
-
-@Injectable({providedIn: 'root'})
-export class PersonService {
- items = signal([
- { id: 1, name: 'Alan Turing', nationality: 'British', notableAchievements: ['WW2 code breaking', 'Father of theoretical computer science and AI' ] },
- { id: 2, name: 'Grace Hopper', nationality: 'American', notableAchievements: ['COBOL development', 'Navy commander', 'Implementation of computer systems and components testing'] },
- { id: 3, name: 'Donal Knuth', nationality: 'American', notableAchievements: [ 'Author of The Art of Computer Programming', 'Created TeX typesetting system' ] },
- { id: 4, name: 'Ada Lovelace', nationality: 'British', notableAchievements: [ 'First computer programmer', 'Worked on Analytical Engine' ]},
- { id: 5, name: 'John von Neumann', nationality: 'Hungarian/American', notableAchievements: [ 'Von Neumann architecture', 'Game theory', 'Contributed to EDVAC' ] },
- { id: 6, name: 'Tim Berners-Lee', nationality: 'British', notableAchievements: [ 'Inventor of the World Wide Web' ] },
- { id: 7, name: 'Edsger Dijkstra', nationality: 'Dutch', notableAchievements: [ 'Shortest path algorithm', 'Structured programming advocate' ] },
- { id: 8, name: 'Linus Torvalds', nationality: 'Finnish-American', notableAchievements: ['Creator of Linux kernel', 'Creator of Git'] },
- { id: 9, name: 'John McCarthy', nationality: 'American', notableAchievements: ['Coined term "Artificial Intelligence"', 'Created LISP programming language'] },
- { id: 10, name: 'Dennis Ritchie', nationality: 'American', notableAchievements: ['Creator of C programming language', 'Co-creator of Unix'] },
- { id: 11, name: 'Bjarne Stroustrup', nationality: 'Danish', notableAchievements: [ 'Creator of C++ programming language' ] },
- { id: 12, name: 'Steve Wozniak', nationality: 'American', notableAchievements: ['Co-founder of Apple', 'Designer of Apple I & II', 'Pioneer of personal computing'] },
- { id: 13, name: 'Tommy Flowers', nationality: 'British', notableAchievements: ['Designer of Colossus', 'Pioneer in electronic computing'] },
- { id: 14, name: 'John Backus', nationality: 'American', notableAchievements: ['Created FORTRAN', 'Developed Backus-Naur form(BNF) notation'] },
- { id: 15, name: 'Niklaus Wirth', nationality: 'Swiss', notableAchievements: ['Creator of Pascal, Modula, Oberon languages', 'Software engineering pioneer'] },
- ]);
-
- getPerson(id: number): Person {
- return this.items().find((person) => person.id === id);
- }
-}
diff --git a/apps/nativescript-starter-angular/src/app/people/person.ts b/apps/nativescript-starter-angular/src/app/people/person.ts
deleted file mode 100644
index f297616..0000000
--- a/apps/nativescript-starter-angular/src/app/people/person.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export interface Person {
- id: number;
- name: string;
- nationality: string;
- notableAchievements: string[];
-}
diff --git a/apps/nativescript-starter-angular/src/main.ts b/apps/nativescript-starter-angular/src/main.ts
deleted file mode 100644
index 351c4c1..0000000
--- a/apps/nativescript-starter-angular/src/main.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import {
- bootstrapApplication,
- provideNativeScriptHttpClient,
- provideNativeScriptRouter,
- runNativeScriptAngularApp,
-} from '@nativescript/angular';
-import { provideZonelessChangeDetection } from '@angular/core';
-import { withInterceptorsFromDi } from '@angular/common/http';
-import { routes } from './app/app.routes';
-import { AppComponent } from './app/app.component';
-
-runNativeScriptAngularApp({
- appModuleBootstrap: () => {
- return bootstrapApplication(AppComponent, {
- providers: [
- provideNativeScriptHttpClient(withInterceptorsFromDi()),
- provideNativeScriptRouter(routes),
- provideZonelessChangeDetection(),
- ],
- });
- },
-});
diff --git a/apps/nativescript-starter-angular/src/polyfills.ts b/apps/nativescript-starter-angular/src/polyfills.ts
deleted file mode 100644
index 0929f3d..0000000
--- a/apps/nativescript-starter-angular/src/polyfills.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * NativeScript Polyfills
- */
-
-// Install @nativescript/core polyfills (XHR, setTimeout, requestAnimationFrame)
-import '@nativescript/core/globals';
-// Install @nativescript/angular specific polyfills
-import '@nativescript/angular/polyfills';
diff --git a/apps/nativescript-starter-angular/tsconfig.json b/apps/nativescript-starter-angular/tsconfig.json
deleted file mode 100644
index 6e98a43..0000000
--- a/apps/nativescript-starter-angular/tsconfig.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "compilerOptions": {
- "module": "esnext",
- "target": "ES2020",
- "moduleResolution": "bundler",
- "experimentalDecorators": true,
- "emitDecoratorMetadata": true,
- "noEmitHelpers": true,
- "noEmitOnError": true,
- "skipLibCheck": true,
- "lib": ["ESNext", "dom"],
- "baseUrl": ".",
- "paths": {
- "~/*": ["src/*"],
- "@/*": ["src/*"]
- }
- },
- "include": ["src/tests/**/*.ts", "src/**/*.ios.ts", "src/**/*.android.ts"],
- "files": ["./src/main.ts", "./references.d.ts", "./src/polyfills.ts"],
- "exclude": ["node_modules", "platforms", "e2e"]
-}
diff --git a/apps/nativescript-starter-javascript/.stackblitzrc b/apps/nativescript-starter-javascript/.stackblitzrc
deleted file mode 100644
index 0c7b450..0000000
--- a/apps/nativescript-starter-javascript/.stackblitzrc
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "installDependencies": true,
- "compileTrigger": "save",
- "startCommand": "setup-nativescript-stackblitz && ns preview"
-}
diff --git a/apps/nativescript-starter-javascript/app/app-root.xml b/apps/nativescript-starter-javascript/app/app-root.xml
deleted file mode 100644
index 54e70d9..0000000
--- a/apps/nativescript-starter-javascript/app/app-root.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
diff --git a/apps/nativescript-starter-javascript/app/app.css b/apps/nativescript-starter-javascript/app/app.css
deleted file mode 100644
index bd6213e..0000000
--- a/apps/nativescript-starter-javascript/app/app.css
+++ /dev/null
@@ -1,3 +0,0 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
\ No newline at end of file
diff --git a/apps/nativescript-starter-javascript/app/app.js b/apps/nativescript-starter-javascript/app/app.js
deleted file mode 100644
index a4c5c52..0000000
--- a/apps/nativescript-starter-javascript/app/app.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import { Application } from '@nativescript/core';
-
-Application.run({ moduleName: 'app-root' });
diff --git a/apps/nativescript-starter-javascript/app/main-page.js b/apps/nativescript-starter-javascript/app/main-page.js
deleted file mode 100644
index 8624dce..0000000
--- a/apps/nativescript-starter-javascript/app/main-page.js
+++ /dev/null
@@ -1,6 +0,0 @@
-import { createViewModel } from './main-view-model';
-
-export function onNavigatingTo(args) {
- const page = args.object;
- page.bindingContext = createViewModel();
-}
diff --git a/apps/nativescript-starter-javascript/app/main-page.xml b/apps/nativescript-starter-javascript/app/main-page.xml
deleted file mode 100644
index 1db3781..0000000
--- a/apps/nativescript-starter-javascript/app/main-page.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/apps/nativescript-starter-javascript/app/main-view-model.js b/apps/nativescript-starter-javascript/app/main-view-model.js
deleted file mode 100644
index 9dd2da3..0000000
--- a/apps/nativescript-starter-javascript/app/main-view-model.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import { Observable } from '@nativescript/core';
-
-function getMessage(counter) {
- if (counter <= 0) {
- return 'Hoorraaay! You unlocked the NativeScript clicker achievement!';
- } else {
- return `${counter} taps left`;
- }
-}
-
-export function createViewModel() {
- const viewModel = new Observable();
- viewModel.counter = 42;
- viewModel.message = getMessage(viewModel.counter);
-
- viewModel.onTap = () => {
- viewModel.counter--;
- viewModel.set('message', getMessage(viewModel.counter));
-
- // log the message to the console
- console.log(getMessage(viewModel.counter));
- };
-
- return viewModel;
-}
diff --git a/apps/nativescript-starter-javascript/nativescript.config.ts b/apps/nativescript-starter-javascript/nativescript.config.ts
deleted file mode 100644
index d85a2fc..0000000
--- a/apps/nativescript-starter-javascript/nativescript.config.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NativeScriptConfig } from '@nativescript/core';
-
-export default {
- id: 'org.nativescript.app',
- appPath: 'app',
- appResourcesPath: '../../tools/assets/App_Resources',
- android: {
- v8Flags: '--expose_gc',
- markingMode: 'none'
- }
-} as NativeScriptConfig;
diff --git a/apps/nativescript-starter-javascript/package.json b/apps/nativescript-starter-javascript/package.json
deleted file mode 100644
index fd52348..0000000
--- a/apps/nativescript-starter-javascript/package.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "name": "samplejs",
- "main": "app/app.js",
- "version": "1.0.0",
- "private": true,
- "dependencies": {
- "@nativescript/core": "~8.9.0"
- },
- "devDependencies": {
- "@nativescript/preview-cli": "^1.0.14",
- "@nativescript/stackblitz": "^0.0.8",
- "@nativescript/tailwind": "^2.1.0",
- "@nativescript/webpack": "~5.0.27",
- "tailwindcss": "~3.4.0"
- }
-}
diff --git a/apps/nativescript-starter-javascript/project.json b/apps/nativescript-starter-javascript/project.json
deleted file mode 100644
index c4a123a..0000000
--- a/apps/nativescript-starter-javascript/project.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "name": "nativescript-starter-javascript",
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
- "sourceRoot": "apps/nativescript-starter-javascript/src",
- "projectType": "application",
- "targets": {
- "build": {
- "executor": "@nativescript/nx:build",
- "options": {
- "noHmr": true,
- "production": true,
- "uglify": true,
- "release": true,
- "forDevice": true
- },
- "configurations": {
- "prod": {
- "fileReplacements": [
- {
- "replace": "./src/environments/environment.ts",
- "with": "./src/environments/environment.prod.ts"
- }
- ]
- }
- }
- },
- "debug": {
- "executor": "@nativescript/nx:debug",
- "options": {
- "noHmr": true,
- "uglify": false,
- "release": false,
- "forDevice": false,
- "prepare": false
- },
- "configurations": {}
- },
- "clean": {
- "executor": "@nativescript/nx:clean",
- "options": {}
- },
- "lint": {
- "executor": "@nx/eslint:lint"
- }
- }
-}
\ No newline at end of file
diff --git a/apps/nativescript-starter-javascript/tailwind.config.js b/apps/nativescript-starter-javascript/tailwind.config.js
deleted file mode 100644
index 30c2b16..0000000
--- a/apps/nativescript-starter-javascript/tailwind.config.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/** @type {import('tailwindcss').Config} */
-module.exports = {
- content: [
- './app/**/*.{css,xml,html,vue,svelte,ts,tsx}'
- ],
- // use the .ns-dark class to control dark mode (applied by NativeScript) - since 'media' (default) is not supported.
- darkMode: ['class', '.ns-dark'],
- theme: {
- extend: {},
- },
- plugins: [],
- corePlugins: {
- preflight: false // disables browser-specific resets
- }
-}
diff --git a/apps/nativescript-starter-javascript/webpack.config.js b/apps/nativescript-starter-javascript/webpack.config.js
deleted file mode 100644
index b80dc7f..0000000
--- a/apps/nativescript-starter-javascript/webpack.config.js
+++ /dev/null
@@ -1,10 +0,0 @@
-const webpack = require('@nativescript/webpack');
-
-module.exports = (env) => {
- webpack.init(env);
-
- // Learn how to customize:
- // https://docs.nativescript.org/webpack
-
- return webpack.resolveConfig();
-};
diff --git a/apps/nativescript-starter-react/.stackblitzrc b/apps/nativescript-starter-react/.stackblitzrc
deleted file mode 100644
index 0c7b450..0000000
--- a/apps/nativescript-starter-react/.stackblitzrc
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "installDependencies": true,
- "compileTrigger": "save",
- "startCommand": "setup-nativescript-stackblitz && ns preview"
-}
diff --git a/apps/nativescript-starter-react/package.json b/apps/nativescript-starter-react/package.json
deleted file mode 100644
index 250aea5..0000000
--- a/apps/nativescript-starter-react/package.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "name": "stackblitz-nativescript-react",
- "main": "src/app.ts",
- "version": "1.0.0",
- "private": true,
- "dependencies": {
- "@nativescript/core": "~8.9.0",
- "react": "^18.2.0",
- "react-nativescript": "^5.0.0",
- "react-nativescript-navigation": "^5.0.0"
- },
- "devDependencies": {
- "@nativescript/preview-cli": "^1.0.14",
- "@nativescript/stackblitz": "^0.0.8",
- "@nativescript/tailwind": "^2.1.0",
- "@nativescript/types": "~8.9.0",
- "@nativescript/webpack": "~5.0.27",
- "@types/react": "npm:types-react-without-jsx-intrinsics@^18.0.17",
- "tailwindcss": "~3.4.0",
- "typescript": "~5.4.0"
- },
- "scripts": {
- "type-check": "tsc --noEmit"
- }
-}
diff --git a/apps/nativescript-starter-react/project.json b/apps/nativescript-starter-react/project.json
deleted file mode 100644
index 2eb8b92..0000000
--- a/apps/nativescript-starter-react/project.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "name": "nativescript-starter-react",
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
- "sourceRoot": "apps/nativescript-starter-react/src",
- "projectType": "application",
- "targets": {
- "build": {
- "executor": "@nativescript/nx:build",
- "options": {
- "noHmr": true,
- "production": true,
- "uglify": true,
- "release": true,
- "forDevice": true
- },
- "configurations": {
- "prod": {
- "fileReplacements": [
- {
- "replace": "./src/environments/environment.ts",
- "with": "./src/environments/environment.prod.ts"
- }
- ]
- }
- }
- },
- "debug": {
- "executor": "@nativescript/nx:debug",
- "options": {
- "noHmr": true,
- "uglify": false,
- "release": false,
- "forDevice": false,
- "prepare": false
- },
- "configurations": {}
- },
- "clean": {
- "executor": "@nativescript/nx:clean",
- "options": {}
- },
- "lint": {
- "executor": "@nx/eslint:lint"
- }
- }
-}
\ No newline at end of file
diff --git a/apps/nativescript-starter-react/references.d.ts b/apps/nativescript-starter-react/references.d.ts
deleted file mode 100644
index d743326..0000000
--- a/apps/nativescript-starter-react/references.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-///
diff --git a/apps/nativescript-starter-react/tailwind.config.js b/apps/nativescript-starter-react/tailwind.config.js
deleted file mode 100644
index 3a61b35..0000000
--- a/apps/nativescript-starter-react/tailwind.config.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/** @type {import('tailwindcss').Config} */
-module.exports = {
- content: [
- './src/**/*.{css,xml,html,vue,svelte,ts,tsx}'
- ],
- // use the .ns-dark class to control dark mode (applied by NativeScript) - since 'media' (default) is not supported.
- darkMode: ['class', '.ns-dark'],
- theme: {
- extend: {},
- },
- plugins: [],
- corePlugins: {
- preflight: false // disables browser-specific resets
- }
-}
diff --git a/apps/nativescript-starter-react/webpack.config.js b/apps/nativescript-starter-react/webpack.config.js
deleted file mode 100644
index b80dc7f..0000000
--- a/apps/nativescript-starter-react/webpack.config.js
+++ /dev/null
@@ -1,10 +0,0 @@
-const webpack = require('@nativescript/webpack');
-
-module.exports = (env) => {
- webpack.init(env);
-
- // Learn how to customize:
- // https://docs.nativescript.org/webpack
-
- return webpack.resolveConfig();
-};
diff --git a/apps/nativescript-starter-solid/.gitignore b/apps/nativescript-starter-solid/.gitignore
deleted file mode 100644
index 1cb1231..0000000
--- a/apps/nativescript-starter-solid/.gitignore
+++ /dev/null
@@ -1,28 +0,0 @@
-# NativeScript
-hooks/
-node_modules/
-platforms/
-
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# General
-.DS_Store
-.AppleDouble
-.LSOverride
-.idea
-.cloud
-.project
-tmp/
-typings/
-
-# Visual Studio Code
-.vscode/*
-!.vscode/settings.json
-!.vscode/tasks.json
-!.vscode/launch.json
-!.vscode/extensions.json
diff --git a/apps/nativescript-starter-solid/.npmrc b/apps/nativescript-starter-solid/.npmrc
deleted file mode 100644
index e9ee3cb..0000000
--- a/apps/nativescript-starter-solid/.npmrc
+++ /dev/null
@@ -1 +0,0 @@
-legacy-peer-deps=true
\ No newline at end of file
diff --git a/apps/nativescript-starter-solid/.stackblitzrc b/apps/nativescript-starter-solid/.stackblitzrc
deleted file mode 100644
index 0c7b450..0000000
--- a/apps/nativescript-starter-solid/.stackblitzrc
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "installDependencies": true,
- "compileTrigger": "save",
- "startCommand": "setup-nativescript-stackblitz && ns preview"
-}
diff --git a/apps/nativescript-starter-solid/nativescript.config.ts b/apps/nativescript-starter-solid/nativescript.config.ts
deleted file mode 100644
index d05e128..0000000
--- a/apps/nativescript-starter-solid/nativescript.config.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NativeScriptConfig } from '@nativescript/core';
-
-export default {
- id: 'org.nativescript.app',
- appPath: 'src',
- appResourcesPath: 'App_Resources',
- android: {
- v8Flags: '--expose_gc',
- markingMode: 'none',
- },
-} as NativeScriptConfig;
diff --git a/apps/nativescript-starter-solid/package.json b/apps/nativescript-starter-solid/package.json
deleted file mode 100644
index 1b7d10f..0000000
--- a/apps/nativescript-starter-solid/package.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "name": "stackblitz-nativescript-solid",
- "main": "src/app.js",
- "version": "1.0.0",
- "private": true,
- "scripts": {},
- "dependencies": {
- "@nativescript-community/solid-js": "^0.0.6",
- "@nativescript/core": "~8.9.0",
- "dominative": "^0.1.3",
- "solid-js": "^1.8.16",
- "undom-ng": "^1.1.2"
- },
- "devDependencies": {
- "@babel/core": "^7.24.4",
- "@babel/preset-env": "^7.24.4",
- "@babel/preset-typescript": "^7.24.1",
- "@nativescript/preview-cli": "^1.0.14",
- "@nativescript/stackblitz": "^0.0.8",
- "@nativescript/tailwind": "~2.1.0",
- "@nativescript/webpack": "~5.0.27",
- "babel": "^6.23.0",
- "babel-loader": "^9.1.3",
- "babel-preset-solid": "^1.8.8",
- "solid-refresh": "^0.7.5",
- "tailwindcss": "~3.4.3"
- }
-}
diff --git a/apps/nativescript-starter-solid/project.json b/apps/nativescript-starter-solid/project.json
deleted file mode 100644
index 2253f99..0000000
--- a/apps/nativescript-starter-solid/project.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "name": "nativescript-starter-solid",
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
- "sourceRoot": "apps/nativescript-starter-solid/src",
- "projectType": "application",
- "targets": {
- "build": {
- "executor": "@nativescript/nx:build",
- "options": {
- "noHmr": true,
- "production": true,
- "uglify": true,
- "release": true,
- "forDevice": true
- },
- "configurations": {
- "prod": {
- "fileReplacements": [
- {
- "replace": "./src/environments/environment.ts",
- "with": "./src/environments/environment.prod.ts"
- }
- ]
- }
- }
- },
- "debug": {
- "executor": "@nativescript/nx:debug",
- "options": {
- "noHmr": true,
- "uglify": false,
- "release": false,
- "forDevice": false,
- "prepare": false
- },
- "configurations": {}
- },
- "clean": {
- "executor": "@nativescript/nx:clean",
- "options": {}
- },
- "lint": {
- "executor": "@nx/eslint:lint"
- }
- }
-}
\ No newline at end of file
diff --git a/apps/nativescript-starter-solid/src/app.css b/apps/nativescript-starter-solid/src/app.css
deleted file mode 100644
index ef01ac1..0000000
--- a/apps/nativescript-starter-solid/src/app.css
+++ /dev/null
@@ -1,8 +0,0 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
-
-.h-center {
- /* {N} specific css */
- horizontal-align: center;
-}
diff --git a/apps/nativescript-starter-solid/src/app.js b/apps/nativescript-starter-solid/src/app.js
deleted file mode 100644
index e1ecbdc..0000000
--- a/apps/nativescript-starter-solid/src/app.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import { Application } from '@nativescript/core';
-import { render } from '@nativescript-community/solid-js';
-
-import { App } from './app.jsx';
-
-document.body.actionBarHidden = false;
-render(App, document.body);
-
-const create = () => document;
-
-Application.run({ create });
diff --git a/apps/nativescript-starter-solid/src/app.jsx b/apps/nativescript-starter-solid/src/app.jsx
deleted file mode 100644
index 2ac7f15..0000000
--- a/apps/nativescript-starter-solid/src/app.jsx
+++ /dev/null
@@ -1,34 +0,0 @@
-import { createSignal } from 'solid-js';
-import { Component } from './component.jsx';
-
-document.body.actionBarHidden = false;
-
-const App = () => {
- const [count, setCount] = createSignal(0);
- const increment = () => {
- setCount((c) => c + 1);
- };
- return (
- <>
-
-
-
- {
- // use 'on:___' instead of 'on___' for event handlers
- // See https://github.com/SudoMaker/dominative-solid#event-handling for detail
- }
-
-
-
- >
- );
-};
-
-export { App };
diff --git a/apps/nativescript-starter-solid/src/component.jsx b/apps/nativescript-starter-solid/src/component.jsx
deleted file mode 100644
index a943950..0000000
--- a/apps/nativescript-starter-solid/src/component.jsx
+++ /dev/null
@@ -1,13 +0,0 @@
-export const Component = (props) => {
- const { count } = props;
- return (
-