Skip to content

Commit

Permalink
fix(build): fixing build error for npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-hur Santos Ott committed Sep 9, 2018
1 parent 8e0e64f commit 26ba037
Show file tree
Hide file tree
Showing 4,944 changed files with 86 additions and 48,158 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
70 changes: 69 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,72 @@ fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/readme.md
fastlane/readme.md


# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint

## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/
#
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ android/
ios/
App.js
app.json
index.js
.watchmanconfig
.buckconfig
56 changes: 2 additions & 54 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,60 +20,8 @@ export default class App extends Component {
<View style={styles.container}>
<TextInputMask
style={styles.input}
type={'datetime'}
options={{
format: 'DD-MM-YYYY HH:mm:ss'
}}
placeholder={'datetime DD-MM-YYYY HH:mm:ss'}
value={this.state.datetime}
onChangeText={datetime => this.setState({ datetime })}
/>
<TextInputMask
style={styles.input}
type={'credit-card'}
options={{
obfuscated: true
}}
placeholder={'credit-card obfuscated'}
value={this.state.creditCard}
onChangeText={creditCard => {
this.setState({ creditCard })
console.log(this.state)
}}
/>
<TextInputMask
style={styles.input}
type={'custom'}
options={{
mask: '999$999',
translation: {
$: val => {
return val === ' ' || val === '0' ? val : ''
}
}
}}
placeholder={'custom 999$999'}
value={this.state.custom}
onChangeText={custom => {
this.setState({ custom })
console.log(this.state)
}}
/>
<TextInputMask
style={styles.input}
type={'money'}
placeholder={'money'}
value={this.state.money}
onChangeText={money => {
this.setState({ money })
console.log(this.state)
}}
/>
<TextInputMask
style={styles.input}
type="custom"
options={{ mask: '999 (99) 999 99 99' }}
placeholder={'custom 999 (99) 999 99 99'}
type="cpf-cnpj"
placeholder={'cpf-cnpj'}
/>
</View>
)
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.9.1] - 2018-09-09

- Fix [#92](https://github.com/benhurott/react-native-masked-text/issues/92): Unable to resolve module ./masks in v1.9.0 (thanks to [ahce](https://github.com/ahce) for reporting)

## [1.9.0] - 2018-09-08

## Changed
Expand All @@ -12,7 +16,6 @@
- [74 - Updated Typescript definition file](https://github.com/benhurott/react-native-masked-text/pull/74). (thanks to [iiandrade](https://github.com/iiandrade))
- [80 - TypeScript support for custom mask options](https://github.com/benhurott/react-native-masked-text/pull/80). (thanks to [enagorny](https://github.com/enagorny))
- [88 - Moved typings dependencies to devDependencies](https://github.com/benhurott/react-native-masked-text/pull/88). (thanks to [emiyake](https://github.com/emiyake))
- [90 - add cpf-cnpj mask to auto-detect if the document is a CPF or CNPJ](https://github.com/benhurott/react-native-masked-text/pull/90). (thanks to [ronaldozanoni](https://github.com/ronaldozanoni))

## 1.7.2

Expand Down
40 changes: 0 additions & 40 deletions __tests__/mask/cpf-cnpj.mask.test.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.get-task-allow</key>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 26ba037

Please sign in to comment.