Background
With update of Style Dictionary to v4.n.n. in the build scripts, we've also updated 'rimraf' (a cross-platform implementation of rm -rf recursively forceful file removal) from v3 to v6.
While our build script remained with same output as before, we ended up with undeleted token files with 'prepare-release.sh' shell script.
The git bisect was showing the cause being in the 'rimraf' package update.
Goal
Ensure the prepare release shell script provides output as expected without the theme files being in the root folder of codex-design-tokens package after execution
Acceptance Criteria
- No 'packages/codex-design-tokens/theme-*.*' files after the prepare release shell script is executed