-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create PWA tool #1198
Create PWA tool #1198
Conversation
This pull request is automatically deployed with Now. Latest deployment for this branch: https://venia-git-zetlen-create-pwa-cli.magento-research1.now.sh |
DO NOT MERGE, there is still some internal plumbing especially in the package files :) Just wanted to get some eyes on it. |
1c97f31
to
512f154
Compare
512f154
to
84d67ac
Compare
84d67ac
to
f0b920a
Compare
f0b920a
to
e5a2072
Compare
e6d1d43
to
917853b
Compare
e5a2072
to
20668da
Compare
917853b
to
d309335
Compare
20668da
to
717faf1
Compare
717faf1
to
027c15d
Compare
42dc315
to
68fdb80
Compare
0d9dfc6
to
bb9c2a3
Compare
@zetlen — I think there's an issue with That file looks like this:
Git doesn't recognize the globbing syntax PWA Studio repo's root
When running I'm not sure if that's intentional, but I wasn't expecting to see dependencies + generated files tracked when using the buildpack create tool. When I removed the curly-brace globs it drops the trackable files from 45,000 to 50. |
@zetlen — So did the ticket closing mean...
I can do option 3. |
Ack, @brendanfalkowski I can't believe I missed these. I didn't mean to close it as a response to your comment; I didn't even see your comment! I closed it as bookkeeping because it's now a long-running branch with a mind of its own, and it needs to be split up into separate PRs a second time. 💯 The bad gitignores are definitely not making their way into the final PR. Thanks for noticing them. |
No worries |
Description
Refactor Buildpack as a CLI utility and add a
npm init @magento/pwa
starter kit.Additions
Buildpack CLI
The big feature is the subcommand
init-project
, which through a combination of arguments and flags will create a new project directory.This command is non-interactive. The friendly facade on top of it is the
create-pwa
package.npm init @magento/pwa
NPM initializer, like
create-react-app
.Could be expanded to other project templates.
Changes
Screenshots / Screen Captures (if appropriate):
Proposed Labels for Change Type/Package
This is Buildpack 3.0.0.
Checklist:
(Rest of PR TBD.)