Sha256: 65c52244e47ee95106d114244afefcb0df40c30de5602bd83edec324e7b8522f

Contents?: true

Size: 325 Bytes

Versions: 7

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

require "cable_ready/installer"

lines = package_json.readlines

if !lines.index { |line| line =~ /^\s*["']cable_ready["']: ["'].*#{cr_npm_version}["']/ }
  add_package "cable_ready@#{cr_npm_version}"
else
  say "⏩ cable_ready npm package is already present"
end

complete_step :npm_packages

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cable_ready-5.0.3 lib/install/npm_packages.rb
cable_ready-5.0.2 lib/install/npm_packages.rb
cable_ready-5.0.1 lib/install/npm_packages.rb
cable_ready-5.0.0 lib/install/npm_packages.rb
cable_ready-5.0.0.rc2 lib/install/npm_packages.rb
cable_ready-5.0.0.rc1 lib/install/npm_packages.rb
cable_ready-5.0.0.pre10 lib/install/npm_packages.rb