Open unekinn opened 6 days ago
Jepp!
It broke after we changed transpiler to better support using the package in code (in addition to the cli).
We changed to use tsup and it seemingly worked before, but not now 🤔
Should be working albeit with a warning as I had to add assert { type:'json' }
to the package.json
import in the init
script.
Description of the bug
When trying to run the CLI command, it fails. This started happening with 0.1.0-alpha.12. It seems to be a different bug than the one described in https://github.com/digdir/designsystemet/issues/2133.
Steps To Reproduce
npx @digdir/designsystemet@0.1.0-alpha.12
designsystemet: command not found
npx @digdir/designsystemet@0.1.0-alpha.11
The problem also happens when
@digdir/designsystemet
is a dependency in package.json and run through e.g. a scriptAdditional Information
In case it's relevant: OS is macOS 14.5 npm version 10.8.1 node version 20.12.1