Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@microsoft/root",
"version": "0.0.1-dev",
"private": true,
"homepage": "https://github.com/microsoft/react-native-test-app",
"license": "MIT",
"author": {
Expand All @@ -12,10 +12,15 @@
"type": "git",
"url": "https://github.com/microsoft/react-native-test-app.git"
},
"workspaces": [
".",
"packages/app",
"packages/app/example"
],
"scripts": {
"format": "nx run-many --target format:c,format:js,format:swift",
"lint": "nx run-many --target lint:js,lint:kt,lint:rb,lint:swift",
"format:js": "oxfmt $(git ls-files '.github/*.json' '.github/*.yml' '.yarn/plugins/*' '.yarnrc.yml' 'CONTRIBUTING.md' 'README.md' 'nx.json')",
"format:js": "oxfmt '**/README.md' '**/package.json' '*.{cjs,cts,js,mjs,mts,ts,tsx,yml}' '.github/**/*.json' 'CONTRIBUTING.md' 'nx.json' '!packages/app/package.json'",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you don't want to invoke via a script or nx because the slowdown is significant?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would the leading ** be a perf problem? And is there not a config you can list the files in?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you don't want to invoke via a script or nx because the slowdown is significant?

This can be invoked via nx. See the format command.

Would the leading ** be a perf problem? And is there not a config you can list the files in?

The ** is required to match files in subdirectories. I haven't been able to find any configs to list files.

"lint:commit": "git log --format='%s' origin/trunk..HEAD | tail -1 | npx @rnx-kit/commitlint-lite@2.0.0",
"release-notes": "node scripts/release-notes.mts",
"show-affected": "node scripts/affected.mts"
Expand All @@ -31,10 +36,6 @@
"oxfmt": "^0.35.0",
"typescript": "^5.0.0"
},
"engines": {
"node": ">=22.18"
},
"packageManager": "yarn@4.10.3",
"resolutions": {
"@appium/base-driver/axios": "^1.11.0",
"@appium/base-driver/lodash": "^4.17.21",
Expand Down Expand Up @@ -87,11 +88,10 @@
"react-native-windows/metro-source-map": "^0.83.1",
"safe-buffer": "~5.2.1"
},
"workspaces": [
".",
"packages/app",
"packages/app/example"
],
"engines": {
"node": ">=22.18"
},
"packageManager": "yarn@4.10.3",
"rnx-kit": {
"lint": {
"lockfile": {
Expand Down
67 changes: 33 additions & 34 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
"name": "Microsoft Open Source",
"email": "microsoftopensource@users.noreply.github.com"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/react-native-test-app.git",
"directory": "packages/app"
},
"bin": {
"init": "scripts/init.mjs",
"init-test-app": "scripts/init.mjs",
"configure-test-app": "scripts/configure.mjs",
Comment on lines +29 to +31

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"init": "scripts/init.mjs",
"init-test-app": "scripts/init.mjs",
"configure-test-app": "scripts/configure.mjs",
"configure-test-app": "scripts/configure.mjs",
"init": "scripts/init.mjs",
"init-test-app": "scripts/init.mjs",

Copy link
Member Author

@tido64 tido64 Feb 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The order matters because bunx will always choose the first one. See #2418.

"install-windows-test-app": "windows/app.mjs"
},
"files": [
"*.md",
"ReactTestApp-DevSupport.podspec",
Expand Down Expand Up @@ -55,20 +66,8 @@
"!.clang-format"
],
"main": "scripts/configure-projects.js",
"bin": {
"init": "scripts/init.mjs",
"init-test-app": "scripts/init.mjs",
"configure-test-app": "scripts/configure.mjs",
"install-windows-test-app": "windows/app.mjs"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/react-native-test-app.git",
"directory": "packages/app"
},
"scripts": {
"format:c": "clang-format -i $(git ls-files '*.cpp' '*.h' '*.m' '*.mm')",
"format:js": "oxfmt $(git ls-files '*.[cm][jt]s' '*.[jt]s' '*.tsx' '*.yml' 'README.md' 'test/**/*.json')",
"format:swift": "swiftformat $(git ls-files '*.swift')",
"generate:code": "node scripts/internal/generate-manifest.mts",
"generate:docs": "node scripts/internal/generate-manifest-docs.mts",
Expand All @@ -95,28 +94,6 @@
"semver": "^7.3.5",
"uuid": "^11.0.0"
},
"peerDependencies": {
"@callstack/react-native-visionos": "0.76 - 0.79",
"@expo/config-plugins": ">=5.0",
"react": "18.2 - 19.2",
"react-native": "0.76 - 0.84 || >=0.84.0-0 <0.85.0",
"react-native-macos": "^0.0.0-0 || 0.76 - 0.81",
"react-native-windows": "^0.0.0-0 || 0.76 - 0.81"
},
"peerDependenciesMeta": {
"@callstack/react-native-visionos": {
"optional": true
},
"@expo/config-plugins": {
"optional": true
},
"react-native-macos": {
"optional": true
},
"react-native-windows": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
Expand Down Expand Up @@ -150,6 +127,28 @@
"react-native-windows": "^0.81.0",
"suggestion-bot": "^4.0.0"
},
"peerDependencies": {
"@callstack/react-native-visionos": "0.76 - 0.79",
"@expo/config-plugins": ">=5.0",
"react": "18.2 - 19.2",
"react-native": "0.76 - 0.84 || >=0.84.0-0 <0.85.0",
"react-native-macos": "^0.0.0-0 || 0.76 - 0.81",
"react-native-windows": "^0.0.0-0 || 0.76 - 0.81"
},
"peerDependenciesMeta": {
"@callstack/react-native-visionos": {
"optional": true
},
"@expo/config-plugins": {
"optional": true
},
"react-native-macos": {
"optional": true
},
"react-native-windows": {
"optional": true
}
},
"engines": {
"node": ">=18.12"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/null/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"private": true,
"name": "@microsoft/null",
"version": "0.0.1-dev",
"private": true,
"description": "Meta package for preventing packages from being installed",
"homepage": "https://github.com/microsoft/react-native-test-app",
"license": "MIT",
"author": {
"name": "Microsoft Open Source",
"email": "microsoftopensource@users.noreply.github.com"
},
"files": [
"index.js"
],
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/react-native-test-app.git",
"directory": "packages/null"
}
},
"files": [
"index.js"
],
"main": "index.js"
}
Loading