-
Notifications
You must be signed in to change notification settings - Fork 225
Remove legacy app schema #6612
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
base: main
Are you sure you want to change the base?
Remove legacy app schema #6612
Conversation
a720cd9 to
dbb7bd3
Compare
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success3691 tests passing in 1434 suites. Report generated by 🧪jest coverage report action from 6d16a4a |
dbb7bd3 to
3cc6b58
Compare
|
This PR seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. |
3cc6b58 to
28c8da5
Compare
28c8da5 to
1ff8979
Compare
2c41f40 to
48c5296
Compare
|
We detected some changes at Caution DO NOT create changesets for features which you do not wish to be included in the public changelog of the next CLI release. |
| // Ensure shopify.app.toml exists in the app directory | ||
| await ensureAppToml(this.appDirectory) | ||
|
|
||
| // Ensure package.json exists in the app directory | ||
| await ensurePackageJson(this.appDirectory) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were adding a default TOML and Json if for some reason they were not created, but that would mask actual errors.
48c5296 to
6d16a4a
Compare
|
/snapit |
|
🫰✨ Thanks @gonzaloriestra! Your snapshot has been published to npm. Test the snapshot by installing your package globally: npm i -g --@shopify:registry=https://registry.npmjs.org @shopify/cli@0.0.0-snapshot-20260205101033Caution After installing, validate the version by running just |
WHY are these changes introduced?
We have a lot of code to support the legacy app schema in the CLI and templates, but that schema only works for the template state (before linking), so it doesn't make sense to keep it.
The subscriptions-reference-app template was ready.
WHAT is this pull request doing?
client_idrequired in app schema (templates must includeclient_id = "")[access_scopes]section)How to test your changes?
npm i -g @shopify/cli@0.0.0-snapshot-20260205101033shopify app init --template=https://github.com/Shopify/shopify-app-template-react-router#add-client-id-to-tomlshopify app init --template=https://github.com/Shopify/shopify-app-template-none#add-client-id-to-tomlshopify app init --template=https://github.com/Shopify/shopify-app-template-remix#add-client-id-to-tomlshopify app init --template=https://github.com/Shopify/shopify-app-template-ruby#add-client-id-to-tomlshopify app init --template=https://github.com/Shopify/shopify-app-template-node#add-client-id-to-tomlshopify app init --template=https://github.com/Shopify/shopify-app-template-php#add-client-id-to-tomlshopify app init --template https://github.com/Shopify/shopify-app-template-react-router#include-declarative-definition(related to Support flexible templates forapp init#6751)shopify app dev,shopify app deploy...Measuring impact
How do we know this change was effective? Please choose one:
Checklist