Skip to content

Releases: asacolips-projects/boilerplate

2.0.1

06 May 23:25
Compare
Choose a tag to compare

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

> boilerplate@2.0.0 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.

2.0.0

06 May 23:25
Compare
Choose a tag to compare

Features

Added support for System Data Models. Data models are considered an optional feature for Boilerplate currently, and if you would like to use them you have to use the included npm run generate CLI to generate a copy of the system with the DataModel option enabled.

Example

❯ npm run generate

> boilerplate@2.0.0 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.

1.3.1

06 May 23:25
Compare
Choose a tag to compare

Added a new generator CLI! To use it:

  1. Clone the boilerplate repo
  2. Run npm install
  3. Run npm run generate