Skip to content

Commit 78705f9

Browse files
lwronskiMaciejG604
authored andcommitted
Add internal docs for scalajs-cli
1 parent e42039e commit 78705f9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

INTERNALS.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,25 @@ various "mappings" are computed out of the generated sources list, and are used
9999
- byte code: done using the ASM library
100100
- semantic DBs: we parse the semantic DBs, edit them in memory, and write them back on disk
101101
- TASTy files: we partly parse them in memory, edit names that contain source file paths, and write them back on disk
102+
103+
## Publishing scalajs-cli
104+
105+
### Maven Publishing
106+
107+
- Version Synchronization: `scalajs-cli` will be published with the same version as Scala.js version, for
108+
example `1.13.0`.
109+
- Updates & Fixes: For any subsequent fixes or patches in `scalajs-cli`, we will append a numeric value to the end,
110+
like `1.13.0.1`.
111+
- GitHub Uploads
112+
- Native Launchers: With the patch release of `scalajs-cli`, native launchers are automatically uploaded to both
113+
versions, for
114+
example `1.13.0.1` and `1.13.0` tags on GitHub.
115+
- For instance: For release `1.13.0.2`, the launchers are uploaded to tags `1.13.0.2` and `1.13.0`.
116+
- ScalaCli dependency to `scalajs-cli`:
117+
- For Coursier to retrieve the most recent scalajs-cli for a specific Scala.js version, the version is set
118+
as `org.virtuslab:scalajscli_2.13:{Scala.js version}+`. For example `org.virtuslab:scalajscli_2.13:1.13.0+`.
119+
- Native Version Download:
120+
- The native version is downloaded from the Scala.js version tag. If there are updates or fixes to the
121+
native `scalajs-cli` launchers, the updated launchers are uploaded to the `1.13.0` tag during the `1.13.0.1`
122+
publishing.
123+

0 commit comments

Comments
 (0)