<commit_before>`generator-phaser-plus` Release Updates
=======================================

Beginning with release v0.4.x, a `NEWS.md` (this file) document will contain notes regarding additions, new features and bug fixes.

##  v0.5 - 2016-04-30

*   The basic sample project was upgraded to match release v0.10.2 of `phaser-plus-template`, including minor but important changes:

    -   Revised tasks, one dependency upgraded, `gulp-json-minify` included to minify JSON files.

    -   The example `assets.js` module now includes annotations regarding usage and examples.

    -   Minor updates in coding syntax style and comments.

*   The `states` sub-generator now allow choosing which methods to include when creating a new game state.


##  v0.4 - 2016-04-01

*   This release fixes a minor issue regarding sub-generators.

    At the moment, a hidden `.yo-rc.json` configuration file is added to every project at the root folder containing information about how the project code is organized. That information is retrieved by sub-generators to write files to their respective folders. If that configuration file was missing for some reason, the sub-generators would fail raising exceptions.

    Only projects created using my old `slush-phaser-plus` as well any project missing that configuration file are affected by this issue. In both cases, a new `.yo-rc.json` should be created manually. A sample configuration file is shown on the note below for reference.

    To prevent this situation, sub-generators now write files at predefined locations, compatible with the latest version of the template project.

    As always, be sure to backup your content and commit your game code to the source code management system of your choice. (Git is your best bet.)

    This choice of storing project configuration in hidden files will be amended in future releases.

*   The state sub-generator was updated to append the `import` line of the created game state to the `src/states.js` module on new projects.

    If you want `yo phaser-plus:state` to update a project created with an earlier release of this generator, include a `states-module` key to your project `.yo-rc.json`, like in the following sample.

    ```js
    // .yo-rc.json
    {
      "generator-phaser-plus": {
        "dirs": {
          "objects": "src/objects",
          "plugins": "src/plugins",
          "states": "src/states"
        },
        "states-module": "src/states.js" // ← Point to your states.js module.
      }
    }
    ```

*   A nifty new ASCII text banner was made to be displayed over all prompts :smiley:
<commit_msg>A small fix in the NEWS.md.<commit_after>`generator-phaser-plus` Release Updates
=======================================

Beginning with release v0.4.x, a `NEWS.md` (this file) document will contain notes regarding additions, new features and bug fixes.

##  v0.5 - 2016-04-30

*   The basic sample project was upgraded to match release v0.10.2 of `phaser-plus-template`, including minor but important changes:

    -   Revised tasks, one dependency upgraded, `gulp-json-minify` included to minify JSON files.

    -   The example `assets.js` module now includes annotations regarding usage and examples.

    -   Minor updates in coding syntax style and comments.

*   The `states` sub-generator now allows choosing which methods to include when creating new game states.


##  v0.4 - 2016-04-01

*   This release fixes a minor issue regarding sub-generators.

    At the moment, a hidden `.yo-rc.json` configuration file is added to every project at the root folder containing information about how the project code is organized. That information is retrieved by sub-generators to write files to their respective folders. If that configuration file was missing for some reason, the sub-generators would fail raising exceptions.

    Only projects created using my old `slush-phaser-plus` as well any project missing that configuration file are affected by this issue. In both cases, a new `.yo-rc.json` should be created manually. A sample configuration file is shown on the note below for reference.

    To prevent this situation, sub-generators now write files at predefined locations, compatible with the latest version of the template project.

    As always, be sure to backup your content and commit your game code to the source code management system of your choice. (Git is your best bet.)

    This choice of storing project configuration in hidden files will be amended in future releases.

*   The state sub-generator was updated to append the `import` line of the created game state to the `src/states.js` module on new projects.

    If you want `yo phaser-plus:state` to update a project created with an earlier release of this generator, include a `states-module` key to your project `.yo-rc.json`, like in the following sample.

    ```js
    // .yo-rc.json
    {
      "generator-phaser-plus": {
        "dirs": {
          "objects": "src/objects",
          "plugins": "src/plugins",
          "states": "src/states"
        },
        "states-module": "src/states.js" // ← Point to your states.js module.
      }
    }
    ```

*   A nifty new ASCII text banner was made to be displayed over all prompts :smiley:

{'fraction_non_alphanumeric': 0.08444275389882085, 'fraction_numerical': 0.0098896918980601, 'mean_word_length': 3.3570836785418394, 'pattern_counts': {'":': 12, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '266970', 'n_tokens_mistral': 1400, 'n_tokens_neox': 1314, 'n_words': 684}