Sha256: c17c4e4327de0c932e95f3cfe1ba1beaa85cd8f6ea51ee11e070605b78c22096

Contents?: true

Size: 702 Bytes

Versions: 46

Compression:

Stored size: 702 Bytes

Contents

require "webpacker/version"

namespace :webpacker do
  desc "Provide information on Webpacker's environment"
  task :info do
    $stdout.puts "Ruby: #{`ruby --version`}"
    $stdout.puts "Rails: #{Rails.version}"
    $stdout.puts "Webpacker: #{Webpacker::VERSION}"
    $stdout.puts "Node: #{`node --version`}"
    $stdout.puts "Yarn: #{`yarn --version`}"

    $stdout.puts "\n"
    $stdout.puts "@rails/webpacker: \n#{`npm list @rails/webpacker version`}"

    $stdout.puts "Is bin/webpack present?: #{File.exist? 'bin/webpack'}"
    $stdout.puts "Is bin/webpack-dev-server present?: #{File.exist? 'bin/webpack-dev-server'}"
    $stdout.puts "Is bin/yarn present?: #{File.exist? 'bin/yarn'}"
  end
end

Version data entries

46 entries across 46 versions & 3 rubygems

Version Path
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/webpacker-5.4.4/lib/tasks/webpacker/info.rake
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/webpacker-5.4.4/lib/tasks/webpacker/info.rake
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/webpacker-5.4.4/lib/tasks/webpacker/info.rake
webpacker-5.4.4 lib/tasks/webpacker/info.rake
webpacker-5.4.3 lib/tasks/webpacker/info.rake
webpacker-5.4.2 lib/tasks/webpacker/info.rake
webpacker-5.4.1 lib/tasks/webpacker/info.rake
webpacker-5.4.0 lib/tasks/webpacker/info.rake
webpacker-5.3.0 lib/tasks/webpacker/info.rake
webpacker-5.2.2 lib/tasks/webpacker/info.rake
webpacker-5.2.1 lib/tasks/webpacker/info.rake
webpacker-4.3.0 lib/tasks/webpacker/info.rake
webpacker-5.2.0 lib/tasks/webpacker/info.rake
webpacker-5.1.1 lib/tasks/webpacker/info.rake
webpacker-5.1.0 lib/tasks/webpacker/info.rake
webpacker-5.0.1 lib/tasks/webpacker/info.rake
webpacker-5.0.0 lib/tasks/webpacker/info.rake
webpacker-4.2.2 lib/tasks/webpacker/info.rake
webpacker-4.2.1 lib/tasks/webpacker/info.rake
webpacker-4.2.0 lib/tasks/webpacker/info.rake