Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Commit

Permalink
fix(plugin): Update version specification for ignite plugins (#239) by
Browse files Browse the repository at this point in the history
  • Loading branch information
ruddell authored and jamonholmgren committed Jan 15, 2019
1 parent 73d1f98 commit ff77558
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions boilerplate.js
Expand Up @@ -198,37 +198,37 @@ async function install (context) {
' }'
})
if (answers['vector-icons'] === 'react-native-vector-icons') {
await system.spawn(`ignite add vector-icons@"~>1.0.0" ${debugFlag}`, {
await system.spawn(`ignite add vector-icons@1.1.1 ${debugFlag}`, {
stdio: 'inherit'
})
}

if (answers['i18n'] === 'react-native-i18n') {
await system.spawn(`ignite add i18n@"~>1.0.0" ${debugFlag}`, { stdio: 'inherit' })
await system.spawn(`ignite add i18n@1.2.0 ${debugFlag}`, { stdio: 'inherit' })
}

if (answers['animatable'] === 'react-native-animatable') {
await system.spawn(`ignite add animatable@"~>1.0.0" ${debugFlag}`, {
await system.spawn(`ignite add animatable@1.0.2 ${debugFlag}`, {
stdio: 'inherit'
})
}

// dev-screens be installed after vector-icons and animatable so that it can
// conditionally patch its PluginExamplesScreen
if (answers['dev-screens'] === 'Yes') {
await system.spawn(`ignite add dev-screens@"~>2.3.0" ${debugFlag}`, {
await system.spawn(`ignite add dev-screens@"2.4.3" ${debugFlag}`, {
stdio: 'inherit'
})
}

if (answers['redux-persist'] === 'Yes') {
await system.spawn(`ignite add redux-persist@"~>5.10.0" ${debugFlag}`, {
await system.spawn(`ignite add redux-persist@1.1.2 ${debugFlag}`, {
stdio: 'inherit'
})
}

if (parameters.options.lint !== 'false') {
await system.spawn(`ignite add standard@"~>1.0.0" ${debugFlag}`, {
await system.spawn(`ignite add standard@1.0.0 ${debugFlag}`, {
stdio: 'inherit'
})
}
Expand Down

0 comments on commit ff77558

Please sign in to comment.