Fixes
- Small bug fix for the
npm run generate
command when executed on Windows. The script that copied data model files was not compatible with Windows file paths.
Example
❯ npm run generate
> [email protected] generate
> node src/generate-boilerplate-system.mjs
? Enter the package name of your system, such as "my-system" (alphanumeric characters and hyphens only): my-system
? Enter the formatted name of your system, such as "My System": My System
? Enter the name of your system for usage in JS classes, such as "MySystem" (alphanumeric characters only): MySystem
? Enter the name of your system for usage in constants, such as "MY_SYSTEM" (alphanumeric characters and underscores only): MY_SYSTEM
? Use DataModel instead of template.json? Yes
Success! Your system has been written to the my-system/ directory.