Skip to content

Commit

Permalink
Rename react-native-live-markdown to RNLiveMarkdown
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw committed Feb 5, 2024
1 parent e8b2fb3 commit 43fc4c4
Show file tree
Hide file tree
Showing 19 changed files with 46 additions and 38 deletions.
10 changes: 9 additions & 1 deletion react-native-live-markdown.podspec → RNLiveMarkdown.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'

Pod::Spec.new do |s|
s.name = "react-native-live-markdown"
s.name = "RNLiveMarkdown"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
Expand Down Expand Up @@ -41,4 +41,12 @@ Pod::Spec.new do |s|
s.dependency "ReactCommon/turbomodule/core"
end
end

s.pod_target_xcconfig = {
"USE_HEADERMAP" => "YES",
"DEFINES_MODULE" => "YES",
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Headers/Private/React-Core\" \"$(PODS_ROOT)/Headers/Private/Yoga\"",
"FRAMEWORK_SEARCH_PATHS" => "\"${PODS_CONFIGURATION_BUILD_DIR}/React-hermes\"",
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
}
end
16 changes: 8 additions & 8 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,6 @@ PODS:
- React-jsinspector (0.72.9)
- React-logger (0.72.9):
- glog
- react-native-live-markdown (0.1.0):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- React-NativeModulesApple (0.72.9):
- hermes-engine
- React-callinvoker
Expand Down Expand Up @@ -428,6 +425,9 @@ PODS:
- React-jsi (= 0.72.9)
- React-logger (= 0.72.9)
- React-perflogger (= 0.72.9)
- RNLiveMarkdown (0.1.0):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- SocketRocket (0.6.1)
- Yoga (1.14.0)

Expand Down Expand Up @@ -455,7 +455,6 @@ DEPENDENCIES:
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
- react-native-live-markdown (from `../..`)
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
Expand All @@ -473,6 +472,7 @@ DEPENDENCIES:
- React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`)
- React-utils (from `../node_modules/react-native/ReactCommon/react/utils`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- RNLiveMarkdown (from `../..`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)

SPEC REPOS:
Expand Down Expand Up @@ -524,8 +524,6 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
React-logger:
:path: "../node_modules/react-native/ReactCommon/logger"
react-native-live-markdown:
:path: "../.."
React-NativeModulesApple:
:path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios"
React-perflogger:
Expand Down Expand Up @@ -560,11 +558,13 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/react/utils"
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
RNLiveMarkdown:
:path: "../.."
Yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
boost: 57d2868c099736d80fcd648bf211b4431e51a558
boost: 7dcd2de282d72e344012f7d6564d024930a6a440
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: dc178b8748748c036ef9493a5d59d6d1f91a36ce
FBReactNativeSpec: d0aaae78e93c89dc2d691d8052a4d2aeb1b461ee
Expand All @@ -587,7 +587,6 @@ SPEC CHECKSUMS:
React-jsiexecutor: 5a169b1dd1abad06bed40ab7e1aca883c657d865
React-jsinspector: 54205b269da20c51417e0fc02c4cde9f29a4bf1a
React-logger: f42d2f2bc4cbb5d19d7c0ce84b8741b1e54e88c8
react-native-live-markdown: d187e67bbac163914bf1f940aed08e7b7fe413cc
React-NativeModulesApple: 3d1fab3decbf21afb13a7a3a297053652765190d
React-perflogger: cb433f318c6667060fc1f62e26eb58d6eb30a627
React-RCTActionSheet: 0af3f8ac067e8a1dde902810b7ad169d0a0ec31e
Expand All @@ -605,6 +604,7 @@ SPEC CHECKSUMS:
React-runtimescheduler: e8591257b9c3ba3f675f9435fd667b7ea9da9ffb
React-utils: ca41af4592cb4ed7eb660d33b7d63818561ee118
ReactCommon: 7f1c2a847773d16c6ba5fb8224552f4d510a51ba
RNLiveMarkdown: 1bd05ce65f18f415f12eba1b0164ba0c2b2cd3d9
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Yoga: eddf2bbe4a896454c248a8f23b4355891eb720a6

Expand Down
2 changes: 1 addition & 1 deletion ios/MarkdownLayoutManager.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>
#import <react_native_live_markdown/RCTMarkdownUtils.h>
#import <RNLiveMarkdown/RCTMarkdownUtils.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion ios/MarkdownLayoutManager.mm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import <react_native_live_markdown/MarkdownLayoutManager.h>
#import <RNLiveMarkdown/MarkdownLayoutManager.h>

@implementation MarkdownLayoutManager

Expand Down
6 changes: 3 additions & 3 deletions ios/MarkdownTextInputDecoratorComponentView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#import <react/renderer/components/RNLiveMarkdownSpec/ComponentDescriptors.h>
#import <react/renderer/components/RNLiveMarkdownSpec/Props.h>

#import <react_native_live_markdown/MarkdownTextInputDecoratorComponentView.h>
#import <react_native_live_markdown/MarkdownTextInputDecoratorView.h>
#import <react_native_live_markdown/RCTMarkdownStyle.h>
#import <RNLiveMarkdown/MarkdownTextInputDecoratorComponentView.h>
#import <RNLiveMarkdown/MarkdownTextInputDecoratorView.h>
#import <RNLiveMarkdown/RCTMarkdownStyle.h>

#import "RCTFabricComponentsPlugins.h"

Expand Down
2 changes: 1 addition & 1 deletion ios/MarkdownTextInputDecoratorView.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>
#import <react_native_live_markdown/RCTMarkdownStyle.h>
#import <RNLiveMarkdown/RCTMarkdownStyle.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
12 changes: 6 additions & 6 deletions ios/MarkdownTextInputDecoratorView.mm
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#import <React/RCTUITextField.h>
#import "react_native_assert.h"

#import <react_native_live_markdown/MarkdownLayoutManager.h>
#import <react_native_live_markdown/MarkdownTextInputDecoratorView.h>
#import <react_native_live_markdown/RCTBackedTextFieldDelegateAdapter+Markdown.h>
#import <react_native_live_markdown/RCTUITextView+Markdown.h>
#import <RNLiveMarkdown/MarkdownLayoutManager.h>
#import <RNLiveMarkdown/MarkdownTextInputDecoratorView.h>
#import <RNLiveMarkdown/RCTBackedTextFieldDelegateAdapter+Markdown.h>
#import <RNLiveMarkdown/RCTUITextView+Markdown.h>

#ifdef RCT_NEW_ARCH_ENABLED
#import <react_native_live_markdown/RCTTextInputComponentView+Markdown.h>
#import <RNLiveMarkdown/RCTTextInputComponentView+Markdown.h>
#else
#import <react_native_live_markdown/RCTBaseTextInputView+Markdown.h>
#import <RNLiveMarkdown/RCTBaseTextInputView+Markdown.h>
#endif /* RCT_NEW_ARCH_ENABLED */

#import <objc/runtime.h>
Expand Down
4 changes: 2 additions & 2 deletions ios/MarkdownTextInputDecoratorViewManager.mm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <react_native_live_markdown/MarkdownTextInputDecoratorViewManager.h>
#import <react_native_live_markdown/MarkdownTextInputDecoratorView.h>
#import <RNLiveMarkdown/MarkdownTextInputDecoratorViewManager.h>
#import <RNLiveMarkdown/MarkdownTextInputDecoratorView.h>

@implementation MarkdownTextInputDecoratorViewManager

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTBackedTextFieldDelegateAdapter+Markdown.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <React/RCTBackedTextInputDelegateAdapter.h>
#import <react_native_live_markdown/RCTMarkdownUtils.h>
#import <RNLiveMarkdown/RCTMarkdownUtils.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions ios/RCTBackedTextFieldDelegateAdapter+Markdown.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <react_native_live_markdown/RCTBackedTextFieldDelegateAdapter+Markdown.h>
#import <react_native_live_markdown/RCTMarkdownUtils.h>
#import <RNLiveMarkdown/RCTBackedTextFieldDelegateAdapter+Markdown.h>
#import <RNLiveMarkdown/RCTMarkdownUtils.h>
#import <React/RCTUITextField.h>
#import <objc/message.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTBaseTextInputView+Markdown.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <React/RCTBaseTextInputView.h>
#import <react_native_live_markdown/RCTMarkdownUtils.h>
#import <RNLiveMarkdown/RCTMarkdownUtils.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions ios/RCTBaseTextInputView+Markdown.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <react_native_live_markdown/RCTBaseTextInputView+Markdown.h>
#import <react_native_live_markdown/RCTMarkdownUtils.h>
#import <RNLiveMarkdown/RCTBaseTextInputView+Markdown.h>
#import <RNLiveMarkdown/RCTMarkdownUtils.h>
#import <objc/message.h>

@implementation RCTBaseTextInputView (Markdown)
Expand Down
2 changes: 1 addition & 1 deletion ios/RCTMarkdownStyle.mm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import <react_native_live_markdown/RCTMarkdownStyle.h>
#import <RNLiveMarkdown/RCTMarkdownStyle.h>

#ifdef RCT_NEW_ARCH_ENABLED
#import <React/RCTConversions.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/RCTMarkdownUtils.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <React/RCTBackedTextInputViewProtocol.h>
#import <react_native_live_markdown/RCTMarkdownStyle.h>
#import <RNLiveMarkdown/RCTMarkdownStyle.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTMarkdownUtils.mm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import <react_native_live_markdown/RCTMarkdownUtils.h>
#import <RNLiveMarkdown/RCTMarkdownUtils.h>
#import <react/debug/react_native_assert.h>
#import <React/RCTAssert.h>
#import <React/RCTFont.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/RCTTextInputComponentView+Markdown.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#ifdef RCT_NEW_ARCH_ENABLED

#import <React/RCTTextInputComponentView.h>
#import <react_native_live_markdown/RCTMarkdownUtils.h>
#import <RNLiveMarkdown/RCTMarkdownUtils.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions ios/RCTTextInputComponentView+Markdown.mm
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// This guard prevent this file to be compiled in the old architecture.
#ifdef RCT_NEW_ARCH_ENABLED

#import <react_native_live_markdown/RCTTextInputComponentView+Markdown.h>
#import <react_native_live_markdown/RCTMarkdownUtils.h>
#import <RNLiveMarkdown/RCTTextInputComponentView+Markdown.h>
#import <RNLiveMarkdown/RCTMarkdownUtils.h>
#import <React/RCTUITextField.h>
#import <objc/message.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTUITextView+Markdown.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import <UIKit/UIKit.h>
#import <React/RCTUITextView.h>
#import <react_native_live_markdown/RCTMarkdownUtils.h>
#import <RNLiveMarkdown/RCTMarkdownUtils.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions ios/RCTUITextView+Markdown.mm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <react_native_live_markdown/RCTUITextView+Markdown.h>
#import <react_native_live_markdown/RCTMarkdownUtils.h>
#import <RNLiveMarkdown/RCTUITextView+Markdown.h>
#import <RNLiveMarkdown/RCTMarkdownUtils.h>
#import <objc/message.h>

@implementation RCTUITextView (Markdown)
Expand Down

0 comments on commit 43fc4c4

Please sign in to comment.