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

Commit

Permalink
fix(deps): Updates all dependencies (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamonholmgren authored Jan 2, 2019
1 parent 1da6eea commit a859b24
Show file tree
Hide file tree
Showing 3 changed files with 1,422 additions and 2,220 deletions.
19 changes: 12 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,21 @@
"standard": {
"parser": "babel-eslint"
},
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 100
},
"url": "https://github.com/infinitered/ignite-redux-persist",
"repository": "infinitered/ignite-redux-persist",
"devDependencies": {
"@semantic-release/git": "^7.0.5",
"ava": "^0.18.2",
"babel-eslint": "^7.1.1",
"nyc": "^10.1.2",
"semantic-release": "^15.12.5",
"sinon": "^1.17.7",
"standard": "^8.6.0"
"@semantic-release/git": "7.0.7",
"ava": "1.0.1",
"babel-eslint": "10.0.1",
"nyc": "13.1.0",
"semantic-release": "15.13.2",
"sinon": "7.2.2",
"standard": "12.0.1"
},
"release": {
"plugins": [
Expand Down
10 changes: 4 additions & 6 deletions plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
// ----------------------------------------------------------------------------

const NPM_MODULE_NAME = 'redux-persist'
const NPM_MODULE_VERSION = '^5.4.0'
const NPM_MODULE_VERSION = '^5.10.0'

const PLUGIN_PATH = __dirname
const APP_PATH = process.cwd()

const add = async function (context) {
const add = async function(context) {
const { ignite, filesystem } = context

// install an NPM module and link it
Expand Down Expand Up @@ -100,16 +100,14 @@ const add = async function (context) {
})
}

const remove = async function (context) {
const remove = async function(context) {
const { ignite, filesystem } = context

// remove the npm module
await ignite.removeModule(NPM_MODULE_NAME)

// remove immutable persistence transform service
const removeConfig = await context.prompt.confirm(
'Do you want to remove Config/ReduxPersist.js?'
)
const removeConfig = await context.prompt.confirm('Do you want to remove Config/ReduxPersist.js?')
if (removeConfig) {
filesystem.remove(`${APP_PATH}/App/Config/ReduxPersist.js`)
}
Expand Down
Loading

0 comments on commit a859b24

Please sign in to comment.