Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Feb 27, 2025
1 parent ce7d418 commit cc99496
Show file tree
Hide file tree
Showing 55 changed files with 111 additions and 388 deletions.
2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ packageExtensions:
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-compat.cjs
spec: "@yarnpkg/plugin-compat"
- path: incubator/yarn-plugin-dynamic-extensions/index.js
dynamicPackageExtensions: ./scripts/dependencies.config.js
tsEnableAutoTypes: false
yarnPath: .yarn/releases/yarn-4.6.0.cjs
1 change: 1 addition & 0 deletions docsite/.yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ logFilters:
level: discard
nodeLinker: node-modules
npmRegistryServer: "https://registry.npmjs.org"
dynamicPackageExtensions: false
tsEnableAutoTypes: false
yarnPath: ../.yarn/releases/yarn-4.6.0.cjs
5 changes: 1 addition & 4 deletions incubator/@react-native-webapis/battery-status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,8 @@
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"react": "18.3.1",
"react-native": "^0.76.0",
"typescript": "^5.0.0"
"react-native": "^0.76.0"
},
"engines": {
"node": ">=16.17"
Expand Down
6 changes: 1 addition & 5 deletions incubator/@react-native-webapis/web-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,8 @@
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"react": "18.3.1",
"react-native": "^0.76.0",
"typescript": "^5.0.0"
"react-native": "^0.76.0"
},
"engines": {
"node": ">=16.17"
Expand Down
5 changes: 1 addition & 4 deletions incubator/build-plugin-firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@
"@rnx-kit/build": "*",
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@rnx-kit/tsconfig": "*"
},
"engines": {
"node": ">=18.12"
Expand Down
5 changes: 1 addition & 4 deletions incubator/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@
"@types/git-url-parse": "^9.0.0",
"@types/node": "^20.0.0",
"@types/qrcode": "^1.4.2",
"@types/yargs": "^16.0.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@types/yargs": "^16.0.0"
},
"engines": {
"node": ">=18.12"
Expand Down
5 changes: 1 addition & 4 deletions incubator/commitlint-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@types/node": "^20.0.0"
},
"engines": {
"node": ">=16.17"
Expand Down
6 changes: 1 addition & 5 deletions incubator/esbuild-bundle-analyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,7 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"@types/yargs": "^16.0.0",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@types/yargs": "^16.0.0"
},
"engines": {
"node": ">=16.17"
Expand Down
6 changes: 1 addition & 5 deletions incubator/patcher-rnmacos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@
"@rnx-kit/tsconfig": "*",
"@types/fs-extra": "^9.0.0",
"@types/istextorbinary": "^2.3.0",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@types/node": "^20.0.0"
},
"dependencies": {
"commander": "^4.1.1",
Expand Down
5 changes: 1 addition & 4 deletions incubator/polyfills/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@
"@types/babel__helper-plugin-utils": "^7.0.0",
"@types/babel__template": "^7.0.0",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"metro-config": "^0.81.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"metro-config": "^0.81.0"
},
"engines": {
"node": ">=16.17"
Expand Down
6 changes: 1 addition & 5 deletions incubator/react-native-error-trace-decorator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"@types/yargs": "^16.0.0",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@types/yargs": "^16.0.0"
},
"dependencies": {
"@rnx-kit/console": "^2.0.0",
Expand Down
4 changes: 0 additions & 4 deletions incubator/rn-changelog-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,8 @@
"@types/node": "^20.0.0",
"chalk": "^4.1.0",
"deepmerge": "^4.2.2",
"eslint": "^9.0.0",
"fast-levenshtein": "^3.0.0",
"jest": "^29.2.1",
"p-limit": "^3.1.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0",
"yargs": "^16.0.0"
},
"engines": {
Expand Down
6 changes: 1 addition & 5 deletions incubator/tools-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@
"@rnx-kit/eslint-config": "*",
"@rnx-kit/jest-preset": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@rnx-kit/tsconfig": "*"
},
"peerDependencies": {
"typescript": ">=4.7.0"
Expand Down
5 changes: 1 addition & 4 deletions incubator/yarn-plugin-dynamic-extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@yarnpkg/core": "^4.0.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@yarnpkg/core": "^4.0.0"
},
"experimental": true
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
"swiftlint"
],
"ignoreDependencies": [
"@rnx-kit/jest-preset",
"@types/*",
"eslint",
"jest",
Expand Down
4 changes: 0 additions & 4 deletions packages/align-deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,10 @@
"@types/semver": "^7.0.0",
"@types/yargs": "^16.0.0",
"detect-indent": "^6.0.0",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"markdown-table": "^3.0.0",
"package-json": "^10.0.0",
"prettier": "^3.0.0",
"prompts": "^2.4.0",
"semver": "^7.0.0",
"typescript": "^5.0.0",
"yargs": "^16.0.0"
},
"engines": {
Expand Down
5 changes: 1 addition & 4 deletions packages/babel-plugin-import-path-remapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@
"@rnx-kit/tsconfig": "*",
"@types/babel__core": "^7.0.0",
"@types/babel__helper-plugin-utils": "^7.0.0",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@types/node": "^20.0.0"
},
"engines": {
"node": ">=16.17"
Expand Down
6 changes: 1 addition & 5 deletions packages/babel-preset-metro-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@
"@types/babel__core": "^7.0.0",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"metro-react-native-babel-preset": "^0.76.5",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"metro-react-native-babel-preset": "^0.76.5"
},
"engines": {
"node": ">=16.17"
Expand Down
5 changes: 1 addition & 4 deletions packages/bundle-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@types/node": "^20.0.0"
},
"engines": {
"node": ">=16.17"
Expand Down
6 changes: 1 addition & 5 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,14 @@
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"@types/qrcode": "^1.4.2",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"markdown-table": "^3.0.0",
"metro": "^0.81.0",
"metro-babel-transformer": "^0.81.0",
"metro-config": "^0.81.0",
"prettier": "^3.0.0",
"react": "18.3.1",
"react-native": "^0.76.0",
"tsx": "^4.15.0",
"type-fest": "^4.0.0",
"typescript": "^5.0.0"
"type-fest": "^4.0.0"
},
"engines": {
"node": ">=16.17"
Expand Down
5 changes: 1 addition & 4 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@
"@types/lodash.merge": "^4.6.9",
"@types/node": "^20.0.0",
"@types/semver": "^7.0.0",
"eslint": "^9.0.0",
"metro": "^0.81.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"metro": "^0.81.0"
},
"engines": {
"node": ">=16.17"
Expand Down
5 changes: 1 addition & 4 deletions packages/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@types/node": "^20.0.0"
},
"engines": {
"node": ">=16.17"
Expand Down
6 changes: 1 addition & 5 deletions packages/esbuild-plugin-import-path-remapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"esbuild": "^0.25.0",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"esbuild": "^0.25.0"
},
"engines": {
"node": ">=16.17"
Expand Down
3 changes: 1 addition & 2 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"eslint": "^9.0.0"
},
"devDependencies": {
"eslint": "^9.0.0",
"prettier": "^3.0.0"
"eslint": "^9.0.0"
},
"engines": {
"node": ">=16.17"
Expand Down
6 changes: 1 addition & 5 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@typescript-eslint/types": "^8.0.0",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"@typescript-eslint/types": "^8.0.0"
},
"engines": {
"node": ">=16.17"
Expand Down
6 changes: 1 addition & 5 deletions packages/jest-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,8 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"react": "18.3.1",
"react-native": "^0.76.0",
"typescript": "^5.0.0"
"react-native": "^0.76.0"
},
"engines": {
"node": ">=16.17"
Expand Down
5 changes: 1 addition & 4 deletions packages/metro-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,12 @@
"@rnx-kit/tsconfig": "*",
"@types/babel__core": "^7.0.0",
"@types/connect": "^3.4.36",
"eslint": "^9.0.0",
"metro": "^0.81.0",
"metro-config": "^0.81.0",
"metro-resolver": "^0.81.0",
"prettier": "^3.0.0",
"react": "18.3.1",
"react-native": "^0.76.0",
"type-fest": "^4.0.0",
"typescript": "^5.0.0"
"type-fest": "^4.0.0"
},
"engines": {
"node": ">=16.17"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"metro": "^0.81.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"metro": "^0.81.0"
},
"engines": {
"node": ">=16.17"
Expand Down
6 changes: 1 addition & 5 deletions packages/metro-plugin-duplicates-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,9 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"memfs": "^4.0.0",
"metro": "^0.81.0",
"metro-source-map": "^0.81.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"metro-source-map": "^0.81.0"
},
"engines": {
"node": ">=16.17"
Expand Down
5 changes: 1 addition & 4 deletions packages/metro-plugin-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"metro": "^0.81.0",
"prettier": "^3.0.0"
"metro": "^0.81.0"
},
"engines": {
"node": ">=16.17"
Expand Down
6 changes: 1 addition & 5 deletions packages/metro-resolver-symlinks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,7 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^9.0.0",
"jest": "^29.2.1",
"metro-resolver": "^0.81.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
"metro-resolver": "^0.81.0"
},
"engines": {
"node": ">=16.17"
Expand Down
Loading

0 comments on commit cc99496

Please sign in to comment.