@nativescript/template-blank-react 8.3.1 → 8.4.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.
package/.npmrc CHANGED
@@ -1 +1,2 @@
1
- //registry.npmjs.org/:_authToken=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
1
+ # use legacy peer deps to avoid peer dependency resolution failures
2
+ legacy-peer-deps=true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript/template-blank-react",
3
- "version": "8.3.1",
3
+ "version": "8.4.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.3.5",
42
+ "@nativescript/core": "~8.4.0",
43
43
  "react": "^16.14.0",
44
44
  "react-nativescript": "^4.0.0",
45
45
  "react-nativescript-navigation": "^4.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@nativescript/types": "~8.3.1",
49
- "@nativescript/webpack": "~5.0.9",
48
+ "@nativescript/types": "~8.4.0",
49
+ "@nativescript/webpack": "~5.0.12",
50
50
  "@types/react": "npm:types-react-without-jsx-intrinsics@^16.14.30",
51
- "typescript": "^4.8.4"
51
+ "typescript": "~4.8.4"
52
52
  },
53
53
  "gitHead": "1350d382fb4b0ed4c6e9685df909518b2688e004",
54
54
  "readme": "NativeScript Application"
@@ -22,11 +22,11 @@ export const MainStack = () => (
22
22
  }}
23
23
  >
24
24
  <StackNavigator.Screen
25
- name="Screen One"
25
+ name="One"
26
26
  component={ScreenOne}
27
27
  />
28
28
  <StackNavigator.Screen
29
- name="Screen Two"
29
+ name="Two"
30
30
  component={ScreenTwo}
31
31
  />
32
32
  </StackNavigator.Navigator>
@@ -17,7 +17,7 @@ export function ScreenTwo({ navigation, route }: ScreenTwoProps) {
17
17
  You're viewing screen two!
18
18
  </label>
19
19
  <label style={styles.text}>
20
- Messsage: {route.params.message}
20
+ Message: {route.params.message}
21
21
  </label>
22
22
  <button
23
23
  style={styles.button}