11val HistoryVersion = " ^4.6.1"
2- val ReactVersion = " ^16.8.0"
3- val ReactReduxVersion = " ^5.0.3"
4- val ReactRouterVersion = " ^4.0.0"
5- val ReactRouterReduxVersion = " next"
2+ val ReactVersion = " ^17.0.1"
3+ val ReactReduxVersion = " ^7.2.4"
4+ val ReactRouterVersion = " ^5.2.1"
65val ReduxVersion = " ^3.6.0"
76val ReduxDevToolsVersion = " ^2.13.0"
87
9- val StaticTagsVersion = " 2.6.1 "
8+ val StaticTagsVersion = " 2.7.0-SNAPSHOT "
109
1110val commonSettings = Seq (
1211 organization := " org.scommons.shogowada" ,
@@ -17,7 +16,7 @@ val commonSettings = Seq(
1716 " -deprecation" , " -unchecked" , " -feature" , " -Xcheckinit" , " -target:jvm-1.8" , " -Xfatal-warnings"
1817 ),
1918
20- // resolvers += "Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/",
19+ resolvers += " Sonatype Snapshots" at " https://oss.sonatype.org/content/repositories/snapshots/" ,
2120
2221 sonatypeProfileName := " org.scommons" ,
2322 publishArtifact := false ,
@@ -72,7 +71,6 @@ lazy val root = (project in file("."))
7271 routerDom,
7372 redux,
7473 reduxDevTools,
75- routerRedux,
7674 exampleCustomVirtualDOM,
7775 exampleHelloWorld,
7876 exampleHelloWorldFunction,
@@ -81,7 +79,6 @@ lazy val root = (project in file("."))
8179 exampleReduxDevTools,
8280 exampleReduxMiddleware,
8381 exampleRouter,
84- exampleRouterRedux,
8582 exampleStyle,
8683 exampleTodoApp,
8784 exampleTodoAppRedux,
@@ -191,20 +188,6 @@ lazy val reduxDevTools = project.in(file("redux-devtools"))
191188 .enablePlugins(ScalaJSPlugin , ScalaJSBundlerPlugin )
192189 .dependsOn(redux)
193190
194- lazy val routerRedux = project.in(file(" router-redux" ))
195- .settings(commonSettings : _* )
196- .settings(
197- name := " scalajs-reactjs-router-redux" ,
198- npmDependencies in Compile ++= Seq (
199- " react-router-redux" -> ReactRouterReduxVersion
200- ),
201- (webpack in(Compile , fastOptJS)) := Seq (),
202- (webpack in(Compile , fullOptJS)) := Seq (),
203- publishArtifact := true
204- )
205- .enablePlugins(ScalaJSPlugin , ScalaJSBundlerPlugin )
206- .dependsOn(history, router, redux)
207-
208191val exampleCommonSettings = commonSettings ++ Seq (
209192 name := " scalajs-reactjs-example" ,
210193 scalaJSUseMainModuleInitializer := true ,
@@ -275,14 +258,6 @@ lazy val exampleRouter = project.in(file("example") / "router")
275258 .enablePlugins(ScalaJSPlugin , ScalaJSBundlerPlugin )
276259 .dependsOn(dom, routerDom)
277260
278- lazy val exampleRouterRedux = project.in(file(" example" ) / " router-redux" )
279- .settings(exampleCommonSettings : _* )
280- .settings(
281- name += " -router-redux"
282- )
283- .enablePlugins(ScalaJSPlugin , ScalaJSBundlerPlugin )
284- .dependsOn(dom, redux, routerDom, routerRedux, reduxDevTools)
285-
286261lazy val exampleStyle = project.in(file(" example" ) / " style" )
287262 .settings(exampleCommonSettings : _* )
288263 .settings(
@@ -332,7 +307,6 @@ lazy val exampleTest = project.in(file("example") / "test")
332307 s " -Dtarget.path.redux-devtools= ${(crossTarget in exampleReduxDevTools).value}" ,
333308 s " -Dtarget.path.redux-middleware= ${(crossTarget in exampleReduxMiddleware).value}" ,
334309 s " -Dtarget.path.router= ${(crossTarget in exampleRouter).value}" ,
335- s " -Dtarget.path.router-redux= ${(crossTarget in exampleRouterRedux).value}" ,
336310 s " -Dtarget.path.style= ${(crossTarget in exampleStyle).value}" ,
337311 s " -Dtarget.path.todo-app= ${(crossTarget in exampleTodoApp).value}" ,
338312 s " -Dtarget.path.todo-app-redux= ${(crossTarget in exampleTodoAppRedux).value}"
@@ -346,7 +320,6 @@ lazy val exampleTest = project.in(file("example") / "test")
346320 webpack in fastOptJS in Compile in exampleReduxDevTools,
347321 webpack in fastOptJS in Compile in exampleReduxMiddleware,
348322 webpack in fastOptJS in Compile in exampleRouter,
349- webpack in fastOptJS in Compile in exampleRouterRedux,
350323 webpack in fastOptJS in Compile in exampleStyle,
351324 webpack in fastOptJS in Compile in exampleTodoApp,
352325 webpack in fastOptJS in Compile in exampleTodoAppRedux
0 commit comments