Fred K. Schott
1335797903
update prettier width ( #2968 )
2022-04-02 14:15:41 -06:00
FredKSchott
d63213f119
[ci] format
2022-04-02 19:50:17 +00:00
github-actions[bot]
7fe149ae43
[ci] release ( #2969 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-02 13:49:27 -06:00
Fred K. Schott
e425f896b6
Revert "[ci] release ( #2925 )"
...
This reverts commit 48c9b142cc
.
2022-04-02 13:46:25 -06:00
FredKSchott
d047baad11
[ci] format
2022-04-02 19:41:44 +00:00
github-actions[bot]
48c9b142cc
[ci] release ( #2925 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-02 13:40:46 -06:00
Fred K. Schott
3483cc2285
exit prerelease mode ( #2967 )
2022-04-02 13:37:28 -06:00
FredKSchott
bae719505d
[ci] format
2022-04-02 18:30:48 +00: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
natemoo-re
76f6643ddd
[ci] format
2022-04-02 17:35:42 +00:00
Nate Moore
d55658f061
Implement new default script
behavior, style is:global
( #2961 )
...
* feat: implement RFC0016
* chore: update to latest compiler
* chore: update compiler
* test: fix script tests
* test: update public tests
* feat: throw a warning when referencing scripts in `public/` without `is:inline`
2022-04-02 12:34:25 -05:00
FredKSchott
42760e07ca
[ci] collect stats
2022-04-02 12:01:59 +00:00
matthewp
84f23d677a
[ci] format
2022-04-01 17:33:12 +00:00
Matthew Phillips
b4ad11b569
Add tests for using buildConfig ( #2960 )
2022-04-01 13:32:22 -04:00
Juan Martín Seery
645e1f2ac9
Fixed flag override ( #2956 )
2022-04-01 09:09:24 -05:00
Tony Sullivan
226822cbbf
Allows projects to opt out of the base Tailwind styles ( #2959 )
...
* adding an option to opt-out of the Tailwind base styles
* chore: adding changeset description
2022-04-01 13:45:43 +00:00
FredKSchott
2886cc2e71
[ci] collect stats
2022-04-01 12:04:05 +00:00
Nate Moore
80e6e759e2
Update compiler ( #2957 )
...
* chore: update compiler
* chore: add changeset
2022-03-31 22:33:07 -05:00
natemoo-re
cccc6034ae
[ci] format
2022-03-31 18:12:16 +00:00
Nate Moore
d81b6d9ebc
Add function-based slot support to Astro.slots.render()
( #2954 )
...
* feat(slots): add function-based slot support to Astro.slots.render()
* test(slots): add render tests
2022-03-31 13:11:26 -05:00
matthewp
50af480c7d
[ci] format
2022-03-31 18:04:57 +00:00
Matthew Phillips
cebdc85428
SSR - copy public folder when there is no client JS ( #2955 )
...
* SSR - copy public folder when there is no client JS
* Changest
* Use isBuildingToSSR
Co-authored-by: JuanM04 <me@juanm04.com>
2022-03-31 14:04:09 -04:00
natemoo-re
e044d99696
[ci] format
2022-03-31 17:59:39 +00:00
Nate Moore
93e431967f
chore: add code comment
2022-03-31 12:58:51 -05: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
gtnbssn
e860408692
Fix the favicon for the starter example ( #2940 )
2022-03-31 12:13:18 -05:00
matthewp
355c966f80
[ci] format
2022-03-31 17:02:05 +00:00
Fred K. Schott
3a4dc9e0a7
React 18 monorepo upgrade ( #2948 )
...
* First pass at supporting React 18 in @astrojs/react
* Try marking React 18’s `react-dom/client` as external
* Try a different approach to importing different React versions
* Allow resolving JSON modules
* Revert "Allow resolving JSON modules"
This reverts commit 5279b7249c
.
* Try the separate client entrypoint approach from #2946
* Clean up diff
* Trying to see something
* Just keep swimming… 🐠
* update to support react 18
* update React to React 18 across the board
Co-authored-by: delucis <swithinbank@gmail.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-03-31 13:01:05 -04:00
matthewp
bdb9ba1c34
[ci] format
2022-03-31 16:52:34 +00:00
Fred K. Schott
57f48b2701
Add support for React 18 in @astrojs/react ( #2947 )
...
* First pass at supporting React 18 in @astrojs/react
* Try marking React 18’s `react-dom/client` as external
* Try a different approach to importing different React versions
* Allow resolving JSON modules
* Revert "Allow resolving JSON modules"
This reverts commit 5279b7249c
.
* Try the separate client entrypoint approach from #2946
* Clean up diff
* Trying to see something
* Just keep swimming… 🐠
* update to support react 18
* add changeset
* add docs
Co-authored-by: delucis <swithinbank@gmail.com>
2022-03-31 12:51:29 -04:00
FredKSchott
25c1abff10
[ci] collect stats
2022-03-31 12:02:15 +00:00
matthewp
52d7fec248
[ci] format
2022-03-30 19:56:27 +00:00
Matthew Phillips
c989f106f9
Allow components to return a Response ( #2944 )
...
* Allow components to return a Response
* Changeset
2022-03-30 15:55:22 -04:00
Okiki Ojo
d7ece97d20
chore(.gitignore): remove pnpm error logs from git ( #2938 )
2022-03-30 10:41:53 -05: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
FredKSchott
364ece8776
[ci] collect stats
2022-03-30 12:02:44 +00:00
Fred K. Schott
fff83bb5c2
remove docs jsdoc tag from adapter ( #2927 )
2022-03-29 16:03:45 -05:00
matthewp
c24e5c9687
[ci] format
2022-03-29 20:59:59 +00:00
Matthew Phillips
f048cdff70
Fixes API route compat with Node 14 ( #2936 )
...
* Fixes API route compat with Node 14
* Changeset
2022-03-29 16:59:06 -04:00
Fred K. Schott
23b8ee2738
[ci] update lockfile ( #2930 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-29 08:59:46 -07:00
matthewp
3575a10634
[ci] format
2022-03-29 13:18:35 +00:00
Matthew Phillips
7fd49f1887
Make the SSR example infer the origin ( #2932 )
2022-03-29 09:17:49 -04:00
matthewp
9fa013b4fa
[ci] format
2022-03-29 12:19:10 +00:00
Matthew Phillips
ecbcc8c42c
Make it deployable to Netlify ( #2931 )
2022-03-29 08:18:11 -04:00
FredKSchott
f89dc5c04a
[ci] collect stats
2022-03-29 12:06:44 +00:00
matthewp
f0275298bd
[ci] format
2022-03-29 11:36:02 +00:00
Matthew Phillips
ecc6a4833f
Implement the Astro.request RFC ( #2913 )
...
* Implement the Astro.request RFC
* Disable console warnings eslint
* Use our logger
* Adds a changeset
* Fix tests that depend on params, canonicalURL, URL
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-29 07:35:03 -04:00
Michael Marino
030fd48bdd
[fix] 2924 Update import in astro config of portfolio starter ( #2926 )
...
* fix: update import in Portfolio starter astro config file
* chore: add changeset
2022-03-28 20:54:25 -07:00
FredKSchott
1e3550d5ac
[ci] format
2022-03-29 00:17:02 +00:00