Sha256: ddf7e20e474833e4802719d2d330bfe10231f0aeebba235773bafbf925b14ac0

Contents?: true

Size: 1.05 KB

Versions: 22

Compression:

Stored size: 1.05 KB

Contents

# frozen_string_literal: true

require "json" unless defined?(JSON)
package = JSON.parse(File.read(File.join(__dir__, "package.json")))

Gem::Specification.new do |spec|
  spec.name = "prettier"
  spec.version = package["version"]
  spec.authors = [package["author"]]

  spec.summary = package["description"]
  spec.homepage = package["homepage"]
  spec.license = package["license"]

  spec.files =
    Dir.chdir(__dir__) do
      %w[LICENSE package.json rubocop.yml] + Dir["{{exe,lib,src}/**/*,*.md}"] +
        Dir[
          "node_modules/prettier/{package.json,index.js,cli.js,doc.js,bin-prettier.js,third-party.js,parser-*.js}"
        ]
    end

  spec.required_ruby_version = ">= 2.7.3"

  spec.bindir = "exe"
  spec.executables = "rbprettier"
  spec.require_paths = %w[lib]

  spec.add_dependency "syntax_tree", ">= 2.7.1"
  spec.add_dependency "syntax_tree-haml", ">= 1.1.0"
  spec.add_dependency "syntax_tree-rbs", ">= 0.2.0"

  spec.add_development_dependency "bundler"
  spec.add_development_dependency "minitest"
  spec.add_development_dependency "rake"
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
rfbeam-0.5.1 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.5.0 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.4.10 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.4.9 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.4.8 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.4.7 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.4.6 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.4.5 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.4.4 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.4.3 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.4.2 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.4.1 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.4.0 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.3.5 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.3.4 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.3.3 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.3.2 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.3.1 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.3.0 node_modules/@prettier/plugin-ruby/prettier.gemspec
rfbeam-0.2.2 node_modules/@prettier/plugin-ruby/prettier.gemspec