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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3050c5be253ff04fbd3fa04ddd60389c0e6c0c2c0a3ae3fdcc6b059dc428c193
4
- data.tar.gz: 2d373f27b01e11cd4df467114ba00849c978ae7cca1d8529749be5ba5d5d663d
3
+ metadata.gz: 671907fe67b2c0ee4ff9c99a55bfbf53562f15f7540c23c6fb07ddb9b46398df
4
+ data.tar.gz: 5a327f5060b50fa1761a20d5ca1601cab1fc44e7f3e1b7ab62e6747b9a92a164
5
5
  SHA512:
6
- metadata.gz: 8427e448b97accd935d7b6b16452070139a70139d53cfd3e4d7f4efff495873f4d1372e9e08bf4b75fae7150c95ddb431363b7d970dbcfffc1fbeb1b22f7c0af
7
- data.tar.gz: be22490e0dea78184b7bcd58c4bca6a1a52c2963c45063e9a7ad6703ecd295c6e31d37a02716f741a3a7682d0fc12f86a167b0d78d1ef9bd973894bc5b7b4ba1
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify-cli (2.30.0)
4
+ shopify-cli (2.31.0)
5
5
  bugsnag (~> 6.22)
6
6
  listen (~> 3.7.0)
7
7
  theme-check (~> 1.11.0)
@@ -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}} 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:--port=PORT}} Local port to serve theme preview from.
130
- {{command:--poll}} Force polling to detect file changes.
131
- {{command:--host=HOST}} Set which network interface the web server listens on. The default value is 127.0.0.1.
132
- {{command:--theme-editor-sync}} Synchronize Theme Editor updates in the local theme files.
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
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.",
@@ -120,10 +120,8 @@ module ShopifyCLI
120
120
  end
121
121
 
122
122
  def update_homebrew_repo
123
- %w(shopify-cli.rb shopify-cli@2.rb).each do |source_filename|
124
- source_file = File.join(package_dir, source_filename)
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")
@@ -1,3 +1,3 @@
1
1
  module ShopifyCLI
2
- VERSION = "2.30.0"
2
+ VERSION = "2.31.0"
3
3
  end
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.30.0
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-01 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler