github-actions[bot]
109693bb05
[ci] release ( #2884 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-25 17:00:49 -05:00
Nate Moore
e232fcda0a
chore: update incorrect changeset
2022-03-25 16:56:42 -05:00
Nate Moore
29723ddcd8
Exit pre
mode ( #2888 )
...
* chore: update docs link
* chore: exit pre
2022-03-25 16:54:11 -05:00
Ben Holmes
6b004363f9
Docs: remaining integration READMEs ( #2885 )
...
* docs: partytown README
* docs: sitemap README
* docs: tailwind README
* docs: turbolinks README
* chore: changeset
* update: make partytown 10% less fun
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* docs: add summaries for each integration
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-25 17:45:34 -04:00
natemoo-re
145e418edd
[ci] format
2022-03-25 21:27:41 +00:00
Nate Moore
72ef7ae64a
feat(cli): scaffold out astro add
command ( #2849 )
...
* feat(cli): scaffold out `astro add` command
* added first babel transforms
* Format output
* Added changes confirmation
* Error flow
* Add dependencies
* feat(cli): astro add cleanup pass
* feat: add support for tailwind
* chore: update lockfile
* fix: types
* chore: rever @proload/core bump
* chore: add changeset
* chore: rollback dep update
* Added spinners
* chore: remove extra deps
* Removed extra argument
* Use `execa` instead of `exec`
* Changed how lines are trimmed within diffLines
* refactor: move add to core
* refactor: remove old add entrypoint
* refactor: simplify wording
* feat: improve diff
* feat: improve diff and logging, add interactive prompt when no args passed
* Formatted files
* Added --yes
* feat: improve logging for install command
* Fixed execa
* Added help message to add
* refactor: extract consts to own file
* feat: remove implicit projectRoot behavior
* feat: improve error handling, existing integrations
* fix(tailwind): ensure existing tailwind config is not overwritten
* refactor: prefer cwd to projectRoot flag
* chore: add refactor notes
* refactor: throw createPrettyError > implicit bail
* refactor: cleanup language
* feat(cli): prompt user before generating tailwind config
* fix(cli): update config generation to use cwd
* fix: resolve root from cwd
* chore: update changelog
Co-authored-by: JuanM04 <me@juanm04.com>
2022-03-25 16:26:55 -05:00
bholmesdev
07a64be4d3
[ci] format
2022-03-25 21:14:21 +00:00
Ben Holmes
046bf7281f
refactor: move Prism comp to default exp ( #2887 )
2022-03-25 17:13:28 -04:00
Ben Holmes
7c39389a3f
Docs: READMEs for component framework integrations ( #2880 )
...
* docs: add base integration readme temp for Vue
* docs: copy integration temp across renderers
* feat: add get started with components section
* feat: adapt comp integration docs for lit
* nit: THERES TWO WAYS SPECIFICALLY
* nit: there's more edits wait "there are" dangit
2022-03-25 12:15:38 -04:00
matthewp
4edccae534
[ci] format
2022-03-25 16:08:51 +00:00
Matthew Phillips
80034c6cbc
Netlify adapter ( #2879 )
...
* Netlify adapter
* Remove package.json export that doesnt exist
* Fix out path
* Make netlifyFunctions the default
* Make the dist configurable
* Add an export for the functions
* Append of the file exists
2022-03-25 12:08:02 -04:00
Fred K. Schott
df8fac50b9
[ci] update lockfile ( #2882 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-25 09:45:12 -05:00
FredKSchott
d7111ba388
[ci] collect stats
2022-03-25 12:02:11 +00:00
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