Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
9240 commits
Select commit Hold shift + click to select a range
8d238bc
fix i18n fallback rewrites failing in server mode (#14017)
dmgawel Jul 2, 2025
eb39f8e
[ci] format
ematipico Jul 2, 2025
db8f8be
feat(node): experimental static headers (#13972)
ematipico Jul 2, 2025
98853ce
[ci] format
ematipico Jul 2, 2025
42562f9
fix(render): server islands in fragments (#14029)
ematipico Jul 2, 2025
a125a14
feat(node): experimentalDisableStreaming (#14012)
florian-lefebvre Jul 2, 2025
88b54d3
[ci] release (#14033)
astrobot-houston Jul 3, 2025
0c4d5f8
fix: run fallback view transition for old page only after dispatching…
dixslyf Jul 5, 2025
ff72ebe
[ci] format
martrapp Jul 5, 2025
faa0eff
feat: add Vite plugin to Netlify adapter (#13768)
eduardoboucas Jul 10, 2025
de5a253
Allow undefined domains (#14063)
RobbieTheWagner Jul 11, 2025
3276b79
fix(astro): add support for 'avis' brand in HEIF (#14045)
ghubo Jul 11, 2025
7cad7e8
[ci] release (#14047)
astrobot-houston Jul 14, 2025
10189c0
fix: Fix incorrect CSS import path in Tailwind integration setup (#14…
jsparkdev Jul 14, 2025
2dbf999
[ci] format
florian-lefebvre Jul 14, 2025
66e5594
feat(web-vitals): remove (#14075)
florian-lefebvre Jul 15, 2025
2eb77d8
fix(astro): drop baseUrl requirement for ts-paths (#14064)
jp-knj Jul 15, 2025
c2e16b3
[ci] format
florian-lefebvre Jul 15, 2025
38c2255
fix: regressions in Netlify adapter (#14078)
ascorbic Jul 16, 2025
8209353
[ci] format
ascorbic Jul 16, 2025
5ec5088
[ci] release (#14072)
astrobot-houston Jul 16, 2025
fe35ee2
don't coerce environment variable values when populating import.meta.…
adamhl8 Jul 17, 2025
6bd5f75
feat: Add TOML support to the built-in content loaders (#13941)
aditsachde Jul 17, 2025
d2305bc
fix punctuation in an error message (#14085)
sarah11918 Jul 17, 2025
ca05a2f
[ci] release (#14084)
astrobot-houston Jul 17, 2025
26c6b6d
fix: session options type fix (#14091)
ascorbic Jul 18, 2025
687d253
fix(astro): refresh loaded env (#14089)
florian-lefebvre Jul 18, 2025
93322cb
fix: Modify route priority logic so user routes are preferred (#14082)
louisescher Jul 18, 2025
a4065bb
[ci] format
ascorbic Jul 18, 2025
9dad686
chore: update integration links in README (#14083)
mrstork Jul 18, 2025
22e9087
fix: move priority prop to shared image props (#14094)
ascorbic Jul 18, 2025
04e6011
[ci] format
ascorbic Jul 18, 2025
42ef004
chore(vercel): change the default node version to 22. (#14077)
jat001 Jul 21, 2025
39e0be3
[ci] format
ascorbic Jul 21, 2025
fa9936b
docs: fix store.set in docs (#14096)
tiagovla Jul 21, 2025
144a950
fix(astro): prevent image service resolution on client build (#14074)
abcfy2 Jul 21, 2025
e92d6fa
fix(deps): update dependency pretty-bytes to v7 (#14052)
renovate[bot] Jul 21, 2025
69d6871
fix: upgrade Netlify Vite plugin (#14103)
ascorbic Jul 21, 2025
6692c71
fix: give live collections their own astro:content entrypoint (#14092)
ascorbic Jul 21, 2025
d271698
[ci] release (#14093)
astrobot-houston Jul 21, 2025
d2cb35d
fix: export lang types for use in custom component (#14071)
Grisoly Jul 21, 2025
c7a7dd5
fix(astro): add module declaration for `?no-inline` asset imports (#1…
jonasgeiler Jul 21, 2025
b5b39e4
fix: exit with non-zero code for Zod errors (#14106)
ascorbic Jul 21, 2025
5452ee6
fix: pass key argument as prop in JSX transform (#14111)
ascorbic Jul 22, 2025
31b4f95
[ci] format
ascorbic Jul 22, 2025
e7dd4e1
fix: warn if fie loader finds duplicate IDs (#14110)
ascorbic Jul 22, 2025
5a08fa2
fix: add stub for getLiveCollection in non-live contexts (#14109)
ascorbic Jul 22, 2025
5582be4
[ci] format
ascorbic Jul 22, 2025
37458b3
fix: make SVG imagemetadata serializable (#14112)
ascorbic Jul 22, 2025
1c20b7d
[ci] format
ascorbic Jul 22, 2025
7b154d6
[ci] release (#14105)
astrobot-houston Jul 22, 2025
c7acc25
chore: upgrade locked unstorage (#14113)
pieh Jul 23, 2025
4b03d9c
fix: reuse src url for srcset by matching validated transform instead…
dnek Jul 23, 2025
270e009
feat: support removal of sections from template readmes (#14115)
ascorbic Jul 23, 2025
798b5fa
fix: adds mock feature flags to the Netlify dev context object (#14120)
ascorbic Jul 23, 2025
14807a4
fix: don't try to create hydration entrypoints for Astro components (…
ascorbic Jul 23, 2025
50f25b3
[ci] format
ascorbic Jul 23, 2025
9362743
[ci] release (#14116)
astrobot-houston Jul 23, 2025
c2a347d
chore(deps): upgrade development tools (#14040)
ematipico Jul 24, 2025
9cfccc7
[ci] format
ematipico Jul 24, 2025
b49dab2
chore: dynamic preview releases (#14114)
florian-lefebvre Jul 24, 2025
ae457b7
test: preview release (#14125)
florian-lefebvre Jul 24, 2025
7fbe528
feat: merge preview release workflow (#14126)
florian-lefebvre Jul 24, 2025
2309ada
chore: upgrade zod (#14127)
florian-lefebvre Jul 24, 2025
3572d85
fix(csp): header in response header (#14129)
ematipico Jul 25, 2025
976879a
fix(routing): update `routePattern` when using sequence (#14132)
ematipico Jul 25, 2025
e9206c1
fix(astro): fix svg content-based deduplication (#14031)
jp-knj Jul 25, 2025
85f5aae
[ci] format
ematipico Jul 25, 2025
186c201
fix: throw early for server islands without adapter (#14134)
ascorbic Jul 25, 2025
8491aa5
[ci] format
ascorbic Jul 25, 2025
aafc4d7
fix: show 500.astro if error occurs in middleware (#14131)
florian-lefebvre Jul 26, 2025
c12e216
[ci] release (#14128)
astrobot-houston Jul 28, 2025
e4d74ba
fix(node): emit set-cookie header from middlewares for not-found rout…
ColoredCarrot Jul 28, 2025
211968c
fix: recognize a custom default image node component (#14147)
birtles Jul 28, 2025
42cb647
[ci] format
ematipico Jul 28, 2025
19f53eb
Fix: [i18n] Dynamic spread route in [locale] folder causes false-posi…
benosmac Jul 29, 2025
31822c3
fix: use hasOwnProperty to check for adapter start export (#14155)
ascorbic Jul 29, 2025
09b533b
[ci] release (#14149)
astrobot-houston Jul 29, 2025
89e9364
fix: update spawn command to concatenate command and flags (#14158)
bjohansebas Jul 30, 2025
d699956
Fix issue label typo in issue triage docs (#14164)
delucis Jul 30, 2025
d2e25c6
fix: sanitize generated image filenames (#14160)
ascorbic Jul 30, 2025
cf3b5ed
[ci] format
ascorbic Jul 30, 2025
29e9283
fix(astro): fix a regression that breaks builds when the same SVG is …
jp-knj Jul 30, 2025
8ee6276
chore: add link to changeset style guide in PR template (#14166)
ascorbic Jul 30, 2025
592f08d
Fix form submission with client router if a hash exists in the curren…
TheOtterlord Jul 30, 2025
67e2f60
[ci] format
florian-lefebvre Jul 30, 2025
62bd071
fix: try to get session id from cookie when destroying an unloaded se…
ascorbic Jul 30, 2025
bb9e945
[ci] release (#14163)
astrobot-houston Jul 30, 2025
c86b5bb
chore(deps): update github-actions (#14144)
renovate[bot] Jul 30, 2025
34e6b3a
fix(routing): static redirect with prerendered route (#14170)
ematipico Jul 31, 2025
540f27e
fix(deps): update astro client runtimes (#14024)
renovate[bot] Jul 31, 2025
2fa34e4
fix(deps): update dependency terminal-link to v4 (#14145)
renovate[bot] Jul 31, 2025
f4e8889
fix: skip trailing slash redirection for more internal paths (#14169)
ascorbic Jul 31, 2025
f76eeaa
[ci] format
ascorbic Jul 31, 2025
5eaf524
[ci] release (#14171)
astrobot-houston Jul 31, 2025
b36e72f
feat: remove studio (#13894)
florian-lefebvre Jul 31, 2025
2002512
fix: retry upgrade with `--legacy-peer-deps` if npm has peer dep erro…
ascorbic Aug 1, 2025
0567fb7
Merge commit from fork
ascorbic Aug 1, 2025
0f0a4c4
[ci] release (#14172)
astrobot-houston Aug 1, 2025
1e1cef0
fix(netlify): update deps (#14175)
ematipico Aug 1, 2025
0d5b690
Update announcements message to link to releases (#14168)
TheOtterlord Aug 1, 2025
e0c4460
test: enable test for style preprocess error line highlighting (#14182)
bjohansebas Aug 4, 2025
9fe883e
fix(db): update types for AstroDB to align with new drizzle-orm types…
Adammatthiesen Aug 5, 2025
c8202b4
[ci] release (#14178)
astrobot-houston Aug 5, 2025
9518975
fix(astro): prevent double-prefixed output paths (#14020)
jp-knj Aug 5, 2025
5a88918
chore: update editor settings (#14195)
ematipico Aug 7, 2025
3e4cb8e
fix: fix HMR for styles (#14199)
ascorbic Aug 8, 2025
7abde79
refactor astro sessions to use cf kv binding (#14066)
alexanderniebuhr Aug 8, 2025
ed82caf
[ci] format
ascorbic Aug 8, 2025
438adab
feat(db): Adds enum support to text column (#14190)
Adammatthiesen Aug 8, 2025
e3422aa
feat: add support for specifying a prerendered error page host (#14188)
ascorbic Aug 8, 2025
56a05aa
[ci] format
ascorbic Aug 8, 2025
dc9e35c
[ci] release (#14189)
astrobot-houston Aug 8, 2025
806d2dc
chore: add additional contributor to changelog (#14203)
ematipico Aug 8, 2025
91283b5
fix(db): Fix type casting for text column and enum handling (#14207)
Adammatthiesen Aug 10, 2025
b065f61
[ci] format
Adammatthiesen Aug 10, 2025
3d9d2d0
[ci] release (#14209)
astrobot-houston Aug 10, 2025
5824b32
feat(@astro/sitemap): custom sitemaps (#13682)
gouravkhunger Aug 13, 2025
cad3cc6
[ci] format
ematipico Aug 13, 2025
41ed3ac
feat: add automatic chrome workspace handling (#14122)
ascorbic Aug 13, 2025
39911b8
feat: experimental static import.meta.env (#14173)
florian-lefebvre Aug 13, 2025
b33780d
[ci] format
ematipico Aug 13, 2025
5fc3c59
Merge commit from fork
ematipico Aug 14, 2025
d55b88a
[ci] format
ematipico Aug 14, 2025
a186848
[ci] release (#14217)
astrobot-houston Aug 14, 2025
f2490ab
Fix automatic Chrome DevTools workspace feature (#14225)
delucis Aug 14, 2025
1591bc7
[ci] release (#14227)
astrobot-houston Aug 15, 2025
4d16de7
Merge commit from fork
ematipico Aug 15, 2025
1040510
[ci] format
ematipico Aug 15, 2025
9288133
[ci] release (#14232)
astrobot-houston Aug 15, 2025
dd481c8
chore(assets): compose source URL later (#14237)
ematipico Aug 18, 2025
d95fbaf
[ci] format
ematipico Aug 18, 2025
77b18fb
Update Astro peer dependency in adapters with auto-enabled sessions (…
delucis Aug 18, 2025
eadc9dd
Fix `file()` loader JSON schema (#14221)
delucis Aug 18, 2025
1a9107a
Properly compute `currentLocale` when `path` segment contains `.html`…
jonmichaeldarby Aug 19, 2025
682d8b8
[ci] format
ematipico Aug 19, 2025
d7d93e1
fix(sync): add missing live check for generating content collections …
wtchnm Aug 19, 2025
f1a3a85
Run tests separately for different packages in CI (#14226)
delucis Aug 19, 2025
896886c
fix(@astro/sitemap): include `lastmod` for sitemap entries (#14233)
gouravkhunger Aug 20, 2025
15b55f3
Filter duplicate exports from Cloudflare adapter's `namedExports` (#1…
yanthomasdev Aug 22, 2025
02366e9
fix: don't warnign when using in static build (#14259)
ascorbic Aug 22, 2025
5c1386e
docs: update name of automated changeset release PR (#14261)
trueberryless Aug 22, 2025
d471be5
[ci] release (#14242)
astrobot-houston Aug 22, 2025
e81c4bd
fix(astro): action named apply (#14248)
julesyoungberg Aug 26, 2025
86a1e40
fix(astro): Astro.url.pathname respects trailingSlash: 'never' with b…
jp-knj Aug 27, 2025
73bf284
[ci] format
ematipico Aug 27, 2025
c984507
docs: remove experimental notice (#14266)
trueberryless Aug 27, 2025
4823c42
feat(netlify): dev context (#14269)
florian-lefebvre Aug 27, 2025
9ecf359
Merge commit from fork
alexanderniebuhr Aug 27, 2025
fbec0e0
[ci] format
ematipico Aug 27, 2025
24b04c1
[ci] release (#14267)
astrobot-houston Aug 27, 2025
3e2f20d
feat(fonts): csp 2 (#14275)
florian-lefebvre Aug 27, 2025
9489885
fix(cloudflare): tests (#14278)
florian-lefebvre Aug 28, 2025
dfd88de
fix: remove accidental node builtin imports (#14281)
ascorbic Aug 28, 2025
3224637
fix(csp): CSP headers in development server (#14283)
ematipico Aug 28, 2025
09c5db3
refactor(csp): move methods inside `csp` getter (#14286)
ematipico Aug 29, 2025
72ab59b
[ci] format
ematipico Aug 29, 2025
77281c4
fix: add missing export for a documented image service utility (#14276)
ArmandPhilippot Aug 29, 2025
4b9fb73
fix: don't lose cookies in middleware sequences (#14280)
ascorbic Aug 29, 2025
e21da85
[ci] format
ascorbic Aug 29, 2025
da4182d
fix(vercel): static headers (#14039)
ematipico Aug 29, 2025
ed493a6
fix(vercel): ensure srcset widths are always from configured list (#1…
ascorbic Aug 29, 2025
71562f2
[ci] release (#14277)
astrobot-houston Aug 29, 2025
e005855
revert history function caching (#14294)
martrapp Sep 1, 2025
266be7c
docs(tailwind): restore tailwind readme and changelog as stub (#14296)
Adammatthiesen Sep 1, 2025
aa26160
[ci] format
delucis Sep 1, 2025
bbd964d
chore: update astro e2e deps (#14304)
florian-lefebvre Sep 3, 2025
f74f063
[ci] format
florian-lefebvre Sep 3, 2025
bdc8ce2
fix(deps): update astro dependencies (#14305)
florian-lefebvre Sep 3, 2025
42a2cc5
fix(deps): update astro dependencies (#14307)
florian-lefebvre Sep 3, 2025
d63f6bb
fix(deps): update astro dependencies (#13749)
renovate[bot] Sep 3, 2025
0eba233
fix(deps): update astro dependencies (#14308)
florian-lefebvre Sep 3, 2025
0b0d9ed
fix(deps): update astro client runtimes (#14184)
renovate[bot] Sep 3, 2025
ae8f29d
fix(deps): update astro adapters (#13854)
renovate[bot] Sep 3, 2025
d4b67f6
fix(deps): update dependency devalue to v5.3.2 [security] (#14272)
renovate[bot] Sep 3, 2025
85e1032
fix(deps): update dependency tinyexec to v1 (#14185)
renovate[bot] Sep 3, 2025
1a44823
fix(deps): update all non-major dependencies (#13700)
renovate[bot] Sep 3, 2025
68fdf6e
feat: add flag with multi thread (#14312)
jp-knj Sep 4, 2025
218e070
Fix: Dynamic route split regex (#14108)
JusticeMatthew Sep 5, 2025
c24a8f4
fix(vite): update `vite` to fix CVE (#14326)
jsparkdev Sep 8, 2025
d0d7225
chore(deps): update dependency svelte to ^5.38.7 (#14322)
renovate[bot] Sep 8, 2025
c1033be
fix: pin simple-swizzle (#14327)
ascorbic Sep 8, 2025
aa7bebd
[ci] release (#14295)
astrobot-houston Sep 8, 2025
904d337
chore(deps): update github-actions (#14323)
renovate[bot] Sep 9, 2025
17c7b03
feat: update sharp (#14335)
florian-lefebvre Sep 9, 2025
72e14ab
fix: remove the pinned simple-swizzle (#14330)
ascorbic Sep 9, 2025
468c845
[ci] release (#14336)
astrobot-houston Sep 9, 2025
f75fd99
Attach declarative Shadow DOM templates during view transition (#14341)
delucis Sep 10, 2025
13f7d36
fix(astro): type assertions (#14343)
florian-lefebvre Sep 11, 2025
d71448e
feat(db): add support for non-node libsql client (#14204)
Adammatthiesen Sep 11, 2025
107d8a2
[ci] format
Adammatthiesen Sep 11, 2025
a671925
chore: update internal convention (#14349)
ematipico Sep 12, 2025
c54b11e
[ci] format
ematipico Sep 12, 2025
bd4a70b
feat: Add Vite version & integration versions to `astro info` (#14300)
louisescher Sep 12, 2025
f7a1999
[ci] format
ematipico Sep 12, 2025
a6c750c
bump devalue (#14346)
GameRoMan Sep 14, 2025
9e4ca33
fix: Read in package versions for CLI tests (#14354)
louisescher Sep 14, 2025
f1ad066
[ci] format
florian-lefebvre Sep 14, 2025
46f6ab5
fix(deps): update all non-major dependencies (#14355)
renovate[bot] Sep 15, 2025
f59581f
fix: log errors for invalid content config (#14350)
ascorbic Sep 15, 2025
76c397e
fix(deps): update dependency @astrojs/node to v9.4.1 [security] (#14351)
renovate[bot] Sep 15, 2025
a791684
fix(deps): update astro adapters (#14356)
renovate[bot] Sep 15, 2025
1d1b84a
fix: Skip `astro info` version tests in ecosystem CI due to manual ve…
louisescher Sep 16, 2025
8790cac
[ci] format
ascorbic Sep 16, 2025
a89fb9f
fix: Add minimumReleaseAge to pnpm workspace and renovate (#14388)
louisescher Sep 16, 2025
bedc31b
feat(sitemap): add namespaces configuration option (#14285)
jdcolombo Sep 17, 2025
ccf0c14
[ci] format
florian-lefebvre Sep 17, 2025
3c14936
[ci] release (#14342)
astrobot-houston Sep 17, 2025
16bb9f0
chore: Bump pnpm version to 10.17.0 to avoid issues with the (#14397)
louisescher Sep 18, 2025
54dcd04
Remove warning for bun, causing unexpected console spam (#14402)
FredKSchott Sep 19, 2025
995e0bd
chore(astro): split v4 changelog (#14403)
florian-lefebvre Sep 19, 2025
b249684
[ci] release (#14404)
astrobot-houston Sep 19, 2025
6b92b3d
chore(astro): todos cleanup (#14405)
florian-lefebvre Sep 19, 2025
1e2499e
fix(internal-helpers): improve isRemotePath to handle backslash URLs …
matthewp Sep 22, 2025
74aae3f
[ci] format
ascorbic Sep 22, 2025
29ff12f
[ci] release (#14416)
astrobot-houston Sep 22, 2025
250a595
fix: Don't log error to console if package manager fails to get versi…
louisescher Sep 22, 2025
a7df80d
fix(types): remove invalid `name: never` from AddServerRenderer (#14398)
idawnlight Sep 22, 2025
3be9746
fix(deps): update astro client runtimes (#14415)
renovate[bot] Sep 22, 2025
691e5b8
[ci] format
florian-lefebvre Sep 22, 2025
ac888b7
fix(deps): update all non-major dependencies (#14414)
renovate[bot] Sep 22, 2025
181ff1a
Revert "fix(deps): update all non-major dependencies (#14414)" (#14422)
florian-lefebvre Sep 22, 2025
cd0fac8
Revert "fix(deps): update astro client runtimes (#14415)" (#14425)
florian-lefebvre Sep 23, 2025
a601186
fix: relative urls in tsdoc do not work in editors (#14411)
GameRoMan Sep 23, 2025
2b4c031
feat(fonts): better dev hashes (#14279)
florian-lefebvre Sep 23, 2025
120866f
feat(core): passes `controller.signal` into the `new Request` (#13747)
jp-knj Sep 23, 2025
61ccdfc
[ci] format
florian-lefebvre Sep 23, 2025
ad26fa2
refactor(astro): export zod and index from src (#14392)
florian-lefebvre Sep 23, 2025
32a8acb
Force sharpService to return a Uint8Array if sharp returns a SharedAr…
drfuzzyness Sep 24, 2025
ef7fdb7
[ci] format
florian-lefebvre Sep 24, 2025
78011ba
feat(svelte): add support for async rendering (#14430)
ascorbic Sep 24, 2025
9cc8f21
fix(svelte): detect Svelte components with renamed renderer prop (#14…
ascorbic Sep 24, 2025
784ceba
[ci] release (#14418)
astrobot-houston Sep 24, 2025
f75f446
Stabilize React 19 + Actions APIs (#14386)
yanthomasdev Sep 24, 2025
16a23e2
Warn or fail on prerendered route collision (#14206)
Fryuni Sep 24, 2025
69572c0
feat(fonts): getFontData (#13811)
florian-lefebvre Sep 24, 2025
a31edb8
feat(core): add `routePattern` to `GetStaticPathsOptions` (#13520)
openscript Sep 24, 2025
a98ce3c
[ci] format
ascorbic Sep 24, 2025
dcfbd8c
feat(types): add SvgComponent type and update SVG module declaration …
ADTC Sep 24, 2025
69c00d6
chore: add CHANGELOG.md to .prettierignore (#14435)
florian-lefebvre Sep 25, 2025
731c07d
[ci] release (#14434)
astrobot-houston Sep 25, 2025
b0cffe7
Fix name of new flag in changelog (#14437)
bdukes Sep 26, 2025
bdcd9e0
docs: Clarification in ResponseSentError cause (#14391)
mauriciabad Sep 26, 2025
47df8f2
[ci] format
florian-lefebvre Sep 26, 2025
a3e16ab
fix(astro): invalid font url (#14440)
florian-lefebvre Sep 26, 2025
1f7ec7d
fix: changelog code snippet (#14443)
florian-lefebvre Sep 26, 2025
a759c1f
[ci] release (#14442)
astrobot-houston Sep 26, 2025
cd34dd8
chore: add changeset validation workflow (#14447)
ascorbic Sep 26, 2025
b03ce8a
chore(deps): update github-actions (#14451)
renovate[bot] Sep 29, 2025
667bd64
fix(deps): update all non-major dependencies (#14450)
renovate[bot] Sep 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 5 additions & 3 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"$schema": "https://unpkg.com/@changesets/config@1.7.0/schema.json",
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "withastro/astro" }],
"commit": false,
"linked": [],
"access": "public",
"baseBranch": "main",
"baseBranch": "origin/main",
"updateInternalDependencies": "patch",
"ignore": ["@example/*", "@test/*"]
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
5 changes: 0 additions & 5 deletions .changeset/pretty-pumpkins-work.md

This file was deleted.

13 changes: 13 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM mcr.microsoft.com/devcontainers/javascript-node:1-18

# Install playwright
RUN npm install -g @playwright/test

# Install latest pnpm
RUN npm install -g pnpm

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 .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": {
"4321": {
"label": "Application",
"onAutoForward": "openPreview"
}
},

"forwardPorts": [4321],

"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 .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": {
"4321": {
"label": "Application",
"onAutoForward": "openPreview"
}
},

"forwardPorts": [4321],

"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 .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"]
}
}
}
27 changes: 27 additions & 0 deletions .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 .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": {
"4321": {
"label": "Application",
"onAutoForward": "openPreview"
}
},

"forwardPorts": [4321],

"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 .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 .devcontainer/examples.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM mcr.microsoft.com/devcontainers/javascript-node:1-18

# Install latest pnpm
RUN npm install -g pnpm

COPY example-welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
34 changes: 34 additions & 0 deletions .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": {
"4321": {
"label": "Application",
"onAutoForward": "openPreview"
}
},

"forwardPorts": [4321],

"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 .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": {
"4321": {
"label": "Application",
"onAutoForward": "openPreview"
}
},

"forwardPorts": [4321],

"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 .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": {
"4321": {
"label": "Application",
"onAutoForward": "openPreview"
}
},

"forwardPorts": [4321],

"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 .devcontainer/framework-preact/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "Preact",
"build": {
"dockerfile": "../examples.Dockerfile"
},

"workspaceFolder": "/workspaces/astro/examples/framework-preact",

"portsAttributes": {
"4321": {
"label": "Application",
"onAutoForward": "openPreview"
}
},

"forwardPorts": [4321],

"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 .devcontainer/framework-react/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "React",
"build": {
"dockerfile": "../examples.Dockerfile"
},

"workspaceFolder": "/workspaces/astro/examples/framework-react",

"portsAttributes": {
"4321": {
"label": "Application",
"onAutoForward": "openPreview"
}
},

"forwardPorts": [4321],

"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