@nativescript/template-blank-react 8.5.1 → 8.7.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.
Files changed (28) hide show
  1. package/App_Resources/Android/app.gradle +4 -4
  2. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json +6 -114
  3. package/App_Resources/iOS/LaunchScreen.storyboard +5 -28
  4. package/README.md +1 -1
  5. package/package.json +5 -5
  6. package/.npmrc +0 -2
  7. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png +0 -0
  8. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png +0 -0
  9. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png +0 -0
  10. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png +0 -0
  11. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png +0 -0
  12. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png +0 -0
  13. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png +0 -0
  14. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png +0 -0
  15. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png +0 -0
  16. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png +0 -0
  17. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png +0 -0
  18. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png +0 -0
  19. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png +0 -0
  20. package/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png +0 -0
  21. package/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json +0 -23
  22. package/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png +0 -0
  23. package/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png +0 -0
  24. package/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@3x.png +0 -0
  25. package/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json +0 -23
  26. package/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png +0 -0
  27. package/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png +0 -0
  28. package/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@3x.png +0 -0
@@ -4,13 +4,13 @@ dependencies {
4
4
  }
5
5
 
6
6
  android {
7
- // compileSdkVersion 32
8
- // buildToolsVersion "32.0.0"
7
+ compileSdkVersion 34
8
+ buildToolsVersion "34"
9
9
  // ndkVersion ""
10
10
 
11
11
  defaultConfig {
12
- minSdkVersion 17
13
- // targetSdkVersion 32
12
+ minSdkVersion 23
13
+ targetSdkVersion 34
14
14
 
15
15
  // Version Information
16
16
  versionCode 1
@@ -1,122 +1,14 @@
1
1
  {
2
2
  "images" : [
3
3
  {
4
- "size" : "20x20",
5
- "idiom" : "iphone",
6
- "filename" : "icon-20@2x.png",
7
- "scale" : "2x"
8
- },
9
- {
10
- "size" : "20x20",
11
- "idiom" : "iphone",
12
- "filename" : "icon-20@3x.png",
13
- "scale" : "3x"
14
- },
15
- {
16
- "size" : "29x29",
17
- "idiom" : "iphone",
18
- "filename" : "icon-29.png",
19
- "scale" : "1x"
20
- },
21
- {
22
- "size" : "29x29",
23
- "idiom" : "iphone",
24
- "filename" : "icon-29@2x.png",
25
- "scale" : "2x"
26
- },
27
- {
28
- "size" : "29x29",
29
- "idiom" : "iphone",
30
- "filename" : "icon-29@3x.png",
31
- "scale" : "3x"
32
- },
33
- {
34
- "size" : "40x40",
35
- "idiom" : "iphone",
36
- "filename" : "icon-40@2x.png",
37
- "scale" : "2x"
38
- },
39
- {
40
- "size" : "40x40",
41
- "idiom" : "iphone",
42
- "filename" : "icon-40@3x.png",
43
- "scale" : "3x"
44
- },
45
- {
46
- "size" : "60x60",
47
- "idiom" : "iphone",
48
- "filename" : "icon-60@2x.png",
49
- "scale" : "2x"
50
- },
51
- {
52
- "size" : "60x60",
53
- "idiom" : "iphone",
54
- "filename" : "icon-60@3x.png",
55
- "scale" : "3x"
56
- },
57
- {
58
- "size" : "20x20",
59
- "idiom" : "ipad",
60
- "filename" : "icon-20.png",
61
- "scale" : "1x"
62
- },
63
- {
64
- "size" : "20x20",
65
- "idiom" : "ipad",
66
- "filename" : "icon-20@2x.png",
67
- "scale" : "2x"
68
- },
69
- {
70
- "size" : "29x29",
71
- "idiom" : "ipad",
72
- "filename" : "icon-29.png",
73
- "scale" : "1x"
74
- },
75
- {
76
- "size" : "29x29",
77
- "idiom" : "ipad",
78
- "filename" : "icon-29@2x.png",
79
- "scale" : "2x"
80
- },
81
- {
82
- "size" : "40x40",
83
- "idiom" : "ipad",
84
- "filename" : "icon-40.png",
85
- "scale" : "1x"
86
- },
87
- {
88
- "size" : "40x40",
89
- "idiom" : "ipad",
90
- "filename" : "icon-40@2x.png",
91
- "scale" : "2x"
92
- },
93
- {
94
- "size" : "76x76",
95
- "idiom" : "ipad",
96
- "filename" : "icon-76.png",
97
- "scale" : "1x"
98
- },
99
- {
100
- "size" : "76x76",
101
- "idiom" : "ipad",
102
- "filename" : "icon-76@2x.png",
103
- "scale" : "2x"
104
- },
105
- {
106
- "size" : "83.5x83.5",
107
- "idiom" : "ipad",
108
- "filename" : "icon-83.5@2x.png",
109
- "scale" : "2x"
110
- },
111
- {
112
- "size" : "1024x1024",
113
- "idiom" : "ios-marketing",
114
4
  "filename" : "icon-1024.png",
115
- "scale" : "1x"
5
+ "idiom" : "universal",
6
+ "platform" : "ios",
7
+ "size" : "1024x1024"
116
8
  }
117
9
  ],
118
10
  "info" : {
119
- "version" : 1,
120
- "author" : "xcode"
11
+ "author" : "xcode",
12
+ "version" : 1
121
13
  }
122
- }
14
+ }
@@ -1,11 +1,9 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
- <device id="retina5_9" orientation="portrait">
4
- <adaptation id="fullscreen"/>
5
- </device>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
+ <device id="retina5_9" orientation="portrait" appearance="light"/>
6
4
  <dependencies>
7
5
  <deployment identifier="iOS"/>
8
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
6
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
9
7
  <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
10
8
  </dependencies>
11
9
  <scenes>
@@ -20,25 +18,8 @@
20
18
  <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
21
19
  <rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
22
20
  <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
23
- <subviews>
24
- <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="LaunchScreen.AspectFill" translatesAutoresizingMaskIntoConstraints="NO" id="wtH-rr-YfP">
25
- <rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
26
- </imageView>
27
- <imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="LaunchScreen.Center" translatesAutoresizingMaskIntoConstraints="NO" id="s1z-aa-wYv">
28
- <rect key="frame" x="0.0" y="150" width="375" height="512"/>
29
- </imageView>
30
- </subviews>
31
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
32
- <constraints>
33
- <constraint firstAttribute="trailing" secondItem="s1z-aa-wYv" secondAttribute="trailing" id="4Rf-kf-vql"/>
34
- <constraint firstAttribute="bottom" secondItem="wtH-rr-YfP" secondAttribute="bottom" id="5CS-At-4ka"/>
35
- <constraint firstItem="wtH-rr-YfP" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="Awn-b8-xf1"/>
36
- <constraint firstItem="s1z-aa-wYv" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="BpJ-vb-eKA"/>
37
- <constraint firstItem="s1z-aa-wYv" firstAttribute="trailing" secondItem="wtH-rr-YfP" secondAttribute="trailing" id="QIM-7J-OZz"/>
38
- <constraint firstAttribute="trailing" secondItem="wtH-rr-YfP" secondAttribute="trailing" id="RXg-rW-UK8"/>
39
- <constraint firstItem="s1z-aa-wYv" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="Rcp-LG-48z"/>
40
- <constraint firstItem="wtH-rr-YfP" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="cch-8E-tYu"/>
41
- </constraints>
21
+
22
+ <color key="backgroundColor" red="1.0" green="1.0" blue="1.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
42
23
  </view>
43
24
  </viewController>
44
25
  <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
@@ -46,8 +27,4 @@
46
27
  <point key="canvasLocation" x="509.60000000000002" y="237.93103448275863"/>
47
28
  </scene>
48
29
  </scenes>
49
- <resources>
50
- <image name="LaunchScreen.AspectFill" width="768" height="1024"/>
51
- <image name="LaunchScreen.Center" width="384" height="512"/>
52
- </resources>
53
30
  </document>
package/README.md CHANGED
@@ -21,7 +21,7 @@ ns run ios
21
21
  > Note: This command will create a new NativeScript app that uses the latest version of this template published to [npm](https://www.npmjs.com/package/@nativescript/template-blank-react).
22
22
 
23
23
 
24
- **NB:** Please, keep in mind that the master branch may refer to dependencies that are not on NPM yet!
24
+ **NB:** Please, keep in mind that the main branch may refer to dependencies that are not on NPM yet!
25
25
 
26
26
  ## Walkthrough
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript/template-blank-react",
3
- "version": "8.5.1",
3
+ "version": "8.7.0",
4
4
  "description": "Blank template for NativeScript apps using React.",
5
5
  "author": "Jamie Birch <14055146+shirakaba@users.noreply.github.com>",
6
6
  "main": "src/app.ts",
@@ -39,16 +39,16 @@
39
39
  "template"
40
40
  ],
41
41
  "dependencies": {
42
- "@nativescript/core": "~8.5.0",
42
+ "@nativescript/core": "~8.7.0",
43
43
  "react": "^18.2.0",
44
44
  "react-nativescript": "^5.0.0",
45
45
  "react-nativescript-navigation": "^5.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@nativescript/types": "~8.5.0",
49
- "@nativescript/webpack": "~5.0.14",
48
+ "@nativescript/types": "~8.7.0",
49
+ "@nativescript/webpack": "~5.0.19",
50
50
  "@types/react": "npm:types-react-without-jsx-intrinsics@^18.0.17",
51
- "typescript": "~4.8.4"
51
+ "typescript": "~5.4.0"
52
52
  },
53
53
  "gitHead": "1350d382fb4b0ed4c6e9685df909518b2688e004",
54
54
  "readme": "NativeScript Application"
package/.npmrc DELETED
@@ -1,2 +0,0 @@
1
- # use legacy peer deps to avoid peer dependency resolution failures
2
- legacy-peer-deps=true
@@ -1,23 +0,0 @@
1
- {
2
- "images" : [
3
- {
4
- "idiom" : "universal",
5
- "filename" : "LaunchScreen-AspectFill.png",
6
- "scale" : "1x"
7
- },
8
- {
9
- "idiom" : "universal",
10
- "filename" : "LaunchScreen-AspectFill@2x.png",
11
- "scale" : "2x"
12
- },
13
- {
14
- "idiom" : "universal",
15
- "filename" : "LaunchScreen-AspectFill@3x.png",
16
- "scale" : "3x"
17
- }
18
- ],
19
- "info" : {
20
- "version" : 1,
21
- "author" : "xcode"
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "images" : [
3
- {
4
- "idiom" : "universal",
5
- "filename" : "LaunchScreen-Center.png",
6
- "scale" : "1x"
7
- },
8
- {
9
- "idiom" : "universal",
10
- "filename" : "LaunchScreen-Center@2x.png",
11
- "scale" : "2x"
12
- },
13
- {
14
- "idiom" : "universal",
15
- "filename" : "LaunchScreen-Center@3x.png",
16
- "scale" : "3x"
17
- }
18
- ],
19
- "info" : {
20
- "version" : 1,
21
- "author" : "xcode"
22
- }
23
- }