Skip to content

Releases: bartonhammond/snowflake

Fix TCOMB file extension when Testing & BitRise Build iOS

22 Jul 15:13
Compare
Choose a tag to compare

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

21 Jul 21:39
Compare
Choose a tag to compare

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.

There are 3 tests were blocked by other projects:

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

14 Jul 20:22
Compare
Choose a tag to compare

upgrade to RN24 and fix setState(...) warning

11 May 14:14
Compare
Choose a tag to compare

Don't check in node_modules

04 May 15:47
Compare
Choose a tag to compare

Removed ^ from package.json

User needs to do npm install but at least all the libraries are frozen now.

Stable release 0.1.0

04 May 14:15
Compare
Choose a tag to compare

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

06 Apr 22:42
Compare
Choose a tag to compare
  • 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))

Fix #83 with #86

Many thanks to @AndrewJack !!!!

Remove .babelrc

30 Mar 14:12
Compare
Choose a tag to compare

Fix Jest Tests with Redux & tcomb-native

22 Mar 16:42
Compare
Choose a tag to compare
0.0.13a

revert tcomb-native

Upgrade to RN 22.2

22 Mar 15:55
Compare
Choose a tag to compare