diff --git a/.devcontainer/basics/devcontainer.json b/.devcontainer/basics/devcontainer.json index e46548a8b..dd6b9a02c 100644 --- a/.devcontainer/basics/devcontainer.json +++ b/.devcontainer/basics/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/basics", + "workspaceFolder": "/workspaces/astro/examples/basics", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/blog/devcontainer.json b/.devcontainer/blog/devcontainer.json index c75c2c156..420c862ef 100644 --- a/.devcontainer/blog/devcontainer.json +++ b/.devcontainer/blog/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/blog", + "workspaceFolder": "/workspaces/astro/examples/blog", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/component/devcontainer.json b/.devcontainer/component/devcontainer.json index b7ef11c6a..a550e022b 100644 --- a/.devcontainer/component/devcontainer.json +++ b/.devcontainer/component/devcontainer.json @@ -1,27 +1,21 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/component", - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "customizations": { - "codespaces": { - "openFiles": [ - "src/MyComponent.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "workspaceFolder": "/workspaces/astro/examples/component", + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "customizations": { + "codespaces": { + "openFiles": ["src/MyComponent.astro"] + }, + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/deno/devcontainer.json b/.devcontainer/deno/devcontainer.json index e7404e622..e788fd7f8 100644 --- a/.devcontainer/deno/devcontainer.json +++ b/.devcontainer/deno/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.deno.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.deno.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/deno", + "workspaceFolder": "/workspaces/astro/examples/deno", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ed87f95e9..506ef87fc 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -18,16 +18,10 @@ "customizations": { "codespaces": { - "openFiles": [ - "README.md", - "CONTRIBUTING.md" - ] + "openFiles": ["README.md", "CONTRIBUTING.md"] }, "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } } diff --git a/.devcontainer/docs/devcontainer.json b/.devcontainer/docs/devcontainer.json index 9c57d9825..8bf71084d 100644 --- a/.devcontainer/docs/devcontainer.json +++ b/.devcontainer/docs/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/docs", + "workspaceFolder": "/workspaces/astro/examples/docs", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/framework-alpine/devcontainer.json b/.devcontainer/framework-alpine/devcontainer.json index 6e3293f1a..8cef52467 100644 --- a/.devcontainer/framework-alpine/devcontainer.json +++ b/.devcontainer/framework-alpine/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/framework-alpine", + "workspaceFolder": "/workspaces/astro/examples/framework-alpine", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/framework-lit/devcontainer.json b/.devcontainer/framework-lit/devcontainer.json index 2fbcfe74b..0ca36d894 100644 --- a/.devcontainer/framework-lit/devcontainer.json +++ b/.devcontainer/framework-lit/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/framework-lit", + "workspaceFolder": "/workspaces/astro/examples/framework-lit", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/framework-multiple/devcontainer.json b/.devcontainer/framework-multiple/devcontainer.json index fddd478e4..acbab0034 100644 --- a/.devcontainer/framework-multiple/devcontainer.json +++ b/.devcontainer/framework-multiple/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/framework-multiple", + "workspaceFolder": "/workspaces/astro/examples/framework-multiple", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/framework-preact/devcontainer.json b/.devcontainer/framework-preact/devcontainer.json index f5a46a7ff..6d35b5571 100644 --- a/.devcontainer/framework-preact/devcontainer.json +++ b/.devcontainer/framework-preact/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/framework-preact", + "workspaceFolder": "/workspaces/astro/examples/framework-preact", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/framework-react/devcontainer.json b/.devcontainer/framework-react/devcontainer.json index f6b019dcd..03f2dd8f0 100644 --- a/.devcontainer/framework-react/devcontainer.json +++ b/.devcontainer/framework-react/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/framework-react", + "workspaceFolder": "/workspaces/astro/examples/framework-react", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/framework-solid/devcontainer.json b/.devcontainer/framework-solid/devcontainer.json index e4e980a21..d73ccb573 100644 --- a/.devcontainer/framework-solid/devcontainer.json +++ b/.devcontainer/framework-solid/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/framework-solid", + "workspaceFolder": "/workspaces/astro/examples/framework-solid", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/framework-svelte/devcontainer.json b/.devcontainer/framework-svelte/devcontainer.json index 3b75f0417..d673d94d0 100644 --- a/.devcontainer/framework-svelte/devcontainer.json +++ b/.devcontainer/framework-svelte/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/framework-svelte", + "workspaceFolder": "/workspaces/astro/examples/framework-svelte", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/framework-vue/devcontainer.json b/.devcontainer/framework-vue/devcontainer.json index 7f55d94db..3f9f2302e 100644 --- a/.devcontainer/framework-vue/devcontainer.json +++ b/.devcontainer/framework-vue/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/framework-vue", + "workspaceFolder": "/workspaces/astro/examples/framework-vue", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/hackernews/devcontainer.json b/.devcontainer/hackernews/devcontainer.json index abf263340..debe9557b 100644 --- a/.devcontainer/hackernews/devcontainer.json +++ b/.devcontainer/hackernews/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/hackernews", + "workspaceFolder": "/workspaces/astro/examples/hackernews", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/[...stories].astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/[...stories].astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/integration/devcontainer.json b/.devcontainer/integration/devcontainer.json index 3e929b961..d9fc07f12 100644 --- a/.devcontainer/integration/devcontainer.json +++ b/.devcontainer/integration/devcontainer.json @@ -1,27 +1,21 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/integration", - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "customizations": { - "codespaces": { - "openFiles": [ - "index.ts" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "workspaceFolder": "/workspaces/astro/examples/integration", + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "customizations": { + "codespaces": { + "openFiles": ["index.ts"] + }, + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/minimal/devcontainer.json b/.devcontainer/minimal/devcontainer.json index cad1a634a..c1463901e 100644 --- a/.devcontainer/minimal/devcontainer.json +++ b/.devcontainer/minimal/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/minimal", + "workspaceFolder": "/workspaces/astro/examples/minimal", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/non-html-pages/devcontainer.json b/.devcontainer/non-html-pages/devcontainer.json index 68e92fd34..97e0be06b 100644 --- a/.devcontainer/non-html-pages/devcontainer.json +++ b/.devcontainer/non-html-pages/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/non-html-pages", + "workspaceFolder": "/workspaces/astro/examples/non-html-pages", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/portfolio/devcontainer.json b/.devcontainer/portfolio/devcontainer.json index b24dc5306..76ac10a00 100644 --- a/.devcontainer/portfolio/devcontainer.json +++ b/.devcontainer/portfolio/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/portfolio", + "workspaceFolder": "/workspaces/astro/examples/portfolio", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/ssr/devcontainer.json b/.devcontainer/ssr/devcontainer.json index 8990e1258..af267e735 100644 --- a/.devcontainer/ssr/devcontainer.json +++ b/.devcontainer/ssr/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/ssr", + "workspaceFolder": "/workspaces/astro/examples/ssr", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/with-markdown-plugins/devcontainer.json b/.devcontainer/with-markdown-plugins/devcontainer.json index 3ddb25c73..68a4db70d 100644 --- a/.devcontainer/with-markdown-plugins/devcontainer.json +++ b/.devcontainer/with-markdown-plugins/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/with-markdown-plugins", + "workspaceFolder": "/workspaces/astro/examples/with-markdown-plugins", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.md"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.md" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/with-markdown-shiki/devcontainer.json b/.devcontainer/with-markdown-shiki/devcontainer.json index c35d865f8..74795314c 100644 --- a/.devcontainer/with-markdown-shiki/devcontainer.json +++ b/.devcontainer/with-markdown-shiki/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/with-markdown-shiki", + "workspaceFolder": "/workspaces/astro/examples/with-markdown-shiki", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.md"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.md" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/with-mdx/devcontainer.json b/.devcontainer/with-mdx/devcontainer.json index b1953e3c1..a7f4d34a5 100644 --- a/.devcontainer/with-mdx/devcontainer.json +++ b/.devcontainer/with-mdx/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/with-mdx", + "workspaceFolder": "/workspaces/astro/examples/with-mdx", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.mdx"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.mdx" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/with-nanostores/devcontainer.json b/.devcontainer/with-nanostores/devcontainer.json index 595049596..dc0b86c21 100644 --- a/.devcontainer/with-nanostores/devcontainer.json +++ b/.devcontainer/with-nanostores/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/with-nanostores", + "workspaceFolder": "/workspaces/astro/examples/with-nanostores", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/with-tailwindcss/devcontainer.json b/.devcontainer/with-tailwindcss/devcontainer.json index 95427f1dc..b11051d74 100644 --- a/.devcontainer/with-tailwindcss/devcontainer.json +++ b/.devcontainer/with-tailwindcss/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/with-tailwindcss", + "workspaceFolder": "/workspaces/astro/examples/with-tailwindcss", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/with-vite-plugin-pwa/devcontainer.json b/.devcontainer/with-vite-plugin-pwa/devcontainer.json index 5d01f232f..18602e713 100644 --- a/.devcontainer/with-vite-plugin-pwa/devcontainer.json +++ b/.devcontainer/with-vite-plugin-pwa/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/with-vite-plugin-pwa", + "workspaceFolder": "/workspaces/astro/examples/with-vite-plugin-pwa", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/.devcontainer/with-vitest/devcontainer.json b/.devcontainer/with-vitest/devcontainer.json index 672fc5f59..90388574a 100644 --- a/.devcontainer/with-vitest/devcontainer.json +++ b/.devcontainer/with-vitest/devcontainer.json @@ -1,40 +1,34 @@ { - "name": "Astro Examples", - "build": { - "dockerfile": "../examples.Dockerfile" - }, + "name": "Astro Examples", + "build": { + "dockerfile": "../examples.Dockerfile" + }, - "workspaceFolder": "/workspaces/astro/examples/with-vitest", + "workspaceFolder": "/workspaces/astro/examples/with-vitest", - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000], + + "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", + + "waitFor": "postCreateCommand", + + "postAttachCommand": { + "Server": "pnpm start --host" + }, + + "customizations": { + "codespaces": { + "openFiles": ["src/pages/index.astro"] }, - - "forwardPorts": [3000], - - "postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build", - - "waitFor": "postCreateCommand", - - "postAttachCommand": { - "Server": "pnpm start --host" - }, - - "customizations": { - "codespaces": { - "openFiles": [ - "src/pages/index.astro" - ] - }, - "vscode": { - "extensions": [ - "astro-build.astro-vscode", - "esbenp.prettier-vscode" - ] - } + "vscode": { + "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] } } - \ No newline at end of file +} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 58bafd07c..6af7c9859 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,7 +40,7 @@ pnpx npm-merge-driver install --driver-name pnpm-merge-driver --driver "pnpm-mer ### Using GitHub Codespaces for development -To get started, create a codespace for this repository by clicking this 👇 +To get started, create a codespace for this repository by clicking this 👇 [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro)