Sha256: 02b19226712480b544ba035cd9bec885faba347e3894758c5f6a353ae902c019

Contents?: true

Size: 250 Bytes

Versions: 35

Compression:

Stored size: 250 Bytes

Contents

desc 'yarn-install', 'Runs yarn install if required', hide: true

def yarn_install
  if File.exist?('package.json') && !system('yarn check --integrity > /dev/null 2>&1')
    Interaction.announce 'Yarn install'
    Util.run!('yarn install')
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
geordi-11.0.0 lib/geordi/commands/yarn_install.rb
geordi-10.1.0 lib/geordi/commands/yarn_install.rb
geordi-10.0.1 lib/geordi/commands/yarn_install.rb
geordi-10.0.0 lib/geordi/commands/yarn_install.rb
geordi-9.6.1 lib/geordi/commands/yarn_install.rb
geordi-9.6.0 lib/geordi/commands/yarn_install.rb
geordi-9.5.1 lib/geordi/commands/yarn_install.rb
geordi-9.5.0 lib/geordi/commands/yarn_install.rb
geordi-9.4.1 lib/geordi/commands/yarn_install.rb
geordi-9.4.0 lib/geordi/commands/yarn_install.rb
geordi-9.3.1 lib/geordi/commands/yarn_install.rb
geordi-9.3.0 lib/geordi/commands/yarn_install.rb
geordi-9.2.0 lib/geordi/commands/yarn_install.rb
geordi-9.1.0 lib/geordi/commands/yarn_install.rb
geordi-9.0.0 lib/geordi/commands/yarn_install.rb
geordi-8.0.0 lib/geordi/commands/yarn_install.rb
geordi-7.0.2 lib/geordi/commands/yarn_install.rb
geordi-7.0.1 lib/geordi/commands/yarn_install.rb
geordi-7.0.0 lib/geordi/commands/yarn_install.rb
geordi-6.1.0 lib/geordi/commands/yarn_install.rb