Sha256: 2b8135d595bc599fc871563eabb40e1c05a1dc5783a2286d56130da47f68abae
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Hanamismith module Builders # Builds project skeleton for Node. class Node < Rubysmith::Builders::Abstract using Refinements::Struct def call builder.call(configuration.merge(template_path: "%project_name%/package.json.erb")).render builder.call(configuration.merge(template_path: "%project_name%/.node-version.erb")).render configuration end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hanamismith-0.38.0 | lib/hanamismith/builders/node.rb |
hanamismith-0.37.0 | lib/hanamismith/builders/node.rb |