Matthew Phillips
d588bc4a9c
Update rollup to prevent empty slot bug ( #3496 )
...
* Update rollup to prevent empty slot bug
* Adds a changeset
* Updated lockfile
* provide import.meta.env.SITE when there are private envs
2022-06-01 12:21:32 -04:00
Fred K. Schott
cfb85ee10e
[ci] update lockfile ( #3495 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-01 10:39:32 -05:00
tony-sull
74a034c2cd
[ci] format
2022-05-31 18:13:53 +00:00
Tony Sullivan
10b2589093
Fixing HMR for hoisted scripts ( #3427 )
...
* WIP: the leading /@fs broke script HMR
* Revert "WIP: the leading /@fs broke script HMR"
This reverts commit 84fce366268033261369aed48f909e59e78bf3e4.
* Metadata needs to strip off /@fs from hoisted script URLs
* adding a test for hoisted script HMR support
* removing 2 second timeout on navigation, allow default 30 seconds
* simplifying the hoisted script test sync
* TEMP: bubbling up console logs to track down windows failure
* removing temp logging
* disabling the test on windows for now
* chore: adding changeset
2022-05-31 18:13:05 +00:00
github-actions[bot]
b2f955ec1b
[ci] release ( #3485 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-31 13:40:19 -04:00
natemoo-re
9a31e6f1d5
[ci] format
2022-05-31 17:17:36 +00:00
hippotastic
119ecf8d46
Fix components in markdown regressions ( #3486 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-05-31 12:16:43 -05:00
natemoo-re
e02c72f445
[ci] format
2022-05-31 16:47:13 +00:00
Fred K. Schott
c9d8b10a85
[ci] update lockfile ( #3448 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-31 11:46:13 -05:00
Nate Moore
e9a77d8619
Improve nested and client:only
hydration ( #3455 )
...
* wip: fix nested islands
* fix: improve hydration for dynamic content
* chore: fix bundle-size script for new files
* chore: allow-list client:* directive files
* fix(#3362 ): fix client:only behavior for React, Vue, Solid
* test: add client-only e2e test
* chore: update lockfile
* test: fix e2e tests
* test: add framework nesting e2e tests
* Update packages/astro/src/runtime/client/events.ts
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
* chore: add changeset
* fix(preact): ignore hydrate roots
* chore: remove `ssr` check in integrations
* Revert "chore: remove `ssr` check in integrations"
This reverts commit ba27eaae55
.
* chore: add changeset
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-05-31 11:29:36 -05:00
bholmesdev
40614597cc
[ci] format
2022-05-31 16:09:23 +00:00
Ben Holmes
d145b8689c
Chore: remove rss helper from getStaticPaths
( #3462 )
...
* chore: remove rss() with helpful error message
* docs: add context on "getStaticPaths" removal
* chore: changeset
* deps: remove fast-xml-parser from core!
* chore: update lockfile
2022-05-31 12:08:09 -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
1aeb1d0a00
[ci] format
2022-05-31 15:41:24 +00:00
Matthew Phillips
efccebb964
Set the correct content-type for CSS HMR ( #3459 )
...
* Set the correct content-type for CSS HMR
* Adds a changeset
2022-05-31 11:40:34 -04:00
Matthew Phillips
55820fa784
Lit polyfill - wait to polyfill on DOMContentLoaded ( #3484 )
...
* Lit polyfill - wait to polyfill on DOMContentLoaded
* Adds changeset
2022-05-31 11:40:26 -04:00
matthewp
5e66ffb3a0
[ci] format
2022-05-31 14:12:38 +00:00
Rafid Muhymin Wafi
0ead51ae9c
fixed APIRoute type ( #3365 )
...
* fixed APIRoute type
* fixed EndpointHandler type
2022-05-31 10:10:57 -04:00
github-actions[bot]
16345032aa
[ci] release ( #3479 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-30 13:06:41 -04:00
bholmesdev
d195f583e3
[ci] format
2022-05-30 16:19:39 +00:00
hippotastic
75fa58f13f
Fix using Vite env var names in Markdown ( #3412 ) ( #3471 )
2022-05-30 12:18:43 -04:00
hippotastic
429b65d60b
Fix */
breaking HTML comments in Markdown ( #3477 )
2022-05-30 12:18:33 -04:00
github-actions[bot]
42aa6daa96
[ci] release ( #3463 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-27 18:09:20 -04:00
bholmesdev
9d671d178a
[ci] format
2022-05-27 20:57:04 +00:00
Ben Holmes
47d1a8d59c
Feat: markdown content.raw()
and content.compiled()
helpers ( #3452 )
...
* feat: add rawContent obj with html helper
* refactor: change toString to function call
* test: rawContent helpers
* chore: update MarkdownInstance type
* refactor: parseHtml -> html
* chore: changeset
* fix: remove needless async heading on content version
* fix: fixLineEndings helper on unit tests
* refactor: change api to raw and compiled
* chore: add new type to env.d.ts
* docs: JSdocs for raw and compiled
* refactor: change API AGAIN to rawContent, compiledContent
* chore: update changeset
2022-05-27 16:56:08 -04:00
Fred K. Schott
ffe5cf0312
update typescript ( #3456 )
2022-05-27 14:53:04 -05:00
github-actions[bot]
e6d8670168
[ci] release ( #3453 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-26 14:25:10 -04:00
matthewp
edf2838a66
[ci] format
2022-05-26 18:01:35 +00:00
Matthew Phillips
ac3c60d48d
Fix VITE_ASSET bug ( #3439 )
...
* Fix VITE_ASSET bug
* Updated test that depended on esbuild output
* Fix some more tests
* Fix css config and postcss tests
* Git client only working
* Fix static build test
* Update tailwind tests
* Fix build
* Fix css bundling tests
* Updated some more tests for windows
* Remove tests that are no longer relevant
* Cause it to break
* Fix bug and add explanation
* Adds a changeset
* Inline comments about what the hashing is doing
* Update packages/astro/src/vite-plugin-build-css/index.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update to the lockfile
* Minify css
* Update tailwind tests
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-05-26 14:00:36 -04:00
Nate Moore
2f4ee560dd
Add bundle-size check action ( #3454 )
...
* feat: add scripts action, bundle-size checker
* chore: trigger action
* fix: update prefix logic
2022-05-26 11:49:29 -05:00
matthewp
d92d28317f
[ci] format
2022-05-26 14:20:02 +00:00
Joaquín Sánchez
79b9ebc83a
feat: expose route dist URL on SSG ( #3438 )
...
* feat: expose route dist URL on SSG
* chore: add changeset
* chore: add test for `distURL`
* cleanup: remove console.log from test
2022-05-26 10:19:19 -04:00
github-actions[bot]
8a49ad23bf
[ci] release ( #3446 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-26 06:48:47 -04:00
Ben Holmes
51db2b9b4e
Fix: markdown imports failing ( #3444 )
...
* fix: revert JSX expression hack (temporary!)
* chore: changeset
* fix: skip stray JSX expression test
* Revert "fix: skip stray JSX expression test"
This reverts commit fd3042d003
.
* Revert "fix: revert JSX expression hack (temporary!)"
This reverts commit b78883fca1
.
* fix: add markdown-remark to external deps!
2022-05-25 20:47:28 -04:00
github-actions[bot]
f200ddadbc
[ci] release ( #3435 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-25 10:42:03 -05:00
natemoo-re
cb039219ef
[ci] format
2022-05-24 22:03:29 +00:00
Nate Moore
cfae9760b2
Improve Markdown + Components usage ( #3410 )
...
* feat: use internal MDX tooling for markdown + components
* fix: improve MD + component tests
* chore: add changeset
* fix: make tsc happy
* fix(#3319 ): add regression test for component children
* fix(markdown): support HTML comments in markdown
* fix(#2474 ): ensure namespaced components are properly handled in markdown pages
* fix(#3220 ): ensure html in markdown pages does not have extra surrounding space
* fix(#3264 ): ensure that remark files pass in file information
* fix(#3254 ): enable experimentalStaticExtraction for `.md` pages
* fix: revert parsing change
* fix: remove `markdown.mode` option
2022-05-24 17:02:11 -05:00
Caio Ferrarezi
78e962f744
Add base config option to partytown snippet generation ( #3437 )
...
* fix: add base config option to partytown snippet generation
* add changeset
* fix: handle config.base for partytown
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-05-24 15:44:40 -05:00
natemoo-re
03b2ef4b67
[ci] format
2022-05-24 19:40:24 +00:00
Nate Moore
4ca60e9344
Ensure hoisted scripts are deduplicated in build ( #3433 )
...
* fix(build): ensure hoisted scripts are deduplicated in build
* chore: add changeset
2022-05-24 14:39:23 -05:00
Nate Moore
62036eefc8
fix: use error
log level since warnings are irrelevant and noisy ( #3436 )
2022-05-24 14:38:39 -05:00
natemoo-re
58b78229c1
[ci] format
2022-05-24 16:59:29 +00:00
Nate Moore
296fff2cff
fix: properly handle scoped class injection with spread attributes ( #3384 )
...
* fix: properly handle scoped class injection when a spread attribute is present
* chore: update lockfile
* chore: revert lockfile
* chore: update compiler
* test: add spread scope test
* test: fix spread scoped test
2022-05-24 11:58:21 -05:00
Fred K. Schott
ccaea99765
[ci] update lockfile ( #3419 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-24 11:43:37 -05:00
Ben Holmes
946630a112
Fix: add "CSS" to noExternal hint ( #3426 )
...
* chore: add "CSS" to noExternal hint
* chore: changeset
2022-05-24 11:43:07 -05:00
Joaquín Sánchez
9ba2c7084a
feat: use Vite's logLevel
on SSR build ( #3431 )
...
Instead using `error` as default value, use the Vite's default `logLevel`: `info`
2022-05-24 11:30:43 -05:00
matthewp
752a108808
[ci] format
2022-05-24 15:35:08 +00:00
Matthew Phillips
463a1c2147
Fix: Relative imports inside of hosited script on windows ( #3423 )
...
* Failing test
* Add some debugging
* Normalize filename to remove @fs prefix
* Adds a changeset
* Break it again
* Fix it
* Update assertion
2022-05-24 11:34:08 -04:00
tony-sull
eb4382a251
[ci] format
2022-05-23 20:53:42 +00:00
Tony Sullivan
0209d6276c
Updates hydration scripts to use absolute paths ( #3422 )
...
* WIP: proof of concept fix to use absolute paths
* correct fix to handle absolute paths and config.base
* adding tests for hydration scripts with config.base
* chore: add changeset
* fix: ensure posix paths are used for Windows compat
2022-05-23 20:52:48 +00:00