Sha256: b7f31013f58bdffb547d19133076bd5d0ec6352cbc6d821d2047047f16ef2727

Contents?: true

Size: 733 Bytes

Versions: 27

Compression:

Stored size: 733 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
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
shopify-cli-2.18.0 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.17.0 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.16.1 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.16.0 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.15.6 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.15.5 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.15.4 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.15.3 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.15.2 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.15.1 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.15.0 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.14.0 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.13.0 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.12.0 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.11.2 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.11.1 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.11.0 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.10.2 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.10.1 lib/project_types/extension/models/server_config/development.rb
shopify-cli-2.10.0 lib/project_types/extension/models/server_config/development.rb