Skip to content

Commit dcd1250

Browse files
committed
chore: updated dependencies
1 parent 5d42f33 commit dcd1250

File tree

16 files changed

+1218
-862
lines changed

16 files changed

+1218
-862
lines changed

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ module.exports = {
55
'prettier/prettier': [
66
'error',
77
{
8+
printWidth: 80,
9+
arrowParens: 'avoid',
810
singleQuote: true,
911
tabWidth: 2,
1012
trailingComma: 'es5',

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"printWidth": 80,
23
"arrowParens": "avoid",
34
"singleQuote": true,
45
"tabWidth": 2,

.release-it.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"push": true,
44
"tagName": "v${version}",
55
"commitMessage": "chore: release v${version}",
6-
"changelog": "auto-changelog --stdout --commit-limit false --ignore-commit-pattern \"^chore: release v\" --unreleased --template ./release-template.hbs"
6+
"changelog": "auto-changelog --stdout --commit-limit false --ignore-commit-pattern \"^chore: release v\" --unreleased --template ./release-template.hbs --tag-pattern \"^v\\d+\\.\\d+\\.\\d+$\" --handlebars-setup ./scripts/auto-changelog.js"
77
},
88
"github": {
99
"release": true,
10-
"releaseNotes": "auto-changelog --stdout --commit-limit false --ignore-commit-pattern \"^chore: release v\" --unreleased --template ./release-template.hbs"
10+
"releaseNotes": "auto-changelog --stdout --commit-limit false --ignore-commit-pattern \"^chore: release v\" --unreleased --template ./release-template.hbs --tag-pattern \"^v\\d+\\.\\d+\\.\\d+$\" --handlebars-setup ./scripts/auto-changelog.js"
1111
},
1212
"npm": {
1313
"publish": false
@@ -18,6 +18,6 @@
1818
}
1919
},
2020
"hooks": {
21-
"after:bump": "auto-changelog -p --ignore-commit-pattern \"^chore: release v\""
21+
"after:bump": "auto-changelog -p --ignore-commit-pattern \"^chore: release v\" --template ./release-template.hbs --tag-pattern \"^v\\d+\\.\\d+\\.\\d+$\" --handlebars-setup ./scripts/auto-changelog.js"
2222
}
23-
}
23+
}

LICENSE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
MIT License
22

33
Copyright (c) 2020 Mo Gorhom
4-
Copyright (c) 2020 Raul Gomez Acuna
54

65
Permission is hereby granted, free of charge, to any person obtaining a copy
76
of this software and associated documentation files (the "Software"), to deal
File renamed without changes.

example/ios/BottomSheetExample.xcodeproj/project.pbxproj

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,20 @@
1616
/* End PBXBuildFile section */
1717

1818
/* Begin PBXFileReference section */
19-
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
19+
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = main.jsbundle; path = ../main.jsbundle; sourceTree = "<group>"; };
2020
13B07F961A680F5B00A75B9A /* BottomSheetExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BottomSheetExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
21-
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = BottomSheetExample/AppDelegate.h; sourceTree = "<group>"; };
22-
13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = BottomSheetExample/AppDelegate.mm; sourceTree = "<group>"; };
23-
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = BottomSheetExample/Images.xcassets; sourceTree = "<group>"; };
24-
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = BottomSheetExample/Info.plist; sourceTree = "<group>"; };
25-
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = BottomSheetExample/main.m; sourceTree = "<group>"; };
26-
20F357AD24636CDE00C146DC /* BottomSheetExample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "BottomSheetExample-Bridging-Header.h"; sourceTree = "<group>"; };
21+
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
22+
13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AppDelegate.mm; sourceTree = "<group>"; };
23+
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
24+
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
25+
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
2726
20F357AE24636CDF00C146DC /* BottomSheetExample-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "BottomSheetExample-Bridging-Header.h"; sourceTree = "<group>"; };
2827
20F357AF24636CDF00C146DC /* File.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = File.swift; sourceTree = "<group>"; };
2928
4D7192F03A36A017E887435B /* Pods-BottomSheetExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BottomSheetExample.release.xcconfig"; path = "Target Support Files/Pods-BottomSheetExample/Pods-BottomSheetExample.release.xcconfig"; sourceTree = "<group>"; };
3029
871719007ECC5EAD276C345C /* Pods-BottomSheetExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BottomSheetExample.debug.xcconfig"; path = "Target Support Files/Pods-BottomSheetExample/Pods-BottomSheetExample.debug.xcconfig"; sourceTree = "<group>"; };
3130
BCEA90A70F4BEAD7E9FA28B2 /* libPods-BottomSheetExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-BottomSheetExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3231
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
33-
F8F7E4D624EC753E006046E8 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = BottomSheetExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
32+
F8F7E4D624EC753E006046E8 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
3433
/* End PBXFileReference section */
3534

3635
/* Begin PBXFrameworksBuildPhase section */
@@ -48,6 +47,8 @@
4847
13B07FAE1A68108700A75B9A /* BottomSheetExample */ = {
4948
isa = PBXGroup;
5049
children = (
50+
20F357AF24636CDF00C146DC /* File.swift */,
51+
20F357AE24636CDF00C146DC /* BottomSheetExample-Bridging-Header.h */,
5152
008F07F21AC5B25A0029DE68 /* main.jsbundle */,
5253
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
5354
13B07FB01A68108700A75B9A /* AppDelegate.mm */,
@@ -56,7 +57,7 @@
5657
13B07FB71A68108700A75B9A /* main.m */,
5758
F8F7E4D624EC753E006046E8 /* LaunchScreen.storyboard */,
5859
);
59-
name = BottomSheetExample;
60+
path = BottomSheetExample;
6061
sourceTree = "<group>";
6162
};
6263
1CFFDEF7170271C97B8B7E5A /* Pods */ = {
@@ -87,14 +88,11 @@
8788
83CBB9F61A601CBA00E9B192 = {
8889
isa = PBXGroup;
8990
children = (
90-
20F357AF24636CDF00C146DC /* File.swift */,
91-
20F357AE24636CDF00C146DC /* BottomSheetExample-Bridging-Header.h */,
9291
13B07FAE1A68108700A75B9A /* BottomSheetExample */,
9392
832341AE1AAA6A7D00B99B32 /* Libraries */,
9493
83CBBA001A601CBA00E9B192 /* Products */,
9594
2D16E6871FA4F8E400B85C8A /* Frameworks */,
9695
1CFFDEF7170271C97B8B7E5A /* Pods */,
97-
20F357AD24636CDE00C146DC /* BottomSheetExample-Bridging-Header.h */,
9896
);
9997
indentWidth = 2;
10098
sourceTree = "<group>";
@@ -192,7 +190,7 @@
192190
);
193191
runOnlyForDeploymentPostprocessing = 0;
194192
shellPath = /bin/sh;
195-
shellScript = "cd $PROJECT_DIR/.. export NODE_BINARY=node\n./node_modules/react-native/scripts/react-native-xcode.sh index.tsx\n";
193+
shellScript = "cd $PROJECT_DIR/.. export NODE_BINARY=node\n./node_modules/react-native/scripts/react-native-xcode.sh index.ts\n";
196194
};
197195
13D3F01C5A08EB5AC4FE64E8 /* [CP] Copy Pods Resources */ = {
198196
isa = PBXShellScriptBuildPhase;
@@ -276,24 +274,18 @@
276274
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
277275
CLANG_ENABLE_MODULES = YES;
278276
CURRENT_PROJECT_VERSION = 1;
279-
DEAD_CODE_STRIPPING = NO;
280277
DEVELOPMENT_TEAM = 4P8A237MEX;
278+
ENABLE_BITCODE = NO;
281279
INFOPLIST_FILE = BottomSheetExample/Info.plist;
282-
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
283280
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
284-
OTHER_CFLAGS = (
285-
"$(inherited)",
286-
"-DFB_SONARKIT_ENABLED=1",
287-
);
288281
OTHER_LDFLAGS = (
289282
"$(inherited)",
290283
"-ObjC",
291284
"-lc++",
292285
);
293286
PRODUCT_BUNDLE_IDENTIFIER = "dev.gorhom.bottom-sheet";
294287
PRODUCT_NAME = BottomSheetExample;
295-
SWIFT_OBJC_BRIDGING_HEADER = "BottomSheetExample-Bridging-Header.h";
296-
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
288+
SWIFT_OBJC_BRIDGING_HEADER = "BottomSheetExample/BottomSheetExample-Bridging-Header.h";
297289
SWIFT_VERSION = 5.0;
298290
VERSIONING_SYSTEM = "apple-generic";
299291
};
@@ -308,20 +300,15 @@
308300
CURRENT_PROJECT_VERSION = 1;
309301
DEVELOPMENT_TEAM = 4P8A237MEX;
310302
INFOPLIST_FILE = BottomSheetExample/Info.plist;
311-
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
312303
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
313-
OTHER_CFLAGS = (
314-
"$(inherited)",
315-
"-DFB_SONARKIT_ENABLED=0",
316-
);
317304
OTHER_LDFLAGS = (
318305
"$(inherited)",
319306
"-ObjC",
320307
"-lc++",
321308
);
322309
PRODUCT_BUNDLE_IDENTIFIER = "dev.gorhom.bottom-sheet";
323310
PRODUCT_NAME = BottomSheetExample;
324-
SWIFT_OBJC_BRIDGING_HEADER = "BottomSheetExample-Bridging-Header.h";
311+
SWIFT_OBJC_BRIDGING_HEADER = "BottomSheetExample/BottomSheetExample-Bridging-Header.h";
325312
SWIFT_VERSION = 5.0;
326313
VERSIONING_SYSTEM = "apple-generic";
327314
};
@@ -357,7 +344,6 @@
357344
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
358345
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
359346
COPY_PHASE_STRIP = NO;
360-
ENABLE_BITCODE = NO;
361347
ENABLE_STRICT_OBJC_MSGSEND = YES;
362348
ENABLE_TESTABILITY = YES;
363349
GCC_C_LANGUAGE_STANDARD = gnu99;
@@ -376,6 +362,12 @@
376362
GCC_WARN_UNUSED_FUNCTION = YES;
377363
GCC_WARN_UNUSED_VARIABLE = YES;
378364
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
365+
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
366+
LIBRARY_SEARCH_PATHS = (
367+
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
368+
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
369+
"\"$(inherited)\"",
370+
);
379371
MTL_ENABLE_DEBUG_INFO = YES;
380372
ONLY_ACTIVE_ARCH = YES;
381373
SDKROOT = iphoneos;
@@ -412,7 +404,6 @@
412404
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
413405
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
414406
COPY_PHASE_STRIP = YES;
415-
ENABLE_BITCODE = NO;
416407
ENABLE_NS_ASSERTIONS = NO;
417408
ENABLE_STRICT_OBJC_MSGSEND = YES;
418409
GCC_C_LANGUAGE_STANDARD = gnu99;
@@ -424,9 +415,14 @@
424415
GCC_WARN_UNUSED_FUNCTION = YES;
425416
GCC_WARN_UNUSED_VARIABLE = YES;
426417
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
418+
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
419+
LIBRARY_SEARCH_PATHS = (
420+
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
421+
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
422+
"\"$(inherited)\"",
423+
);
427424
MTL_ENABLE_DEBUG_INFO = NO;
428425
SDKROOT = iphoneos;
429-
SWIFT_COMPILATION_MODE = wholemodule;
430426
VALIDATE_PRODUCT = YES;
431427
};
432428
name = Release;
File renamed without changes.

example/ios/Podfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,13 @@ platform :ios, '10.0'
55
target 'BottomSheetExample' do
66
config = use_native_modules!
77
use_react_native!(:path => config["reactNativePath"])
8+
9+
# Enables Flipper.
10+
#
11+
# Note that if you have use_frameworks! enabled, Flipper will not work and
12+
# you should disable these next few lines.
13+
use_flipper!
14+
post_install do |installer|
15+
flipper_post_install(installer)
16+
end
817
end

0 commit comments

Comments
 (0)