Commit graph

3489 commits

Author SHA1 Message Date
natemoo-re
1e5ea20694 [ci] format 2022-03-24 22:38:47 +00:00
github-actions[bot]
c78d7a46c9
[ci] release (next) (#2860)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-24 17:37:49 -05:00
Ben Holmes
2db97f10dc
Refactor: move prism to @astrojs/prism/components (#2878)
* feat: add `<Prism/>` to @astrojs/prism/components

* feat: remove `<Prism/>` from astro/components

* refactor: point to index.mjs in import

* refactor: change exp to @astrojs/prism/component

* refactor: remove unecessary index.js

* chore: changeset
2022-03-24 17:48:07 -04:00
matthewp
f5b48bc0ae [ci] format 2022-03-24 21:09:40 +00:00
Matthew Phillips
e4025d1f53
Build to a single file (#2873)
* Build to a single file

* Updates based on initial code review

* Adds a changeset

* Use the default export for cjs module

* Await generatePages

* Prevent timing from causing module to not import

* Fix shared CSS

* Properly handle windows ids

* Dont shadow

* Fix ts errors

* Remove console.log
2022-03-24 17:08:36 -04:00
natemoo-re
e2885df50b [ci] format 2022-03-24 20:11:31 +00:00
Fred K. Schott
1026345715
[ci] update lockfile (#2854)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-24 15:10:43 -05:00
Nate Moore
671727ba83
fix(#2846): handle destructured private env usage during SSR (#2861)
* fix(#2846): handle destructured private env usage during SSR

* test: add destructured env vars test

* fix: support destructured env vars

* fix: only inline referenced vars
2022-03-24 15:10:08 -05:00
natemoo-re
eb4ac82acf [ci] format 2022-03-24 19:44:54 +00:00
Nate Moore
a49f0490c0
test: update error test for vite@2.9.x (#2877)
* test: update error test for vite@2.9.x

* chore: add link to old tests
2022-03-24 14:44:08 -05:00
FredKSchott
bababd8461 [ci] format 2022-03-24 19:32:18 +00:00
Fred K. Schott
823d55fe46
improve some github templates (#2876) 2022-03-24 12:31:33 -07:00
Fred K. Schott
5029382a8c
fix markdown page script injection (#2871) 2022-03-24 12:30:54 -07:00
Ben Holmes
1061d6477a
Feat: improve production build logging (#2857)
* feat: log setup, vite, and route gen steps

* refactor: add back "build" + timestamp for consistency

* feat: improve ms increase logs to match old debug output

* feat: add log for server assets

* chore: remove redundant debug logs

* feat: add logs for ssr steps

* fix: hide  per-page log for ssr builds

* fix: hide "index.html" from debug log in SSR

* feat: add log for "collecting page data" step

* feat: add timeout logs for longer data imports

* chore: add changeset

* remove (includes setup + teardown)

* refactor: add newline to separate ssr from client build

* fix: move "gen static routes" heading to pages

* fix: only show client build ms when triggered

* fix: remove dup render loop

* chore: remove unused static-build imports
2022-03-24 15:23:37 -04:00
Fred K. Schott
5571227718
fix adblock issue (#2875) 2022-03-24 11:20:34 -07:00
Fred K. Schott
d763ec183e
fix shiki perf issue (#2870) 2022-03-24 09:49:54 -07:00
Ben Holmes
098f6f6b06
Fix: is self accepting pt 2 module graph boogaloo (#2872)
* fix: isSelfAccepting Preact error

* refactor: add .js ext to preact entrypoints for consistency

* chore: changeset

* fix: remove ./client and ./server from preact pkg exp
2022-03-24 12:28:50 -04:00
FredKSchott
003df32122 [ci] collect stats 2022-03-24 12:02:03 +00:00
matthewp
99414f76cf [ci] format 2022-03-24 11:27:15 +00:00
Matthew Phillips
5e52814d97
Adapters v0 (#2855)
* Adapter v0

* Finalizing adapters

* Update the lockfile

* Add the default adapter after config setup is called

* Create the default adapter in config:done

* Fix lint error

* Remove unused callConfigSetup

* remove unused export

* Use a test adapter to test SSR

* Adds a changeset

* Updated based on feedback

* Updated the lockfile

* Only throw if set to a different adapter

* Clean up outdated comments

* Move the adapter to an  config option

* Make adapter optional

* Update the docs/changeset to reflect config API change

* Clarify regular Node usage
2022-03-24 07:26:25 -04:00
Nate Moore
5c96145527
add build:ci command which skips tsc (#2869) 2022-03-23 19:46:16 -05:00
Nate Moore
374c3edcf2 chore: add build:ci command 2022-03-23 16:23:25 -05:00
Nate Moore
99518c8d52
Pin rollup to same version as vite (#2863)
* chore: pin rollup to same version as Vite

* fix: improve implicit types

* fix: revert rollup change
2022-03-23 15:57:53 -05:00
RafidMuhymin
29f420bb0e [ci] format 2022-03-23 15:48:26 +00:00
Rafid Muhymin Wafi
52e75475ae
Updated markdownOptions config type (#2826)
* Updated markdownOptions config type

* removed rehype-toc
2022-03-23 21:47:43 +06:00
FredKSchott
715fab4faf [ci] collect stats 2022-03-23 12:06:45 +00:00
Fred K. Schott
8ec3d0da19
audit file urls (#2853) 2022-03-22 16:49:27 -05:00
natemoo-re
1cab405460 [ci] format 2022-03-22 21:28:14 +00:00
Nate Moore
c781b12f87
fix: ensure private API is not enumerable (#2859) 2022-03-22 16:27:35 -05:00
Tony Sullivan
5869e015d4
marking Astro.resolve() as deprecated (#2856) 2022-03-22 14:15:36 -04:00
FredKSchott
930dc75c13 [ci] collect stats 2022-03-22 12:02:05 +00:00
FredKSchott
1378a9ed7c [ci] format 2022-03-22 03:28:33 +00:00
github-actions[bot]
d082689385
[ci] release (next) (#2851)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-21 20:27:46 -07:00
FredKSchott
076dd47d9f [ci] format 2022-03-22 03:16:42 +00:00
Juan Martín Seery
95a3e09e81
chore: vscode files (#2844)
* Added vscode recommendations

* Updated launch command

* Removed extra extensions

* updated root extensions
2022-03-21 20:16:04 -07:00
Ben Holmes
96372e6beb
Fix: isSelfAccepting? More like isBanishedToTheShadowRealm (#2852)
* fix: restore renderer caching strategy

* fix: restore old URL constructor for HMR

* docs: comment why we need the rendererCache

* refactor: remove needless "else"

* chore: changeset
2022-03-21 20:14:58 -07:00
Fred K. Schott
b6553cfdc1 update ci to fix congratsbot 2022-03-21 16:17:15 -07:00
Fred K. Schott
7943334e01 update ci to fix congratsbot 2022-03-21 15:55:31 -07:00
Ben Holmes
5315c3f7bc
Feat: support tailwind config files (#2831)
* feat: support custom tailwind config files

* fix: make config options optional

* feat: use existing utilities to resolve config path

* deps: add @proload/core to tailwind integration

* deps: update pnpm lock

* chore: clarify config docs

* refactor: extract user config fetch to helper

* refactor: rename function and function options

* refactor: throw error on bad custom config path

* deps: move @proload/core to regular deps

* chore: add changeset

* fix: apply astro preset when user config exists

* fix: use resolveConfig to preserve defaults
2022-03-21 17:27:32 -04:00
Fred K. Schott
981e2a839b
add injected scripts to markdown pages (#2848)
* add injected scripts to markdown pages

* Create twenty-kiwis-tease.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-21 13:05:11 -07:00
Tony Sullivan
3b621f7a61
chore: integration keywords (#2847)
* updating integration package keywords

* adding a changeset
2022-03-21 19:31:15 +00:00
Nate Moore
0bc3b72958 chore: update changeset 2022-03-21 12:34:42 -05:00
Juan Martín Seery
1fdb63b5d0
feat(create-astro): add peer dependencies to package.json (#2843)
* Install dependencies automatically

* Added spinners

* Updated lockfile

* changeset

* Sort dependencies

* Reverted autoinstall

* Updated changeset
2022-03-21 12:33:31 -05:00
Juan Martín Seery
41110ebe72
chore: remove @astrojs/parser (#2845)
* Removed parser from astro

* Removed parser files

* Updated changeset config

* Removed from license
2022-03-21 12:30:23 -05:00
Fred K. Schott
0c5378b8cf
[ci] update lockfile (#2841)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-21 10:32:25 -05:00
FredKSchott
3a7f992c29 [ci] collect stats 2022-03-21 12:06:38 +00:00
FredKSchott
fd7ab4e11c [ci] format 2022-03-21 04:03:05 +00:00
Fred K. Schott
078b6cde6c [ci] release (next) (#2838)
This reverts commit 935e6fa0c8.
2022-03-20 21:02:08 -07:00
Fred K. Schott
935e6fa0c8 Revert "[ci] release (next) (#2838)"
This reverts commit 5df8d68094.
2022-03-20 21:01:42 -07:00
github-actions[bot]
5df8d68094
[ci] release (next) (#2838)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-19 10:34:59 -07:00