@rocket/blog
Advanced tools
Comparing version 0.3.3 to 0.4.0
# @rocket/blog | ||
## 0.4.0 | ||
### Minor Changes | ||
- 70bb7a1: BREAKING CHANGE: Update to latest plugins manager to get type safe options | ||
There is no longer a name string as a key for a plugin. It is identified by it's function/class. You will need to adjust your code if you are adding or adjusting plugins. | ||
```diff | ||
- addPlugin({ name: 'my-plugin', plugin: myPlugin, options: { myFlag: true }, location: 'top' }); | ||
+ addPlugin(myPlugin, { myFlag: true }, { location: 'top' }); | ||
- adjustPluginOptions('my-plugin', { myFlag: true }); | ||
+ adjustPluginOptions(myPlugin, { myFlag: true }); | ||
``` | ||
For more details please see the [Changelog](https://github.com/modernweb-dev/rocket/blob/main/packages/plugins-manager/CHANGELOG.md#030) of the plugins-manager package. | ||
### Patch Changes | ||
- Updated dependencies [70bb7a1] | ||
- Updated dependencies [70bb7a1] | ||
- Updated dependencies [70bb7a1] | ||
- Updated dependencies [70bb7a1] | ||
- Updated dependencies [70bb7a1] | ||
- Updated dependencies [70bb7a1] | ||
- plugins-manager@0.3.0 | ||
## 0.3.3 | ||
@@ -4,0 +31,0 @@ |
{ | ||
"name": "@rocket/blog", | ||
"version": "0.3.3", | ||
"version": "0.4.0", | ||
"publishConfig": { | ||
@@ -41,4 +41,4 @@ "access": "public" | ||
"dependencies": { | ||
"plugins-manager": "^0.2.4" | ||
"plugins-manager": "^0.3.0" | ||
} | ||
} |
@@ -50,4 +50,4 @@ import path from 'path'; | ||
path: path.resolve(__dirname), | ||
setupEleventyPlugins: [addPlugin({ name: 'rocket-blog', plugin: eleventyPluginRocketBlog })], | ||
setupEleventyPlugins: [addPlugin(eleventyPluginRocketBlog)], | ||
}; | ||
} |
9313
+ Addedplugins-manager@0.3.1(transitive)
- Removedplugins-manager@0.2.4(transitive)
Updatedplugins-manager@^0.3.0