[x] I bumped the gem version (or don't need to) 💎
What's up
pks uses enforcement_globs_ignore which bin/packs doesn't have. Now that the ZP code is using this we are failing bin/packwerk update-todo.
This pr introduces use_pks to the config so that we can use pks check in ZP CI.
How to test
In ZP (or whatever other repo is using packs) gemfile update path to point to your local version
gem 'packs', require: false, path: '../packs'
Add config.use_pks = true to config/packs.rb (line 9)
run bundle
(verify you're pointing to your local packs with bundle show packs)
run bin/packs lint_package_todo_yml_files
🎉 see success message!
set config.use_pks = false and run the commands:
(you can tell it's running packwerk by all the dots)
bin/packs check -> fails
bin/packs validate -> fails
bin/packs update -> fails
What's up
pks uses
enforcement_globs_ignore
which bin/packs doesn't have. Now that the ZP code is using this we are failingbin/packwerk update-todo
.This pr introduces
use_pks
to the config so that we can usepks check
in ZP CI.How to test
gem 'packs', require: false, path: '../packs'
config.use_pks = true
toconfig/packs.rb
(line 9)bundle
(verify you're pointing to your local packs withbundle show packs
)bin/packs lint_package_todo_yml_files
set
config.use_pks = false
and run the commands: (you can tell it's running packwerk by all the dots) bin/packs check -> fails bin/packs validate -> fails bin/packs update -> fails