@shopify/cli 3.0.24 → 3.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +56 -0
- package/dist/index.js +1 -1
- package/package.json +8 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @shopify/cli
|
|
2
2
|
|
|
3
|
+
## 3.0.25
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a6ea9c8d: Fix shopify upgrade
|
|
8
|
+
- Updated dependencies [a6ea9c8d]
|
|
9
|
+
- Updated dependencies [822d0fd3]
|
|
10
|
+
- Updated dependencies [bf8137c2]
|
|
11
|
+
- Updated dependencies [e650b499]
|
|
12
|
+
- Updated dependencies [3360289d]
|
|
13
|
+
- Updated dependencies [2a666db7]
|
|
14
|
+
- @shopify/cli-kit@3.0.25
|
|
15
|
+
|
|
3
16
|
## 3.0.24
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<img src="assets/logo.png" width="150"/>
|
|
2
|
+
|
|
3
|
+
# Shopify CLI
|
|
4
|
+
<a href="http://twitter.com/ShopifyDevs"><img src="https://img.shields.io/twitter/follow/ShopifyDevs?style=flat-square" alt="Twitter Followers"></a>
|
|
5
|
+
<img src="https://img.shields.io/badge/License-MIT-green.svg" alt="License">
|
|
6
|
+
<a href="https://github.com/Shopify/cli/actions/workflows/shopify-cli.yml"></a>
|
|
7
|
+
|
|
8
|
+
With the Shopify command line interface (Shopify CLI 3.0), you can:
|
|
9
|
+
- build custom storefronts and manage their hosting
|
|
10
|
+
- initialize, build, dev, and deploy Shopify apps — and scaffold app extensions
|
|
11
|
+
|
|
12
|
+
<p> </p>
|
|
13
|
+
|
|
14
|
+
### Before you begin ###
|
|
15
|
+
|
|
16
|
+
Install the latest version of [Node.js](https://nodejs.org/en/download/) and [npm](https://docs.npmjs.com/getting-started) (or another package manager of your choice).
|
|
17
|
+
|
|
18
|
+
<p> </p>
|
|
19
|
+
|
|
20
|
+
## Developing apps with Shopify CLI
|
|
21
|
+
|
|
22
|
+
When you’re building a Shopify app, you can initialize your project using your preferred package manager. A single command will install all the dependencies you need — including Shopify CLI itself.
|
|
23
|
+
|
|
24
|
+
Initialize your project using one of the following commands:
|
|
25
|
+
- `npx @shopify/create-app@latest` (installed by default with Node)
|
|
26
|
+
- `pnpm create @shopify/create-app@latest`
|
|
27
|
+
- `yarn create @shopify/app`
|
|
28
|
+
|
|
29
|
+
Learn more in the docs: [Create an app](https://shopify.dev/apps/getting-started/create)
|
|
30
|
+
|
|
31
|
+
<p> </p>
|
|
32
|
+
|
|
33
|
+
## Developing Hydrogen custom storefronts with Shopify CLI ##
|
|
34
|
+
|
|
35
|
+
When you’re building a custom storefront, use Hydrogen, Shopify’s React-based framework optimized for headless commerce. Initialize a new Hydrogen app with a fully-featured Demo Store template, or start from scratch with the minimal Hello World template. Shopify Plus stores can deploy their Hydrogen apps to Oxygen, Shopify’s global hosting solution, at no extra cost.
|
|
36
|
+
|
|
37
|
+
Get started using one of the following commands:
|
|
38
|
+
- `npm init @shopify/hydrogen@latest`
|
|
39
|
+
- `npx @shopify/create-hydrogen@latest`
|
|
40
|
+
- `pnpm create @shopify/create-hydrogen@latest`
|
|
41
|
+
- `yarn create @shopify/hydrogen`
|
|
42
|
+
|
|
43
|
+
<p> </p>
|
|
44
|
+
|
|
45
|
+
## Help 🖐
|
|
46
|
+
|
|
47
|
+
If you encounter issues using the CLI or have feedback you'd like to share with us, below are some options:
|
|
48
|
+
|
|
49
|
+
- [Open a GitHub issue](https://github.com/Shopify/shopify-cli-next/issues) - To report bugs or request new features, open an issue in the Shopify CLI repository.
|
|
50
|
+
- [Shopify Community Forums](https://community.shopify.com/) - Visit our forums to connect with the community and learn more about Shopify CLI development.
|
|
51
|
+
|
|
52
|
+
<p> </p>
|
|
53
|
+
|
|
54
|
+
## References
|
|
55
|
+
|
|
56
|
+
- [oclif](https://oclif.io/)
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { settings, run, flush } from '@oclif/core';
|
|
|
2
2
|
import Bugsnag from '@bugsnag/js';
|
|
3
3
|
import { output, environment, error } from '@shopify/cli-kit';
|
|
4
4
|
|
|
5
|
-
var version = "3.0.
|
|
5
|
+
var version = "3.0.25";
|
|
6
6
|
|
|
7
7
|
function runCLI() {
|
|
8
8
|
output.initiateLogging({ filename: "shopify.cli.log" });
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.25",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A CLI tool to build for the Shopify platform",
|
|
6
|
+
"homepage": "https://github.com/shopify/cli#readme",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://github.com/Shopify/cli/issues"
|
|
9
|
+
},
|
|
6
10
|
"type": "module",
|
|
7
11
|
"main": "src/index.js",
|
|
8
12
|
"module": "src/index.js",
|
|
@@ -34,8 +38,8 @@
|
|
|
34
38
|
"scripts": {
|
|
35
39
|
"clean": "shx rm -rf dist",
|
|
36
40
|
"build": "rimraf dist/ && rollup -c",
|
|
37
|
-
"prepack": "cross-env NODE_ENV=production yarn run build",
|
|
38
|
-
"lint": "prettier -c src/** && eslint
|
|
41
|
+
"prepack": "cross-env NODE_ENV=production yarn run build && cp ../../README.md README.md",
|
|
42
|
+
"lint": "prettier -c src/** && eslint \"src/**/*.ts\"",
|
|
39
43
|
"lint:fix": "prettier -w src/** && eslint 'src/**/*.ts' --fix",
|
|
40
44
|
"test": "vitest run",
|
|
41
45
|
"test:watch": "vitest watch",
|
|
@@ -52,7 +56,7 @@
|
|
|
52
56
|
"@oclif/plugin-help": "^5.1.12",
|
|
53
57
|
"@oclif/plugin-plugins": "^2.1.0",
|
|
54
58
|
"@shopify/plugin-ngrok": "^0.2.9",
|
|
55
|
-
"@shopify/cli-kit": "^3.0.
|
|
59
|
+
"@shopify/cli-kit": "^3.0.25"
|
|
56
60
|
},
|
|
57
61
|
"devDependencies": {
|
|
58
62
|
"vitest": "^0.15.1"
|