Arsh
d67ae84610
Node built-in modules support for Deno adapter ( #7288 )
...
* feature(deno adapter): allow built-in node modules
* Add changeset
* format
2023-06-15 10:20:35 -04:00
Bjorn Lu
ef410fa30b
Simplify Deno test ( #7276 )
2023-06-05 15:05:16 +08:00
matthewp
ff70614083
[ci] format
2023-02-17 18:21:11 +00:00
Nate Moore
61113dd731
Fix prerendered page handling on Deno ( #6284 )
...
* fix(deno): handle prerendered pages
* test(deno): add prerender test
* fix: defensively access vite.build.rollupOptions.external
* fix(deno): support other formats of rollupOptions.external
* fix(deno): crawl prerendered files for match
* fix(deno): ignore deno error in server file
* fix(deno): cross-platform serve file
2023-02-17 13:19:19 -05:00
Matthew Phillips
609b249c8d
Revert "Deno fix #6131 ( #6248 )" ( #6281 )
...
* Revert "Deno fix #6131 (#6248 )"
This reverts commit ef5cea4dc5
.
* Create gold-months-live.md
2023-02-17 10:58:53 -05:00
natemoo-re
241c178354
[ci] format
2023-02-16 15:18:31 +00:00
wulinsheng123
ef5cea4dc5
Deno fix #6131 ( #6248 )
...
* fix : #6131
* fix: delete
* update code
* fix: fix bug
* add some tests
* fix route error
* delete comment
* delete trash code
---------
Co-authored-by: wuls <linsheng.wu@beantechs.com>
2023-02-16 09:16:07 -06:00
Matthew Phillips
1e27992437
Update the Astro.cookies.set types to receive boolean and numbers ( #5047 )
2022-10-12 08:31:55 -04:00
matthewp
358ffb541d
[ci] format
2022-10-07 13:38:38 +00:00
Robin Lindner
5bbe385b21
Improve test infrastructure for integrations/deno ( #5005 )
...
* Improve test infrastructure for integrations/deno
* Add changeset
* Use declared type
* Remove changeset
* Upgrade deno version in -workflow
2022-10-07 09:36:24 -04:00
Zicklag
294122b4e4
Deno custom 404 pages ( #4562 )
...
* Add Failing Test For Deno Custom 404 Pages
* Make Deno SSR Serve Custom 404 Pages
2022-08-31 16:11:46 -04:00
Patrick Smith
45fdbc4650
Don’t use Buffer.byteLength() as Deno can’t use it ( #4324 )
...
* Don’t use Buffer.byteLength() as Deno can’t use it
* Add changeset
* Add tests for Markdown & MDX with Deno
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-08-16 10:08:40 -04:00
Matthew Phillips
6fd161d769
Add the output
option ( #4015 )
...
* Start of work on astroConfig.mode === 'server'
* Add tests and more
* adapter -> deploy in some places
* Add fallback for `adapter` config
* Update more tests
* Update image tests
* Fix clientAddress test
* Updates based on PR review
* Add a changeset
* Update integrations tests + readme
* Oops
* Remove old option
* Rename `mode` to `output`
* Update Node adapter test
* Update test
* fred pass
* fred pass
* fred pass
* fix test
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-07-25 00:18:02 -04:00
hippotastic
ba5ad7855c
Fix react dependencies to improve test reliability ( #3673 )
...
* Fix local react tests by unifying versions
* Add missing dependencies to react tests
* Add changeset
* Fix lockfile
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-06-22 09:11:48 -04:00
matthewp
8bb28b48ee
[ci] format
2022-06-06 16:03:17 +00:00
Matthew Phillips
c22a07db13
Fix use of dynamic imports / Astro.glob with Deno Deploy ( #3532 )
...
* Fix use of dynamic imports / Astro.glob with Deno Deploy
* Adds a changeset
* Mark the markdown package as external
2022-06-06 12:02:13 -04:00
Matěj Volf
b795a085f0
Load environment variables in deno SSR ( #3483 )
...
* Properly shim env in Deno
* Add test for loading env vars in Deno
* Add changeset
2022-05-31 11:41:33 -04:00
matthewp
8768f23f95
[ci] format
2022-04-21 16:11:09 +00:00
Matthew Phillips
ae9ac5cbdc
Fixes using React.lazy and Suspense ( #3160 )
...
* Revert "Revert "Fixes using React.lazy and Suspense""
This reverts commit e621c2f7d3
.
* Adds a changeset
* Fix ts errors
* Remove netlify metadata folder
2022-04-21 12:10:06 -04:00
Matthew Phillips
e621c2f7d3
Revert "Fixes using React.lazy and Suspense"
...
This reverts commit 700d4f9649
.
2022-04-20 17:17:36 -04:00
unknown
700d4f9649
Fixes using React.lazy and Suspense
2022-04-20 17:17:11 -04:00
matthewp
089ce68f08
[ci] format
2022-04-15 21:02:19 +00:00
Matthew Phillips
e5383cd357
Handle static file serving in Deno adapter's start command ( #3121 )
...
* Handle static file serving in Deno adapter's start command
* Adds a changeset
* Ignore a .ts imort
2022-04-15 17:01:33 -04:00
Nate Moore
17c02925c5
Migrate to new config ( #2962 )
...
* wip: config migration
* fix: formatting
* refactor: projectRoot -> root
* refactor: pageUrlFormat -> format
* refactor: buildOptions.site -> site
* refactor: public -> publicDir
* refactor: dist -> outDir
* refactor: styleOptions -> style
* fix: some dist tests -> outDir
* refactor: remove legacyBuild (with TODOs)
* refactor: more legacyBuild cleanup
* refactor: server host and port
* fix: remove experimentalStaticBuild CLI flag
* refactor: src -> srcDir
* refactor: devOptions.trailing -> trailing
* refactor: remove sitemap + related flags
* refactor: experimentalSSR -> experimental.ssr
* fix: last devOptions
* refactor: drafts -> markdown.drafts
* fix: TS error on port as const
* refactor: remove pages
* refactor: more --project-root updates
* refactor: markdownOptions -> markdown
* fix: remaining type errors
* feat: update AstroUserConfig
* refactor: update CLI flag mapper + server mapper
* fix: loadFixture projectRoot
* fix: merge CLI flags before validating / transforming
* wip: attempt to fix bad createRouteManifest config
* refactor: combine config.base and config.site
* fix: skip route manifest test for now
* fix: site and base handling
* refactor: update failing config testes
* fix: build failure
* feat: update config types with migration help
* chore: update types
* fix(deno): update deno fixture
* chore: remove config migration logic
* chore: remove logLevel
* chore: clean-up config types
* chore: update config warning
* chore: add changeset
* Sitemap Integration (#2965 )
* feat: add sitemap filter config option
* feat: add canonicalURL sitemap config option
* docs: update sitemap README
* fix: update for new config
* fix: filter not being applied
* chore: changeset
Co-authored-by: bholmesdev <hey@bholmes.dev>
* fred pass
* fix: Astro.resolve typo
* fix: public => publicDir
Co-authored-by: bholmesdev <hey@bholmes.dev>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-04-02 12:29:59 -06:00
Juan Martín Seery
d10c3dea21
fix: --experimental-ssr
fixes ( #2937 )
...
* Replaced `--experimental-ssr` with `isBuildingToSSR`
* changest
* Improved `isBuildingToSSR` a bit
* Added `isBuildingToSSR` to more places!!1!
* Added `@deprecated` tag
* Replaced missing experimentalSsr
* Added failing test
* Removed test
* Re-added experimental ssr flag
* Fixed typo
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
* Fixed deno tests
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-03-31 13:58:03 -04:00
matthewp
6a1a40eef8
[ci] format
2022-03-30 12:43:13 +00:00
Matthew Phillips
13b271bc7d
Deno adapter ( #2934 )
...
* Bundle everything, commit 1
* Get everything working
* Remove dependency on readable-stream
* Adds a changeset
* Fix ts errors
* Use the node logger in tests
* Callback the logger when done writing
* Fix test helper to await the callback
* Use serialize-javascript again
* Remove dead code
* Rename hook
* Oops
2022-03-30 08:42:19 -04:00