Commit graph

9 commits

Author SHA1 Message Date
Emanuele Stoppa
1b7dd11823
feat: change default port to 4321 (#7874)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-08-01 16:31:42 +01:00
Ofer Shaal
a5b659e91c
fix: always get latest pnpm (#4571)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-31 11:13:06 -05:00
Maina Wycliffe
f2989ec73b
Add a Github Codespace Config based on gitpod dockerfile (#4185)
* Add a codespace config based on gitpod dockerfile

This will ensure contributors using Github Codespaces also have to
correct environemnt setup, with all packages installed.

* chore: rename Dockerfile

Co-authored-by: Nate Moore <nate@astro.build>
2022-08-08 12:22:32 -05:00
Ofer Shaal
8f13b3d406
logic for opening example projects (#2811) 2022-03-16 10:24:01 -05:00
Ofer Shaal
60fe7bd41e
Gitpod setup improvements (#2789)
* install latest pnpm version in docker image

* Add astro-build vscode extension in Gitpod setup

* automatically open preview when port 3000 is used

* run astro build during prebuild

* Run starter demo when starting this workspace

* and $ASTRO_NEW to run specific example

* open index.astro of selected project

* Add sleep 1 before running code command

* use `gp await-port` instead of sleep
2022-03-15 16:03:26 -05:00
Nate Moore
d08ddaf5b9
Move from yarn to pnpm (#2455)
* chore: `yarn` => `pnpm`

* docs: `yarn` => `pnpm`

* chore(ci): yarn => pnpm

* chore(ci): update pnpm cache path

* fix: add missing deps

* fix: add missing deps

* test: add package.json to all test fixtures

* chore: improve hoisting behavior

* chore: move turbo into package.json

* chore: update npmrc

* fix: add missing `debug` dependency

* chore: remove prepare script

* test: fix new tests

* fix: fully resolve renderer paths and `astro/internal` path

* chore: update lockfile

* chore: remove log

* fix: resolve renderers in vite-plugin-jsx

* fix: prefer public-hoist-pattern to shamefully-hoist

* chore: ignore @babel/core peer warning

* chore: update dependencies

* test: add autoprefixer as explicit dep

* chore: update `.npmrc` file in examples

* chore: update dependencies

* fix: resolve renderer dependencies in static build

* fix: static build renderer resolution

* chore: fix smoke tests

* chore: hoist autoprefixer

* chore: update lockfile

* attempt: use full file:// path on Windows

* attempt: use astro/internal

* attempt: optimize astro/internal

* attempt: expose ./internal.js

* chore: add missing package.json files

* attempt: resolve astro/internal path

* chore: tidy package.json

* chore: update lockfile

* chore: update deps

* chore: update deps

* chore: yarn -> pnpm

* attempt: explicit /@fs urls

* attempt: explicit /@fs urls

* chore: update all examples for pnpm

* chore: fix hoisting for with-vite-plugin-pwa

* chore(ci): fix sharp install

* chore: update with-vite-plugin-pwa example

* fix: pin vite-plugin-pwa to 0.11.11

* fix: add workbox-window to vite-plugin-pwa deps

* refactor: use pnpm update --recursive

Co-authored-by: JuanM04 <me@juanm04.com>

* chore: yarn => pnpm

* chore: yarn => pnpm

* fix: update smoke test to skip examples which don't work in static build

* update lockfile

* chore: update .npmrc files

* chore: update lockfile

* fix: smoke script

* chore: update .npmrc file

* fix: return to shamefully-hoist (shamefully)

* chore: update lockfile

* fix(smoke): ignore scripts for smoke tests

* fix: update example to disable renderers

* chore: bump version

* chore(ci): fix smoke tests

* attempt: disable --frozen-lockfile for smoke tests

* chore: update smoke test

* chore: fix rebase issue

* chore: update lockfile

* fix: smoke tests

* fix(ci): run external smoke tests first

* fix(ci): run syntax

* chore: update lockfile

* fix(ci): ensure submodules are up-to-date

* fix(ci): ensure submodules are up-to-date

* chore: update lockfile

* chore: update for webapi

* chore: silence node:* warnings

* chore: update deps

* fix(ci): persist generated webapi assets

* fix(ci): webapi build script

* chore(ci): remove custom node caching

* chore: keep turbo.json

* chore: update turbo, ignore create-astro

* chore: update deps

* fix(ci): test command

* chore(ci): update test script

Co-authored-by: JuanM04 <me@juanm04.com>
2022-03-08 15:46:11 -06:00
Stephen Solka
72059058bc
Gitpod: Add astro vscode exts. Enable prebuild environments (#1394)
* add extensions to make dev easier

* turn on prebuilt env to enable faster dev

* [ci] yarn format

* [ci] collect stats

* [ci] collect stats

Co-authored-by: trashhalo <trashhalo@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-09-20 14:00:25 -07:00
jasikpark
c36c9ba200 [ci] yarn format 2021-09-08 17:40:48 +00:00
Caleb Jasik
64b86f3769
Add .gitpod.yml for continuous prebuilds for speedy project startup! (#1328) 2021-09-08 12:39:30 -05:00