James Nash
James Nash
We intermittently get this too. Our CI build uses `npm ci`, so when `package.json` is updated but `package-lock.json` is _not_, it complains that the two are out of sync and...
@cristiano-belloni Apologies for the slow reply. I'm a bit swamped work-wise at the moment, so haven't gotten around to making a PR yet. However, you can see the patch code...
As you point out, there could be an (admittedly unlikely) naming clash if someone happens to have a pattern called data. To avoid that, how about having the category-specific JSON...
Seems sensible. FWIW, an additional scenario where this is useful is the pages category, if you're (strictly?) following Atomic Design. For atoms, molecules, organisms and templates you might want to...
@bmuenzenmeyer @tburny Happy to raise an issue for this over on the spec project, unless one of you is already doing that
@bmuenzenmeyer Am I allowed to? It looks like all spec issues so far came from Dave Olsen or yourself. Don't want to be treading on anyone's toes :-)
Ok cool. Doing it now.
@bmuenzenmeyer Done: https://github.com/pattern-lab/the-spec/issues/31 I wasn't sure what to put for the timeline and tagging stuff at the bottom, so I've commented those bits out for now. Feel free to edit...
In a personal project I have managed to pull this off using the [approach outlined in Fractal's docs](https://fractal.build/guide/integration/including-as-dependency.html#_3-next-steps), i.e. exporting copies of the template files somewhere into the `dist/` dir...
>Patterns with multiple states (e.g. plain button, disabled button and submit button are all the saem HTML element) or variants are listed as individual entries causing the false impression that...