Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit 6614425

Browse files
author
torchhound
committed
feat(./): Release version 1.0.0-beta.1
1 parent fe5658c commit 6614425

File tree

5 files changed

+32
-12
lines changed

5 files changed

+32
-12
lines changed

.circleci/config.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ jobs:
2525
timeout: 1200
2626
no_output_timeout: 20m
2727
- run: sudo npm install -g react-native-cli
28-
- run: cd HelloReactNative && npm install
28+
- run: cd .. && git clone https://github.com/launchdarkly/hello-react-native.git
29+
- run: cd ../hello-react-native && npm install
30+
- run: cp -r ../project/ ../hello-react-native/node_modules/launchdarkly-react-native-client/
2931
- run: circle-android wait-for-boot
3032
- run:
31-
command: cd ReactNativeRestwrapper && react-native run-android
33+
command: cd ../hello-react-native && react-native run-android
3234
background: true
3335
timeout: 1200
3436

@@ -41,8 +43,10 @@ jobs:
4143
- run: xcrun simctl create rn-ios com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-12-1
4244
- run: xcrun simctl boot rn-ios
4345
- run: sudo npm install -g react-native-cli
44-
- run: cd HelloReactNative && npm install
45-
- run: cd HelloReactNative && react-native run-ios --configuration Release
46+
- run: cd .. && git clone https://github.com/launchdarkly/hello-react-native.git
47+
- run: cd ../hello-react-native && npm install
48+
- run: cp -r ../project/ ../hello-react-native/node_modules/launchdarkly-react-native-client/
49+
- run: cd ../hello-react-native && react-native run-ios --configuration Release
4650

4751
workflows:
4852
version: 2

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Change log
2+
3+
All notable changes to the LaunchDarkly React Native SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
4+
5+
## [1.0.0-beta.1] - 2019-03-01
6+
### Added
7+
- CHANGELOG.md and CONTRIBUTING.md
8+
### Changed
9+
- Moved `LaunchDarklyReactNativeClient.podspec` into `ios/`
10+
### Fixed
11+
- Changed `config.yml` to run against `hello-react-native`.

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# How to work on this project
2+
1. Ensure you have `npm` and `react-native-cli` installed.
3+
2. Clone and setup the `hello-react-native` repo.
4+
3. Make changes in `node_modules/launchdarkly-react-native-client`.
5+
4. Test your changes in the root of Hello using either `react-native run-ios` or `react-native run-android`.

LaunchdarklyReactNativeClient.podspec renamed to ios/LaunchdarklyReactNativeClient.podspec

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11

22
Pod::Spec.new do |s|
33
s.name = "LaunchdarklyReactNativeClient"
4-
s.version = "1.0.0-beta.0"
4+
s.version = "1.0.0-beta.1"
55
s.summary = "LaunchdarklyReactNativeClient"
66
s.description = <<-DESC
77
LaunchdarklyReactNativeClient
88
DESC
99
s.homepage = "https://launchdarkly.com"
1010
s.license = "MIT"
11-
s.license = { :type => "Apache-2.0", :file => "LICENSE" }
11+
s.license = { :type => "Apache-2.0", :file => "../LICENSE" }
1212
s.author = { "author" => "[email protected]" }
13-
s.platform = :ios, "8.0"
13+
s.platform = :ios, "9.0"
1414
s.source = { :git => "https://github.com/launchdarkly/react-native-client.git", :tag => "master" }
15-
s.source_files = "ios/**/*.{h,m,swift}"
16-
s.exclude_files = "android/**/*"
17-
s.preserve_paths = "package.json"
15+
s.source_files = "**/*.{h,m,swift}"
16+
s.swift_version = "3.0"
1817

1918
s.dependency "React"
2019
s.dependency "LaunchDarkly", "~> 3.0.0-beta.2"

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "launchdarkly-react-native-client",
3-
"version": "1.0.0-beta.0",
3+
"version": "1.0.0-beta.1",
44
"description": "",
55
"main": "index.js",
66
"scripts": {
@@ -20,7 +20,8 @@
2020
},
2121
"homepage": "https://docs.launchdarkly.com/v2.0/docs/react-native-sdk-reference",
2222
"peerDependencies": {
23-
"react-native": "0.57.7"
23+
"react-native": "0.57.7",
24+
"react": "16.6.1"
2425
},
2526
"dependencies": {
2627
"react": "^16.6.1",

0 commit comments

Comments
 (0)