Skip to content

Commit

Permalink
Prep for v0.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Apr 20, 2020
1 parent 2d851d3 commit 996b925
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion bridgetown-core/lib/bridgetown-core/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Bridgetown
VERSION = "0.10.1"
VERSION = "0.10.2"
end

0 comments on commit 996b925

Please sign in to comment.