sjrd on 0.6.x
Remove dead code: specific coll… Adapt the signature of `js.Arra… Merge pull request #3554 from s… (compare)
sjrd on master
Fix analyzer cycle detection to… Add toString methods to analyze… Do not provide linked ClassInfo… and 1 more (compare)
sjrd on master
Remove Logger.success It is un… Make level helpers final Clean-up ScalaConsoleLogger cod… and 1 more (compare)
ScalaJSJUnitPluginis ready to deal to dotty.
libraryDependencies += "org.scala-js" %% "scalajs-junit-test-runtime" % scalaJSVersion % "test" withDottyCompat()
enums with the JS support.
My project is on 2.13.3 / scalajs 1.1.1. All I changed was scalajs version to 1.2.0 and sbt fails to load with:
[error] sbt.librarymanagement.ResolveException: Error downloading org.scala-js:sbt-scalajs;sbtVersion=1.0;scalaVersion=2.12:1.2.0
I don’t get where it’s getting 2.12 from.
that might be the case, I'll try to run some local benchmarks later. Thanks :)
Update on this: Turns out that Firefox struggles a lot with multiple flatMaps and the ES 5.1 is indeed faster than the ES 2015 (in FF). Here's the code that I used, in case anyone wants to try to replicate the results: https://gist.github.com/JD557/3acf3d426c21f66fd9e8e25ab21813fe
ScalaJSJUnitPluginconfigured manually. Seth was trying to help me over in
sbt/sbt. His suggestion with
compilerPluginadds the dependency but I am not sure what else is needed. I tried setting
autoCompilerPlugins := truebut that didn't help.
sbt scalastylealias verses just using the one I created (
scalastyleCheck) for https://github.com/scala-js/scala-js/pull/4169/files/9daaa5ca88bc9bdf9ef691659b9b555b70674478#diff-fdc3abdfd754eeb24090dbd90aeec2ce ?
sbt scalastylewhich is where that is coming from
.d.tsand the actual
.jsand from the
.tsit generates Scala sources.
I am having problems with the tutorial's step 1, the command "npm install source-map-support" fails because there was no package.json generated by the sbt run. Here is the transcript:
webapp % npm install source-map-support
npm WARN saveError ENOENT: no such file or directory, open '/Users/sasconsul/devenv/github/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/sasconsul/devenv/github/package.json'
npm WARN github No description
npm WARN github No repository field.
npm WARN github No README data
npm WARN github No license field.
1 package is looking for funding
npm fund for details
found 23 vulnerabilities (19 low, 4 high)
npm audit fix to fix them, or
npm audit for detail