1
0
Fork 0

Integrated Penelope and Waralee patterns, plus 2.1 prep

Penelope and Waralee are two new patterns by @woutervdub
This integrates them in our monorepo, including the translations
in the i18n package and the package info in the pattern-info pattern

This commit also includes a minor tweak to our core package.
Previously, you had to instantiate a pattern to get its config,
but that is no longer the case. The default export (the constructor)
now has a config property you can access without instantiating the pattern.

All of these changes will trigger a new minor release when we merge them
into master. Specifically v2.1
This commit is contained in:
Joost De Cock 2019-09-21 19:42:53 +02:00
parent 6fe5177377
commit 261da52c3b
58 changed files with 12190 additions and 2088 deletions

View file

@ -14,5 +14,8 @@ export default function Design(config, plugins = false) {
pattern.prototype = Object.create(Pattern.prototype)
pattern.prototype.constructor = pattern
// Make config available without need to instantiate pattern
pattern.config = config
return pattern
}