Drew Powers
2c6451ffa2
Clean up astro deps ( #1411 )
2021-10-22 16:25:36 -06:00
Drew Powers
71e721c520
Fix npm install ( #1407 )
2021-10-22 16:25:36 -06:00
Drew Powers
1d2da117bd
Allow users to pass config to Vite
2021-10-22 16:25:36 -06:00
Drew Powers
7fb6e9d2ab
Improve testing suite
2021-10-22 16:25:36 -06:00
Nate Moore
4c1e9a26a9
Throw Error for WIP Features
2021-10-22 16:25:36 -06:00
Fred K. Schott
e8bc289c70
Fred fixes part 2
2021-10-22 16:25:36 -06:00
Nate Moore
f25550080b
Tycho fixes
2021-10-22 16:25:36 -06:00
Nate Moore
1581095d72
Add Markdown support
2021-10-22 16:25:36 -06:00
Drew Powers
6e5ede2175
Fix runtime, improve code frame
2021-10-22 16:25:36 -06:00
Drew Powers
7296e0b0a2
Update compiler, improve tests
2021-10-22 16:25:36 -06:00
Fred K. Schott
c3e7b7f37d
fred fixes
2021-10-22 16:25:36 -06:00
Drew Powers
ec6dbab103
More test improvements
2021-10-22 16:25:36 -06:00
Nate Moore
d8cd8a46ee
Update tests
2021-10-22 16:25:35 -06:00
Drew Powers
ddca8c4dea
Move Astro to Vite
2021-10-22 16:25:35 -06:00
Fred K. Schott
94f36749a0
make astro-root uids unique
2021-10-22 16:25:35 -06:00
github-actions[bot]
345900dd11
Version Packages ( #1642 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-22 17:03:09 -05:00
Jonathan Neal
d5fdeefebb
Pull examples from latest branch ( #1641 )
...
* pull examples from latest branch
* changeset
2021-10-22 17:50:36 -04:00
github-actions[bot]
9f53699d6f
Version Packages ( #1639 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-22 16:20:22 -04:00
Matthew Phillips
025f5e3f22
Revert "Make create-astro use the latest
branch ( #1636 )" ( #1638 )
...
* Revert "Make create-astro use the `latest` branch (#1636 )"
This reverts commit 28f00566ca
.
* Adds a changeset
2021-10-22 16:18:33 -04:00
github-actions[bot]
46d8c64a92
Version Packages ( #1637 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-22 16:04:12 -04:00
Matthew Phillips
28f00566ca
Make create-astro use the latest
branch ( #1636 )
...
* Make create-astro use the `latest` branch
* Adds a changeset
2021-10-22 15:59:02 -04:00
Caleb Jasik
c41d416752
Add const
so that variable is declared rather than pulled out of the ether ( #1591 )
2021-10-19 12:53:26 -06:00
btea
d503603942
fix typo in astro.js ( #1560 )
2021-10-15 09:25:45 -06:00
github-actions[bot]
b7a4542103
Version Packages ( #1557 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-14 15:13:13 -04:00
Levi
31d0688016
Expose Vue component names for devtools ( #1512 )
...
* Expose name on host component for Vue devtools
* Add changeset
* Update changeset to patch from minor
* [ci] collect stats
* [ci] collect stats
Co-authored-by: leviceccato <leviceccato@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2021-10-14 15:08:07 -04:00
Drew Powers
7e4f91db60
Add Vercel sponsorship logo ( #1555 )
...
* Add Vercel sponsorship logo
Also normalize other logos
* Add Vercel logo to www
* Add logos to docs
2021-10-14 12:25:46 -06:00
github-actions[bot]
5ac51bae3a
Version Packages ( #1537 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-12 13:27:06 -04:00
Caleb Jasik
6813106a5d
Add value to staticPaths cache before we await it ( #1498 )
...
* Add value to staticPaths cache before we await it
Fixes https://github.com/snowpackjs/astro/issues/1454
* Update `cache.staticPaths` to store Promises rather than immediate values
2021-10-12 13:04:22 -04:00
github-actions[bot]
0ff5c87a27
Version Packages ( #1527 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-11 08:33:37 -04:00
matthewp
b1b564d03d
[ci] yarn format
2021-10-11 12:13:35 +00:00
Matthew Phillips
dbd2f5076b
Adds the astro check command ( #1410 )
...
* Adds the `astro check` command.
This adds `astro check`, which runs type checking (and general error
checking) on Astro projects.
* print the number of errors found
* Adds a changeset
* Add cli docs
* Upgrade the language server version
* Prevent linting the console.logs
2021-10-11 08:12:15 -04:00
Rafid Muhymin Wafi
bbff0a8a2b
Fiixed netlify and sentry urls ( #1505 )
2021-10-09 17:19:52 -05:00
matthewp
fb0ec06239
[ci] yarn format
2021-10-05 16:22:58 +00:00
Ryan Carniato
f8d1a35ace
Add hydration to Solid renderer ( #1479 )
...
* feat: add hydration to Solid renderer
* fix: intersection observer, move script to the end
2021-10-05 12:20:51 -04:00
github-actions[bot]
b5f1bd46ff
Version Packages ( #1472 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-01 13:36:02 -04:00
Merrick Christensen
0eeb25348e
switch from rm to unlink in order to preserve node 12 compatability in astro-create ( #1468 )
...
* switch from rm to unlink in order to preserve node 12 compatability in astro-create
* add changeset
2021-10-01 13:18:40 -04:00
Matthew Phillips
756e3769d3
Support PureComponent in the react renderer ( #1467 )
...
* Support PureComponent in the react renderer
* Adds a changeset
2021-10-01 11:25:17 -04:00
Matthew Phillips
82672e5c47
Updated srcset checking ( #1462 )
...
* Updated srcset checking
Improved functionality of `srcset` checking as original failed when URL contained a comma ( `,` ).
Utilised function from [srcset-parse](https://github.com/molefrog/srcset-parse ) as couldn't find a way to integrate the package.
Added test to current assets test rather than create a separate one.
* Use srcset-parse
Co-authored-by: Coel May <82788995+coelmay@users.noreply.github.com>
2021-09-30 09:58:20 -04:00
Joshua Byrd
ee27583111
Do we really need a massive 5MB+ banner that takes multiple seconds to load when people open the readme? ( #1459 )
...
* 5MB PNG > 789K JPG
* Different RAW address
* Revert "Different RAW address"
This reverts commit db47b99211
.
2021-09-30 00:28:53 -07:00
github-actions[bot]
b78a58ed33
Version Packages ( #1451 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-28 15:34:16 -04:00
Michael Stramel
806dcd8d8d
Update lit version to v2 ( #1445 )
...
* Update lit version to v2
* Create weak-sheep-clap.md
* Re-assign window.global to window to retain existing functionality
2021-09-28 14:59:28 -04:00
github-actions[bot]
bf6357a233
Version Packages ( #1442 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-28 09:10:41 -04:00
AsyncBanana
3083563506
Fixed props shadowing ( #1433 )
...
* Fixed props shadowing
* Added changeset
* Added prop shadowing test
2021-09-27 11:52:57 -04:00
tony-sull
f061a2b54f
[ci] yarn format
2021-09-24 15:59:26 +00:00
Tero Lindeman
0fca1fbcab
Write pages serially and close file handle ( #1395 )
2021-09-24 17:58:08 +02:00
Drew Powers
939d5c3ae6
Add sponsorship logos ( #1371 )
2021-09-16 22:24:27 -06:00
FredKSchott
d895d3c079
[ci] yarn format
2021-09-16 20:07:52 +00:00
Fred K. Schott
291f2ef537
fix bad benchmark ( #1383 )
2021-09-16 13:06:43 -07:00
github-actions[bot]
ad2962fdac
Version Packages ( #1377 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-15 12:36:26 -04:00
Fred K. Schott
3a0dcbe9b1
Update stats.ts ( #1376 )
2021-09-15 08:53:26 -07:00
Jonathan Neal
98d785af1d
Expose slots to components ( #1368 )
...
* Expose slots to components via Astro.slots
* test: Add Astro.slots API tests
* docs: Document Astro.slots API
* docs: Duplicate Astro.slots documentation to other api-reference markdown
* Update proposal to use booleans, based upon RFC feedback
* update implementation & tests based on request
* changeset
2021-09-15 11:27:59 -04:00
FredKSchott
6623950fbc
[ci] yarn format
2021-09-15 00:24:07 +00:00
github-actions[bot]
3d9b665265
Version Packages ( #1358 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-14 17:22:50 -07:00
kelvinsjk
09b2f0e470
Fix passing Markdown content through props ( #1259 ) ( #1343 )
...
Co-authored-by: Kelvin Soh <kelvinsoh@pop-os.localdomain>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-09-14 17:03:45 -07:00
Caleb Jasik
9cf2df81db
Improve stats logging to use pretty-bytes
so that 20B doesn't get output as 0kB, which is accurate, but confusing ( #1329 )
2021-09-14 16:50:00 -07:00
FredKSchott
6ac2568ae3
[ci] yarn format
2021-09-14 23:49:37 +00:00
(none)
d771dad669
Merge "Remove check for referenced files" ( #1196 )
...
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-09-14 16:47:54 -07:00
Drew Powers
97d37f8f49
Docs: Add READMEs for renderers ( #1351 )
...
* Add README stub for renderers
* Add renderer READMEs
2021-09-14 16:26:23 -07:00
FredKSchott
b5623ada16
[ci] yarn format
2021-09-13 18:12:51 +00:00
Bartek Igielski
dd92871fd7
Prevent removing CSS preloads during bundling ( #1326 )
...
* Prevent removing nodes, becasue styles preloading was detected earlier
* Add separate deduping for preloads and cover it with tests.
* Create quiet-horses-turn.md
* Test merging preload tags
2021-09-10 11:17:17 -06:00
github-actions[bot]
2847ff5382
Version Packages ( #1344 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-09 10:57:16 -07:00
Fred K. Schott
b03f877102
Revert "Version Packages ( #1303 )"
...
This reverts commit 1a88cfde7d
.
2021-09-09 10:53:52 -07:00
github-actions[bot]
1a88cfde7d
Version Packages ( #1303 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-09 10:41:31 -07:00
jasikpark
6fc8202e60
[ci] yarn format
2021-09-07 20:23:50 +00:00
Caleb Jasik
00fd7ca4dc
Fix parsing of an empty literal <pre></pre>
in markdown source ( #1332 )
2021-09-07 15:22:23 -05:00
FredKSchott
b4d1c9bc64
[ci] yarn format
2021-09-06 08:25:23 +00:00
Fred K. Schott
6dc05575a6
scale back the examples page
2021-09-06 01:21:55 -07:00
aFuzzyBear
d321d8366b
Adds examples page
2021-09-06 01:21:39 -07:00
FredKSchott
e516f9c953
[ci] yarn format
2021-09-03 18:07:39 +00:00
Fred K. Schott
e282e8e4ac
Add new <Code> component, to succeed <Prism> ( #1208 )
...
* add code component
* Update packages/astro/components/Debug.astro
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
* Update packages/astro/components/Debug.astro
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
* fix format in debug component
* remove Debug changes
* add wrap support
* add props docs
* update default theme
Co-authored-by: Peter Singh <drgaud@hotmail.com>
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-09-03 11:06:25 -07:00
tony-sull
231020368e
[ci] yarn format
2021-09-03 17:48:25 +00:00
Fred K. Schott
3b4bbdc98d
Format config errors for humans ( #1298 )
...
* format config errors
* fix bad root
2021-09-03 17:47:12 +00:00
Fred K. Schott
ac2c00e99b
fix astro esm-cjs entrypoint ( #1300 )
2021-09-03 17:46:36 +00:00
Caleb Jasik
7cb31c6e01
Import unified types as unified since there is no default export for 'unified'. ( #1296 )
2021-09-03 10:42:20 -07:00
Mani Gandham
7f6c35f636
skip 404.html pages in sitemap generation ( #1287 )
...
* skip 404.html pages in sitemap generation
* update path check for 404
2021-09-01 15:02:11 -07:00
github-actions[bot]
a923268da2
Version Packages ( #1271 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-01 15:58:14 -04:00
Matthew Phillips
231964f084
Add interfaces for built-in components ( #1292 )
...
* Add interfaces for built-in components
* Adds a changeset
2021-09-01 15:49:01 -04:00
Mikkel Tønder
11a6f884be
create-astro: Format console logs and fix message about default renderers ( #1257 )
...
* create-astro: Format console logs and fix message about default renderers
Format the console log statements so the code is easier to read
Add a check to see if the renderers array is empty and only show the message about using the templates default renderers if it isn't
* Add changeset
2021-08-30 14:20:41 -07:00
Fred K. Schott
210fdad42e
fix bad README removal
2021-08-27 11:46:41 -07:00
github-actions[bot]
8d22e4eefe
Version Packages ( #1252 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-27 14:15:29 -04:00
Matthew Phillips
290f203279
Fix knownEntrypoint warning for Fix __astro_hoisted_scripts.js ( #1251 )
...
* Add new internal module to the knownEntrypoints
* Adds a changeset
2021-08-27 13:49:08 -04:00
github-actions[bot]
3bb97ea328
Version Packages ( #1246 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-27 10:46:14 -04:00
matthewp
cd684eb95e
[ci] yarn format
2021-08-27 14:45:59 +00:00
Jonathan Neal
5d2ea57841
Remove unused namespace redirection from the astro parser ( #1245 )
...
* nit: remove unused namespace checking from astro parser
* test: add tests for namespaced attributes, including one removed attribute
* add changeset
2021-08-27 10:43:58 -04:00
matthewp
5cc7947a58
[ci] yarn format
2021-08-27 14:13:41 +00:00
Matthew Phillips
788c769d78
Implementation of hoisted scripts ( #1178 )
...
* Implementation of hoisted scripts
* Use the facade id
* Adds docs on hoisted scripts
* Don't try to run rollup if there are no hoisted scripts
* Handle scripts possibly being undefined (client:only)
* Get rid of changes to the portfolio example
* Adds a changeset
* Remove a todo
* Fix lint errors
* Rename TransformResult property to hoistedScripts
* Move Hoisted Scripts docs to astro-components page
* Fixes lint errors
* Fix path join for windows
2021-08-27 10:12:27 -04:00
Fred K. Schott
fdd701dd88
Merge branch 'okikio/main' ( #1111 )
2021-08-26 15:04:44 -07:00
github-actions[bot]
84c18d3030
Version Packages ( #1239 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-26 15:20:38 -04:00
Okiki
b7ada11ddb
WIP update examples/docs/
2021-08-26 12:15:33 -07:00
Fred K. Schott
ff92be637f
add "astro preview" command ( #1226 )
...
* add "astro preview" command
* Update green-buttons-reflect.md
* Update cli-reference.md
2021-08-26 12:08:52 -07:00
github-actions[bot]
c83d481733
Version Packages ( #1228 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-26 12:56:36 -04:00
Mark Howard
ba4eefdd09
updated comment 'threw' to 'through' ( #1235 )
2021-08-25 22:24:31 -05:00
Fred K. Schott
affcd04f0f
stop building, bundling, and transforming public/ files ( #1210 )
...
* stop bundling public/ files
* update www and examples
2021-08-25 11:51:04 -07:00
Robin Métral
397d8f3d84
Upgrade unified deps and improve unified plugins types ( #1200 )
...
* Upgrade @astrojs/markdown-support deps and update types
* Add changeset
* Update changeset
* Switch astro-markdown-plugins example to use rehype-autolink-headings
Usage of remark-autolink-headings is discouraged in favor of the rehype counterpart: https://github.com/remarkjs/remark-autolink-headings\#remark-autolink-headings
* Add stricter types for unified plugins
This includes a few suggestions from a code review:
- use vfile.toString instead of vfile.value.toString
- refactor plugins to follow unified best practices instead of returning functions that return a plugin
- use any instead of any[] for plugin options types
* Narrow down types to more specific hast or mdast typings
2021-08-25 08:17:45 -04:00
github-actions[bot]
a4a7685be1
Version Packages ( #1217 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-24 16:11:51 -04:00
matthewp
749617b2fb
[ci] yarn format
2021-08-24 19:51:59 +00:00
Mihkel Eidast
44fb8ebcc4
Fix linter errors and warnings ( #1218 )
...
* fix lint issues, enable lint in ci
* add changeset
2021-08-24 15:50:24 -04:00
Matthew Phillips
9482fadeb8
Fix resolution of Astro.resolve in nested components ( #1213 )
...
* Fix resolution of Astro.resolve in nested components
Components were previously tested, however nested folders were not.
* Adds a changeset
2021-08-24 13:38:07 -04:00
github-actions[bot]
582220c8a1
Version Packages ( #1206 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-23 14:18:18 -07:00
FredKSchott
69272dc8d1
[ci] yarn format
2021-08-23 21:08:16 +00:00