mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-08 22:45:47 +00:00
# What Some remix templates doesn't package a `vite.config.*` file at their root. It's the case for the recommended starter "stack" templates: blues-stack, indie-stack and grunge-stack. As recommended in a TODO comment, it's more suitable to check for a `@remix-run/*` dependency in the package dependencies. # How - decouple vite and remix checks - retrieve the `package.json` - allow passing a `cwd` to the retrieval method - remove the "empty config file list" that can be empty for a remix stack - check that the `package.json` contains a `@remix-run/*` dependency # Test Added a fixture by running `npx create-remix@latest --template remix-run/indie-stack` in the [frameworks](/Fluf22/shadcn-ui/tree/fix/cli-remix-detection/packages/cli/test/fixtures/frameworks) folder and named it `remix-indie-stack`, if ever we want another stack as a fixture later --- Fixes shadcn-ui/ui#4967
53 lines
938 B
TOML
53 lines
938 B
TOML
app = "indie-stack-template"
|
|
|
|
kill_signal = "SIGINT"
|
|
kill_timeout = 5
|
|
processes = []
|
|
swap_size_mb = 512
|
|
|
|
[experimental]
|
|
allowed_public_ports = []
|
|
auto_rollback = true
|
|
cmd = "start.sh"
|
|
entrypoint = "sh"
|
|
|
|
[mounts]
|
|
source = "data"
|
|
destination = "/data"
|
|
|
|
[[services]]
|
|
internal_port = 8080
|
|
processes = ["app"]
|
|
protocol = "tcp"
|
|
script_checks = []
|
|
|
|
[services.concurrency]
|
|
hard_limit = 25
|
|
soft_limit = 20
|
|
type = "connections"
|
|
|
|
[[services.ports]]
|
|
handlers = ["http"]
|
|
port = 80
|
|
force_https = true
|
|
|
|
[[services.ports]]
|
|
handlers = ["tls", "http"]
|
|
port = 443
|
|
|
|
[[services.tcp_checks]]
|
|
grace_period = "1s"
|
|
interval = "15s"
|
|
restart_limit = 0
|
|
timeout = "2s"
|
|
|
|
[[services.http_checks]]
|
|
interval = "10s"
|
|
grace_period = "5s"
|
|
method = "get"
|
|
path = "/healthcheck"
|
|
protocol = "http"
|
|
timeout = "2s"
|
|
tls_skip_verify = false
|
|
[services.http_checks.headers]
|