-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'astro/' from commit 'f219e1862b930475dfc61e73b390bb4fbf9e305e'
- Loading branch information
Showing
3,584 changed files
with
174,736 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM gitpod/workspace-node | ||
|
||
# Install latest pnpm | ||
RUN curl -fsSL https://get.pnpm.io/install.sh | SHELL=`which bash` bash - | ||
|
||
# Install deno in gitpod | ||
RUN curl -fsSL https://deno.land/x/install/install.sh | sh | ||
RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/config@1.7.0/schema.json", | ||
"changelog": ["@changesets/changelog-github", { "repo": "withastro/astro" }], | ||
"commit": false, | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { | ||
"onlyUpdatePeerDependentsWhenOutOfRange": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'astro': patch | ||
--- | ||
|
||
Update `experimental.assets`'s `image.service` configuration to allow for a config option in addition to an entrypoint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@astrojs/cloudflare": patch | ||
--- | ||
|
||
Fix missing code language in Cloudflare README |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM mcr.microsoft.com/devcontainers/javascript-node:0-18 | ||
|
||
# Install playwright | ||
RUN npm install -g @playwright/test | ||
|
||
# Install latest pnpm | ||
RUN npm install -g pnpm | ||
|
||
# Install deno | ||
ENV DENO_INSTALL=/usr/local | ||
RUN curl -fsSL https://deno.land/x/install/install.sh | sh | ||
|
||
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
&& curl -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_$(dpkg --print-architecture).deb -o /tmp/chrome.deb \ | ||
&& apt-get -y install /tmp/chrome.deb | ||
|
||
COPY welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "Basics", | ||
"build": { | ||
"dockerfile": "../examples.Dockerfile" | ||
}, | ||
|
||
"workspaceFolder": "/workspaces/astro/examples/basics", | ||
|
||
"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"] | ||
}, | ||
"vscode": { | ||
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "Blog", | ||
"build": { | ||
"dockerfile": "../examples.Dockerfile" | ||
}, | ||
|
||
"workspaceFolder": "/workspaces/astro/examples/blog", | ||
|
||
"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"] | ||
}, | ||
"vscode": { | ||
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "Component Template", | ||
"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"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "Deno", | ||
"build": { | ||
"dockerfile": "../examples.deno.Dockerfile" | ||
}, | ||
|
||
"workspaceFolder": "/workspaces/astro/examples/deno", | ||
|
||
"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"] | ||
}, | ||
"vscode": { | ||
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "Contribute to Astro", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
|
||
"features": { | ||
"ghcr.io/devcontainers/features/desktop-lite:1": {} | ||
}, | ||
|
||
"postCreateCommand": "pnpm install && pnpm run build", | ||
|
||
"waitFor": "postCreateCommand", | ||
|
||
"postAttachCommand": { | ||
"Astro tests": "pnpm run test" | ||
}, | ||
|
||
"customizations": { | ||
"codespaces": { | ||
"openFiles": ["README.md", "CONTRIBUTING.md"] | ||
}, | ||
"vscode": { | ||
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "Docs Site", | ||
"build": { | ||
"dockerfile": "../examples.Dockerfile" | ||
}, | ||
|
||
"workspaceFolder": "/workspaces/astro/examples/docs", | ||
|
||
"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"] | ||
}, | ||
"vscode": { | ||
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
👋 Welcome to "Astro" in GitHub Codespaces! | ||
|
||
🛠️ Your environment is fully setup with all the required software. | ||
|
||
🚀 The example app should automatically start soon in a new terminal tab. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM mcr.microsoft.com/devcontainers/javascript-node:0-18 | ||
|
||
# Install latest pnpm | ||
RUN npm install -g pnpm | ||
|
||
COPY example-welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM mcr.microsoft.com/devcontainers/javascript-node:0-18 | ||
|
||
# Install latest pnpm | ||
RUN npm install -g pnpm | ||
|
||
# Install deno | ||
ENV DENO_INSTALL=/usr/local | ||
RUN curl -fsSL https://deno.land/x/install/install.sh | sh | ||
|
||
COPY example-welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "Alpine", | ||
"build": { | ||
"dockerfile": "../examples.Dockerfile" | ||
}, | ||
|
||
"workspaceFolder": "/workspaces/astro/examples/framework-alpine", | ||
|
||
"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"] | ||
}, | ||
"vscode": { | ||
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "Lit", | ||
"build": { | ||
"dockerfile": "../examples.Dockerfile" | ||
}, | ||
|
||
"workspaceFolder": "/workspaces/astro/examples/framework-lit", | ||
|
||
"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"] | ||
}, | ||
"vscode": { | ||
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "Kitchen Sink (Multiple Frameworks)", | ||
"build": { | ||
"dockerfile": "../examples.Dockerfile" | ||
}, | ||
|
||
"workspaceFolder": "/workspaces/astro/examples/framework-multiple", | ||
|
||
"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"] | ||
}, | ||
"vscode": { | ||
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] | ||
} | ||
} | ||
} |
Oops, something went wrong.