shopify-cli 2.30.0 → 2.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/project_types/theme/commands/serve.rb +1 -1
- data/lib/project_types/theme/messages/messages.rb +11 -11
- data/lib/shopify_cli/release.rb +2 -4
- data/lib/shopify_cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 671907fe67b2c0ee4ff9c99a55bfbf53562f15f7540c23c6fb07ddb9b46398df
|
4
|
+
data.tar.gz: 5a327f5060b50fa1761a20d5ca1601cab1fc44e7f3e1b7ab62e6747b9a92a164
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2baa5372dc8502fe0764378b556b043eb136415ee9f94f1ea42fead7e367f46bdc0114b6e79f0eef99cb92270117561f004d09157e9bce3b45912aaead4bd20a
|
7
|
+
data.tar.gz: 42819560813ed73fc39d09e68d5e7d07a68ca6b70af5666abca8741740f6d2fb912d500a28bd5ba9dbcb076ad0f9444097157a778cabd506abca06c6db302021
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,11 @@ From version 2.6.0, the sections in this file adhere to the [keep a changelog](h
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## Version 2.31.0 - 2022-11-07
|
6
|
+
|
7
|
+
### Added
|
8
|
+
* [#2676](https://github.com/Shopify/shopify-cli/pull/2676): Introduce shorthand `-e` for `--theme-editor-sync` in `shopify theme serve`
|
9
|
+
|
5
10
|
## Version 2.30.0 - 2022-11-01
|
6
11
|
|
7
12
|
### Fixed
|
data/Gemfile.lock
CHANGED
@@ -23,7 +23,7 @@ module Theme
|
|
23
23
|
parser.on("--port=PORT") { |port| flags[:port] = port.to_i }
|
24
24
|
parser.on("--poll") { flags[:poll] = true }
|
25
25
|
parser.on("--live-reload=MODE") { |mode| flags[:mode] = as_reload_mode(mode) }
|
26
|
-
parser.on("--theme-editor-sync") { flags[:editor_sync] = true }
|
26
|
+
parser.on("-e", "--theme-editor-sync") { flags[:editor_sync] = true }
|
27
27
|
parser.on("--stable") { flags[:stable] = true }
|
28
28
|
parser.on("-t", "--theme=NAME_OR_ID") { |theme| flags[:theme] = theme }
|
29
29
|
parser.on("-o", "--only=PATTERN", Conversions::IncludeGlob) do |pattern|
|
@@ -123,17 +123,17 @@ module Theme
|
|
123
123
|
Usage: {{command:%s theme serve [ ROOT ]}}
|
124
124
|
|
125
125
|
Options:
|
126
|
-
{{command:-t, --theme=NAME_OR_ID}}
|
127
|
-
{{command:-o, --only}}
|
128
|
-
{{command:-x, --ignore}}
|
129
|
-
{{command
|
130
|
-
{{command:--
|
131
|
-
{{command:--
|
132
|
-
{{command:--
|
133
|
-
{{command:--live-reload=MODE}}
|
134
|
-
|
135
|
-
|
136
|
-
|
126
|
+
{{command:-t, --theme=NAME_OR_ID}} Theme ID or name of the remote theme.
|
127
|
+
{{command:-o, --only}} Hot reload only files that match the specified pattern.
|
128
|
+
{{command:-x, --ignore}} Skip hot reloading any files that match the specified pattern.
|
129
|
+
{{command:-e, --theme-editor-sync}} Synchronize Theme Editor updates in the local theme files.
|
130
|
+
{{command:--port=PORT}} Local port to serve theme preview from.
|
131
|
+
{{command:--poll}} Force polling to detect file changes.
|
132
|
+
{{command:--host=HOST}} Set which network interface the web server listens on. The default value is 127.0.0.1.
|
133
|
+
{{command:--live-reload=MODE}} The live reload mode switches the server behavior when a file is modified:
|
134
|
+
- {{command:hot-reload}} Hot reloads local changes to CSS and sections (default)
|
135
|
+
- {{command:full-page}} Always refreshes the entire page
|
136
|
+
- {{command:off}} Deactivate live reload
|
137
137
|
HELP
|
138
138
|
reload_mode_is_not_valid: "The live reload mode `%s` is not valid.",
|
139
139
|
try_a_valid_reload_mode: "Try a valid live reload mode: %s.",
|
data/lib/shopify_cli/release.rb
CHANGED
@@ -120,10 +120,8 @@ module ShopifyCLI
|
|
120
120
|
end
|
121
121
|
|
122
122
|
def update_homebrew_repo
|
123
|
-
|
124
|
-
|
125
|
-
FileUtils.copy(source_file, homebrew_path)
|
126
|
-
end
|
123
|
+
source_file = File.join(package_dir, "shopify-cli@2.rb")
|
124
|
+
FileUtils.copy(source_file, homebrew_path)
|
127
125
|
Dir.chdir(homebrew_path) do
|
128
126
|
system_or_fail("git commit -am '#{homebrew_update_message}'", "commit homebrew update")
|
129
127
|
system_or_fail("git push -u origin #{homebrew_release_branch}", "push homebrew branch")
|
data/lib/shopify_cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shopify-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|