Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
/ webpacker_toppings Public archive

WebpackerToppings provides helpers for Webpacker

License

Notifications You must be signed in to change notification settings

codeur/webpacker_toppings

Repository files navigation

WebpackerToppings

This gem provides helpers for Webpacker

Installation

Add this line to your application's Gemfile:

gem 'webpacker_toppings'

And then execute:

$ bundle

Or install it yourself as:

$ gem install webpacker_toppings

Usage

Include the helpers you need in your app/helpers/application_helper.rb :

module ApplicationHelper
  include WebpackerToppings::Helpers::Packs
end

Helpers

Development and testing

  git clone git@github.com:codeur/webpacker_toppings.git
  cd webpacker_toppings
  bundle install
  cd test/dummy && bundle install && yarn install && cd ../..
  bin/test

Release

Before all, configure your credentials for RubyGems :

  1. Login to RubyGems
  2. Create a token which have rights to push gems (https://rubygems.org/profile/api_keys)
  3. Add it to your config:
echo ":rubygems_api_key: YOUR_API_KEY" >> ~/.gem/credentials

You just have to run default command:

rake release

Else, to publish a new version of this gem, you'll need to build it with gem build webpacker_toppings.gemspec and then push it manually:

gem push webpacker_toppings-X.X.X.gem

License

The gem is available as open source under the terms of the MIT License. Copyright 2021 Codeur SARL.

About

WebpackerToppings provides helpers for Webpacker

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •