Skip to content

Commit

Permalink
Add 'astro/' from commit 'f219e1862b930475dfc61e73b390bb4fbf9e305e'
Browse files Browse the repository at this point in the history
git-subtree-dir: astro
git-subtree-mainline: f072931
git-subtree-split: f219e18
  • Loading branch information
Soltus committed Apr 28, 2023
2 parents f072931 + f219e18 commit a17c2bc
Show file tree
Hide file tree
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.
8 changes: 8 additions & 0 deletions astro/.Dockerfile
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
8 changes: 8 additions & 0 deletions astro/.changeset/README.md
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)
12 changes: 12 additions & 0 deletions astro/.changeset/config.json
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
}
}
5 changes: 5 additions & 0 deletions astro/.changeset/tall-news-hang.md
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
5 changes: 5 additions & 0 deletions astro/.changeset/tidy-singers-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/cloudflare": patch
---

Fix missing code language in Cloudflare README
17 changes: 17 additions & 0 deletions astro/.devcontainer/Dockerfile
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
34 changes: 34 additions & 0 deletions astro/.devcontainer/basics/devcontainer.json
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"]
}
}
}
34 changes: 34 additions & 0 deletions astro/.devcontainer/blog/devcontainer.json
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"]
}
}
}
21 changes: 21 additions & 0 deletions astro/.devcontainer/component/devcontainer.json
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"]
}
}
}
34 changes: 34 additions & 0 deletions astro/.devcontainer/deno/devcontainer.json
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"]
}
}
}
27 changes: 27 additions & 0 deletions astro/.devcontainer/devcontainer.json
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"]
}
}
}
34 changes: 34 additions & 0 deletions astro/.devcontainer/docs/devcontainer.json
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"]
}
}
}
5 changes: 5 additions & 0 deletions astro/.devcontainer/example-welcome-message.txt
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.
6 changes: 6 additions & 0 deletions astro/.devcontainer/examples.Dockerfile
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
10 changes: 10 additions & 0 deletions astro/.devcontainer/examples.deno.Dockerfile
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
34 changes: 34 additions & 0 deletions astro/.devcontainer/framework-alpine/devcontainer.json
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"]
}
}
}
34 changes: 34 additions & 0 deletions astro/.devcontainer/framework-lit/devcontainer.json
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"]
}
}
}
34 changes: 34 additions & 0 deletions astro/.devcontainer/framework-multiple/devcontainer.json
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"]
}
}
}
Loading

0 comments on commit a17c2bc

Please sign in to comment.