Skip to content

Commit 3060621

Browse files
committed
setup
1 parent 5f2d9e0 commit 3060621

149 files changed

Lines changed: 127266 additions & 7795 deletions

File tree

Some content is hidden

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

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ node_js:
33
- "node"
44
script:
55
- npm run setup
6-
- npm start @nativescript.build-all
6+
- npm start @nstudio.build-all

README.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,11 @@
1-
**=== IMPORTANT**
2-
3-
# :rotating_light: Important - read first!
4-
5-
**Use this template on GitHub:**
6-
1. Hit the "Use this template" button
7-
2. Follow GitHub instructions (set repo name, visibility, description) & clone your new repo
8-
3. Setup workspace: `npm run setup`
9-
4. Configure your npm scope: `npm run config`
10-
11-
**Use this template outside of GitHub:**
12-
13-
1. Download a zip of this repo
14-
2. Unzip and name the folder appropriately (perhaps the name of the npm scope you intend to manage here)
15-
3. Setup workspace: `npm run setup`
16-
4. Configure your npm scope: `npm run config`
17-
18-
---
19-
20-
# @nativescript/\* plugins
1+
# @nstudio/\* plugins
212

223
```
234
npm run setup
245
npm start
256
```
267

27-
- @nativescript
8+
- [@nstudio/nstreamdown](packages/nstreamdown/README.md)
289

2910
# How to use?
3011

apps/demo-angular/.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
charset = utf-8
8+
9+
[*.json]
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.js]
14+
indent_style = space
15+
indent_size = 2
16+
17+
[*.ts]
18+
indent_style = space
19+
indent_size = 2

apps/demo-angular/.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# NativeScript
2+
hooks/
3+
node_modules/
4+
platforms/
5+
6+
# Logs
7+
logs
8+
*.log
9+
npm-debug.log*
10+
yarn-debug.log*
11+
yarn-error.log*
12+
13+
# General
14+
.DS_Store
15+
.AppleDouble
16+
.LSOverride
17+
.idea
18+
.cloud
19+
.project
20+
tmp/
21+
typings/
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["nativescript.nativescript"]
3+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// You can add your native dependencies here
2+
dependencies {
3+
// implementation 'androidx.multidex:multidex:2.0.1'
4+
}
5+
6+
android {
7+
compileSdkVersion 35
8+
buildToolsVersion "35"
9+
// ndkVersion ""
10+
11+
defaultConfig {
12+
minSdkVersion 24
13+
targetSdkVersion 35
14+
15+
// Version Information
16+
versionCode 1
17+
versionName "1.0.0"
18+
19+
generatedDensities = []
20+
}
21+
22+
aaptOptions {
23+
additionalParameters "--no-version-vectors"
24+
}
25+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// this configurations is loaded before building plugins, as well as before building
2+
// the app - this is where you can apply global settings and overrides
3+
4+
project.ext {
5+
// androidXAppCompat = "1.4.1"
6+
// androidXExifInterface = "1.3.3"
7+
// androidXFragment = "1.4.1"
8+
// androidXMaterial = "1.5.0"
9+
// androidXMultidex = "2.0.1"
10+
// androidXTransition = "1.4.1"
11+
// androidXViewPager = "1.0.0"
12+
13+
// useKotlin = true
14+
// kotlinVersion = "1.6.0"
15+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="__PACKAGE__">
4+
5+
<supports-screens
6+
android:smallScreens="true"
7+
android:normalScreens="true"
8+
android:largeScreens="true"
9+
android:xlargeScreens="true"/>
10+
11+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
12+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
13+
<uses-permission android:name="android.permission.INTERNET"/>
14+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
15+
16+
<application
17+
android:name="com.tns.NativeScriptApplication"
18+
android:allowBackup="true"
19+
android:icon="@mipmap/ic_launcher"
20+
android:label="@string/app_name"
21+
android:theme="@style/AppTheme"
22+
android:hardwareAccelerated="true">
23+
24+
<activity
25+
android:name="com.tns.NativeScriptActivity"
26+
android:label="@string/title_activity_kimera"
27+
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode"
28+
android:theme="@style/LaunchScreenTheme"
29+
android:hardwareAccelerated="true"
30+
android:launchMode="singleTask"
31+
android:exported="true">
32+
33+
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />
34+
35+
<intent-filter>
36+
<action android:name="android.intent.action.MAIN" />
37+
<category android:name="android.intent.category.LAUNCHER" />
38+
</intent-filter>
39+
</activity>
40+
<activity android:name="com.tns.ErrorReportActivity"/>
41+
</application>
42+
</manifest>
3.58 KB
Loading
5.04 KB
Loading

0 commit comments

Comments
 (0)