shopify-cli 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +1 -0
- data/.github/workflows/shopify.yml +106 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +6 -0
- data/CONTRIBUTING.md +23 -0
- data/Dockerfile +19 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +50 -13
- data/Rakefile +66 -0
- data/dev.yml +11 -1
- data/ext/shopify-extensions/extconf.rb +21 -0
- data/ext/shopify-extensions/shopify_extensions.rb +152 -0
- data/ext/shopify-extensions/version +1 -0
- data/lib/project_types/extension/cli.rb +14 -0
- data/lib/project_types/extension/commands/build.rb +30 -2
- data/lib/project_types/extension/commands/create.rb +25 -0
- data/lib/project_types/extension/forms/create.rb +4 -1
- data/lib/project_types/extension/forms/questions/ask_template.rb +44 -0
- data/lib/project_types/extension/messages/messages.rb +3 -0
- data/lib/project_types/extension/models/development_server.rb +35 -0
- data/lib/project_types/extension/models/development_server_requirements.rb +17 -0
- data/lib/project_types/extension/models/server_config/base.rb +31 -0
- data/lib/project_types/extension/models/server_config/development.rb +23 -0
- data/lib/project_types/extension/models/server_config/development_entries.rb +38 -0
- data/lib/project_types/extension/models/server_config/development_renderer.rb +30 -0
- data/lib/project_types/extension/models/server_config/extension.rb +35 -0
- data/lib/project_types/extension/models/server_config/root.rb +18 -0
- data/lib/project_types/extension/models/server_config/user.rb +10 -0
- data/lib/project_types/extension/tasks/choose_next_available_port.rb +1 -1
- data/lib/project_types/extension/tasks/run_extension_command.rb +58 -0
- data/lib/project_types/node/commands/create.rb +1 -5
- data/lib/project_types/rails/commands/create.rb +1 -5
- data/lib/project_types/script/cli.rb +2 -0
- data/lib/project_types/script/layers/application/push_script.rb +10 -1
- data/lib/project_types/script/layers/domain/push_package.rb +0 -12
- data/lib/project_types/script/layers/infrastructure/api_clients.rb +89 -0
- data/lib/project_types/script/layers/infrastructure/languages/assemblyscript_project_creator.rb +1 -1
- data/lib/project_types/script/layers/infrastructure/script_service.rb +26 -141
- data/lib/project_types/script/layers/infrastructure/script_uploader.rb +27 -0
- data/lib/project_types/script/tasks/ensure_env.rb +2 -2
- data/lib/project_types/script/ui/error_handler.rb +1 -1
- data/lib/shopify-cli/constants.rb +26 -0
- data/lib/shopify-cli/environment.rb +60 -0
- data/lib/shopify-cli/git.rb +2 -2
- data/lib/shopify-cli/identity_auth.rb +16 -23
- data/lib/shopify-cli/partners_api.rb +3 -27
- data/lib/shopify-cli/theme/dev_server/hot_reload.rb +4 -5
- data/lib/shopify-cli/theme/development_theme.rb +16 -2
- data/lib/shopify-cli/version.rb +1 -1
- data/lib/shopify_cli.rb +4 -2
- data/shopify-cli.gemspec +3 -3
- metadata +29 -9
- data/.github/workflows/build.yml +0 -28
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.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.2.2
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.2.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,28 +64,28 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
67
|
+
version: 3.7.0
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: 3.7.0
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: theme-check
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
81
|
+
version: 1.4.0
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
88
|
+
version: 1.4.0
|
89
89
|
description: |
|
90
90
|
Shopify CLI helps you build Shopify apps faster. It quickly scaffolds Node.js
|
91
91
|
and Ruby on Rails embedded apps. It also automates many common tasks in the
|
@@ -105,7 +105,7 @@ files:
|
|
105
105
|
- ".github/ISSUE_TEMPLATE.md"
|
106
106
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
107
107
|
- ".github/probots.yml"
|
108
|
-
- ".github/workflows/
|
108
|
+
- ".github/workflows/shopify.yml"
|
109
109
|
- ".github/workflows/triage.yml"
|
110
110
|
- ".gitignore"
|
111
111
|
- ".rubocop.yml"
|
@@ -114,6 +114,8 @@ files:
|
|
114
114
|
- ".tmp/.gitkeep"
|
115
115
|
- ".tmp/sv/.gitkeep"
|
116
116
|
- CHANGELOG.md
|
117
|
+
- CONTRIBUTING.md
|
118
|
+
- Dockerfile
|
117
119
|
- Gemfile
|
118
120
|
- Gemfile.lock
|
119
121
|
- LICENSE
|
@@ -139,6 +141,9 @@ files:
|
|
139
141
|
- docs/help/start-app/index.md
|
140
142
|
- docs/index.md
|
141
143
|
- ext/shopify-cli/extconf.rb
|
144
|
+
- ext/shopify-extensions/extconf.rb
|
145
|
+
- ext/shopify-extensions/shopify_extensions.rb
|
146
|
+
- ext/shopify-extensions/version
|
142
147
|
- install.sh
|
143
148
|
- lib/docgen/class_template.md.erb
|
144
149
|
- lib/docgen/index_template.md.erb
|
@@ -192,14 +197,24 @@ files:
|
|
192
197
|
- lib/project_types/extension/forms/questions/ask_app.rb
|
193
198
|
- lib/project_types/extension/forms/questions/ask_name.rb
|
194
199
|
- lib/project_types/extension/forms/questions/ask_registration.rb
|
200
|
+
- lib/project_types/extension/forms/questions/ask_template.rb
|
195
201
|
- lib/project_types/extension/forms/questions/ask_type.rb
|
196
202
|
- lib/project_types/extension/messages/message_loading.rb
|
197
203
|
- lib/project_types/extension/messages/messages.rb
|
198
204
|
- lib/project_types/extension/models/app.rb
|
205
|
+
- lib/project_types/extension/models/development_server.rb
|
206
|
+
- lib/project_types/extension/models/development_server_requirements.rb
|
199
207
|
- lib/project_types/extension/models/lazy_specification_handler.rb
|
200
208
|
- lib/project_types/extension/models/npm_package.rb
|
201
209
|
- lib/project_types/extension/models/product.rb
|
202
210
|
- lib/project_types/extension/models/registration.rb
|
211
|
+
- lib/project_types/extension/models/server_config/base.rb
|
212
|
+
- lib/project_types/extension/models/server_config/development.rb
|
213
|
+
- lib/project_types/extension/models/server_config/development_entries.rb
|
214
|
+
- lib/project_types/extension/models/server_config/development_renderer.rb
|
215
|
+
- lib/project_types/extension/models/server_config/extension.rb
|
216
|
+
- lib/project_types/extension/models/server_config/root.rb
|
217
|
+
- lib/project_types/extension/models/server_config/user.rb
|
203
218
|
- lib/project_types/extension/models/specification.rb
|
204
219
|
- lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
|
205
220
|
- lib/project_types/extension/models/specification_handlers/checkout_ui_extension.rb
|
@@ -223,6 +238,7 @@ files:
|
|
223
238
|
- lib/project_types/extension/tasks/get_apps.rb
|
224
239
|
- lib/project_types/extension/tasks/get_extensions.rb
|
225
240
|
- lib/project_types/extension/tasks/get_product.rb
|
241
|
+
- lib/project_types/extension/tasks/run_extension_command.rb
|
226
242
|
- lib/project_types/extension/tasks/update_draft.rb
|
227
243
|
- lib/project_types/extension/tasks/user_errors.rb
|
228
244
|
- lib/project_types/node/cli.rb
|
@@ -272,6 +288,7 @@ files:
|
|
272
288
|
- lib/project_types/script/layers/domain/push_package.rb
|
273
289
|
- lib/project_types/script/layers/domain/script_json.rb
|
274
290
|
- lib/project_types/script/layers/domain/script_project.rb
|
291
|
+
- lib/project_types/script/layers/infrastructure/api_clients.rb
|
275
292
|
- lib/project_types/script/layers/infrastructure/command_runner.rb
|
276
293
|
- lib/project_types/script/layers/infrastructure/errors.rb
|
277
294
|
- lib/project_types/script/layers/infrastructure/extension_point_repository.rb
|
@@ -284,6 +301,7 @@ files:
|
|
284
301
|
- lib/project_types/script/layers/infrastructure/push_package_repository.rb
|
285
302
|
- lib/project_types/script/layers/infrastructure/script_project_repository.rb
|
286
303
|
- lib/project_types/script/layers/infrastructure/script_service.rb
|
304
|
+
- lib/project_types/script/layers/infrastructure/script_uploader.rb
|
287
305
|
- lib/project_types/script/messages/messages.rb
|
288
306
|
- lib/project_types/script/tasks/ensure_env.rb
|
289
307
|
- lib/project_types/script/ui/error_handler.rb
|
@@ -324,6 +342,7 @@ files:
|
|
324
342
|
- lib/shopify-cli/commands/version.rb
|
325
343
|
- lib/shopify-cli/commands/whoami.rb
|
326
344
|
- lib/shopify-cli/connect.rb
|
345
|
+
- lib/shopify-cli/constants.rb
|
327
346
|
- lib/shopify-cli/context.rb
|
328
347
|
- lib/shopify-cli/core.rb
|
329
348
|
- lib/shopify-cli/core/entry_point.rb
|
@@ -332,6 +351,7 @@ files:
|
|
332
351
|
- lib/shopify-cli/core/help_resolver.rb
|
333
352
|
- lib/shopify-cli/core/monorail.rb
|
334
353
|
- lib/shopify-cli/db.rb
|
354
|
+
- lib/shopify-cli/environment.rb
|
335
355
|
- lib/shopify-cli/feature.rb
|
336
356
|
- lib/shopify-cli/form.rb
|
337
357
|
- lib/shopify-cli/git.rb
|
data/.github/workflows/build.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
name: CI
|
2
|
-
|
3
|
-
on: [push, pull_request]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build:
|
7
|
-
name: Ruby ${{ matrix.version }}
|
8
|
-
runs-on: macos-latest
|
9
|
-
strategy:
|
10
|
-
matrix:
|
11
|
-
version:
|
12
|
-
- 3.0.0
|
13
|
-
- 2.6.6
|
14
|
-
- 2.7.1
|
15
|
-
steps:
|
16
|
-
- uses: actions/checkout@v2
|
17
|
-
|
18
|
-
- name: Set up Ruby ${{ matrix.version }}
|
19
|
-
uses: ruby/setup-ruby@v1
|
20
|
-
with:
|
21
|
-
ruby-version: ${{ matrix.version }}
|
22
|
-
bundler-cache: true
|
23
|
-
|
24
|
-
- name: Install Dependencies
|
25
|
-
run: bundle install
|
26
|
-
|
27
|
-
- name: Run Tests
|
28
|
-
run: bundle exec rake
|