3.0.0 – add afterNavigate option to Spa.create

This commit is contained in:
Ryan Haskell-Glatz 2019-12-11 17:29:29 -06:00
parent ca3a8451f7
commit d12417d9fc
9 changed files with 10 additions and 7 deletions

View File

@ -21,6 +21,6 @@
"concurrently": "5.0.0",
"elm": "0.19.1-3",
"elm-live": "4.0.1",
"elm-spa":"2.0.10"
"elm-spa":"3.0.0"
}
}

View File

@ -16,6 +16,7 @@ main =
{ routes = Routes.parsers
, toPath = Routes.toPath
, notFound = routes.notFound
, afterNavigate = Nothing
}
, global =
{ init = Global.init

View File

@ -21,6 +21,6 @@
"concurrently": "5.0.0",
"elm": "0.19.1-3",
"elm-live": "4.0.1",
"elm-spa":"2.0.10"
"elm-spa":"3.0.0"
}
}

View File

@ -16,6 +16,7 @@ main =
{ routes = Routes.parsers
, toPath = Routes.toPath
, notFound = routes.notFound
, afterNavigate = Nothing
}
, global =
{ init = Global.init

2
cli/package-lock.json generated
View File

@ -1,5 +1,5 @@
{
"name": "elm-spa",
"version":"2.0.10",
"version":"3.0.0",
"lockfileVersion": 1
}

View File

@ -1,6 +1,6 @@
{
"name": "elm-spa",
"version": "2.0.10",
"version": "3.0.0",
"description": "the cli companion tool for ryannhg/elm-spa",
"main": "src/index.js",
"bin": "src/index.js",

View File

@ -371,8 +371,8 @@
}
},
"elm-spa": {
"version": "2.0.10",
"resolved": "https://registry.npmjs.org/elm-spa/-/elm-spa-2.0.10.tgz",
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/elm-spa/-/elm-spa-3.0.0.tgz",
"integrity": "sha512-UtOTP4NDnkSPaf3V5I2h9PGCtjF2/9NIrYK8ctdzE24knR1L8QImA723t57RYTodQAs/meDME3sSxNoCNJ10hA==",
"dev": true
},

View File

@ -19,6 +19,6 @@
"chokidar-cli": "2.1.0",
"elm": "0.19.1-3",
"elm-live": "4.0.1",
"elm-spa": "2.0.10"
"elm-spa": "3.0.0"
}
}

View File

@ -16,6 +16,7 @@ main =
{ routes = Routes.parsers
, toPath = Routes.toPath
, notFound = routes.notFound
, afterNavigate = Nothing
}
, global =
{ init = Global.init