github-actions[bot]
097d7777c4
[ci] release (next) ( #2595 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 11:32:57 -05:00
Tony Sullivan
40c0e2b3f6
Bug fix: Order of params for routing has to match ( #2593 )
...
* make sure route params are sorted before comparing stringified keys
* including changeset for a patch release
2022-02-16 15:49:03 +00:00
Matthew Phillips
102161761d
Pass children to client components even if they do not render them ( #2588 )
...
* Pass children to client components even if they do not render them
* Handle when no children are provided
* Adds a changeset
* Use roots directly i guess
* Use an attribute to signal that the template is needed
2022-02-16 10:11:54 -05:00
github-actions[bot]
ebe7f4d0ae
[ci] release (next) ( #2580 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 08:49:12 -06:00
Nate Moore
085468e949
chore: upgrade compiler ( #2594 )
2022-02-16 08:45:15 -06:00
Matthew Phillips
ec6f148fc8
Resolve relative imports from hoisted scripts (static build) ( #2581 )
...
* Resolve relative imports from hoisted scripts
* Adds a changeset
* Windows fix
* Set a longer timeout for the Lit test
* blah
* Handle windows properly
* Only if the from is astro
* Windows debugging
* This might fix it
* another try
* use only
* More debugging
* Does this work
* Final cleanup
* Update the lockfile
2022-02-15 16:55:07 -05:00
Tony Sullivan
d6d35bcafc
Support non-HTML pages ( #2586 )
...
* adds support for build non-html pages
* add non-html pages to the static build test suite
* adds getStaticPaths() test for non-html pages
* adds dev server tests for non-html pages
* ading a changeset
* updating changeset description
* testing for building non-html files with async data
* fixing typo in changeset docs
2022-02-15 17:47:42 +00:00
Matthew Phillips
ba5e2b5e6c
Flagged SSR support ( #2548 )
...
* Checkpoint, basics are working
* Add the `--experimental-ssr` flag
* Adds the changeset
* Fixes population of getStaticPaths results
* Pass through the imported module
* Route manifest test
* Fix remaining tests
* Fix remaining tests
* Copy server assets over
* Fix types
* Allowing passing in the request to the Node version of App
* Improve the example app
* Gets CI to pass
2022-02-14 12:48:52 -05:00
github-actions[bot]
9e6f437429
[ci] release (next) ( #2573 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-11 17:12:00 -05:00
Matthew Phillips
34317bc05c
Use noExternal config on 'astro' ( #2570 )
...
* Use noExternal config on 'astro'
* Changeset
2022-02-11 16:22:16 -05:00
github-actions[bot]
b1afce896a
[ci] release (next) ( #2565 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-11 10:41:47 -05:00
Matthew Phillips
82544e4134
Fixes pageUrlFormat: 'file' in static build ( #2569 )
...
* Fixes pageUrlFormat: 'file' in static build
* Adds a changeset
2022-02-11 14:43:42 +00:00
Juan Martín Seery
d71c46207a
Fixed curly braces inside Shiki codeblocks ( #2545 ) ( #2564 )
2022-02-10 12:23:05 -05:00
github-actions[bot]
3e24341f17
[ci] release (next) ( #2555 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-09 13:18:10 -06:00
Nate Moore
a907a73b8c
chore: upgrade vite and renderer dependencies ( #2563 )
2022-02-09 13:01:17 -06:00
Nate Moore
1abb9ed080
Upgrade Vite to latest ( #2424 )
...
* chore: unvendor vite
* chore: upgrade vue and svelte
* feat(renderer-solid): upgrade for vite@2.7.x
* chore: update yarn.lock
* fix(solid): upgrade solid renderer for vite@2.7.x
* test: improve css test
* chore: upgrade to vite@2.8.0-beta.3
* fix: replace hacky serialization with 'serialize-javascript'
* fix: externalize serialize-javascript
* fix: explicitly add execa@6.x.x to devDependencies
* test(css): skip css?url test
* chore: update vite-plugin-svelte
* fix: ssr option
* chore: update changeset
* chore: remove changeset
* chore: add changeset
* chore: add back missing changeset
* chore: update vite
* chore: update to latest vite
* test: update proload?
* chore: update dependencies
* fix: remove preact from nanostores example
* fix: update static-build-pkg to use `.mjs` extension
* fix: exclude './server.js' from custom-elements test
* chore: remove unused file
2022-02-08 17:38:00 -06:00
github-actions[bot]
cc436b4ce8
[ci] release (next) ( #2554 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-08 16:58:42 -05:00
Matthew Phillips
e81bc3cf14
Prevent the server plugin from running during the build ( #2552 )
...
* Prevent the server plugin from running during the build
* Adds a changeset
* More all before blocks to inside of a describe()
2022-02-08 16:55:22 -05:00
github-actions[bot]
4078dc529b
[ci] release (next) ( #2533 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-07 15:08:22 -05:00
Jonathan Neal
a911d14eab
Remove docs from monorepo ( #2517 )
...
* Remove docs from monorepo
* Update PULL_REQUEST_TEMPLATE.md
* Update relative doc references with links or todo
2022-02-07 13:39:53 -05:00
Juan Martín Seery
2bc91543ce
feat: Added the ability to add custom themes/languages to Shiki ( #2518 )
...
* Replaced `shikiTheme` with `shikiConfig`
* Code.astro now accepts custom themes/langs
* Updated docs
* Updated tests
* Fixed language loading
* Added customization examples
* Updated documentation
* Added more tests
* Changelogs
* Changed some spaces to tabs
* Fixed typo in changesets
* Moved tests fixtures
* Rolled back changes to with-markdown-shiki
* Removed lang example in docs
* Optimized Code component
* Try to fix windows errors
* Try to see if this new tests work
2022-02-07 08:31:02 -08:00
Fred K. Schott
b066628693
improve debug logs ( #2537 )
...
* improve debug logs
* Update logger.ts
2022-02-07 08:23:01 -05:00
Nate Moore
16d532fe17
fix: HTML/SVG boolean attributes ( #2538 )
...
* fix: HTML/SVG boolean attributes
* fix: update case-sensitivity of attributes
* Update packages/astro/src/runtime/server/index.ts
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2022-02-04 17:38:14 -06:00
Juan Martín Seery
cfeaa9414a
fix: import local plugins into markdown ( #2534 )
...
* Replaced "UnifiedPluginImport" for a function
* Updated tests
* Updated docs
* Updated examples
* Added changeset
* Fixed tests
* Removed unused "UnifiedPluginImport"
* Duplicated add-classes.mjs
2022-02-04 13:49:50 -05:00
Matthew Phillips
b210fd008b
Append to list of HMR modules, don't override ( #2532 )
...
* Append to list of HMR modules, don't override
* Changeset
2022-02-03 16:41:48 -05:00
Fred K. Schott
ef1d81effd
add back dev server host support ( #2531 )
2022-02-03 13:40:40 -08:00
github-actions[bot]
e49f581bc2
[ci] release (next) ( #2523 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-02 12:11:57 -05:00
Matthew Phillips
3e8844fa87
Fix support for scss in static build ( #2522 )
...
* Fix support for scss in static build
* Adds a changeset
* Pass the normalizedID to transformWithVite
2022-02-02 11:35:13 -05:00
github-actions[bot]
dd1a14a2eb
[ci] release (next) ( #2492 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-01 08:52:57 -05:00
Juan Martín Seery
6fe1b0279f
Add Shiki as an alternative to Prism ( #2497 )
...
* [ci] yarn format
* Added shiki to markdown-remark
* Upgraded astro shiki
* Added minimal example
* Changed defaults to match <Code />
* Replace `shiki` with `astro` classes
* Added documentation
* Updated Astro code to use new `codeToHtml`
* Added changesets
* Added basic test
* Updated tests a bit
Co-authored-by: JuanM04 <JuanM04@users.noreply.github.com>
2022-01-31 16:14:07 -06:00
Nate Moore
618a16f59d
Deprecate unescaped HTML inside of expressions ( #2489 )
...
* feat: implement automatic escaping
* feat: deprecate automatic escaping
* fix: cast unescapeHTML as string
* fix: slot fallback behavior
* fix: unescaped content
* Update escape.ts
* Update escape.ts
* feat: update internal components to use `set:html`
* chore: update compiler
* chore: update changeset
2022-01-31 16:13:22 -06:00
Matthew Phillips
b9da87a108
Enter prerelease mode ( #2510 )
2022-01-31 17:03:42 -05:00
Matthew Phillips
3d2c184962
Fix define:vars in the static build flag ( #2511 )
...
* Fix define:vars in the static build flag
* Adds a changeset
* linting
2022-01-31 16:56:14 -05:00
Jonathan Neal
187d5128af
Fix issue rendering content within HTMLElement ( #2506 )
2022-01-31 16:50:55 -05:00
Fred K. Schott
d7149f9b2f
refactor dev to use vite server ( #2494 )
2022-01-31 14:44:40 -05:00
Fred K. Schott
c9bb1147cb
[MINOR] standardize trailing subpath, fix fetchContent url issue ( #2471 )
...
* standardize trailing subpath, and fix fetchcontent issue
* debug windows ci
* improve ci test
* fix windows test issue?
* fix only usage
* end debugging
2022-01-28 20:29:53 -05:00
Matthew Phillips
6bd165f84c
Handle project folders containing a space in the static build ( #2486 )
...
* Handle project folders containing a space
* Adds a changeset
* Bump the test package version
* Use server relative paths as entries
* Fix windows
* A hoisted fix
* Correctly handle facadeIds on windows
2022-01-28 20:29:28 -05:00
github-actions[bot]
1cac6c974a
[ci] release ( #2482 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-28 20:06:07 -05:00
Jonathan Neal
c7a6ed9a8d
Changesets ( #2491 )
...
* changeset for #2487
* changeset for #2473
2022-01-28 19:57:22 -05:00
Matthew Phillips
69d5b70900
Fix use of preprocessors with the static build ( #2490 )
...
* Fix use of preprocessors with the static build
* Adds a changeset
2022-01-28 17:10:52 -05:00
Nate Moore
005751a920
Add escapeHTML to astro/internal ( #2479 )
...
* feat: add escapeHTML to astro/internal
* Update packages/astro/src/runtime/server/escape.ts
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
* Update escape.ts
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2022-01-27 20:36:47 -06:00
github-actions[bot]
10db1ca75e
[ci] release ( #2454 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-27 11:40:08 -05:00
Matthew Phillips
462e315956
Fix HMR in static build + @import HMR ( #2440 )
...
* Fix HMR in static build + @import HMR
* Changeset
* Add a comment on what cleanUrl is doing
* Running prettier
* Improve comments on how the static build compilation
works differently.
2022-01-24 12:58:10 -05:00
github-actions[bot]
3059cc8e39
[ci] release ( #2437 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-24 09:39:26 -05:00
Matthew Phillips
dfe1f8b4e7
Pass user's viteConfig.ssr to the build ( #2442 )
...
* Pass user's viteConfig.ssr to the build
* Changeset
2022-01-24 08:55:26 -05:00
Nate Moore
ed0b46f96f
Fix pre-generated RSS URLs ( #2443 )
...
* Allow pre-generated urls to be passed in rss feeds
* Fix variable name
* Add isValidURL helper function
* Remove scary RegEx and tidy up code
* add test for using pregenerated urls
* fix: allow rss to be called multiple times
* test: normalize rss feed in test
* chore: add changeset
Co-authored-by: Zade Viggers <74938858+zadeviggers@users.noreply.github.com>
Co-authored-by: zadeviggers <zade.viggers@gmail.com>
2022-01-21 16:38:48 -06:00
Chris Swithinbank
ebe414f05b
Resolve sitemap URLs in relation to full site path ( #2423 )
...
* Resolve sitemap URLs in relation to full site path
Fixes #2422
* Test generated sitemap contains base directory in URLs
* Add changeset
* test: Add `clean` helper to loaded fixture API
Adds a method that when called will remove the loaded fixture’s dist directory using `rimraf`.
* test: Clean up between sitemap/RSS tests
* See if letting rimraf retry more helps…
* Add logging to double check nothing’s running in parallel
* Remove logging & double check clean up actually succeeds
* Try using basic Node.js to clean up dist
* Remove logging/checks
* Remove stray unnecessary `async` keyword
2022-01-20 19:27:47 -05:00
github-actions[bot]
4c802e25a0
[ci] release ( #2433 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-20 19:23:30 -05:00
Matthew Phillips
f2b8372c0c
Supports hoisted scripts in the static build ( #2414 )
...
* Supports hoisted scripts in the static build
* Adds a changeset
* Update packages/astro/src/core/build/internal.ts
Co-authored-by: Evan Boehs <evan@boehs.org>
* Update based on feedback
* Fix lint
* Fix getting hoist script for Windows
* Try with the pre compiler
* use compiler 0.8.2
* update compiler version
* update yarn.lock
Co-authored-by: Evan Boehs <evan@boehs.org>
2022-01-20 19:13:05 -05:00
Mikkel Tønder
fda857eb22
Add a verbose flag to create-astro ( #2429 )
...
* Add verbose logging to create-astro
* Tell user to use the verbose flag when encountering the MISSING_REF error
* Create changeset
* Add information in README
* Format
* Use switch statement instead of if and if else blocks
* Update packages/create-astro/src/logger.ts
Make if statement easier to read
Co-authored-by: Evan Boehs <evan@boehs.org>
Co-authored-by: Evan Boehs <evan@boehs.org>
2022-01-20 19:00:22 -05:00
Matthew Phillips
9e1bc1752f
Upgrade compiler to latest ( #2432 )
...
* Upgrade compiler to latest
* Updates the changeset
2022-01-20 15:37:09 -05:00
github-actions[bot]
e3731e5fa8
[ci] release ( #2430 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-20 10:04:29 -05:00
Matthew Phillips
3ad236ba01
Pin to the compiler 0.8.1 ( #2428 )
...
* Pin to the compiler 0.8.1
* Changeset
2022-01-20 09:49:33 -05:00
github-actions[bot]
5d79bd7e93
[ci] release ( #2420 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-19 22:12:32 -05:00
Nate Moore
85ad1aab67
feat: add support for styled RSS feeds ( #2371 )
2022-01-19 15:34:52 -05:00
Pranav Karawale
24aa3245ae
Implement support for draft pages ( #2392 )
...
* feat: support draft pages
* implemented support for draft pages
* added integration test
* updated relevant documentation (english only)
* docs: explicitly mention "markdown draft pages"
* chore: add changeset
* chore: modify changeset
- changed type to 'patch'
- added more description
2022-01-19 15:18:51 -05:00
Matthew Phillips
5208c88aeb
Add Astro.resolve deprecation warning for the static build ( #2416 )
...
* Add Astro.resolve deprecation warning for the static build
* Adds a changeset
2022-01-19 08:25:42 -05:00
github-actions[bot]
bcec8adc9a
[ci] release ( #2412 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-18 08:38:15 -05:00
Matthew Phillips
bcc617f9dc
Update examples to move away from Astro.resolve on styles ( #2393 )
...
* Update examples to move away from Astro.resolve on styles
* Prepend the subpath
* Adds a changeset
* Switch to @import for the starter
2022-01-18 08:34:12 -05:00
github-actions[bot]
d3be8d944d
[ci] release ( #2394 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-14 16:19:25 -05:00
Matthew Phillips
c8a257adc4
Improve static build performance on large sites ( #2391 )
...
* Improve static build performance on large sites
* Changeset
* Remove debugging code
* Pass through the rss fn
2022-01-14 16:14:04 -05:00
github-actions[bot]
f5ce6edb5b
[ci] release ( #2372 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-14 14:40:12 -05:00
Matthew Phillips
a7967530df
Fixes Lit support in the static build ( #2370 )
...
* [ci] collect stats
* [ci] update lockfile (#2388 )
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
* Fixes for blog and docs examples (#2373 )
* Fixes for blog and docs examples
* Adds a changeset
* Upgrade the compiler version
* Use a global style tag
* Skip on windows temporarily
* [ci] yarn format
* Fixes Lit support in the static build
* Adds a changeset
* test
* Upgrade lit-labs/ssr
* Conditional
* Testing again
* remove debugging code
* changeset
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-01-14 14:02:44 -05:00
Matthew Phillips
92532b8882
Fixes for blog and docs examples ( #2373 )
...
* Fixes for blog and docs examples
* Adds a changeset
* Upgrade the compiler version
* Use a global style tag
* Skip on windows temporarily
2022-01-14 12:11:56 -05:00
Matthew Phillips
20eaddb2a7
Fix for using React in the static build ( #2369 )
...
* Fix react in the static build
* Adds a changeset
2022-01-13 13:28:29 -05:00
github-actions[bot]
834e5299f1
[ci] release ( #2366 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-13 09:37:44 -05:00
Matthew Phillips
2aa5ba5c52
Fix use of frameworks in the static build ( #2367 )
...
* Fix use of frameworks in the static build
* Adding a changeset
* fix typescript
* Empty out the directory before running the builds
* Use a util to empty the directory
* Only empty the outdir if needed
* Move prepareOutDir to its own module
* Prepare outDir is actually sync
2022-01-13 09:23:03 -05:00
Matthew Phillips
20d0cce681
Fix for shared CSS when using the static build ( #2365 )
...
* Fix for shared CSS when using the static build
* Adds a changeset
2022-01-12 12:02:36 -05:00
github-actions[bot]
983bf72aa1
[ci] release ( #2340 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-12 11:30:01 -05:00
Matthew Phillips
7e0b32c569
Fix: static-build with .md pages ( #2363 )
...
* Fix: static-build with .md pages
This fixes the `--experimental-static-build` flag to work with markdown
pages.
* Adds a changeset
* Account for difference in specifier on windows
2022-01-11 16:52:46 -05:00
Nate Moore
b21dd19cb6
chore: remove www ( #2361 )
2022-01-11 12:59:06 -06:00
Matthew Phillips
1007497297
Fix build output in static build mode ( #2358 )
...
* Fix build output in static build mode
* Adds a changeset
* Formatting
2022-01-11 11:24:57 -05:00
toSayNothing
f482c626a6
Fix renderer-solid ( fix #2336 ) ( #2359 )
2022-01-11 10:31:26 -05:00
Jonathan Neal
c0cb7eead5
Fix Astro Preview Pathing Issues ( #2338 )
...
* Fix preview issues triggered by pageUrlFormat & trailingSlash options
* format
* changeset
* nit: fix host message
2022-01-10 12:43:24 -05:00
Jonathan Neal
f008a19c9d
Fix sitemap.xml page urls ( #2335 )
...
* For pages, use the expected pathname, not the file name
* changeset
2022-01-08 08:25:37 -05:00
Jonathan Neal
69af658b00
Fix issue with plugins running twice in dev and build ( #2323 )
...
* Fix issue with plugins running twice in dev and build
* nit: only patch plugins
* nit: only patch plugins
* nit: only solve for create-vite
* nit: only solve for create-vite
* Create seven-mice-do.md
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-01-07 15:00:19 -08:00
github-actions[bot]
5ba2650be1
[ci] release ( #2339 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-07 16:43:19 -05:00
Matthew Phillips
180dfcf2fc
Handle loading the Code package in the static build ( #2337 )
...
* Handle loading the Code package
Fixes #2329
* Use Code the normal way
* Adds a changeset
* Only resolve browser path if there is no common ancestor
* Update examples/fast-build/src/pages/index.astro
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-01-07 16:28:27 -05:00
github-actions[bot]
4c826ad5b5
[ci] release ( #2333 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-07 09:44:14 -05:00
Matthew Phillips
71ca09125a
Fix subpath support regressions ( #2330 )
...
* Fix subpath support regressions
* Adds a changeset
* Update tests to reflect relative URL change
* Pick a different port and hopefully windows works
* Remove bad lint warning
* Better handling of relative paths
* or
* Fixes use with pageUrlFormat
* Update the pageDirectoryUrl test
2022-01-06 16:32:24 -05:00
github-actions[bot]
f80800857e
[ci] release ( #2320 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-05 16:56:34 -08:00
Nate Moore
77ef43e66c
chore: update compiler ( #2324 )
2022-01-05 18:32:42 -06:00
Fred K. Schott
e0de21ef57
Create fluffy-rocks-fold.md
2022-01-05 16:26:16 -08:00
Nate Moore
c0204c0a41
chore: update compiler ( #2318 )
2022-01-05 12:03:16 -06:00
Jonathan Neal
e6379d514d
Bump WebAPI ( #2319 )
...
* bump webapi
* changeset
2022-01-05 13:02:42 -05:00
github-actions[bot]
fa396750ef
[ci] release ( #2307 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-05 11:20:39 -05:00
Nate Moore
e98659b7d6
Update compiler to 0.7.2 ( #2308 )
...
* chore: update compiler
* chore: add changeset
* chore: upgrade compiler again
2022-01-04 16:06:57 -06:00
Tadeu Zagallo
5fbdd56f15
Fix dynamic routes for sites with subpath ( #2299 )
2022-01-04 13:22:06 -05:00
github-actions[bot]
d11c7b8c5c
[ci] release ( #2304 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04 11:28:19 -05:00
Matthew Phillips
193ca60f40
Upgrade language server ( #2305 )
...
* Upgrade language server
Fixes #2297
* Adds a changeset
2022-01-04 11:06:47 -05:00
moritzlaube
344866762c
Update svelte version in renderer-svelte ( #2300 )
...
* Update svelte version in renderer-svelte
I am having funny console logs saying that my svelte component `received an unexpected slot "default".`. This issue is described here: https://github.com/sveltejs/kit/issues/981
Supposedly, updating svelte to version 3.44.3 solves this issue. I couldn't test it, though.
* Update Svelte to 3.44.3 to get rid of console warning that component receives an unexpected slot "default".
2022-01-04 10:17:21 -05:00
github-actions[bot]
69f4ff5473
[ci] release ( #2303 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04 09:46:45 -05:00
Matthew Phillips
9db22b97b6
Only resolve inline script specifiers in the static build ( #2302 )
...
* Revert "Revert "Implement hydrated components in the static build (#2260 )""
This reverts commit 17ac18e88c
.
* Only resolve specifiers in the static build
* Adding a changeset
* Fix the client-only test
2022-01-04 09:35:07 -05:00
github-actions[bot]
c5a67b4275
[ci] release ( #2293 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-30 12:03:19 -05:00
Matthew Phillips
2e55dc2686
Revert "Implement hydrated components in the static build ( #2260 )" ( #2292 )
...
* Revert "Implement hydrated components in the static build (#2260 )"
This reverts commit ae5255dd25
.
* Adds a changeset
2021-12-30 11:52:22 -05:00
github-actions[bot]
1da4682a50
[ci] release ( #2291 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-30 09:14:21 -05:00
Matthew Phillips
c77cf52e16
Don't overwrite the stack when using verbose logging ( #2290 )
...
* Don't overwrite the stack when using verbose logging
This makes it so that if the compiler panics and `--verbose` logging is
on (debug level), we don't replace the stack trace.
* Adds a changeset
2021-12-30 09:03:03 -05:00
github-actions[bot]
458e57b84f
[ci] release ( #2264 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 15:34:11 -05:00
github-actions[bot]
b8e3efa7bb
[ci] release ( #2219 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 11:49:30 -05:00
Matthew Phillips
db79d2e9ec
Fixes includes remote @imports in inline styles ( #2258 )
...
* Fixes includes remote @imports in inline styles
* chore(lint): Prettier fix
* Adds a changeset
* Fix empty style tags
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 09:24:29 -05:00
Fred K. Schott
e07c1cbd7e
[ci] update lockfile ( #2240 )
...
* [ci] update lockfile
* fix package dependency issue
* Create heavy-pianos-obey.md
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-21 10:37:09 -08:00
Nate Moore
c5a7305f04
chore: update changesets
2021-12-16 17:57:10 -06:00
Jonathan Neal
45cea6aec5
Support Node v14.15+ ( #2202 )
...
* Support Node v14.15+
* changeset
* Update .changeset/new-hats-design.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update .changeset/new-hats-design.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update .changeset/new-hats-design.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* ES2020
* update yarn.lock
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-12-16 18:53:22 -05:00
Nate Moore
810aeb321a
chore: release @astrojs/renderer-svelte@0.2.3
2021-12-16 17:36:48 -06:00
Nate Moore
b8c821a074
chore: release pinned version of Svelte renderer ( #2216 )
...
* chore: release pinned version of Svelte renderer
* chore(lint): Prettier fix
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-16 16:24:35 -06:00
Jonathan Neal
91173fe938
Replace fetch
walk-n-replace with polyfill ( #2206 )
...
* Replace fetch replacer with genuine polyfill
* chore(lint): Prettier fix
* changeset
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-15 14:11:14 -05:00
github-actions[bot]
c16e7f3433
chore: release ( #2171 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-09 10:45:03 -08:00
Fred K. Schott
5af24efb34
pin preact to 10.5 to resolve preact issue ( #2170 )
...
* pin preact to 10.5 to resolve preact issue
* fix: use current yarn.lock and only update preact
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-12-09 10:33:53 -08:00
github-actions[bot]
9ac4259d2e
chore: release ( #2149 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-09 04:57:08 -08:00
Drew Powers
ef3950c647
Fix missing styles ( #2156 )
...
#2101
2021-12-07 15:01:45 -07:00
Fred K. Schott
d5ebd9d178
fix create-astro export map entry ( #2150 )
2021-12-07 10:21:42 -08:00
Fred K. Schott
0ef682c924
Validate Astro frontmatter JS/TS on compiler error ( #2115 )
...
* validate the astro component frontmatter ahead of compilation
* add test, update existing tests
* chore(lint): Prettier fix
* Update index.ts
* remove macos skip lines, no longer needed
Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-07 08:18:41 -08:00
github-actions[bot]
a7e2070abc
chore: release ( #2136 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-06 17:10:43 -06:00
Drew Powers
da7b41f5b8
Fix build missing styles (affecting docs) ( #2112 )
...
* Revert "remove odd docs regression caused by Astro.fetchContent()"
This reverts commit df47077978
.
* Fix build missing styles
2021-12-06 16:01:32 -07:00
Nate Moore
cc1dae55c8
fix( #2129 ): exclude 404 from sitemap ( #2137 )
...
* fix(#2129 ): exclude 404 from sitemap
* chore(lint): Prettier fix
* chore: trigger ci
Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-06 16:50:30 -06:00
Nate Moore
77c3fda379
Make fetch
injection safe to existing code ( #2135 )
...
* fix: inject `fetch` only if not declared
* test: improve fetch test
* chore(lint): Prettier fix
* chore: trigger ci
* fix: improve type narrowing
Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-06 16:08:00 -06:00
github-actions[bot]
1298fd8678
chore: release ( #2133 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-06 15:15:14 -06:00
Elliott Marquez
d9d3906a3c
test(lit): add reflected property tests ( #2116 )
2021-12-06 13:23:09 -06:00
Leosvel Pérez Espinosa
c0f29bcf8c
Parse --renderers flag correctly when passed to the create-astro cli ( #2124 )
2021-12-06 09:19:22 -05:00
github-actions[bot]
fe11bdb5f7
chore: release ( #2118 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-03 16:29:11 -06:00
Nate Moore
8346a1f2b9
Update Compiler ( #2117 )
...
* chore: update compiler
* chore: update compiler
* Revert "chore: update compiler"
This reverts commit 5742c24542
.
2021-12-03 16:10:05 -06:00
Mikkel Tønder
3e4cfea4e2
Make aliases work on windows ( #2109 )
...
* Make aliases work on windows
Change all occurrences of path.posix to path.
* Remove console log statement
* Update index.ts
* Update index.ts
* Update index.ts
* Edit changeset
2021-12-03 10:53:11 -05:00
github-actions[bot]
4f546173b4
chore: release ( #2108 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-03 09:30:45 -05:00
Matthew Phillips
583459d0b6
Fix support for ?url on CSS ( #2106 )
...
* Fix support for ?url on CSS
* Adds a changeset
* chore(lint): Prettier fix
Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-03 09:19:37 -05:00
Matthew Phillips
4c44467668
Remove use of URL module in runtime ( #2107 )
...
* Remove use of URL module
We can't use this module due to Vite not having a shim and this needing
to run inside Vite.
* Adding a changeset
2021-12-03 09:13:20 -05:00
github-actions[bot]
787e4e6497
chore: release ( #2098 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-02 17:45:56 -05:00
Jonathan Neal
11798a3209
Update Astro dependencies ( #2096 )
...
* Update Astro dependencies
* changeset
* chore: update `@astro/compiler`
2021-12-02 17:33:24 -05:00
github-actions[bot]
e57308d70c
[ci] release ( #2071 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-02 13:01:17 -05:00
Drew Powers
0a826c999c
Allow special characters in filenames ( #2091 )
...
#2089
2021-12-02 10:45:54 -07:00
Nate Moore
ac3e870280
fix: renderer behavior with no children ( #2078 )
...
* fix: renderer behavior with no children
* [ci] Prettier fix
* Force CI
* fix: properly handle falsy values
* [ci] Prettier fix
* chore: force ci
* [experiment] netlify ignore
Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-02 10:30:15 -06:00
Drew Powers
62a5e98c90
Improve CSS import ordering, fix empty CSS outputs ( #2081 )
...
Fixes #2060
2021-12-02 09:24:00 -07:00
Matthew Phillips
1301f3daa9
Makes Astro.resolve return root-relative paths ( #2048 )
...
* Makes Astro.resolve return root-relative paths
* Adds a changeset
* Update the compiler version and PR review
* Fix linting
* [ci] Prettier fix
* Remove use of vitifyURL
Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-02 10:48:18 -05:00
Matthew Phillips
2a2eaadc2f
Invalidate based on modulePath ( #2086 )
...
* Invalidate based on modulePath
* Adds a changeset
2021-12-02 10:48:08 -05:00
Tony Sullivan
920d3da135
Improving error messages for invalid client hydration directives ( #2076 )
...
* Adding check to make sure the hydration directive is valid
* remove temp debug logging
* Adding a check for media query with client:media + small refactor
* adding changeset
Co-authored-by: Tony Sullivan <tony.sullivan@hyperlab.se>
2021-12-01 15:26:17 -06:00
Jonathan Neal
5bda895fcb
Render void elements as self-closing tags ( #2064 )
...
* Render void elements as self-closing tags
* changeset
* nit: only check void element names if there is no child content
* nit: only check void element names if there is no child content
* add tests
2021-12-01 15:43:22 -05:00
Drew Powers
b348ca6c9f
Allow importing of rehype plugins ( #2075 )
...
Fixes #2061
2021-12-01 12:03:04 -07:00
Drew Powers
c6e4e2831e
Enforce consistent import order of CSS ( #2065 )
...
Partially fixes #2060
2021-12-01 08:23:18 -07:00
github-actions[bot]
754ac42478
[ci] release ( #2059 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-30 22:33:45 -07:00
Drew Powers
96ba37ef02
Modify changeset for #2052 ( #2067 )
2021-11-30 22:23:04 -07:00
Drew Powers
f5efbe141c
Add changeset for #2052 ( #2066 )
2021-11-30 22:01:44 -07:00
Nate Moore
606fa81b94
chore: fix changeset ( #2058 )
2021-11-30 11:14:31 -06:00
Nate Moore
4e06767c01
fix( #2007 ): astro preview port retry ( #2050 )
...
* fix(#2007 ): astro preview port retry
* docs: update preview comment
2021-11-29 17:39:38 -06:00
Drew Powers
c491d1f423
Fix Sass WASM crashes ( #2049 )
...
Partially addresses #2032
2021-11-29 14:44:55 -07:00
Nate Moore
4067151aec
Improve GitHub Actions ( #2041 )
...
* chore(actions): test new CI action
* chore(actions): switch action order
* chore(actions): update registry
* chore(actions): remove debug
* chore(actions): target all packages
* chore(actions): test artifacts
* chore(actions): try moving artifacts
* chore(actions): test moving
* chore(actions): test tar approach
* chore(actions): test tar approach
* chore(actions): use artifacts/packages before tar
* chore(actions): test mv -vn
* chore(actions): mkdir first
* chore(actions): how does tar work?
* chore(actions): so good at bash
* chore(actions): test matrix
* chore(actions): fix test matrix
* chore(actions): fix windows?
* chore(actions): fix windows?
* chore(actions): fix windows!
* chore(actions): fix windows!
* chore(actions): add lint
* chore(actions): add back old actions
* chore(actions): test notification action
* chore(actions): test notification action again
* chore(actions): fix extract action
* chore(actions): fix action?
* chore(actions): fix action?
* chore(actions): fix newlines
* chore(actions): test --production flag
* chore(actions): test --production flag for test
* chore(actions): add execa to production deps
* chore(actions): add cheerio to production deps
* chore(actions): add production deps for tested examples
* chore(actions): fix changelog action
* chore(actions): attempt to use --prefer-offline
* chore(actions): revert dependencies/devDependencies change
* chore(actions): update all actions
* chore(actions): add smoke test
* chore(actions): update changelog deps
* chore(actions): move notify script
* chore(actions): consolidate main scripts
* chore(actions): update changelog name
* chore(actions): update congratsbot
* chore(actions): update ci
* chore(actions): change lint/format strategy
* chore(actions): expose GITHUB_TOKEN to linter
* chore(actions): update lint
* chore(actions): enable autofix
* chore(actions): fetch-depth 0
* chore(actions): fix eslint extensions
* chore(actions): debug lint
* chore(actions): fix eslint args
* chore(actions): fix eslint?
* [ci] ESLint fix
* [ci] Prettier fix
* chore(actions): fix lint!
* chore(actions): cleanup comments
* chore(actions): fix lint
* chore(actions): lint astro only
* chore(actions): ignore pattern
* chore(actions): no_verify
* chore(actions): disable no verify
* chore(actions): debug status
* chore(actions): add concurrency
* chore(actions): add comment about concurrency
* chore(actions): make release dependent on lint
* chore(actions): move lint first
* chore(actions): run CI on PR or `main` only
* chore(actions): remove GPR publish step
* chore: add back old actions
* chore: revert package.json
* chore: improve changelog with GitHub info
* chore(actions): try pull_request_target
* debug lint
* debug lint
* debug lint
* try pull_request_target
* update pull_request_target perms
* update pull_request_target
* fix perms
* fix run?
* fix run?
* fix run? (part 3)
* fix run? (part 4)
* fix run? (part 5)
* fix run!
* fix run!!
* fix run!!!
* fix run!!!!
* fix run!!!!!
* fix run!!!!!!
* add comment about forks
Co-authored-by: GitHub Actions <actions-user@github.com>
2021-11-29 15:11:15 -06:00
github-actions[bot]
6203b57974
Version Packages ( #2047 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-29 14:39:04 -05:00
Drew Powers
50f3b8d7ec
Fix style injection ( #2011 )
2021-11-29 12:33:40 -07:00
Ludovico Fischer
4436592d22
fix(astro): prevent crash on unexpected file in pages ( #2034 )
...
* Skip files in `src/pages` when extension is not '.astro' or '.md'
* Add test
Fix #2033
2021-11-29 12:33:16 -07:00
Matthew Phillips
341ec3cdfd
Fix cached inline modules ( #2038 )
...
* Fix cached inline modules
* Adds a changeset
2021-11-29 14:23:14 -05:00
Matthew Phillips
fad6bd0936
Use of PUBLIC_ environment variables ( #2044 )
...
* Enable client-side JS to read env variables via PUBLIC_
* Fixes use of PUBLIC_ in client-JS
2021-11-29 14:22:46 -05:00
github-actions[bot]
dd17a5b8d0
Version Packages ( #2009 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-24 14:10:30 -07:00