Skip to content

Commit c071458

Browse files
authored
chore: removed adapters cleanup (withastro#8726)
* update ci, readme, comments, remote workspaces * fix hosted test fixture * keep adapter config typedocs
1 parent 0ab6bad commit c071458

12 files changed

Lines changed: 16 additions & 83 deletions

File tree

.Dockerfile

Lines changed: 0 additions & 8 deletions
This file was deleted.

.devcontainer/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ RUN npm install -g @playwright/test
66
# Install latest pnpm
77
RUN npm install -g pnpm
88

9-
# Install deno
10-
ENV DENO_INSTALL=/usr/local
11-
RUN curl -fsSL https://deno.land/x/install/install.sh | sh
12-
139
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
1410
&& curl -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_$(dpkg --print-architecture).deb -o /tmp/chrome.deb \
1511
&& apt-get -y install /tmp/chrome.deb

.devcontainer/deno/devcontainer.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

.devcontainer/examples.deno.Dockerfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,6 @@ jobs:
133133
node-version: ${{ matrix.NODE_VERSION }}
134134
cache: "pnpm"
135135

136-
- name: Use Deno
137-
uses: denoland/setup-deno@v1
138-
with:
139-
deno-version: v1.35.0
140-
141136
- name: Install dependencies
142137
run: pnpm install
143138

.github/workflows/test-hosts.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ env:
1111
VERCEL_ORG_ID: ${{ secrets.VERCEL_TEST_ORG_ID }}
1212
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_TEST_PROJECT_ID }}
1313
VERCEL_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }}
14-
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_TEST_SITE_ID }}
15-
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_TEST_AUTH_TOKEN }}
1614
FORCE_COLOR: true
1715

1816
jobs:
@@ -34,22 +32,20 @@ jobs:
3432

3533
- name: Install dependencies
3634
run: pnpm install
35+
36+
- name: Build Astro
37+
run: pnpm turbo build --filter astro --filter @astrojs/vercel
3738

38-
- name: Install Hosts CLIs
39-
run: pnpm install --global netlify-cli vercel
40-
41-
- name: Deploy Vercel
39+
- name: Build test project
4240
working-directory: ./packages/integrations/vercel/test/hosted/hosted-astro-project
4341
run:
4442
pnpm run build
45-
vercel --prod --prebuilt
46-
47-
- name: Deploy Netlify
48-
working-directory: ./packages/integrations/netlify/test/hosted/hosted-astro-project
43+
44+
- name: Deploy to Vercel
45+
working-directory: ./packages/integrations/vercel/test/hosted/hosted-astro-project
4946
run:
50-
pnpm run build
51-
netlify deploy --prod
47+
pnpm dlx vercel --prod --prebuilt
5248

53-
- name: Test both hosts
49+
- name: Test
5450
run:
5551
pnpm run test:e2e:hosts

.gitpod.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
image:
3-
file: .Dockerfile
42
# Commands to start on workspace startup
53
tasks:
64
- before: |

.gitpod/gitpod-setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Convert context URL to an array
44
mapfile -t CONTEXT_URL_ITEMS < <(echo "$GITPOD_WORKSPACE_CONTEXT_URL" | tr '/' '\n')
55

6+
# Install latest pnpm
7+
curl -fsSL https://get.pnpm.io/install.sh | SHELL=`which bash` bash -
8+
69
# Check if Gitpod started from a specific example directory in the repository
710
if [ "${CONTEXT_URL_ITEMS[7]}" = "examples" ]; then
811
EXAMPLE_PROJECT=${CONTEXT_URL_ITEMS[8]}

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ Join us on [Discord](https://astro.build/chat) to meet other maintainers. We'll
5252
| [@astrojs/svelte](packages/integrations/svelte) | [![astro version](https://img.shields.io/npm/v/@astrojs/svelte.svg?label=%20)](packages/integrations/svelte/CHANGELOG.md) |
5353
| [@astrojs/vue](packages/integrations/vue) | [![astro version](https://img.shields.io/npm/v/@astrojs/vue.svg?label=%20)](packages/integrations/vue/CHANGELOG.md) |
5454
| [@astrojs/lit](packages/integrations/lit) | [![astro version](https://img.shields.io/npm/v/@astrojs/lit.svg?label=%20)](packages/integrations/lit/CHANGELOG.md) |
55-
| [@astrojs/deno](packages/integrations/deno) | [![astro version](https://img.shields.io/npm/v/@astrojs/deno.svg?label=%20)](packages/integrations/deno/CHANGELOG.md) |
56-
| [@astrojs/netlify](packages/integrations/netlify) | [![astro version](https://img.shields.io/npm/v/@astrojs/netlify.svg?label=%20)](packages/integrations/netlify/CHANGELOG.md) |
5755
| [@astrojs/node](packages/integrations/node) | [![astro version](https://img.shields.io/npm/v/@astrojs/node.svg?label=%20)](packages/integrations/node/CHANGELOG.md) |
5856
| [@astrojs/vercel](packages/integrations/vercel) | [![astro version](https://img.shields.io/npm/v/@astrojs/vercel.svg?label=%20)](packages/integrations/vercel/CHANGELOG.md) |
5957
| [@astrojs/cloudflare](packages/integrations/cloudflare) | [![astro version](https://img.shields.io/npm/v/@astrojs/cloudflare.svg?label=%20)](packages/integrations/cloudflare/CHANGELOG.md) |

examples/integration/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ export default function createIntegration(): AstroIntegration {
1010
// See the @astrojs/react integration for an example
1111
// https://github.com/withastro/astro/blob/main/packages/integrations/react/src/index.ts
1212
},
13-
'astro:build:setup': ({ config, updateConfig }) => {
14-
// See the @astrojs/netlify integration for an example
15-
// https://github.com/withastro/astro/blob/main/packages/integrations/netlify/src/integration-functions.ts
13+
'astro:build:setup': ({ pages, updateConfig }) => {
14+
// See the @astrojs/lit integration for an example
15+
// https://github.com/withastro/astro/blob/main/packages/integrations/lit/src/index.ts
1616
},
1717
'astro:build:done': ({ dir, routes }) => {
1818
// See the @astrojs/partytown integration for an example

0 commit comments

Comments
 (0)