Closed dmolsen closed 8 years ago
@aleksip @EvanLovely -
Looking for feedback. If I move ./packages/listeners.json
and ./packages/patternengines.json
to ./config
the only reason for ./packages
to exist is the pattern engine-specific templates for the view all view and a generic header/footer inserts. I think I can read them out of ./vendor
just fine. Sound ok to ditch ./packages
then? Unified Asset Installer could also go away at that point.
@dmolsen I like that idea! I had a few issues with ./packages/listeners.json
being gitignored. Not really reproducible or to be worried about, but overall I like the idea of that folder being folded into ./vendor
.
@dmolsen Sounds good!
The feature-installupdate
branches of the development edition and core (amongst others) now support a new install process. Key points:
dev
release I'm hopeful this means we can be "looser" with dependency requirements thereby addressing #9 ./source/
so, again, no more worrying about order./packages
is no more and so is Unified Asset Installer as a dependencyI still need to play with this a bit more. Not a ton changed honestly but I'm sure there may be a quirk or two. Still to do:
v1.0.0
designation for at least core and editions. nothing else should have to change.Take a peek at it and let me know what you all think.
Tried out the feature-installupdate
branch. Successful install & generate, ./packages
not there, listeners.json
and patternengines.json
found under ./config
.
Also tested installing with plugin-data-transform
. Successful install & generate, plugin working as expected!
I was able to get the package uninstall stuff working so I feel pretty comfortable wrapping this up and pushing a release. This is currently a blocker for a number of other ideas that are currently floating around. We will need to coordinate on this as I'd like to reduce conflicts as much as I can.
Again, this will be released as v1.0.0
because it breaks BC. I would like to see editions standardize on the following:
.gitignore
that matches the drupal editioncomposer.lock
in editions~
on packages based on #9 . a future version bump after the Travis work is complete could be completely updated version numbers for packages.I need to check included packages and try to map out how each references core and update how editions refer to them. Meaning, I could need to update composer.json
for the various packages and then push new tags. I feel like pattern lab packages need to reference core as a dependency in case core changes an expected output and we need to tweak a package. But, like I said, I need to draw this out and think it through.
Would making this change on Wednesday, May 18 work for people?
That day works for me! Been wanting to wrap up a lot of stuff we're pushing out by depending on 1.x instead of 0.x too.
@dmolsen Just tossing an idea out there: what about bumping core to v2.0.0
instead as v1.0.0
feels like the original: pattern-lab/patternlab-php - anyway, just an idea :)
@EvanLovely my first thought was "no" but when looking at dependencies for the final mustache edition of this it would look odd to be pulling 2.0
of PL and be grabbing 1.x
dependencies. Especially core
. We'll go with 2.0
.
Awesome!! Agreed!
With v2.0.0
out this has been addressed.
Figure out what would be required to drop ./packages from the directory layout. There are some templates that are available in ./packages but maybe those need to go elsewhere in ./source or similar.