Matthew Phillips
a0639b34f0
Use Vite fork
2021-10-18 14:53:07 -04:00
Drew Powers
8145dc042c
Restructure ( #1569 )
2021-10-15 18:28:04 -06:00
Nate Moore
e878fc3026
[Next] fetch
support ( #1563 )
...
* fix: polyfill fetch in every ssr scenario
* test(fetch): update fetch tests
* docs: update data fetching guide to remove caveats about `fetch` and isomorphic usage
* refactor: update regex for clarity
2021-10-15 14:11:40 -06:00
Drew Powers
986f028714
Chore: Enable more tests with new compiler changes ( #1558 )
2021-10-15 14:11:39 -06:00
Nate Moore
19d45496e7
[next] Update renderers ( #1509 )
...
* chore: update vite
* fix(renderers): point renderers to resolved server/client entrypoints
2021-10-15 14:10:26 -06:00
Matthew Phillips
5fbd05be15
Implements top-level Astro + Astro.resolve ( #1556 )
...
* Implements top-level Astro + Astro.resolve
* Fix linting
2021-10-15 14:08:43 -06:00
Matthew Phillips
f199c69eab
Brings back astro-dynamic tests ( #1548 )
2021-10-15 14:08:07 -06:00
Matthew Phillips
b418ae31b8
Move hydration to the compiler ( #1547 )
...
* Move hydration to the compiler
* Move extracting url, export to util fn
2021-10-15 14:07:31 -06:00
Fred K. Schott
215f46aa01
[next] Fix Astro.fetchContent ( #1480 )
...
* fix Astro.fetchContent
* fix(fetchContent): cast type
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-10-15 14:06:30 -06:00
Matthew Phillips
190fba394d
[next] Support for custom elements ( #1528 )
...
* [next] Support for custom elements
* Fix eslint errors
* eslint again
2021-10-15 14:05:36 -06:00
Matthew Phillips
dc7260bea2
[next] support Astro.slots API ( #1516 )
2021-10-15 14:05:34 -06:00
Matthew Phillips
8c30740442
Add hydration to Solid renderer ( #1479 ) ( #1495 )
...
* feat: add hydration to Solid renderer
* fix: intersection observer, move script to the end
Co-authored-by: Ryan Carniato <ryansolid@gmail.com>
2021-10-15 14:05:01 -06:00
Matthew Phillips
d7152acb85
Enables most slot tests ( #1494 )
...
* Enables most slot tests
* Use spreadAttributes
2021-10-15 14:00:38 -06:00
Matthew Phillips
09038cd457
Add back in support for children ( #1486 )
...
* Add back in support for children
* Be more careful
2021-10-15 13:59:45 -06:00
Matthew Phillips
21294f7e0b
Apply changes from #1387
2021-10-15 13:59:44 -06:00
Pranav Karawale
3ddc3646d9
Fix logger locale parsing ( #1439 )
...
* fix(logger): locale parsing
* Fixed issue of compiler crash when "c" locale was encountered
* Return default locale if parsed locale is less than 2 chars long
* chore: add changeset
2021-10-15 13:59:32 -06:00
Drew Powers
d818c9bb92
Fix CI release on merge to next ( #1427 )
2021-10-15 13:59:30 -06:00
Drew Powers
b99eacfa54
Try mocha/chai test runners ( #1418 )
...
* Try mocha/chai test runners
* Disable failing smoke test for now
Will revert when next can build docs
* Enable mocha in parallel mode
* Remove warning
* Update docs
* Fix Windows bug
* Fix internal imports
* Fix styles
2021-10-15 13:58:29 -06:00
Nate Moore
73eb8edfe3
feat: update compiler ( #1421 )
2021-10-15 13:57:24 -06:00
Drew Powers
ccf3b22069
Clean up astro deps ( #1411 )
2021-10-15 13:56:24 -06:00
Drew Powers
68749c7df2
Fix npm install ( #1407 )
2021-10-15 13:53:04 -06:00
Drew Powers
17cebebbee
Allow users to pass config to Vite
2021-10-15 13:53:04 -06:00
Drew Powers
5f6eaf24fe
Improve testing suite
2021-10-15 13:53:04 -06:00
Nate Moore
480b7dbafc
Throw Error for WIP Features
2021-10-15 13:53:04 -06:00
Fred K. Schott
34e016aeb3
Fred fixes part 2
2021-10-15 13:53:03 -06:00
Nate Moore
75fc9f2c7a
Tycho fixes
2021-10-15 13:50:08 -06:00
Nate Moore
2cf885ee73
Add Markdown support
2021-10-15 13:50:06 -06:00
Drew Powers
561fecd03b
Fix runtime, improve code frame
2021-10-15 13:43:49 -06:00
Drew Powers
bf38f9ea93
Update compiler, improve tests
2021-10-15 13:43:49 -06:00
Fred K. Schott
00389e3fc0
fred fixes
2021-10-15 13:43:48 -06:00
Drew Powers
7ae9a09186
More test improvements
2021-10-15 13:43:48 -06:00
Nate Moore
c6a5b518ab
Update tests
2021-10-15 13:43:47 -06:00
Drew Powers
7eaf14ce15
Move Astro to Vite
2021-10-15 13:34:53 -06:00
Fred K. Schott
a195e3155a
make astro-root uids unique
2021-10-15 13:26:49 -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