Skip to content

Commit ad7a7c7

Browse files
committed
chore: update .npmignore and Xcode project files
- Added new entries to .npmignore for Android and iOS build artifacts and IDE files. - Updated Xcode project configuration to include new source files and remove deprecated ones.
1 parent fdb400c commit ad7a7c7

File tree

2 files changed

+35
-28
lines changed

2 files changed

+35
-28
lines changed

.npmignore

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,29 @@ sample/
44
# Android build artifacts and libs
55
android/libs/
66
android/build/
7+
android/src/test/
78
android/.gradle/
89
android/local.properties
10+
android/.idea/
11+
android/.kotlin/
12+
android/gradlew
13+
android/gradlew.bat
14+
android/gradle.properties
15+
android/gradle/
916

1017
# iOS build artifacts
1118
ios/build/
12-
ios/Pods/
13-
ios/Podfile.lock
14-
15-
# Build directories
16-
build/
17-
dist/
19+
ios/RNMParticle.xcodeproj/xcuserdata/
20+
ios/RNMParticle.xcodeproj/xcshareddata/
21+
ios/RNMParticle.xcodeproj/project.xcworkspace/
1822

1923
# Dependencies
2024
node_modules/
2125

2226
# IDE files
2327
.idea/
2428
.vscode/
29+
.trunk/
2530
*.iml
2631
*.iws
2732

@@ -32,6 +37,7 @@ Thumbs.db
3237
# Git
3338
.git/
3439
.github/
40+
.gitignore
3541

3642
# Logs
3743
*.log
@@ -47,19 +53,14 @@ yarn-error.log*
4753

4854
# Heavy binary files
4955
*.jar
50-
*.aar
51-
*.so
52-
*.dylib
53-
*.dll
5456

5557
# Development files
5658
package-lock.json
5759
yarn.lock
5860
tsconfig.json
5961
release.sh
60-
61-
# Development and test files
62-
**/*.test.ts
63-
**/*.test.tsx
64-
**/*.spec.ts
65-
**/*.spec.tsx
62+
dev-link.sh
63+
.prettierrc.js
64+
.eslintrc.js
65+
metro.config.js
66+
ONBOARDING.md

ios/RNMParticle.xcodeproj/project.pbxproj

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
B39BCD8E2E2A06D700FC90B8 /* RNMPRokt.m in Sources */ = {isa = PBXBuildFile; fileRef = B39BCD8A2E2A06D700FC90B8 /* RNMPRokt.m */; };
1110
B39BCD8F2E2A06D700FC90B8 /* RoktEventManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B39BCD8C2E2A06D700FC90B8 /* RoktEventManager.m */; };
12-
B39BCD902E2A06D700FC90B8 /* RoktWidgetManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B39BCD8D2E2A06D700FC90B8 /* RoktWidgetManager.m */; };
13-
DBDF24DC1E007EB1000F3D73 /* RNMParticle.m in Sources */ = {isa = PBXBuildFile; fileRef = DBDF24DB1E007EB1000F3D73 /* RNMParticle.m */; };
11+
B39BCD962E30562400FC90B8 /* RoktLayoutManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B39BCD932E30562400FC90B8 /* RoktLayoutManager.m */; };
12+
B39BCD972E30562400FC90B8 /* RNMPRokt.mm in Sources */ = {isa = PBXBuildFile; fileRef = B39BCD922E30562400FC90B8 /* RNMPRokt.mm */; };
13+
B39BCD982E30562400FC90B8 /* RNMParticle.mm in Sources */ = {isa = PBXBuildFile; fileRef = B39BCD912E30562400FC90B8 /* RNMParticle.mm */; };
14+
B39BCD992E30562400FC90B8 /* RoktNativeLayoutComponentView.mm in Sources */ = {isa = PBXBuildFile; fileRef = B39BCD952E30562400FC90B8 /* RoktNativeLayoutComponentView.mm */; };
1415
DBDF24DD1E007EB1000F3D73 /* RNMParticle.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBDF24DA1E007EB1000F3D73 /* RNMParticle.h */; };
1516
/* End PBXBuildFile section */
1617

@@ -29,13 +30,15 @@
2930

3031
/* Begin PBXFileReference section */
3132
B39BCD892E2A06D700FC90B8 /* RNMPRokt.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNMPRokt.h; sourceTree = "<group>"; };
32-
B39BCD8A2E2A06D700FC90B8 /* RNMPRokt.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNMPRokt.m; sourceTree = "<group>"; };
3333
B39BCD8B2E2A06D700FC90B8 /* RoktEventManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RoktEventManager.h; sourceTree = "<group>"; };
3434
B39BCD8C2E2A06D700FC90B8 /* RoktEventManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RoktEventManager.m; sourceTree = "<group>"; };
35-
B39BCD8D2E2A06D700FC90B8 /* RoktWidgetManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RoktWidgetManager.m; sourceTree = "<group>"; };
35+
B39BCD912E30562400FC90B8 /* RNMParticle.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RNMParticle.mm; sourceTree = "<group>"; };
36+
B39BCD922E30562400FC90B8 /* RNMPRokt.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RNMPRokt.mm; sourceTree = "<group>"; };
37+
B39BCD932E30562400FC90B8 /* RoktLayoutManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RoktLayoutManager.m; sourceTree = "<group>"; };
38+
B39BCD942E30562400FC90B8 /* RoktNativeLayoutComponentView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RoktNativeLayoutComponentView.h; sourceTree = "<group>"; };
39+
B39BCD952E30562400FC90B8 /* RoktNativeLayoutComponentView.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RoktNativeLayoutComponentView.mm; sourceTree = "<group>"; };
3640
DBDF24D71E007EB1000F3D73 /* libRNMParticle.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNMParticle.a; sourceTree = BUILT_PRODUCTS_DIR; };
3741
DBDF24DA1E007EB1000F3D73 /* RNMParticle.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNMParticle.h; sourceTree = "<group>"; };
38-
DBDF24DB1E007EB1000F3D73 /* RNMParticle.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNMParticle.m; sourceTree = "<group>"; };
3942
/* End PBXFileReference section */
4043

4144
/* Begin PBXFrameworksBuildPhase section */
@@ -68,13 +71,15 @@
6871
DBDF24D91E007EB1000F3D73 /* RNMParticle */ = {
6972
isa = PBXGroup;
7073
children = (
74+
B39BCD912E30562400FC90B8 /* RNMParticle.mm */,
75+
B39BCD922E30562400FC90B8 /* RNMPRokt.mm */,
76+
B39BCD932E30562400FC90B8 /* RoktLayoutManager.m */,
77+
B39BCD942E30562400FC90B8 /* RoktNativeLayoutComponentView.h */,
78+
B39BCD952E30562400FC90B8 /* RoktNativeLayoutComponentView.mm */,
7179
B39BCD892E2A06D700FC90B8 /* RNMPRokt.h */,
72-
B39BCD8A2E2A06D700FC90B8 /* RNMPRokt.m */,
7380
B39BCD8B2E2A06D700FC90B8 /* RoktEventManager.h */,
7481
B39BCD8C2E2A06D700FC90B8 /* RoktEventManager.m */,
75-
B39BCD8D2E2A06D700FC90B8 /* RoktWidgetManager.m */,
7682
DBDF24DA1E007EB1000F3D73 /* RNMParticle.h */,
77-
DBDF24DB1E007EB1000F3D73 /* RNMParticle.m */,
7883
);
7984
path = RNMParticle;
8085
sourceTree = "<group>";
@@ -137,10 +142,11 @@
137142
isa = PBXSourcesBuildPhase;
138143
buildActionMask = 2147483647;
139144
files = (
140-
DBDF24DC1E007EB1000F3D73 /* RNMParticle.m in Sources */,
141-
B39BCD8E2E2A06D700FC90B8 /* RNMPRokt.m in Sources */,
145+
B39BCD962E30562400FC90B8 /* RoktLayoutManager.m in Sources */,
146+
B39BCD972E30562400FC90B8 /* RNMPRokt.mm in Sources */,
147+
B39BCD982E30562400FC90B8 /* RNMParticle.mm in Sources */,
148+
B39BCD992E30562400FC90B8 /* RoktNativeLayoutComponentView.mm in Sources */,
142149
B39BCD8F2E2A06D700FC90B8 /* RoktEventManager.m in Sources */,
143-
B39BCD902E2A06D700FC90B8 /* RoktWidgetManager.m in Sources */,
144150
);
145151
runOnlyForDeploymentPostprocessing = 0;
146152
};

0 commit comments

Comments
 (0)