Skip to content

Commit d460566

Browse files
committed
fix: fixed example after package rename
1 parent 8265b2f commit d460566

5 files changed

Lines changed: 27 additions & 27 deletions

File tree

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "detour-react-native-example",
2+
"name": "@swmansion/react-native-detour-example",
33
"version": "1.0.0",
44
"main": "index.js",
55
"scripts": {

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DetourProvider, type Config } from 'detour-react-native';
1+
import { DetourProvider, type Config } from '@swmansion/react-native-detour';
22

33
import { Screen } from './Screen';
44

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"!**/.*"
3333
],
3434
"scripts": {
35-
"example": "yarn workspace detour-react-native-example",
35+
"example": "yarn workspace @swmansion/react-native-detour-example",
3636
"test": "jest",
3737
"typecheck": "tsc",
3838
"lint": "eslint \"**/*.{js,ts,tsx}\"",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"rootDir": ".",
44
"paths": {
5-
"detour-react-native": ["./src/index"]
5+
"@swmansion/react-native-detour": ["./src/index"]
66
},
77
"allowUnreachableCode": false,
88
"allowUnusedLabels": false,

yarn.lock

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3268,6 +3268,29 @@ __metadata:
32683268
languageName: node
32693269
linkType: hard
32703270

3271+
"@swmansion/react-native-detour-example@workspace:example":
3272+
version: 0.0.0-use.local
3273+
resolution: "@swmansion/react-native-detour-example@workspace:example"
3274+
dependencies:
3275+
"@babel/core": ^7.20.0
3276+
"@expo/metro-runtime": ~5.0.4
3277+
"@react-native-async-storage/async-storage": ^2.2.0
3278+
expo: ~53.0.22
3279+
expo-application: ^6.1.5
3280+
expo-clipboard: ^7.1.5
3281+
expo-dev-client: ~5.2.4
3282+
expo-localization: ^16.1.6
3283+
expo-status-bar: ~2.2.3
3284+
react: 19.0.0
3285+
react-dom: 19.0.0
3286+
react-native: 0.79.6
3287+
react-native-builder-bob: ^0.40.13
3288+
react-native-device-info: ^14.0.4
3289+
react-native-monorepo-config: ^0.1.9
3290+
react-native-web: ~0.20.0
3291+
languageName: unknown
3292+
linkType: soft
3293+
32713294
"@swmansion/react-native-detour@workspace:.":
32723295
version: 0.0.0-use.local
32733296
resolution: "@swmansion/react-native-detour@workspace:."
@@ -5611,29 +5634,6 @@ __metadata:
56115634
languageName: node
56125635
linkType: hard
56135636

5614-
"detour-react-native-example@workspace:example":
5615-
version: 0.0.0-use.local
5616-
resolution: "detour-react-native-example@workspace:example"
5617-
dependencies:
5618-
"@babel/core": ^7.20.0
5619-
"@expo/metro-runtime": ~5.0.4
5620-
"@react-native-async-storage/async-storage": ^2.2.0
5621-
expo: ~53.0.22
5622-
expo-application: ^6.1.5
5623-
expo-clipboard: ^7.1.5
5624-
expo-dev-client: ~5.2.4
5625-
expo-localization: ^16.1.6
5626-
expo-status-bar: ~2.2.3
5627-
react: 19.0.0
5628-
react-dom: 19.0.0
5629-
react-native: 0.79.6
5630-
react-native-builder-bob: ^0.40.13
5631-
react-native-device-info: ^14.0.4
5632-
react-native-monorepo-config: ^0.1.9
5633-
react-native-web: ~0.20.0
5634-
languageName: unknown
5635-
linkType: soft
5636-
56375637
"diff-sequences@npm:^29.6.3":
56385638
version: 29.6.3
56395639
resolution: "diff-sequences@npm:29.6.3"

0 commit comments

Comments
 (0)