Skip to content

Commit

Permalink
refactor(packages): rename package transport-native to transport-nati…
Browse files Browse the repository at this point in the history
…ve-usb
  • Loading branch information
yanascz committed Feb 5, 2025
1 parent 1697f60 commit 1a5ea2d
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-suite-native-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- "suite-native/**"
- "suite-common/**"
- "packages/react-native-usb/**"
- "packages/transport-native/**"
- "packages/transport-native-usb/**"
- "yarn.lock"
- ".github/workflows/build-suite-native-preview.yml"
# list of paths is not complete, but it's always possible to dispatch manually using 'build-mobile' label
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@trezor/transport-native",
"name": "@trezor/transport-native-usb",
"version": "1.0.0",
"private": true,
"license": "See LICENSE.md in repo root",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion suite-native/state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@suite-native/module-send": "workspace:*",
"@suite-native/settings": "workspace:*",
"@suite-native/storage": "workspace:*",
"@trezor/transport-native": "workspace:*",
"@trezor/transport-native-usb": "workspace:*",
"@trezor/utils": "workspace:*",
"expo-device": "6.0.2",
"react": "18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion suite-native/state/src/extraDependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
selectFiatCurrencyCode,
setFiatCurrency,
} from '@suite-native/settings';
import { NativeUsbTransport } from '@trezor/transport-native';
import { NativeUsbTransport } from '@trezor/transport-native-usb';
import { mergeDeepObject } from '@trezor/utils';

const deviceType = Device.isDevice ? 'device' : 'emulator';
Expand Down
2 changes: 1 addition & 1 deletion suite-native/state/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
{ "path": "../settings" },
{ "path": "../storage" },
{
"path": "../../packages/transport-native"
"path": "../../packages/transport-native-usb"
},
{ "path": "../../packages/utils" }
]
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11141,7 +11141,7 @@ __metadata:
"@suite-native/module-send": "workspace:*"
"@suite-native/settings": "workspace:*"
"@suite-native/storage": "workspace:*"
"@trezor/transport-native": "workspace:*"
"@trezor/transport-native-usb": "workspace:*"
"@trezor/utils": "workspace:*"
"@types/redux-logger": "npm:^3.0.11"
expo-device: "npm:6.0.2"
Expand Down Expand Up @@ -12820,9 +12820,9 @@ __metadata:
languageName: unknown
linkType: soft

"@trezor/transport-native@workspace:*, @trezor/transport-native@workspace:packages/transport-native":
"@trezor/transport-native-usb@workspace:*, @trezor/transport-native-usb@workspace:packages/transport-native-usb":
version: 0.0.0-use.local
resolution: "@trezor/transport-native@workspace:packages/transport-native"
resolution: "@trezor/transport-native-usb@workspace:packages/transport-native-usb"
dependencies:
"@trezor/react-native-usb": "workspace:*"
"@trezor/transport": "workspace:*"
Expand Down

0 comments on commit 1a5ea2d

Please sign in to comment.