Files
atrium/samples/js
dependabot[bot] 5c86df680e Bump org.jetbrains.kotlin.js from 1.5.10 to 1.5.20 in /samples/js
Bumps org.jetbrains.kotlin.js from 1.5.10 to 1.5.20.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 10:44:19 +02:00
..

Sample JS project: Atrium with mocha

This example project is heavily based on kotlin's example. Yet with a few optimizations and adaptations:

  • it stores nodejs and npm only once per project (and not for every sub project)
  • it uses --prefer-offline for a faster build and offline capability
  • it uses sourceMap so that debugging in kotlin code is possible (as good as your IDE supports it)
  • it includes all test dependencies, also runtime only dependencies
  • it does not force a moduleKind on src/main
  • last but not least and this is the important part, it establishes a dependency to Atrium on JS level which is necessary due to the loosely coupled design of Atrium and dead code elimination.