-
Couldn't load subscription status.
- Fork 478
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
Changes from 9 commits
6cbfc54
d09ade3
5c2ba32
3b78ef5
7ca39b1
b27416c
1063bd1
74a5fd4
b4fabf6
9463aa3
7e5bd94
0cc34d5
1c2f396
2a5aa80
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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" | ||
| ] | ||
| } | ||
| 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 } | ||
| ); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| const path = require("path"); | ||
| const { getDefaultConfig } = require("@react-native/metro-config"); | ||
| const { getConfig } = require("react-native-builder-bob/metro-config"); | ||
| const pkg = require("../package.json"); | ||
|
|
||
| const root = path.resolve(__dirname, ".."); | ||
|
|
||
| /** | ||
| * Metro configuration | ||
| * https://facebook.github.io/metro/docs/configuration | ||
| * | ||
| * @type {import('metro-config').MetroConfig} | ||
| */ | ||
| module.exports = getConfig(getDefaultConfig(__dirname), { | ||
| root, | ||
| pkg, | ||
| project: __dirname, | ||
| }); | ||
krizzu marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| { | ||
| "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 index.macos.jsbundle", | ||
| "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", | ||
| "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" | ||
| } | ||
| } |
| 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 was deleted.
Uh oh!
There was an error while loading. Please reload this page.