cli icon indicating copy to clipboard operation
cli copied to clipboard

[DNM] swap shopify_function dep from template to snapshot

Open lopert opened this issue 1 month ago β€’ 6 comments

WHY are these changes introduced?

Helper branch for testing function's https://github.com/Shopify/shopify-function-javascript dep during generation.

Swaps out what's defined by the template with relevant test version.

This PR is just to trigger snapit.

Fixes #0000

WHAT is this pull request doing?

How to test your changes?

Post-release steps

Measuring impact

How do we know this change was effective? Please choose one:

  • [ ] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • [ ] Existing analytics will cater for this addition
  • [ ] PR includes analytics changes to measure impact

Checklist

  • [ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • [ ] I've considered possible documentation changes

lopert avatar Nov 11 '25 16:11 lopert

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
79.22% (-0.01% πŸ”»)
13585/17149
🟑 Branches
73.11% (+0% πŸ”Ό)
6634/9074
🟑 Functions 79.37% 3505/4416
🟑 Lines
79.57% (-0.01% πŸ”»)
12830/16124
Show files with reduced coverage πŸ”»
St.:grey_question:
File Statements Branches Functions Lines
🟒
... / extension.ts
87.5% (-3.61% πŸ”»)
69.23% (-3.69% πŸ”»)
91.67%
87.23% (-3.68% πŸ”»)

Test suite run success

3356 tests passing in 1372 suites.

Report generated by πŸ§ͺjest coverage report action from b05fad479aa7bd984b48d3571eed05f606551c0e

github-actions[bot] avatar Nov 11 '25 17:11 github-actions[bot]

/snapit

lopert avatar Nov 11 '25 17:11 lopert

/snapit

lopert avatar Nov 11 '25 17:11 lopert

We detected some changes at packages/*/src and there are no updates in the .changeset. If the changes are user-facing, run pnpm changeset add to track your changes and include them in the next release CHANGELOG.

[!CAUTION] DO NOT create changesets for features which you do not wish to be included in the public changelog of the next CLI release.

github-actions[bot] avatar Nov 11 '25 17:11 github-actions[bot]

/snapit

lopert avatar Nov 12 '25 14:11 lopert

🫰✨ Thanks @lopert! 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/[email protected]

[!CAUTION] After installing, validate the version by running just shopify in your terminal. If the versions don't match, you might have multiple global instances installed. Use which shopify to find out which one you are running and uninstall it.

github-actions[bot] avatar Nov 12 '25 14:11 github-actions[bot]

This PR seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. β†’ If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.

github-actions[bot] avatar Dec 13 '25 03:12 github-actions[bot]