Skip to content

Commit 6be3f78

Browse files
Lawrence DanielsLawrence Daniels
Lawrence Daniels
authored and
Lawrence Daniels
committed
Release v0.5.0
1 parent 1a699e4 commit 6be3f78

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ options are copied into this object. After, items in the queue (FileItems) are r
1414

1515
### Build Dependencies
1616

17-
* [SBT v0.13.16](http://www.scala-sbt.org/download.html)
17+
* [SBT v1.2.x](http://www.scala-sbt.org/download.html)
1818

1919
### Build/publish the SDK locally
2020

@@ -41,7 +41,7 @@ $ sbt test
4141
To add the `angular-file-upload` binding to your project, add the following to your build.sbt:
4242

4343
```sbt
44-
libraryDependencies += "io.scalajs.npm" %%% "angular-file-upload" % "0.4.2"
44+
libraryDependencies += "io.scalajs.npm" %%% "angular-file-upload" % "0.5.0"
4545
```
4646

4747
Optionally, you may add the Sonatype Repository resolver:

build.sbt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import sbt._
55

66
import scala.language.postfixOps
77

8-
val scalaJsIOVersion = "0.4.2"
8+
val scalaJsIOVersion = "0.5.0"
99
val apiVersion = scalaJsIOVersion
10-
val scalaJsVersion = "2.12.3"
10+
val scalaJsVersion = "2.12.8"
1111

1212
homepage := Some(url("https://github.com/scalajs-io/angular-file-upload"))
1313

@@ -21,12 +21,14 @@ lazy val root = (project in file(".")).
2121
scalaVersion := scalaJsVersion,
2222
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature", "-language:implicitConversions", "-Xlint"),
2323
scalacOptions in(Compile, doc) ++= Seq("-no-link-warnings"),
24+
scalacOptions += "-P:scalajs:sjsDefinedByDefault",
2425
autoCompilerPlugins := true,
2526
scalaJSModuleKind := ModuleKind.CommonJSModule,
2627
libraryDependencies ++= Seq(
2728
"org.scala-lang" % "scala-reflect" % scalaJsVersion,
2829
"org.scalatest" %%% "scalatest" % "3.0.1" % "test",
29-
"io.scalajs.npm" %%% "angular" % scalaJsIOVersion
30+
"io.scalajs.npm" %%% "angular" % scalaJsIOVersion,
31+
"io.scalajs.npm" %%% "moment" % scalaJsIOVersion
3032
))
3133

3234
/////////////////////////////////////////////////////////////////////////////////

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.16
1+
sbt.version=1.2.8

project/plugins.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// Scala.js
22

3-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.20")
3+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.28")
44

55
// Publishing
66

7-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.1")
7+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
88

9-
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3")
9+
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
1010

1111
// Resolvers
1212

13-
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "0.5.5")
13+
//addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "0.5.5")
1414

1515
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
1616

0 commit comments

Comments
 (0)