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
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
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
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
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
Nate Moore
77ebab8bb2
chore: fix missing postcss-load-config
dependency ( #2835 )
2022-03-18 19:02:42 -07:00
natemoo-re
d812fbda97
[ci] format
2022-03-18 23:23:25 +00:00
github-actions[bot]
b5a8418f82
[ci] release (next) ( #2812 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-18 18:20:21 -05:00
Nate Moore
7954541291
Update Compiler with new CSS Parser ( #2833 )
...
* chore: update compiler
* Update eighty-trees-thank.md
* test: update css test
2022-03-18 18:16:32 -05:00
Nate Moore
910cae3b95
fix(windows): fix build script on windows ( #2830 )
2022-03-18 17:44:59 -05:00
Fred K. Schott
6386c14d00
Astro Integration System ( #2820 )
...
* update examples
* add initial integrations
* update tests
* update astro
* update ci
* get final tests working
* update injectelement todo
* update ben code review
* respond to final code review feedback
2022-03-18 15:35:45 -07:00
bholmesdev
0f376a7c52
[ci] format
2022-03-18 21:30:38 +00:00
Ben Holmes
0a3d3e51a6
Feat: change to shiki default md renderer ( #2824 )
...
* feat: change Shiki to default
* refactor: update blog styles for shiki
* feat: update examples/docs styles for Shiki
* refactor: remove Prism-ish examples/docs styles
* refactor: simplify rules with `all: unset`
* refactor: remove Prism styles
* refactor: examples/with-md remove Prism-specific line-highlight
* chore: add changeset
* chore: update changeset versions
* refactor: update syntax highlight test for scoped styles
* fix: apply scoped style class to pre and span lines
* feat: test that scoped styles cascade to shiki code
* refactor: pass scopedClassName explicitly
2022-03-18 17:29:51 -04:00
Hlynur Sveinbjornsson
1cd7184ca6
Fix island deduplication ignoring props. ( #2825 )
...
* Fix island deduplication ignoring props.
Re-resolves an issue initially patched in https://github.com/withastro/astro/pull/846 but seemingly lost in the 0.21.0 mega-merge (d84bfe719a
).
This change makes the component render step account for all props, even if they don't affect the generated HTML, when deduplicating island mount.
* Fix React component test using different rendered props to test deduplication.
* fix: improve serialization support for non-JSON objects
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-03-18 09:00:14 -04:00
Fred K. Schott
9327b56e82
[ci] update lockfile ( #2822 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-17 13:33:52 -05:00
Nate Moore
915ab92204
test: add tailwind escape test ( #2816 )
2022-03-17 11:09:11 -05:00
matthewp
4cfbd402a4
[ci] format
2022-03-17 12:32:03 +00:00
Matthew Phillips
7b9d042dde
Allow SSR dynamic routes to not implement getStaticPaths ( #2815 )
...
* Allow SSR dynamic routes to not implement getStaticPaths
* Adds a changeset
* Update based on code-review comments
2022-03-17 08:31:01 -04:00
Tony Sullivan
4914e1f70d
Adds tests for tailwind support in dev
and build
( #2809 )
...
* adding basic dev and build tests for TailwindCSS
* adding tests to validate tailwind classes are maintained in HTML output
* fixing indent spacing
* updating lock file
2022-03-16 17:35:49 +00:00
matthewp
279774c48e
[ci] format
2022-03-16 16:17:34 +00:00
Matthew Phillips
4c25a1c2ea
Implements redirects, headers for SSR ( #2798 )
...
* Implements redirects, headers for SSR
* Move away from an explicit Request
* Properly handle endpoint routes in the build
* chore(lint): ESLint fix
* Update based on review comments
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-16 12:16:21 -04:00
Fred K. Schott
498ef59b0e
[ci] update lockfile ( #2810 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-16 09:53:46 -05:00
Nate Moore
5cb7e0366b
fix: mark static build pkg as private
2022-03-15 19:50:25 -05:00
natemoo-re
34bfedc9d8
[ci] format
2022-03-16 00:41:53 +00:00
github-actions[bot]
2b89613539
[ci] release ( #2808 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-15 19:40:27 -05:00
Ben Holmes
79282163e2
fix: Svelte PostCSS config error ( #2807 )
...
* fix: Svelte PostCSS config error
* chore: changeset
2022-03-15 19:32:39 -04:00
Nate Moore
8654e841ff
chore: fix internal package
2022-03-15 17:29:39 -05:00
natemoo-re
267d20d207
[ci] format
2022-03-15 22:17:54 +00:00
github-actions[bot]
b36d16eb8f
[ci] release ( #2802 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-15 17:06:40 -05:00
Nate Moore
86419d9ed7
Ignore test fixture for changesets ( #2804 )
...
* test: move fixtures to `@test/` scope
* chore: ignore `@test/` scope
* chore: add changeset
* test: renamed missed package
* chore: delete test file
* fix: @test package references
* fix: @test package references
2022-03-15 16:17:23 -05:00
Fred K. Schott
6eb494796e
update HTML escape logic ( #2793 )
2022-03-15 15:33:55 -05:00
Nate Moore
2b76ee8d75
Export defineConfig helper ( #2803 )
...
* feat: add astro/config entrypoint
* chore: update examples to use `defineConfig` util
* chore: prettier fix
* chore: add changeset
2022-03-15 15:27:17 -05:00
Ben Holmes
2d95541b52
Fix missing style imports on initial load ( #2791 )
...
* fix: missing style imports on initial load
* chore: changeset
* fix: update comment on using URL map
* fix: use getModulesByFile to match on ID properly
* refactor: use imperative loop for performance
* fix: update scan from each matching mod
* fix: update scan from importedMod loop
* fix: avoid scanning all related mods
2022-03-15 15:02:29 -04:00
Fred K. Schott
11fb3745dd
[windows:ci] handle CLI output in a cross-compat way ( #2801 )
...
* handle readline in a cross-compat way
* Create modern-feet-lay.md
2022-03-15 10:30:25 -07:00
matthewp
fc50fbb47a
[ci] format
2022-03-15 16:05:38 +00:00
github-actions[bot]
973d398074
[ci] release ( #2786 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-15 11:40:51 -04:00
Matthew Phillips
58d8686e94
Fix for allowing space in folder name ( #2797 )
...
* Fix for allowing space in folder name
* Adds a changeset
* Prepend a forward slash, for windows
2022-03-15 11:26:46 -04:00
matthewp
1325fe90fc
[ci] format
2022-03-15 12:38:13 +00:00
Fred K. Schott
c36527f46d
fix flakey windows tests ( #2795 )
2022-03-15 08:37:29 -04:00
natemoo-re
2b52c72b5d
[ci] format
2022-03-14 23:20:37 +00:00
Nate Moore
6b34840d3d
Fix set:html
behavior with null
( #2790 )
...
* feat: improve set:html behavior for null/undefined
* chore: add changeset
* refactor: improve set:html and set:text documentation
* test: improve set:html tests
* refactor: better types for server API
2022-03-14 18:19:53 -05:00
FredKSchott
75f4c17e4c
[ci] format
2022-03-14 17:24:30 +00:00
Fred K. Schott
2314eba9a4
[ci] update lockfile ( #2773 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-14 10:23:35 -07:00
Fred K. Schott
b4d34e2d2c
improve build perf ( #2772 )
2022-03-14 10:23:05 -07:00
Ben Holmes
2c4fd919fa
Fix: Astro.props missing properties ( #2785 )
...
* Fix: Astro.props missing properties
* chore: add changeset
2022-03-14 13:03:44 -04:00
natemoo-re
d1a7f6a1c5
[ci] format
2022-03-11 22:48:55 +00:00
github-actions[bot]
30e78a0bd8
[ci] release ( #2770 )
...
* [ci] update lockfile (#2763 )
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* chore: exit prerelease mode
* [ci] release
* chore: update lockfile
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-11 16:47:57 -06:00
Fred K. Schott
1634172ff9
[ci] update lockfile ( #2763 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-11 16:38:28 -06:00
Matthew Phillips
49c0d9970f
Fix dev resolution of client modules on Windows ( #2768 )
...
* Fix dev resolution of client modules on Windows
* Adds a changeset
2022-03-11 17:28:48 -05:00
bholmesdev
d4dbfe8974
[ci] format
2022-03-11 22:26:21 +00:00
Ben Holmes
77b9c95352
Feat: expose server on local network with new --host flag ( #2760 )
...
* feat: update config to support bool --hostname
* fix: show localhost for --hostname=true
* feat: address logging feature parity w/ Vite
* chore: update type docs
* refactor: extract local, network prefs to variable
* feat: add --host to --help output
* feat: deprecate --hostname, add --host
* feat: add --host tests
* feat: update preview to support new flags
* fix: show --host in dev server log
* feat: update config tests for --host flag
* chore: test lint
* chore: update lock with new fixture
* chore: add changeset
* refactor: add more details to JSdocs
* fix: update path tests
* feat: only expose when --host is not local
* fix: make flag --help less verbose
* fix: address @types comments
* fix: lint
* chore: remove unused import
* fix: use host flag for config test
* fix: ensure local logs come before network
* refactor: switch up that network logging one last time!
* feat: update unit tests
* chore: remove debugging block
* fix: only parse network logs if network is present
2022-03-11 17:25:26 -05:00
Nate Moore
2bb2c2f7d1
Update compiler ( #2767 )
...
* chore: update compiler
* chore: add changeset
2022-03-11 16:20:20 -06:00
bholmesdev
4c975dc4da
[ci] format
2022-03-11 16:57:36 +00:00
Fred K. Schott
6ce97b1ebe
fix sitemapFilter docs ( #2762 )
2022-03-11 11:56:54 -05:00
natemoo-re
3a6ef130dd
[ci] format
2022-03-10 23:36:11 +00:00
github-actions[bot]
e032e89a64
[ci] release (next) ( #2754 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-10 17:31:45 -06:00
natemoo-re
a940354b38
[ci] format
2022-03-10 23:26:18 +00:00
Nate Moore
499fb6a335
CLI: add prerelease warning ( #2758 )
...
* feat(cli): add prerelease and outdated warnings
* refactor: cleanup getLatestVersion code
* refactor: simplify isPrerelease logic
* chore: add changeset
* fix: do not require devStart for preview
* refactor: extract prerelase/outdated into own templates
* feat: remove upgrade warning
* feat: make prerelease less scary
* chore: update prerelease wording
* chore: update feedback copy
2022-03-10 17:25:06 -06:00
Fred K. Schott
da826a6ba4
Update util.ts ( #2761 )
2022-03-10 15:17:24 -08:00
Nate Moore
5f55af9cce
fix( #2753 ): unescape define:vars
( #2756 )
...
* fix(#2753 ): unescape `define:vars`
* test: add directives suite
* chore: update lockfile
2022-03-10 14:36:07 -06:00
natemoo-re
7b18d4c226
[ci] format
2022-03-10 20:15:34 +00:00
Nate Moore
10843aba63
Add sitemap filter option ( #2755 )
...
* Add filter for sitemap
* chore: add changeset
* fix: types
* docs: add sitemapFilter docs
Co-authored-by: David Rothmann <david@rothmann.it>
2022-03-10 14:14:45 -06:00
Fred K. Schott
602bf2f181
fix eperm ci issue on windows ( #2757 )
2022-03-10 13:40:27 -06:00
Ben Holmes
a14075e2a4
Feat: show 404 when getStaticPaths
doesn't match URL ( #2743 )
...
* WIP: return 404 for unmatched getStaticPaths route
* feat: regex on static paths to 404 in dev
* Revert "WIP: return 404 for unmatched getStaticPaths route"
This reverts commit 9c395a2586ca40d44c3ab18edc7ffbc1c4660ed8.
* feat: call getParamsAndProps pre-ssr to catch errs
* fix: remove unused cache regex check
* fix: revert getPattern changes
* fix: remove unused preload props
* fix: log 404 for custom 404 pages
* refactor: rename fixture for clarity
* feat: add getStaticPaths status code tests
* fix: pas rootRelativeUrl to handle subpaths
* fix: update dev-routing tests from 500 -> 404
* refactor: make error handling more explicit
* lint: use typescript no shadow to fix enum issue
* chore: add changeset
* refactor: clarify test names
* refactor: remove variable reassignment
* fix: update dev-routing tests 500 > 404
* refactor: update test file structure
* Fix: revert to old logging
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Chore: use `const enum` instead
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* chore: format
Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-10 13:02:37 -05:00
natemoo-re
7f99d0de9e
[ci] format
2022-03-10 17:54:39 +00:00
Fred K. Schott
3d56123f25
Refactor fs utils, fix flakey windows tests ( #2749 )
...
* cleanup our fs util usage
* fix fs url support for node v14
* update to fix windows
* making sure the dir exists before calling readdirSync
* chore: remove debug code
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-03-10 11:53:59 -06:00
natemoo-re
5d7a92b563
[ci] format
2022-03-10 15:56:29 +00:00
Fred K. Schott
79fc320480
update deps: esbuild, typescript ( #2750 )
...
* update dep: typescript
* update dep: esbuild
* update types
* update types
* update dep: es-module-lexer
* update tests
2022-03-10 09:55:40 -06:00
FredKSchott
c5c445f94b
[ci] format
2022-03-10 01:13:16 +00:00
github-actions[bot]
6ead80db47
[ci] release (next) ( #2734 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-09 19:01:26 -06:00
natemoo-re
518331f560
[ci] format
2022-03-10 00:10:48 +00:00
Nate Moore
ae8d925666
Improve Astro.slots
API ( #2695 )
...
* feat: update Astro.slots API
* fix: migrate Markdown to public `Astro.slots.render` API
* chore: update internal AstroGlobal types
* chore: add changeset
* Update clean-bottles-drive.md
* refactor(test): update slot tests to new syntax
2022-03-09 18:09:48 -06:00
natemoo-re
2acfef741f
[ci] format
2022-03-09 23:38:46 +00:00
Nate Moore
e8d4e56803
Improve logger (deduping, new help and version) ( #2737 )
...
* feat: improve logger by removing repeat messages
* feat(hmr): only send HMR updates when files change
* feat: improve hmr formatting
* feat(logger): improve welcome formatting
* feat(logger): improve hmr formatting
* chore(test): update cli test output
* feat(logger): improve logging output
* feat(logger): improve help/version flags
* chore: remove checksum checks
* fix(test): update cli tests
* refactor(test): cleanup astro dev cli tests
* chore: add changeset
* chore(test): skip doctype test
2022-03-09 17:37:59 -06:00
natemoo-re
8c0a8fee32
[ci] format
2022-03-09 23:03:26 +00:00
Nate Moore
05b66bd68b
Escape HTML by default ( #2747 )
...
* feat: escape HTML by default
* feat(test): add escaping test
2022-03-09 17:02:25 -06:00
natemoo-re
658a92915d
[ci] format
2022-03-09 22:39:48 +00:00
Fred K. Schott
2906110c04
Update tests for legacy build ( #2746 )
...
* move fast-build example into a test fixture for legacy build
* update tests for legacy build
2022-03-09 16:38:46 -06:00
natemoo-re
43a5c06a93
[ci] format
2022-03-09 21:45:28 +00:00
Nate Moore
72c2c86e9d
merge next
into main
( #2705 )
...
* Unflag the static build (#2652 )
* Unflag the static build
* Only set legacyBuild to false if experimentalSSR is true
* Use legacy build when we have to
* Put a few more tests into legacy mode
* Last two
* Make astro-basic use the legacy build
* Adds a changeset
* Mark the lit test as legacy
* Update yarn lock
* Update based on feedback
* Add --legacy-build flag
* Move astro-basic test to use static build (#2682 )
* Move some tests over to the static build (#2677 )
* Move some tests over to the static build
* Fix assets tests
* Fix the assets tests
* Fix for the client:only components
* Moves asset tests to the static build
* Move postcss test over to static build
* Bring back legacy build for astro-basic test
* Move astro-basic test to use static build
* Migrate more tests to the static build (#2693 )
* fix: disable HMR during build (#2684 )
* Migrate more tests to the static build
* Only prepend links in non-legacy mode
* Add the 0-css tests
* Convert all CSS tests to the static build
* Migrate Astro global tests
* Remove .only
* Fix static build tests
* Migrate a few more
* More tests
* Move the lit test back to legacy
* Increase the test timeout
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Improve `head` injection behavior (#2436 )
* feat: add renderHead util to server
* feat: remove `layouts` from config, Vite plugin
* fix: improve head injection during rendering
* chore: update compiler
* fix: do not escape links
* chore: enter `pre` mode
* Replace `send` with `sirv` (#2713 )
* remove send
* Create thick-ravens-chew.md
* I feel like I'm going to screw something up
* working finally!
* rewrite req.url
* Add tiny bit of doc
* Update .gitignore
Co-authored-by: Evan Boehs <evan@boehs.org>
* Move remaining tests to the static build (#2712 )
* Move lit test to the static build
* Migrate astro-env plugin to work in the static build
* Do not remove vite:define
* Adds a changeset
* Add a warning when passing the --experimental-static-build flag (#2718 )
* Add a warning when passing the --experimental-static-build flag
* Disable the lint warning
* [ci] release (next) (#2721 )
* [ci] release (next)
* chore: update changeset
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
* 404 page (#2719 )
* Fix: build to 404.html in the static build
* Adds a changeset
* fix pnpm install missing peer deps
* fix svelte version in workspace
* fix lockfile
* fix(webapi): add dev script
* improve preview reliability (#2739 )
* improve preview reliability - fix broken tests
* shamefully hoist to unblock
* remove lit from test running
* chore: update lockfile
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Evan Boehs <evan@boehs.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-09 15:44:26 -06:00
Matthew Phillips
c139829b10
Fixes windows test flakiness ( #2744 )
...
* Fixes windows test flakiness
* Tighten up the try/catch
2022-03-09 15:44:12 -06:00
Fred K. Schott
240d88aefe
fix format ( #2736 )
2022-03-08 15:20:04 -08:00
Ben Holmes
0ae96bb749
Fix/2177/log missing local network ip ( #2732 )
...
* feat: show "localhost" for local network IPs
* refactor: remove timestamps from addr logs
* fix: hide timestamp on null types
* feat: add emoji OS helper
* feat: make logs 100% nicer
* refactor: extract isLocalHost to util
* feat: update preview logs to match
* chore: add changeset
* fix: pull pkg version from package.json
* refactor: remove 👉 guys
* fix: devStart return type
* feat: inject process.env.PACKAGE_VERSION at build time
* feat: update unit test for hostname checks
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-03-08 17:11:18 -05:00
Fred K. Schott
6bf124fb2f
remove a bad dev warning from static-build ( #2733 )
2022-03-08 14:03:33 -08:00
Nate Moore
d08ddaf5b9
Move from yarn to pnpm ( #2455 )
...
* chore: `yarn` => `pnpm`
* docs: `yarn` => `pnpm`
* chore(ci): yarn => pnpm
* chore(ci): update pnpm cache path
* fix: add missing deps
* fix: add missing deps
* test: add package.json to all test fixtures
* chore: improve hoisting behavior
* chore: move turbo into package.json
* chore: update npmrc
* fix: add missing `debug` dependency
* chore: remove prepare script
* test: fix new tests
* fix: fully resolve renderer paths and `astro/internal` path
* chore: update lockfile
* chore: remove log
* fix: resolve renderers in vite-plugin-jsx
* fix: prefer public-hoist-pattern to shamefully-hoist
* chore: ignore @babel/core peer warning
* chore: update dependencies
* test: add autoprefixer as explicit dep
* chore: update `.npmrc` file in examples
* chore: update dependencies
* fix: resolve renderer dependencies in static build
* fix: static build renderer resolution
* chore: fix smoke tests
* chore: hoist autoprefixer
* chore: update lockfile
* attempt: use full file:// path on Windows
* attempt: use astro/internal
* attempt: optimize astro/internal
* attempt: expose ./internal.js
* chore: add missing package.json files
* attempt: resolve astro/internal path
* chore: tidy package.json
* chore: update lockfile
* chore: update deps
* chore: update deps
* chore: yarn -> pnpm
* attempt: explicit /@fs urls
* attempt: explicit /@fs urls
* chore: update all examples for pnpm
* chore: fix hoisting for with-vite-plugin-pwa
* chore(ci): fix sharp install
* chore: update with-vite-plugin-pwa example
* fix: pin vite-plugin-pwa to 0.11.11
* fix: add workbox-window to vite-plugin-pwa deps
* refactor: use pnpm update --recursive
Co-authored-by: JuanM04 <me@juanm04.com>
* chore: yarn => pnpm
* chore: yarn => pnpm
* fix: update smoke test to skip examples which don't work in static build
* update lockfile
* chore: update .npmrc files
* chore: update lockfile
* fix: smoke script
* chore: update .npmrc file
* fix: return to shamefully-hoist (shamefully)
* chore: update lockfile
* fix(smoke): ignore scripts for smoke tests
* fix: update example to disable renderers
* chore: bump version
* chore(ci): fix smoke tests
* attempt: disable --frozen-lockfile for smoke tests
* chore: update smoke test
* chore: fix rebase issue
* chore: update lockfile
* fix: smoke tests
* fix(ci): run external smoke tests first
* fix(ci): run syntax
* chore: update lockfile
* fix(ci): ensure submodules are up-to-date
* fix(ci): ensure submodules are up-to-date
* chore: update lockfile
* chore: update for webapi
* chore: silence node:* warnings
* chore: update deps
* fix(ci): persist generated webapi assets
* fix(ci): webapi build script
* chore(ci): remove custom node caching
* chore: keep turbo.json
* chore: update turbo, ignore create-astro
* chore: update deps
* fix(ci): test command
* chore(ci): update test script
Co-authored-by: JuanM04 <me@juanm04.com>
2022-03-08 15:46:11 -06:00
natemoo-re
63adaeec34
[ci] yarn format
2022-03-07 21:37:50 +00:00
Nate Moore
f18ee36dc0
Add @astrojs/webapi
package ( #2729 )
...
* chore: add @astrojs/webapi
* chore: update package.json
* fix: update file case
* fix: remove lowercase file
* chore: update tests to use mocha
* chore: update LICENSE
2022-03-07 15:36:22 -06:00
natemoo-re
e02438ce1f
[ci] yarn format
2022-03-04 21:30:35 +00:00
github-actions[bot]
a6ee42fa17
[ci] release ( #2724 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-04 15:29:27 -06:00
Nate Moore
0d37f8e0a5
chore: revert #2715 ( #2722 )
2022-03-04 15:25:59 -06:00
natemoo-re
1a7dfb1426
[ci] yarn format
2022-03-04 17:29:53 +00:00
github-actions[bot]
88ccb2d696
[ci] release ( #2720 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-04 11:28:59 -06:00
natemoo-re
a286a75cc4
[ci] yarn format
2022-03-04 17:20:00 +00:00
Nate Moore
5f91e007cb
Remove postcss-load-config
warning for Svelte users ( #2715 )
...
* chore: update dependencies
* fix(svelte): use experimental vite preprocessor rather than svelte-preprocess
* chore: add changeset
2022-03-04 11:18:55 -06:00
natemoo-re
1fd5106364
[ci] yarn format
2022-03-03 17:54:01 +00:00
github-actions[bot]
92447974f2
[ci] release ( #2714 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-03 11:52:40 -06:00
Juan Martín Seery
b2c37385f9
chore: changed data-astro-raw
to is:raw
( #2706 )
...
* chore: changed `data-astro-raw` to `is:raw`
* changesets
2022-03-03 11:34:36 -06:00
Erika
519a5d84d1
Add .d.ts file to astro package for language-tools consumption ( #2711 )
...
* Add .d.ts file for user and language-server consumption
* Update according to feedback
2022-03-03 11:34:04 -06:00
Matthew Phillips
5b1d700134
Remove the after in the Lit test ( #2710 )
2022-03-03 10:01:30 -05:00
natemoo-re
955c4df5b6
[ci] yarn format
2022-03-02 22:25:22 +00:00
github-actions[bot]
4f924b8cea
[ci] release ( #2692 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-02 16:23:55 -06:00
Fred K. Schott
91765d79b1
Improve build perf ( #2697 )
...
* improve md perf
* chore: add changesets
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-03-02 16:09:18 -06:00
Juan Martín Seery
caf9135c48
fix: upgraded vite ( #2678 )
...
* fix: upgraded vite
* chore: changeset
* Upgraded to vite v2.8.6
* Updated changeset
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-02 15:51:13 -06:00
Fred K. Schott
e24a7896f3
fix bad descirption jsdoc tag, post-merge
2022-03-02 12:15:01 -08:00
FredKSchott
a719a74733
[ci] yarn format
2022-03-02 20:11:12 +00:00
Fred K. Schott
f957e46724
Add detailed type annotations to AstroUserConfig ( #2698 )
...
* add detailed type definitions
* final cleanup
2022-03-02 12:09:08 -08:00
Fred K. Schott
d9263c8427
fix vite version ( #2694 )
2022-03-01 09:31:15 -08:00
Nate Moore
c7bbb11289
fix: disable HMR during build ( #2684 )
2022-03-01 09:13:39 -05:00
natemoo-re
a217c6608d
[ci] yarn format
2022-02-28 22:16:16 +00:00
github-actions[bot]
9cc6f26946
[ci] release ( #2683 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-28 16:15:09 -06:00
Mateus Esdras
8fb1f53e96
fix(runtime): do not render empty Fragment ( #2667 )
...
This commit fixes the bug when returning an empty Fragment which makes
it undefined. This is because unescapeHTML (raw) will create a String object
with an 'undefined' string.
To fix this we need to check if the `children` is null or undefined
before marking a string as raw.
2022-02-28 16:03:28 -06:00
Nate Moore
046af36475
fix(hmr): HMR regression related to .astro updates ( #2681 )
2022-02-28 16:00:09 -06:00
Jonathan Neal
bfaff255f7
Fix HTMLElement expression warning ( #2675 )
2022-02-28 15:03:22 -05:00
natemoo-re
ede96b1b10
[ci] yarn format
2022-02-25 23:29:59 +00:00
github-actions[bot]
c0a6e3e80a
[ci] release ( #2666 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-25 17:29:08 -06:00
natemoo-re
a5a1563094
[ci] yarn format
2022-02-25 23:04:58 +00:00
Fred K. Schott
fca6407318
fix astro scoping of "@import" inside of style tags ( #2656 )
...
* fix astro scoping of "@import" inside of style tags
* Create lovely-lies-dress.md
* Update compile.ts
* fix smoke test
* Update package.json
2022-02-25 17:04:04 -06:00
Nate Moore
0494f74e4e
feat: improve third-party Astro package compatability ( #2665 )
2022-02-25 17:03:05 -06:00
natemoo-re
51b04f39f4
[ci] yarn format
2022-02-24 20:49:48 +00:00
github-actions[bot]
e31246f7ac
[ci] release ( #2641 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-24 14:48:44 -06:00
Fred K. Schott
a0fc5cb5ff
ensure utf8 encoding when serving html ( #2654 )
...
* ensure utf8 encoding on servers
* Create spicy-tomatoes-act.md
* Update spicy-tomatoes-act.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-02-24 14:39:41 -06:00
Javier Cortés
2e5c3b5126
fix(core): Issue #2625 . error with process.env.LANG larger than 5 ( #2645 )
...
* Update logger.ts
Solving #2625
* chore: add changeset
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-02-24 14:38:31 -06:00
Nate Moore
17032cd064
chore: upgrade compiler ( #2653 )
2022-02-24 14:15:29 -06:00
natemoo-re
30106e584f
[ci] yarn format
2022-02-24 19:12:33 +00:00
Nate Moore
5091d788f6
Add fine-grained HMR support ( #2649 )
...
* feat: add fine-grained HMR support
* chore: lint
* chore: lint
* fix: handle hmr with custom event handler
* refactor: cleanup hmr script
2022-02-24 13:11:18 -06:00
Juan Martín Seery
a2128f8e47
Fixed incorrect types and imports ( #2630 )
...
* Fixed incorrect types and imports
* Changeset
2022-02-23 17:14:39 -06:00
Shinobu Hayashi
fe31eca414
Fix(component): align starting position in Markdown slot ( #2631 )
...
* Fix: align markdown starting position in each line
* Chore: add testcase for aligning starting position in each line
* Chore: update the test case on astro-markdown custom language
* Update: remove trimmed only startWith trimmed space
2022-02-23 17:08:17 -06:00
Juan Martín Seery
9b7e2ab251
Fixed shiki import to work with "type": "module" ( #2628 )
...
* Fixed shiki import to work with "type": "module"
* Changeset
* Separated types import
* Add "* as" to type import
2022-02-22 08:46:04 -08:00
tony-sull
664a221a24
[ci] yarn format
2022-02-22 09:54:23 +00:00
Joel Kuzmarski
f165b78ad2
Make Non-HTML Pages work for static build ( #2638 )
...
* Make Non-HTML Pages work for static build
* Check hasOwnProperty instead of length
* Fix typo "> 0"
2022-02-22 09:53:21 +00:00
natemoo-re
38fc7d64a7
[ci] yarn format
2022-02-18 22:34:54 +00:00
github-actions[bot]
1d9f8a57f5
[ci] release ( #2619 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-18 16:33:56 -06:00
natemoo-re
aaa61ff254
[ci] yarn format
2022-02-18 22:07:52 +00:00
Nate Moore
39cbe50085
Expose private .env
variables to import.meta.env
during SSR ( #2612 )
...
* chore(examples): add env-vars example
* feat: improve import.meta.env support
* chore: add changeset
* test: update astro-envs test
* refactor: cleanup code based on feedback
* fix: import.meta guard
* fix: update memory test threshold to 10%
2022-02-18 16:06:56 -06:00
Matthew Phillips
23783648b6
Adds memory leak test in CI ( #2616 )
...
* Add a memory leak test
* Add memory leak smoke test to CI
* Update the latest compiler
* Update yarn.lock
* Remove entries optimization
* Calculate as 5% higher
2022-02-18 14:23:47 -06:00
matthewp
137b08efc2
[ci] yarn format
2022-02-17 16:12:12 +00:00
github-actions[bot]
85eb3141cd
[ci] release (next) ( #2607 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-17 11:11:06 -05:00
Matthew Phillips
96609d4c9e
Static build - fixes path to HMR script ( #2606 )
...
* Static build - fixes path to HMR script
* Changeset
2022-02-17 10:35:01 -05:00
Matthew Phillips
87762410f3
Fix loading of styles in static build ( #2605 )
...
* Fix loading of styles in static build
* Adds a changeset
2022-02-17 10:32:24 -05:00
natemoo-re
b2f34862bf
[ci] yarn format
2022-02-16 23:46:41 +00:00
github-actions[bot]
8dcfc1bb15
[ci] release (next) ( #2600 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 17:45:49 -06:00
Nate Moore
929fae684f
chore: upgrade @astrojs/compiler
( #2599 )
2022-02-16 17:33:43 -06:00