Skip to content

Commit

Permalink
Install view_component and make it available to SolidusAdmin
Browse files Browse the repository at this point in the history
We need to bump CircleCI cache to fetch latest changes on SSF allowing
view_components v3 (see
solidusio/solidus_starter_frontend#343).
  • Loading branch information
waiting-for-dev authored and elia committed Jun 9, 2023
1 parent 01779d0 commit eba9408
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ commands:
cat /tmp/.gems-versions
- restore_cache:
keys:
- solidus-installer-v7-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }}
- solidus-installer-v7-{{ checksum "/tmp/.ruby-versions" }}-
- solidus-installer-v8-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }}
- solidus-installer-v8-{{ checksum "/tmp/.ruby-versions" }}-
- run:
name: "Prepare the rails application"
command: |
Expand Down
2 changes: 2 additions & 0 deletions admin/lib/solidus_admin/engine.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require "view_component"

module SolidusAdmin
class Engine < ::Rails::Engine
isolate_namespace SolidusAdmin
Expand Down
1 change: 1 addition & 0 deletions admin/solidus_admin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ Gem::Specification.new do |s|

s.add_dependency 'solidus_core', s.version
s.add_dependency 'tailwindcss-rails', '~> 2.0'
s.add_dependency 'view_component', '~> 3.0'
end

0 comments on commit eba9408

Please sign in to comment.