We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4e733f commit df5013dCopy full SHA for df5013d
1 file changed
lib/parse_packwerk/configuration.rb
@@ -7,6 +7,7 @@ class Configuration < T::Struct
7
const :exclude, T::Array[String]
8
const :package_paths, T::Array[String]
9
const :requires, T::Array[String]
10
+ const :raw, T::Hash[String, T.untyped]
11
12
sig { returns(Configuration) }
13
def self.fetch
@@ -22,7 +23,8 @@ def self.fetch
22
23
Configuration.new(
24
exclude: excludes(raw_packwerk_config),
25
package_paths: package_paths(raw_packwerk_config),
- requires: raw_packwerk_config['require'] || []
26
+ requires: raw_packwerk_config['require'] || [],
27
+ raw: raw_packwerk_config
28
)
29
end
30
0 commit comments