matthewp
7555fc3789
[ci] yarn format
2022-01-11 21:53:47 +00: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
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
matthewp
b4d62e10ad
[ci] yarn format
2022-01-07 21:44:16 +00: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
matthewp
76195ba404
[ci] yarn format
2022-01-07 21:29:41 +00: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
matthewp
320ca687bc
[ci] yarn format
2022-01-07 14:45:30 +00: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
matthewp
778adc662a
[ci] yarn format
2022-01-06 21:34:01 +00: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
FredKSchott
c3770dd120
[ci] yarn format
2022-01-06 00:57:38 +00: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
Caleb Jasik
8eca6eb990
Add <guid>
to RSS feed based on page link to uniquely identify rss … ( #2321 )
...
* Add `<guid>` to RSS feed based on page link to uniquely identify rss feed entries.
ex: <https://www.rssboard.org/rss-validator/check.cgi?url=https%3A%2F%2Frainsberger.ca%2Frss.xml >
* Update RSS feed generation test
2022-01-05 16:25:39 -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
matthewp
21e9e02740
[ci] yarn format
2022-01-05 16:21:38 +00: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
matthewp
79f8cfee60
[ci] yarn format
2022-01-04 20:10:42 +00:00
Matthew Phillips
2770588867
Remove rehype-add-classes ( #2309 )
...
* Remove rehype-add-classes
* Fix the markdown plugin test
2022-01-04 15:09:10 -05:00
Georges Gomes
eae959f1a7
Adds ‹div›RIOTS logo to the list of sponsors ( #2271 )
...
* Sponsor divRIOTS logos
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update packages/astro/README.md
Co-authored-by: Astroalex <alexis31.balthazard@gmail.com>
Co-authored-by: Astroalex <alexis31.balthazard@gmail.com>
2022-01-04 12:38:02 -06:00
Tadeu Zagallo
5fbdd56f15
Fix dynamic routes for sites with subpath ( #2299 )
2022-01-04 13:22:06 -05:00
matthewp
64c02dff92
[ci] yarn format
2022-01-04 16:29:25 +00: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
matthewp
e75b50d55d
[ci] yarn format
2022-01-04 14:48:03 +00: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
matthewp
670bebe9ae
[ci] yarn format
2022-01-04 14:36:34 +00: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
Caleb Jasik
f26eb7b745
Docs/move-english-docs-to-"en"-folder ( #2268 )
...
* Move english pages under `/en` and fix broken links hopefully
* Add meta refresh tags for `/` to `/en/` url moves + make `/index.astro` work without js
* update languageselect for new en format
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-01-03 11:59:34 -08:00
matthewp
4fd2abc606
[ci] yarn format
2021-12-30 17:04:12 +00: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
matthewp
ae1e61aec8
[ci] yarn format
2021-12-30 14:15:29 +00: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
matthewp
9b9d935840
[ci] yarn format
2021-12-30 14:04:33 +00: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
Matthew Phillips
ae5255dd25
Implement hydrated components in the static build ( #2260 )
...
* Work on removing vite-postprocess
* Gets hydration totally working
* Formatting
* Update based on PR comments
* Bring back vite transform for non-static builds
* Upgrade compiler version
* Update the client-only test
* Add debugging for windows
* More debugging
* Pass pathname into the markdown plugin as well
* Include vite changes
* Revert "Include vite changes"
This reverts commit dee6348b233b6d6c6fea1e4dcc41c98c0452846c.
2021-12-30 09:01:00 -05:00
matthewp
57773b932f
[ci] yarn format
2021-12-23 21:02:26 +00: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
Matthew Phillips
991c30a72a
Don't run dev mode tests on windows ( #2262 )
...
* Don't run dev mode tests on windows
* Debugging
* chore(lint): Prettier fix
* remove the throw
* Skip a different way
* chore(lint): Prettier fix
* Skip the error test on windows too
* chore(lint): Prettier fix
* Move the after into the closure
* chore(lint): Prettier fix
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 15:24:02 -05:00
Jonathan Neal
160b45bf4d
bump webapi ( #2263 )
2021-12-23 14:35:26 -05:00
Matthew Phillips
f14c1fb4e4
Fix formatting issues caused by release ( #2261 )
...
* Run formatting on the release notes
* Update version in test due to releases GH
2021-12-23 12:41:55 -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
Jonathan Neal
6ddd7678ff
Use accessible indentation ( #2253 )
2021-12-22 16:11:05 -05:00
Jonathan Neal
305ce4182f
Cleanup test debugging ( #2250 )
2021-12-22 14:25:22 -05:00
Jonathan Neal
b214b095f3
Improve CLI & CLI Testing ( #2245 )
...
* Fix astro --version, astro --help
* Improve CLI testing
* nit: fix for windows
* nit: try different async cli tests
* fix: core dev
* nit: cleanup core
* nit: change port for config test
* nit: write config differently than project-root
* nit: cleanup AstroDevServer properties
2021-12-22 14:23:15 -05:00
Jonathan Neal
3f08b45955
bump webapi ( #2249 )
2021-12-22 10:08:15 -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
Matthew Phillips
9aff6eee71
Flagged static (performance optimized) build ( #2168 )
...
* Progress on build demo
* Go back to ESM
* Some more progress on the new build
* More progress here
* Add support for hot reload
* Almost done
* Remove debugging stuff
* chore(lint): Prettier fix
* Pass through the origin
* Do not use ssr mode
* Use the logger
* chore(lint): Prettier fix
* Update yarn lock
* Fix types
* Only build chunks that are astro pages
* Debugging windows
* Prevent compilation race condition
* Read the file if not found in the cache
* Give a better error message when we can't find a page
* chore(lint): Prettier fix
* Fix windows maybe
* chore(lint): Prettier fix
* Some more windows debugging
* chore(lint): Prettier fix
* Remove console logs
* More debugging
* chore(lint): Prettier fix
* More debugging info
* chore(lint): Prettier fix
* Remove logging again
* Try to prevent port conflicts
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-21 11:57:50 -05:00
ptrxyz
83053bcae9
Update index.js ( #2236 )
...
Enables PostCSS in Svelte components. Fixes #2211
2021-12-19 18:14:25 -05:00
Jonathan Neal
ac7f944d6a
Bump @astropub/webapi
( #2218 )
...
* bump polyfill
* chore(lint): Prettier fix
* chore: force ci
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-19 14:44:30 -05:00
Nate Moore
bd246f0b2d
docs: add deprecation notice to @astrojs/parser
2021-12-16 18:00:02 -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
b8be7e868e
Revert "[ci] update lockfile ( #2212 )"
...
This reverts commit 3f3eceb16b
.
2021-12-16 17:03:56 -06:00
Fred K. Schott
3f3eceb16b
[ci] update lockfile ( #2212 )
...
* [ci] update lockfile
* bump vite,@astropub/webapi
* exclude document
* chore(lint): Prettier fix
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-16 09:05:41 -05: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
Sarah Rainsberger
bd1956b72f
Revert default RSS feed generated to rss.xml (0.21 changed to feed.xml) ( #2172 )
...
* Create sandbox.config.json specifying port 3000
* Update sandbox.config.json
* Create sandbox.config.json for blog example
* Create sandbox.config.json for multiple authors blog
* added sandbox config to portfolios
* [ci] yarn format
* added sandbox.config.json to more frameworks examples
* [ci] yarn format
* reverted default rss to rss.xml
Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
2021-12-13 16:30:24 -05:00
Jonathan Neal
6570a20442
rebase ( #2087 )
2021-12-13 16:18:21 -05:00
Francois Valdy
5f5dc60976
Add missing licenses to published packages ( #2166 )
...
* chore: add missing licenses
* chore: update package.json info
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-12-13 15:14:34 -06:00
Jonathan Neal
c3db1eb4ef
Upgrade dependencies ( #2085 )
...
* yarn upgrade
* yarn upgrade --latest yargs-parser
* yarn upgrade --latest mime
* yarn upgrade --latest execa
* yarn upgrade --latest globby
* yarn upgrade --latest @docsearch/react
* yarn upgrade --latest es-module-lexer
* yarn upgrade --latest fast-xml-parser
* yarn upgrade --latest @astrojs/compiler @astrojs/language-server
* yarn upgrade --latest acorn
* clean yarn.lock
* chore: put `@docsearch/react` back to v1
* chore: remove unused @snowpack/plugin-dotenv
* Update yarn.lock
* Patch tests based on newer versions of tooling
* remove lerna
* Update yarn.lock
* Update yarn.lock
* Pin @sveltejs/vite-plugin-svelte
* update yarn.lock
2021-12-13 15:59:08 -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
Qoddi App Platform
b87891f50e
Added Qoddi inside the sponsor list ( #2141 )
...
Registered on Open collective, thanks!
2021-12-07 12:23:24 -06: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
ddac977748
Skip flaky macOS Sass test ( #2138 )
...
* test: skip flaky macOS test
* test: skip flaky macOS test
2021-12-06 16:32:07 -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
GitHub Action
ec6cdef62d
chore(lint): Prettier fix
2021-12-06 19:24:10 +00: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
Matthew Phillips
97174e6ff4
Add tests for assets using imports ( #2090 )
2021-12-02 12:32:42 -05: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