Merge branch 'main' into production

This commit is contained in:
0x1eef 2024-04-29 10:40:07 -03:00
commit dcd22e3e8b

9
Rules
View file

@ -15,12 +15,15 @@ json_dir = File.join(Dir.getwd, "src", "json")
name_by_id = Ryo.from_json_file("#{json_dir}/nameById.json") name_by_id = Ryo.from_json_file("#{json_dir}/nameById.json")
i18n = Ryo.from_json_file("#{json_dir}/i18n.json") i18n = Ryo.from_json_file("#{json_dir}/i18n.json")
buildenv = ENV["buildenv"] || "development" buildenv = ENV["buildenv"] || "development"
##
# Plugins
Nanoc::Webpack Nanoc::Webpack
.default_argv .default_argv
.concat ["--config", "webpack.#{buildenv}.js"] .concat ["--config", "webpack.#{buildenv}.js"]
Nanoc::Tidy.default_options.merge!( Nanoc::Tidy
"-upper" => true .default_argv
) .concat ["-upper"]
## ##
# See packages/typescript/postman # See packages/typescript/postman