Require the --power option for restricted features by default
Until now, Scala CLI has been limiting some of its functionalities in its scala distribution.
Starting with v0.2.0, those limitation will be applied to all distributions, including scala-cli.
This was done in order to make the behaviour consistent with Scala CLI acting as the Scala runner.
Restricted features can be accessed by using the --power launcher flag. Do note that launcher flags have to be passed before the sub-command.
scala-cli --power package .Alternatively, the power mode can be turned on globally for a GitHub Action job:
- uses: VirtusLab/scala-cli-setup@v0.2.0
with:
power: truePlease note that this change may affect your existing workflows that rely on the limited commands from ScalaCLI (such as package, publish). You can still use those commands with power mode enabled.
What's Changed
- build(deps-dev): bump @typescript-eslint/parser from 5.48.2 to 5.49.0 by @dependabot in #162
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.48.2 to 5.49.0 by @dependabot in #161
- build(deps-dev): bump @vercel/ncc from 0.36.0 to 0.36.1 by @dependabot in #163
- build(deps-dev): bump @types/node from 18.11.18 to 18.13.0 by @dependabot in #173
- build(deps-dev): bump eslint from 8.32.0 to 8.34.0 by @dependabot in #170
- build(deps-dev): bump typescript from 4.9.4 to 4.9.5 by @dependabot in #165
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.49.0 to 5.52.0 by @dependabot in #172
- Enable preconfiguring
--powerforscala-cliby @Gedochao in #180 - Update ScalaCLI by @github-actions in #179
- Update dist by @github-actions in #181
Full Changelog: v0.1...v0.2.0