Releases: bartonhammond/snowflake
Fix TCOMB file extension when Testing & BitRise Build iOS
See #109 - During Jest Testing, we need to pick a fileExtension which typically the Packager picks up during running but since the Packager doesn't run for Jest, we need to tell Jest which of the two (*.io.js vs *.android.js) to pick
Also, the Bitrise build depends on the XCode Version Numbers which were lost during the last release. These instructions were implemented: https://developer.apple.com/library/ios/qa/qa1827/_index.html
Upgrade to RN 29.2
Many, many thanks to @wookiem !!!! Don't know what I would have done w/o your help!!!!
Notes
- Once you merge the Snowflake, due to RN 25 issues, updates you'll need to modify any additional react files in your project:
Instead of:
import React, { Component, PropTypes, View } from 'react-native';
you need to now use:
import React, { Component, PropTypes } from 'react';
import { View } from 'react-native';
- In an effort to keep up w/ the releases of RN, this release is sub-par for Snowflake. There are a number of issues that have to be addressed. I will get to them in the coming days. My immediate concern is trying to get Snowflake in sync w/ RN releases.
- This release contains buck configuration stuff but it's not completed.
- One of the missing features is the SessionToken support.
Please review the following.
- Upgrade Android Support to 23.2.1 to support react-native-vector-icons. see http://stackoverflow.com/questions/38352754/could-not-find-com-android-supportsupport-v423-2-1
- For Android, if using GenyMotion, be sure to follow these instructions: http://stackoverflow.com/questions/35959350/react-native-android-genymotion-adb-server-didnt-ack
There are 3 tests were blocked by other projects:
- Two tests were blocked due to APSL/react-native-button#46
This is temporarily fixed w/ https://github.com/bartonhammond/snowflake-react-native-button
The following two tests were failing:
FAIL src/components/__tests__/FormButton-test.js (0s)
Runtime Error
- TypeError: Cannot read property 'style' of undefined
at Object.<anonymous> (node_modules/apsl-react-native-button/Button.js:22:25)
and the other:
FAIL src/components/__tests__/Header-test.js (0s)
Runtime Error
- TypeError: Cannot read property 'style' of undefined
at Object.<anonymous> (node_modules/apsl-react-native-button/Button.js:22:25)
The other failure is waiting on gcanti/tcomb-form-native#134 so the file has been renamed
FAIL src/components/__tests__/LoginForm-test.js (0s)
Runtime Error
- Error: Cannot find module './datepicker' from 'index.js'
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:197:17)
at Runtime._resolveModule (node_modules/jest-runtime/build/index.js:327:32)
at Runtime._normalizeID (node_modules/jest-runtime/build/index.js:492:31)
at Runtime._shouldMock (node_modules/jest-runtime/build/index.js:536:27)
at Runtime.requireModuleOrMock (node_modules/jest-runtime/build/index.js:271:14)
at Object.<anonymous> (node_modules/tcomb-form-native/lib/templates/bootstrap/index.js:5:12)
at Runtime._execModule (node_modules/jest-runtime/build/index.js:375:17)
at Runtime.requireModule (node_modules/jest-runtime/build/index.js:210:14)
at Runtime.requireModuleOrMock (node_modules/jest-runtime/build/index.js:274:19)
at Object.<anonymous> (node_modules/tcomb-form-native/index.js:3:16)
Update instructions for running on iOS
Thanks to #105
upgrade to RN24 and fix setState(...) warning
Don't check in node_modules
Removed ^
from package.json
User needs to do npm install
but at least all the libraries are frozen now.
Stable release 0.1.0
Snowflake now has the node_modules
checked in.
This allows people to clone the project and immediately run it w/o worrying about upgrading to all the changing javascript library upgrades.
Update to Jest 0.9.2
- Use Jest 0.9.2 & babel-jest 9.0.3
- Use
babel-preset-react-native
babel preset - By using the
.babelrc
file and preset we no longer need the scriptPreprocessor (as suggested in this comment facebook/react-native#6315 (comment))
Many thanks to @AndrewJack !!!!
Remove .babelrc
Fix #85
Fix Jest Tests with Redux & tcomb-native
0.0.13a revert tcomb-native