diff --git a/lib/parse_packwerk/configuration.rb b/lib/parse_packwerk/configuration.rb index 36b9343..2c85e55 100644 --- a/lib/parse_packwerk/configuration.rb +++ b/lib/parse_packwerk/configuration.rb @@ -7,6 +7,7 @@ class Configuration < T::Struct const :exclude, T::Array[String] const :package_paths, T::Array[String] const :requires, T::Array[String] + const :raw, T::Hash[String, T.untyped] sig { returns(Configuration) } def self.fetch @@ -22,7 +23,8 @@ def self.fetch Configuration.new( exclude: excludes(raw_packwerk_config), package_paths: package_paths(raw_packwerk_config), - requires: raw_packwerk_config['require'] || [] + requires: raw_packwerk_config['require'] || [], + raw: raw_packwerk_config ) end