<commit_before># Deploying Closure Compiler to NPM

*You now need yarn installed - `npm install -g yarn`*

 1. Update the package version number in `package.json` at
    https://github.com/chadkillingsworth/closure-compiler-graal.
    The major version should be equal to the compiler version and the minor and patch numbers should be `0`.
    Example: 20160619.0.0.
    Wait for Travis to publish the new versions.
 2. Update the compiler submodule pointer to the tagged release.
     * change to the '/compiler' folder
     * `git checkout` the correct tag/commit
     * change back to the root folder and commit this change
 3. Update the package version number in `package.json`. The major version should be equal to the compiler version
    and the minor and patch numbers should be `0`. Example: 20160619.0.0.
    Update the native package versions in the `optionalDependencies`.
 4. Run the tests: `yarn install && yarn test`.
 5. Commit the changes from steps 1 & 2 and tag the commit.
 6. Push the changes and tag. If the tests all pass, Travis-CI will automatically publish the new release to the
   npm registry.<commit_msg>Clarify the release instructions.<commit_after># Deploying Closure Compiler to NPM

*You now need yarn installed - `npm install -g yarn`*

 1. Update the package version number in `package.json` at
    https://github.com/chadkillingsworth/closure-compiler-graal.
    The major version should be equal to the compiler version and the minor and patch numbers should be `0`.
    Example: 20160619.0.0.
    Wait for Travis to publish the new versions.
 2. Update the compiler submodule pointer to the tagged release.
     * if not already done, update the compiler submodule
       `git submodule init && git submodule update`
     * change to the '/compiler' folder
     * `git checkout` the correct tag/commit
     * change back to the root folder and commit this change
 3. Update the package version number in `package.json`. The major version should be equal to the compiler version
    and the minor and patch numbers should be `0`. Example: 20160619.0.0.
    Update the native package versions in the `optionalDependencies`.
 4. Run the tests: `yarn install && yarn test`.
 5. Commit the changes made above including the update to `yarn.lock`.
    e.g. `git commit -am 'Update for v201670619 closure-compiler release'`
 6. Tag the release.
    e.g. `git tag 2016070619.0.0`
 7. Push the changes and tag.
    If the tests all pass, Travis-CI will automatically publish the new release
    to the npm registry.
    e.g. `git push origin master 2016070619.0.0`
{'fraction_non_alphanumeric': 0.0674373795761079, 'fraction_numerical': 0.035452793834296725, 'mean_word_length': 3.3484087102177553, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7007034', 'n_tokens_mistral': 767, 'n_tokens_neox': 681, 'n_words': 364}