diff --git a/CHANGELOG.md b/CHANGELOG.md index a1e4a3283..02b251b3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # master +# 0.10.2 / 2020-04-19 + +**Automatic Yarn Step for New Plugins** + +Now with Gem-based plugins for Bridgetown, all you need to do is add `yarn-add` +metadata matching the NPM package name and keep the version the same as the Gem +version. For example: + +```ruby + spec.metadata = { "yarn-add" => "my-awesome-plugin@#{MyAwesomePlugin::VERSION}" } +``` + +With that bit of metadata, Bridgetown will know always to look for that package in +the users' `package.json` file when they load Bridgetown, and it will trigger a +`yarn add` command if the package and exact version number isn't present. + # 0.10.1 / 2020-04-18 Add `{% webpack_path [js|css] }` tag which pulls in the Webpack manifest and finds diff --git a/bridgetown-core/lib/bridgetown-core/version.rb b/bridgetown-core/lib/bridgetown-core/version.rb index 5a04c1934..ae695d625 100644 --- a/bridgetown-core/lib/bridgetown-core/version.rb +++ b/bridgetown-core/lib/bridgetown-core/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Bridgetown - VERSION = "0.10.1" + VERSION = "0.10.2" end