Sha256: 0e36d373c6ebbc002f7f7b2d1f1213b703de0f43e7a02917c4cfb0b14e1e79bd
Contents?: true
Size: 924 Bytes
Versions: 22
Compression:
Stored size: 924 Bytes
Contents
module Extension module Models module ServerConfig class Development < Base include SmartProperties VALID_TEMPLATES = [ "javascript", "javascript-react", "typescript", "typescript-react", ] CURRENT_DIRECTORY = "." property :root_dir, accepts: String, default: CURRENT_DIRECTORY property! :build_dir, accepts: String, default: "build" property :template, accepts: VALID_TEMPLATES property :renderer, accepts: ServerConfig::DevelopmentRenderer property :entries, accepts: ServerConfig::DevelopmentEntries property :resource, accepts: ServerConfig::DevelopmentResource def self.find(type) case type.downcase when "web_pixel_extension" ["javascript"] else VALID_TEMPLATES end end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
shopify-cli-2.19.0 | lib/project_types/extension/models/server_config/development.rb |
shopify-cli-2.18.1 | lib/project_types/extension/models/server_config/development.rb |