Skip to content

Commit 889ee00

Browse files
authored
Merge branch 'main' into feat/property-optimizations
2 parents a46c245 + 440ae0e commit 889ee00

File tree

325 files changed

+9957
-10288
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+9957
-10288
lines changed

.github/workflows/apps_automated_android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ jobs:
6767
- name: Run tests on Android Emulator
6868
uses: reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # v2.34.0
6969
with:
70-
api-level: 34
70+
api-level: 35
7171
arch: x86_64
7272
script: npx nx test apps-automated -c=android

.github/workflows/npm_release_core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
# TODO: build ui-mobile-base first
4747
- name: Build @nativescript/core
48-
run: npx nx run core:build.npm
48+
run: npx nx build core
4949

5050
- name: Publish @nativescript/core
5151
working-directory: dist/packages/core

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,34 @@
1919

2020
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FNativeScript%2FNativeScript.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FNativeScript%2FNativeScript?ref=badge_large)
2121

22+
## Quick Start
23+
24+
To get started with NativeScript, follow these steps:
25+
26+
1. **Install the NativeScript CLI globally:**
27+
```bash
28+
npm install -g nativescript
29+
```
30+
31+
2. **Create a new project:**
32+
```bash
33+
ns create my-app
34+
```
35+
36+
3. **Navigate into your project directory:**
37+
```bash
38+
cd my-app
39+
```
40+
41+
4. **Run your app on an emulator or device:**
42+
```bash
43+
ns run android
44+
```
45+
or
46+
```bash
47+
ns run ios
48+
```
49+
2250
## Contribute
2351

2452
1. [Setup your local development environment](https://docs.nativescript.org/setup/)

apps/automated/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
!webpack.config.js
2+
hooks

apps/automated/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core"
1212
},
1313
"devDependencies": {
14-
"@nativescript/android": "~8.9.0",
15-
"@nativescript/ios": "~8.9.0",
14+
"@nativescript/android": "alpha",
15+
"@nativescript/ios": "alpha",
1616
"@nativescript/visionos": "~8.9.0",
1717
"@nativescript/webpack": "file:../../dist/packages/webpack5",
1818
"circular-dependency-plugin": "^5.2.2",

apps/automated/project.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"forDevice": false,
3434
"prepare": false
3535
},
36-
"configurations": {},
3736
"dependsOn": ["^build"]
3837
},
3938
"prepare": {

apps/automated/src/xml-parser-tests/xml-with-namespaces.xml renamed to apps/automated/src/assets/xml-with-namespaces.xml

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"eventType":"StartElement","position":{"line":2,"column":1},"elementName":"DocumentElement","attributes":{"param":"value"}}{"eventType":"StartElement","position":{"line":3,"column":3},"elementName":"First.Element","attributes":{"some.attr":"some.value"}}{"eventType":"Text","position":{"line":3,"column":41},"data":"\n ¶ Some Text ®\n "}{"eventType":"EndElement","position":{"line":5,"column":3},"elementName":"First.Element"}{"eventType":"StartElement","position":{"line":7,"column":3},"elementName":"SecondElement","attributes":{"param2":"something"}}{"eventType":"Text","position":{"line":7,"column":37},"data":"\n Pre-Text "}{"eventType":"StartElement","position":{"line":8,"column":14},"elementName":"Inline"}{"eventType":"Text","position":{"line":8,"column":22},"data":"Inlined text"}{"eventType":"EndElement","position":{"line":8,"column":34},"elementName":"Inline"}{"eventType":"Text","position":{"line":8,"column":43},"data":" Post-text.\n "}{"eventType":"EndElement","position":{"line":9,"column":3},"elementName":"SecondElement"}{"eventType":"StartElement","position":{"line":10,"column":3},"elementName":"entities"}{"eventType":"Text","position":{"line":10,"column":13},"data":"Xml tags begin with \"<\" and end with \">\" Ampersand is & and apostrophe is '"}{"eventType":"EndElement","position":{"line":10,"column":123},"elementName":"entities"}{"eventType":"StartElement","position":{"line":11,"column":3},"elementName":"script"}{"eventType":"CDATA","position":{"line":12,"column":5},"data":"\nfunction sum(a,b)\n{\n return a+b;\n}\n"}{"eventType":"EndElement","position":{"line":18,"column":3},"elementName":"script"}{"eventType":"Comment","position":{"line":19,"column":3},"data":"\n Hello,\n I am a multi-line XML comment.\n"}{"eventType":"EndElement","position":{"line":23,"column":1},"elementName":"DocumentElement"}
1+
{"eventType":"StartElement","position":{"line":2,"column":1},"elementName":"DocumentElement","attributes":{"param":"value"}}{"eventType":"StartElement","position":{"line":3,"column":3},"elementName":"First.Element","attributes":{"some.attr":"some.value"}}{"eventType":"Text","position":{"line":3,"column":41},"data":"\n ¶ Some Text ®\n "}{"eventType":"EndElement","position":{"line":5,"column":3},"elementName":"First.Element"}{"eventType":"StartElement","position":{"line":7,"column":3},"elementName":"SecondElement","attributes":{"param2":"something"}}{"eventType":"Text","position":{"line":7,"column":37},"data":"\n Pre-Text "}{"eventType":"StartElement","position":{"line":8,"column":14},"elementName":"Inline"}{"eventType":"Text","position":{"line":8,"column":22},"data":"Inlined text"}{"eventType":"EndElement","position":{"line":8,"column":34},"elementName":"Inline"}{"eventType":"Text","position":{"line":8,"column":43},"data":" Post-text.\n "}{"eventType":"EndElement","position":{"line":9,"column":3},"elementName":"SecondElement"}{"eventType":"StartElement","position":{"line":10,"column":3},"elementName":"entities"}{"eventType":"Text","position":{"line":10,"column":13},"data":"Xml tags begin with \"<\" and end with \">\" Ampersand is & and apostrophe is '"}{"eventType":"EndElement","position":{"line":10,"column":123},"elementName":"entities"}{"eventType":"StartElement","position":{"line":11,"column":3},"elementName":"script"}{"eventType":"CDATA","position":{"line":12,"column":5},"data":"\nfunction sum(a,b)\n{\n return a+b;\n}\n"}{"eventType":"EndElement","position":{"line":18,"column":3},"elementName":"script"}{"eventType":"Comment","position":{"line":19,"column":3},"data":"\n Hello,\n I am a multi-line XML comment.\n"}{"eventType":"EndElement","position":{"line":23,"column":1},"elementName":"DocumentElement"}

apps/automated/src/xml-parser-tests/xml.xml renamed to apps/automated/src/assets/xml.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ function sum(a,b)
2020
Hello,
2121
I am a multi-line XML comment.
2222
-->
23-
</DocumentElement>
23+
</DocumentElement>

apps/automated/src/debugger/dom-node-tests.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
import { assert, assertEqual } from '../tk-unit';
2-
import { DOMNode } from '@nativescript/core/debugger/dom-node';
2+
import { DOMNode } from '@nativescript/core/debugger/dom-types';
33
import { attachDOMInspectorCommandCallbacks, attachCSSInspectorCommandCallbacks, attachDOMInspectorEventCallbacks } from '@nativescript/core/debugger/devtools-elements';
44
import { InspectorCommands, InspectorEvents } from '@nativescript/core/debugger/devtools-elements';
5-
import { unsetValue } from '@nativescript/core/ui/core/properties';
6-
import { Button } from '@nativescript/core/ui/button';
7-
import { Slider } from '@nativescript/core/ui/slider';
8-
import { Label } from '@nativescript/core/ui/label';
5+
import { unsetValue, Button, Slider, Label, TextView, StackLayout, isAndroid } from '@nativescript/core';
96
import { textProperty } from '@nativescript/core/ui/text-base';
10-
import { TextView } from '@nativescript/core/ui/text-view';
11-
import { StackLayout } from '@nativescript/core/ui/layouts/stack-layout';
12-
import { isAndroid } from '@nativescript/core/platform';
137

148
let originalInspectorGlobal: InspectorCommands & InspectorEvents;
159

0 commit comments

Comments
 (0)