Skip to content

Fix npm install#41

Closed
Fionoble wants to merge 1 commit into
mainfrom
fix-npm-i
Closed

Fix npm install#41
Fionoble wants to merge 1 commit into
mainfrom
fix-npm-i

Conversation

@Fionoble

@Fionoble Fionoble commented Mar 3, 2026

Copy link
Copy Markdown

This pull request makes a minor update to the project's dependencies by removing the @remix-run/eslint-config package from the package.json file. This change helps streamline the project's dependency list.

@gonzaloriestra gonzaloriestra left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working now, thanks!

@metamoni metamoni self-requested a review March 5, 2026 08:01
Comment thread shopify.app.toml
[access_scopes]
# Learn more at https://shopify.dev/docs/apps/tools/cli/configuration#access_scopes
scopes = "customer_read_customers,customer_read_orders,customer_read_own_subscription_contracts,customer_write_customers,customer_write_own_subscription_contracts,read_all_orders,read_locales,read_locations,read_themes,write_customer_payment_methods,write_customers,write_metaobject_definitions,write_metaobjects,write_orders,write_own_subscription_contracts,write_products,write_translations, read_analytics"
scopes = "read_locales,read_locations,read_themes,write_customers,write_metaobject_definitions,write_metaobjects,write_orders,write_products,write_translations,read_analytics"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason for updating the scopes? Could you update the PR description to mention why these needed to be updated, please?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Answered above :)

@metamoni metamoni self-requested a review March 5, 2026 12:23
Comment thread package.json
"@graphql-codegen/cli": "5.0.7",
"@graphql-codegen/introspection": "4.0.3",
"@iarna/toml": "2.2.5",
"@remix-run/eslint-config": "2.16.8",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How's the linting executed after removing the @remix-run/eslint-config?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to claude: @remix-run/eslint-config wasn't actually used anywhere — the project already uses an ESLint 9 flat config (eslint.config.js) that configures all the linting rules directly via @typescript-eslint, eslint-plugin-react, eslint-plugin-react-hooks, eslint-plugin-jsx-a11y, eslint-plugin-testing-library, eslint-plugin-jest-dom, and eslint-config-prettier. The @remix-run/eslint-config package was just a leftover dependency that only supported ESLint 8, which made it impossible to install with npm due to the peer dependency conflict with @shopify/eslint-plugin@50 (requires ESLint 9). Removing it has no effect on linting behavio

Comment thread shopify.app.toml

[access_scopes]
# Learn more at https://shopify.dev/docs/apps/tools/cli/configuration#access_scopes
scopes = "customer_read_customers,customer_read_orders,customer_read_own_subscription_contracts,customer_write_customers,customer_write_own_subscription_contracts,read_all_orders,read_locales,read_locations,read_themes,write_customer_payment_methods,write_customers,write_metaobject_definitions,write_metaobjects,write_orders,write_own_subscription_contracts,write_products,write_translations, read_analytics"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is removing subscription-critical scopes. For a subscriptions reference app, these seem essential for creating/managing subscription contracts and processing customer payments.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These scopes throw when trying to run shopify app init --template https://github.com/Shopify/subscriptions-reference-app. I don't have any context here. Was just trying to fix the fact that this template isn't usable currently. Happy for you to test and let me know what's needed though

@christineawalsh christineawalsh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to block this - can we double check whether we should remove these access scopes?

@Fionoble

Copy link
Copy Markdown
Author

@christineawalsh @metamoni Happy for you folks to take this on. As it stands this template is unusable in the shopify CLI without these changes. Since you folks have the expertise in this space, I'll leave it to you to resolve. 🙂

@Fionoble Fionoble closed this Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants