-
Notifications
You must be signed in to change notification settings - Fork 475
chore: Bump dependencies + update example setup #1164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
6cbfc54
bump deps + example move
krizzu d09ade3
sqlite-example
krizzu 5c2ba32
format
krizzu 3b78ef5
github actions update
krizzu 7ca39b1
example
krizzu b27416c
fix windows
krizzu 1063bd1
ignore
krizzu 74a5fd4
fixes
krizzu b4fabf6
dedupe
krizzu 9463aa3
scripts
krizzu 7e5bd94
metro config
krizzu 0cc34d5
more metro fixes
krizzu 1c2f396
yarn lock
krizzu 2a5aa80
bring back metro config
krizzu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,32 +21,34 @@ | |
"turbo": "^1.12.5", | ||
"typescript": "^5.3.0" | ||
}, | ||
"resolutions": { | ||
"@react-native-mac/virtualized-lists": "^0.76.0", | ||
"@react-native-community/cli": "^15.0.0", | ||
"@react-native-community/cli-platform-android": "^15.0.0", | ||
"@react-native-community/cli-platform-ios": "^15.0.0", | ||
"@react-native/assets-registry": "^0.76.0", | ||
"@react-native/babel-plugin-codegen": "^0.76.0", | ||
"@react-native/babel-preset": "^0.76.0", | ||
"@react-native/codegen": "^0.76.0", | ||
"@react-native/community-cli-plugin": "^0.76.0", | ||
"@react-native/community-cli-plugin/@react-native-community/cli-server-api": "^15.0.0", | ||
"@react-native/community-cli-plugin/@react-native-community/cli-tools": "^15.0.0", | ||
"@react-native/gradle-plugin": "^0.76.0", | ||
"@react-native/js-polyfills": "^0.76.0", | ||
"@react-native/normalize-colors": "^0.76.0", | ||
"@react-native/virtualized-lists": "^0.76.0" | ||
}, | ||
"engines": { | ||
"node": "v20.11.1" | ||
}, | ||
"packageManager": "[email protected]", | ||
"resolutions": { | ||
"@react-native-community/cli": "^14.0.0", | ||
"@react-native-community/cli-platform-android": "^14.0.0", | ||
"@react-native-community/cli-platform-ios": "^14.0.0", | ||
"@react-native/assets-registry": "^0.75.0", | ||
"@react-native/babel-plugin-codegen": "^0.75.0", | ||
"@react-native/babel-preset": "^0.75.0", | ||
"@react-native/codegen": "^0.75.0", | ||
"@react-native/community-cli-plugin": "^0.75.0", | ||
"@react-native/community-cli-plugin/@react-native-community/cli-server-api": "^14.0.0", | ||
"@react-native/community-cli-plugin/@react-native-community/cli-tools": "^14.0.0", | ||
"@react-native/gradle-plugin": "^0.75.0", | ||
"@react-native/js-polyfills": "^0.75.0", | ||
"@react-native/normalize-colors": "^0.75.0", | ||
"@react-native/virtualized-lists": "^0.75.0", | ||
"find-babel-config/json5": "^2.1.1" | ||
}, | ||
"workspaces": [ | ||
"packages/api", | ||
"packages/default-storage", | ||
"packages/eslint-config", | ||
"packages/default-storage/example", | ||
"packages/sqlite-storage", | ||
"packages/sqlite-storage/example", | ||
"packages/eslint-config", | ||
"packages/website" | ||
] | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,7 @@ buck-out/ | |
|
||
# Bundle artifact | ||
*.jsbundle | ||
*.bundle | ||
|
||
# CocoaPods | ||
/ios/Pods/ | ||
|
2 changes: 1 addition & 1 deletion
2
packages/default-storage/example/android/gradle/wrapper/gradle-wrapper.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
module.exports = { | ||
presets: ["module:@react-native/babel-preset"], | ||
}; | ||
const path = require("path"); | ||
const { getConfig } = require("react-native-builder-bob/babel-config"); | ||
const pkg = require("../package.json"); | ||
|
||
const root = path.resolve(__dirname, ".."); | ||
|
||
module.exports = getConfig( | ||
{ | ||
presets: ["module:@react-native/babel-preset"], | ||
}, | ||
{ root, pkg } | ||
); |
3 changes: 3 additions & 0 deletions
3
...ages/default-storage/example/ios/AsyncStorageExample.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...es/default-storage/example/macos/AsyncStorageExample.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"name": "example-defaultstorage", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"start": "react-native start", | ||
"start:android": "react-native run-android", | ||
"start:ios": "react-native run-ios", | ||
"start:macos": "react-native run-macos --project-path macos --scheme AsyncStorageExample", | ||
"start:web": "expo start --web", | ||
"start:windows": "install-windows-test-app -p windows && react-native run-windows --logging --no-packager --no-telemetry", | ||
"start:windows:fabric": "install-windows-test-app -p windows --use-fabric && react-native run-windows --logging --no-packager --no-telemetry", | ||
"build:e2e:android": "scripts/android_e2e.sh 'build'", | ||
"build:e2e:ios": "scripts/ios_e2e.sh 'build'", | ||
"build:e2e:macos": "scripts/macos_e2e.sh 'build'", | ||
"bundle:android": "scripts/android_e2e.sh 'bundle'", | ||
"bundle:ios": "scripts/ios_e2e.sh 'bundle'", | ||
"bundle:macos": "react-native bundle --entry-file index.ts --platform macos --dev false --bundle-output main.macos.bundle", | ||
"test:e2e:android": "scripts/android_e2e.sh 'test'", | ||
"test:e2e:ios": "scripts/ios_e2e.sh 'test'", | ||
"test:e2e:macos": "scripts/macos_e2e.sh 'test'" | ||
}, | ||
"installConfig": { | ||
"hoistingLimits": "workspaces" | ||
}, | ||
"dependencies": { | ||
"react": "18.3.1", | ||
"react-native": "0.76.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.25.2", | ||
"@babel/preset-env": "^7.25.3", | ||
"@babel/runtime": "^7.25.0", | ||
"@react-native-community/cli": "^15.0.0", | ||
"@react-native-community/cli-platform-android": "^15.0.0", | ||
"@react-native-community/cli-platform-ios": "^15.0.0", | ||
"@react-native/babel-preset": "^0.76.0", | ||
"@react-native/metro-config": "^0.76.0", | ||
"@rnx-kit/metro-config": "^2.0.1", | ||
"react-native-builder-bob": "^0.33.3", | ||
"react-native-macos": "^0.76.0", | ||
"react-native-test-app": "^4.0.3", | ||
"react-native-windows": "^0.76.0" | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
const path = require("path"); | ||
const pkg = require("../package.json"); | ||
const { configureProjects } = require("react-native-test-app"); | ||
|
||
module.exports = { | ||
project: configureProjects({ | ||
android: { | ||
sourceDir: "android", | ||
}, | ||
ios: { | ||
sourceDir: "ios", | ||
automaticPodsInstallation: true, | ||
}, | ||
macos: { | ||
sourceDir: "macos", | ||
}, | ||
windows: { | ||
sourceDir: "windows", | ||
solutionFile: path.join("windows", "AsyncStorageExample.sln"), | ||
}, | ||
}), | ||
dependencies: { | ||
[pkg.name]: { | ||
root: path.join(__dirname, ".."), | ||
}, | ||
}, | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.