sewing_kit 0.126.0 → 0.127.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: 8f7676a191cae2f1a88ca7e9ad7da940446cbd5ec766198676848c39b8ffe78f
4
- data.tar.gz: cf8d8fdbe0214201f91657f8a820659e1f90483d682060d929fbc34278bcb878
3
+ metadata.gz: cf1b908d92ccc28fb41b4e5a2161631455adee178681ee79146a23e76fbf17dc
4
+ data.tar.gz: '08f476ab5358c90db8f509f9265c281eafc0816af96a0fe70b2c189a3324fd6c'
5
5
  SHA512:
6
- metadata.gz: 6e4ced8405cd2af14a1cfa7748ac6725310d04df823097c90a415ac243aabe0cbb956474defbfc2ad4cf8a0e581d2f53f5410b40960470c80f3dbef97d68cd70
7
- data.tar.gz: 1aac700c5d8b31e8310cdfefe541f44b4c193af3a8ad2e6fd474479d0d7873a45818b99321619ce57c0b4d1c6bc59ebd025ad1a41c832663343a0b6a724c3771
6
+ metadata.gz: 26335f7c93bc27b3e6625acdf1f2d492e4b0d396c8164c30d5d56c96164e938a7a5421f0b6a4b8686c510b35fc8cbd81809f34e572498ea622e4ae65108ebb9e
7
+ data.tar.gz: 5a648ac926b7b50326f087a561b6de9266eef13d7576b32c0593d5f86695d0b7b9e258ae9aa1e52385eb732cc0c140f12b9a7ec2047d41c4ac0b4906a5d05659
@@ -3,6 +3,7 @@
3
3
  module SewingKit
4
4
  class InstallGenerator < Rails::Generators::Base
5
5
  source_root File.expand_path('templates', __dir__)
6
+ class_option :skip_yarn, type: :boolean, default: false
6
7
 
7
8
  desc "This generator creates a sewing-kit config file."
8
9
 
@@ -19,8 +20,10 @@ module SewingKit
19
20
  end
20
21
 
21
22
  def install_js_dependencies
23
+ return if options.skip_yarn?
24
+
22
25
  say "Installing react and types dependencies"
23
- system("yarn add @shopify/sewing-kit") unless Rails.env.test?
26
+ system("yarn add @shopify/sewing-kit")
24
27
  end
25
28
 
26
29
  def create_sk_config
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module SewingKit
3
- VERSION = "0.126.0"
3
+ VERSION = "0.127.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sewing_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.126.0
4
+ version: 0.127.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Sauve
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-02 00:00:00.000000000 Z
11
+ date: 2020-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties