Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions spec/test_app/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ ruby RUBY_VERSION

gem "kirei", path: "../../"

gem "packwerk", git: "git@github.com:swiknaba/shopify-packwerk.git", branch: "main"

gem "puma"
gem "statsd-instrument", "~> 3.0"

Expand Down
82 changes: 82 additions & 0 deletions spec/test_app/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
GIT
remote: git@github.com:swiknaba/shopify-packwerk.git
revision: 28941271e834518f7c09e44e657b22ff5f3c1927
branch: main
specs:
packwerk (3.3.0)
activesupport (>= 6.0)
ast
benchmark
better_html
bundler
constant_resolver (>= 0.3)
parallel (< 2)
parser
prism (>= 1.4.0)
zeitwerk (>= 2.6.1)

PATH
remote: ../..
specs:
Expand All @@ -15,29 +32,82 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actionview (8.1.3)
activesupport (= 8.1.3)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activesupport (8.1.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
json
logger (>= 1.4.2)
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
amazing_print (1.6.0)
ast (2.4.3)
base64 (0.3.0)
benchmark (0.5.0)
better_html (2.2.0)
actionview (>= 7.0)
activesupport (>= 7.0)
ast (~> 2.0)
erubi (~> 1.4)
parser (>= 2.4)
smart_properties
bigdecimal (4.1.2)
builder (3.3.0)
byebug (11.1.3)
concurrent-ruby (1.3.7)
connection_pool (3.0.2)
constant_resolver (0.3.0)
crass (1.0.7)
date (3.5.1)
dotenv (3.2.0)
drb (2.2.3)
erb (6.0.2)
erubi (1.13.1)
i18n (1.15.2)
concurrent-ruby (~> 1.0)
io-console (0.8.2)
irb (1.17.0)
pp (>= 0.6.0)
prism (>= 1.3.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.20.0)
logger (1.7.0)
loofah (2.25.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
minitest (6.0.6)
drb (~> 2.0)
prism (~> 1.5)
netrc (0.11.0)
nio4r (2.7.3)
nokogiri (1.19.4-aarch64-linux-gnu)
racc (~> 1.4)
nokogiri (1.19.4-arm64-darwin)
racc (~> 1.4)
nokogiri (1.19.4-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.19.4-x86_64-linux-gnu)
racc (~> 1.4)
oj (3.17.3)
bigdecimal (>= 3.0)
ostruct (>= 0.2)
ostruct (0.6.3)
parallel (1.27.0)
parser (3.3.11.1)
ast (~> 2.4.1)
racc
pg (1.6.3-aarch64-linux)
pg (1.6.3-arm64-darwin)
pg (1.6.3-x86_64-darwin)
Expand All @@ -51,7 +121,15 @@ GEM
stringio
puma (6.4.2)
nio4r (~> 2.0)
racc (1.8.1)
rack (3.2.6)
rails-dom-testing (2.3.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.7.0)
loofah (~> 2.25)
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
rake (13.1.0)
rbi (0.3.9)
prism (~> 1.0)
Expand All @@ -68,11 +146,13 @@ GEM
io-console (~> 0.5)
require-hooks (0.2.3)
rexml (3.4.4)
securerandom (0.4.1)
sequel (5.106.0)
bigdecimal
sequel_pg (1.19.0)
pg (>= 0.18.0, != 1.2.0)
sequel (>= 4.38.0)
smart_properties (1.17.0)
sorbet (0.6.12942)
sorbet-static (= 0.6.12942)
sorbet-runtime (0.6.12942)
Expand Down Expand Up @@ -109,6 +189,7 @@ GEM
concurrent-ruby (~> 1.0)
tzinfo-data (1.2026.3)
tzinfo (>= 1.0.0)
uri (1.1.1)
yard (0.9.38)
yard-sorbet (0.9.0)
sorbet-runtime
Expand All @@ -128,6 +209,7 @@ DEPENDENCIES
irb
kirei!
logger
packwerk!
puma
rake
rbs (= 4.0.0.dev.5)
Expand Down
11 changes: 11 additions & 0 deletions spec/test_app/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This file represents the root package of the application
# Please validate the configuration using `packwerk validate` (for Rails applications) or running the auto generated
# test case (for non-Rails projects). You can then use `packwerk check` to check your code.

# Change to `true` to turn on dependency checks for this package
enforce_dependencies: false

# A list of this package's dependencies
# Note that packages in this list require their own `package.yml` file
# dependencies:
# - "packages/billing"
30 changes: 30 additions & 0 deletions spec/test_app/packwerk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# See: Setting up the configuration file
# https://github.com/Shopify/packwerk/blob/main/USAGE.md#configuring-packwerk

# List of patterns for folder paths to include
# include:
# - "**/*.{rb,rake,erb}"

# List of patterns for folder paths to exclude
# exclude:
# - "{bin,node_modules,script,tmp,vendor}/**/*"

# Patterns to find package configuration files
# package_paths: "**/"

# List of custom associations, if any
# custom_associations:
# - "cache_belongs_to"

# Whether or not you want the cache enabled (disabled by default)
# cache: true

# Where you want the cache to be stored (default below)
# cache_directory: 'tmp/cache/packwerk'

# For non-Rails applications: the list of Zeitwerk root directories, relative to
# this file. Mirror your app's `Zeitwerk::Loader#push_dir` calls. Globs are supported.
# When set, Packwerk will not attempt to boot a Rails application.
load_paths:
- "app"
- "app/domains"
Loading
Loading