Skip to content

Commit

Permalink
feat: remove Shopify CLI patch script
Browse files Browse the repository at this point in the history
This script is used to patch the CLI script. Based on changes to the Shopify
CLI's architecture, this script no longer works. Plugins must be added to the
Shopify CLI a different way. # Please enter the commit message for your changes.
Lines starting
  • Loading branch information
jeffreyguenther committed Dec 23, 2024
1 parent de1f5db commit b9f5664
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 31 deletions.
27 changes: 0 additions & 27 deletions bin/patch-cli.js

This file was deleted.

16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
"license": "MIT",
"type": "module",
"repository": "TheBeyondGroup/shopkeeper",
"files": ["/bin", "/dist", "/npm-shrinkwrap.json", "/oclif.manifest.json"],
"files": [
"/bin",
"/dist",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"dependencies": {
"@oclif/core": "3.19.6",
"@oclif/plugin-help": "6.0.1",
Expand All @@ -37,15 +42,16 @@
"bin": "shopkeeper",
"dirname": "shopkeeper",
"commands": "./dist/commands",
"plugins": ["@oclif/plugin-help"],
"plugins": [
"@oclif/plugin-help"
],
"repositoryPrefix": "<%- repo %>/tree/main/src/<%- commandPath %>",
"topicSeparator": " "
},
"scripts": {
"build": "shx rm -rf dist && tsc -b",
"dev": "pnpm build && pnpm exec -- shopify",
"lint": "eslint . --ext .ts --config .eslintrc",
"postinstall": "node bin/patch-cli.js",
"posttest": "pnpm lint",
"postpublish": "npm publish --ignore-scripts --@thebeyondgroup:registry='https://registry.npmjs.org'",
"prepack": "pnpm build && pnpm oclif manifest && ./bin/generate-readme.sh",
Expand All @@ -63,6 +69,8 @@
"node": ">=18.12.0"
},
"bugs": "https://github.com/TheBeyondGroup/shopkeeper/issues",
"keywords": ["oclif"],
"keywords": [
"oclif"
],
"types": "dist/index.d.ts"
}

0 comments on commit b9f5664

Please sign in to comment.