Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
KVNLS committed Apr 3, 2024
1 parent 3d31e73 commit 2be1eba
Show file tree
Hide file tree
Showing 67 changed files with 18,412 additions and 25,153 deletions.
17 changes: 17 additions & 0 deletions .pnpmfile.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function readPackage(pkg, context) {
removeDependencies("react-redux", ["react-native"], {
kind: "peerDependencies",
}),

/* Storybook packages */
addDependencies("@storybook/webpack-config", { "resolve-from": "*" }),
addDependencies("@storybook/addon-knobs", {
Expand Down Expand Up @@ -199,6 +200,7 @@ function readPackage(pkg, context) {
}),
addDependencies("@actions/cache", { "@azure/abort-controller": "*" }),
addDependencies("rn-fetch-blob", { lodash: "*" }),

// addPeerDependencies("styled-components", { "react-native": "*" }),
addPeerDependencies("use-latest-callback", { react: "*" }),
addPeerDependencies("rn-range-slider", {
Expand All @@ -210,6 +212,8 @@ function readPackage(pkg, context) {
react: "*",
"react-native": "*",
}),

addDependencies("@react-native/dev-middleware", { ws: "*" }),
// "dmg-builder" is required to build .dmg electron apps on macs,
// but is not declared as such by app-builder-lib.
// I'm not adding it as a dependency because if I did,
Expand All @@ -219,6 +223,10 @@ function readPackage(pkg, context) {
"dmg-builder": "*",
lodash: "*",
}),

addPeerDependencies("react-native-config", {
"react-native": "*",
}),
// Try to prevent pnpm-lock.yaml flakiness
removeDependencies("follow-redirects", ["debug"], {
kind: "peerDependencies",
Expand Down Expand Up @@ -247,11 +255,20 @@ function readPackage(pkg, context) {
addDependencies("@dfinity/agent", {
buffer: "*",
}),
addDependencies("@react-native-community/cli-tools", {
execa: "5.0.0",
}),
addDependencies("@react-native-community/cli-platform-ios", {
execa: "5.0.0",
}),
// TODO:
// Tron missing deps
// They are also added to live-common dependencies
// Is there another way without adding them explicitly ?
addDependencies("tronweb", {
"aes-js": "*",
"@noble/hashes": "*",
"@noble/secp256k1": "*",
"@ethersproject/bytes": "*",
"@ethersproject/bignumber": "*",
"@ethersproject/keccak256": "*",
Expand Down
3 changes: 2 additions & 1 deletion apps/ledger-live-mobile/.bundle/config
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
BUNDLE_PATH: "vendor/bundle"
BUNDLE_FORCE_RUBY_PLATFORM: 1
BUNDLE_FORCE_RUBY_PLATFORM: "1"
BUNDLE_BUILD__NOKOGIRI: "--use-system-libraries"
3 changes: 2 additions & 1 deletion apps/ledger-live-mobile/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ source "https://rubygems.org"

gem "fastlane"
gem "dotenv"
gem 'cocoapods', '~> 1.12'
gem 'cocoapods', '~> 1.15'
gem "semver2", "~> 3.4", ">= 3.4.2"

plugins_path = File.join(File.dirname(__FILE__), "fastlane", "Pluginfile")
eval_gemfile(plugins_path) if File.exist?(plugins_path)

Loading

0 comments on commit 2be1eba

Please sign in to comment.