Skip to content

Commit 9c78acb

Browse files
committed
Add nx with project specific configs
1 parent 431c3e6 commit 9c78acb

File tree

14 files changed

+9000
-1609
lines changed

14 files changed

+9000
-1609
lines changed

.gitignore

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,82 @@ node_modules/
44
dist/
55

66
*.tsbuildinfo
7+
8+
.nx/cache
9+
.nx/workspace-data
10+
.cursor/rules/nx-rules.mdc
11+
.github/instructions/nx.instructions.md
12+
13+
# React Native
14+
15+
# OSX
16+
#
17+
.DS_Store
18+
19+
# Xcode
20+
#
21+
build/
22+
*.pbxuser
23+
!default.pbxuser
24+
*.mode1v3
25+
!default.mode1v3
26+
*.mode2v3
27+
!default.mode2v3
28+
*.perspectivev3
29+
!default.perspectivev3
30+
xcuserdata
31+
*.xccheckout
32+
*.moved-aside
33+
DerivedData
34+
*.hmap
35+
*.ipa
36+
*.xcuserstate
37+
**/.xcode.env.local
38+
39+
# Android/IntelliJ
40+
#
41+
build/
42+
.idea
43+
.gradle
44+
local.properties
45+
*.iml
46+
*.hprof
47+
.cxx/
48+
*.keystore
49+
!debug.keystore
50+
51+
# node.js
52+
#
53+
node_modules/
54+
npm-debug.log
55+
yarn-error.log
56+
57+
# fastlane
58+
#
59+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
60+
# screenshots whenever they are needed.
61+
# For more information about the recommended setup visit:
62+
# https://docs.fastlane.tools/best-practices/source-control/
63+
64+
**/fastlane/report.xml
65+
**/fastlane/Preview.html
66+
**/fastlane/screenshots
67+
**/fastlane/test_output
68+
69+
# Bundle artifact
70+
*.jsbundle
71+
72+
# Ruby / CocoaPods
73+
**/Pods/
74+
**/vendor/bundle/
75+
76+
# Temporary files created by Metro to check the health of the file watcher
77+
.metro-health-check*
78+
79+
# testing
80+
/coverage
81+
82+
83+
## Nested node_modules
84+
85+
node_modules/

nx.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3+
"targetDefaults": {},
4+
"plugins": [
5+
{
6+
"plugin": "@nx/eslint/plugin",
7+
"options": {
8+
"targetName": "lint"
9+
}
10+
},
11+
{
12+
"plugin": "@nx/react-native/plugin",
13+
"options": {
14+
"startTargetName": "react-native:start",
15+
"upgradeTargetName": "update",
16+
"bundleTargetName": "bundle",
17+
"podInstallTargetName": "react-native:pod-install",
18+
"runIosTargetName": "run-ios",
19+
"runAndroidTargetName": "run-android",
20+
"buildIosTargetName": "build-ios",
21+
"buildAndroidTargetName": "build-android",
22+
"syncDepsTargetName": "sync-deps"
23+
}
24+
}
25+
],
26+
"tui": {
27+
"autoExit": true
28+
}
29+
}

0 commit comments

Comments
 (0)