Commit graph

427 commits

Author SHA1 Message Date
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
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
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
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
Erika
488a145456
Normalize and cleanup examples projects (#2364)
* Remove unused line in the examples .gitignore

* Add missing .npmrc, .stackblitzrc and tsconfig.json files to a few examples

* Removed unused file and link directive in the minimal example

* Oops, added an accidental slash
2022-01-12 10:37:16 -05: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
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
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
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
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
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
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
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
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
Jonathan Neal
6ddd7678ff
Use accessible indentation (#2253) 2021-12-22 16:11:05 -05:00
Nate Moore
810aeb321a chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
Jonathan Neal
6570a20442
rebase (#2087) 2021-12-13 16:18:21 -05: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]
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
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
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
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
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
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
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
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
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
Fred K. Schott
8d934059f8
move styles to src (#2003) 2021-11-24 11:10:12 -08:00
github-actions[bot]
0751808a2e
Version Packages (#1988)
* Version Packages (next)

* chore: update CHANGELOG

* fix: merge conflict

* fix: merge conflict

* chore: remove pre.json

* Version Packages

* Version Packages

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-11-23 17:12:00 -06:00
Fred K. Schott
7476a92461
update repo URL (#1994) 2021-11-23 14:47:05 -08:00
github-actions[bot]
fff00e45f0
Version Packages (#1972)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-22 16:31:34 -05:00
github-actions[bot]
63df5fbf23
Version Packages (#1967)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-22 10:27:46 -05:00
github-actions[bot]
b4818701fe
Version Packages (#1928)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 13:01:50 -08:00
Jonathan Neal
1692675575
Doc improvements (#1929)
* Update astro & markdown code blocks for consistency

* Add 'JSX in Frontmatter' note to Migration Guide
2021-11-19 14:53:38 -05:00
github-actions[bot]
3f76849a0b
Version Packages (next) (#1923)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 14:12:11 -05:00
github-actions[bot]
285622b8ae
Version Packages (next) (#1916)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 12:49:37 -05:00
github-actions[bot]
bb90ff60c8
Version Packages (next) (#1907)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 11:22:19 -05:00
github-actions[bot]
05a2c48449
Version Packages (next) (#1904)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 10:39:05 -05:00
github-actions[bot]
a43410b68e
Version Packages (next) (#1881)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 01:21:00 -08:00
github-actions[bot]
eb4d5f1d8f
Version Packages (next) (#1873)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-17 16:25:02 -08:00
github-actions[bot]
96d5a94280
Version Packages (next) (#1863)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-17 19:05:54 -05:00
github-actions[bot]
9f5e196019
Version Packages (next) (#1847)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-16 17:13:29 -05:00
github-actions[bot]
750c249c32
Version Packages (next) (#1796)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-16 13:06:58 -08:00
Ian VanSchooten
df4146c93b
Allow inline code blocks to wrap lines (#1799) 2021-11-11 12:30:09 -07:00
Okiki
eb4effb6b7
docs: seperate npm run build and npm run dev to avoid confusion (#1798)
To avoid confusion I seperated the  `npm run build` and the `npm run dev` commands, beginners might get confused by each command being listed in the same list, thinking they need to run `npm run build` before Astro works properly.

Add `npm run preview` commands to all examples where they are missing
2021-11-11 13:28:51 -06:00
github-actions[bot]
83be55d5dd
Version Packages (next) (#1791)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-11 08:48:04 -05:00
github-actions[bot]
9763b255dd
Version Packages (next) (#1745)
* Version Packages (next)

* chore: update changelog

* chore: update CHANGELOG

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-11-09 12:59:13 -06:00
Sarah Rainsberger
8b54242a46
Adding CodeSandbox config file to all the "next" examples (#1744)
* 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

Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
2021-11-05 10:41:37 -05:00
matthewp
ed3cfe230b [ci] yarn format 2021-11-03 16:29:53 +00:00
Rafid Muhymin Wafi
16e3aa8ee0
children error fix (#1734) 2021-11-03 12:28:41 -04:00
github-actions[bot]
8de20f7435
Version Packages (next) (#1731)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-02 16:22:40 -05:00
github-actions[bot]
e0d9a7627d
Version Packages (next) (#1709)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-29 14:48:54 -05:00
natemoo-re
a5c6f922fa [ci] yarn format 2021-10-29 19:47:01 +00:00
Nate Moore
34e03cf912
do not format vite (#1710)
* Revert "[ci] yarn format"

This reverts commit 93489946cc.

* chore: ignore vendor
2021-10-29 14:45:32 -05:00
matthewp
93489946cc [ci] yarn format 2021-10-29 19:31:54 +00:00
Drew Powers
d84bfe719a
🚀 Astro Next (0.21.0) (#1406)
* make astro-root uids unique

* Move Astro to Vite

* Update tests

* More test improvements

* fred fixes

* Update compiler, improve tests

* Fix runtime, improve code frame

* Add Markdown support

* Tycho fixes

* Fred fixes part 2

* Throw Error for WIP Features

* Improve testing suite

* Allow users to pass config to Vite

* Fix npm install (#1407)

* Automate publish on merge (#1408)

* Add NPM_TOKEN to publish script (#1409)

* Create .npmrc

* Clean up astro deps (#1411)

* Use new renderers (#1412)

* feat: update compiler (#1421)

* 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

* Fix CI release on merge to next (#1427)

* 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

* Apply changes from #1387

* Add back in support for children (#1486)

* Add back in support for children

* Be more careful

* Enables most slot tests (#1494)

* Enables most slot tests

* Use spreadAttributes

* 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>

* [next] support Astro.slots API (#1516)

* [next] Support for custom elements (#1528)

* [next] Support for custom elements

* Fix eslint errors

* eslint again

* [next] Fix Astro.fetchContent (#1480)

* fix Astro.fetchContent

* fix(fetchContent): cast type

Co-authored-by: Nate Moore <nate@skypack.dev>

* Move hydration to the compiler (#1547)

* Move hydration to the compiler

* Move extracting url, export to util fn

* Brings back astro-dynamic tests (#1548)

* Implements top-level Astro + Astro.resolve (#1556)

* Implements top-level Astro + Astro.resolve

* Fix linting

* [next] Update renderers (#1509)

* chore: update vite

* fix(renderers): point renderers to resolved server/client entrypoints

* Chore: Enable more tests with new compiler changes (#1558)

* [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

* Restructure (#1569)

* Upgrade to @astrojs/compiler 0.2.0 (#1584)

* Use Vite fork (#1585)

* Use Vite fork

* Fix linting

* Move Vite to vendor/ and add a license

* Fix linting

* Include the dist folder

* Update files config

* Markdown compilation (#1593)

* Markdown compilation

* remove debugger

* Gets lit hydration working (#1595)

* Gets Astro.fetchContent compilation to work (#1596)

* Gets Astro.fetchContent compilation to work

This fixes Astro.fetchContent so that we handle esbuild transforming the
name of the nested Astro call.

* Remove debugging

* Update the tests

* Remove another debugger

* Update Vite to latest (#1597)

* Add Prism syntax highlighting (#1598)

* Scoped styles with markdown (#1599)

* Bugfix: fix getStaticPaths() cache miss (#1602)

* Fix build order (#1609)

* Bugfix: restore build to get all paths earlier, when build. Same as main.

* Also re-add timings

* [next] blog example fully working (#1610)

* Add environment variables docs (Closes #873) (#1587)

* Added environment variables docs (Closes #873)

* Fixed prefix

* Remove numbered comments (#1611)

* Chore: remove numbered comments

* Clean up block comments

* comment style fixes (#1614)

* [next] Upgrade compiler (#1619)

* [next] Upgrade compiler

* Upgrade to latest compiler

* Fix the path to global css

* Removed debugger

* feat: add fragment support to vite-plugin-astro (#1600)

* [next] fix `.tsx` handling (#1620)

* fix: support tsx in JSX plugin

* fix: preserve JSX via esbuild, only use Babel for JSX compilation

* fix: handle upcoming Vite API for `ssr` flag

* [next] Add CSS preprocessing  (#1589)

* Add concept for style support in Astro

* Update style preprocessor to use new compiler

* fix: massage preprocessStyle type

* fix: @astrojs/compiler types

Co-authored-by: Nate Moore <nate@skypack.dev>

* fix issues in blog-multiple-authors (#1621)

* Move Sass to deps (#1622)

* Update renderer API for Vite (#1623)

* Update renderer API for Vite

* Fix lit-element tests

* Clean up comments

* Throw friendly error if renderer provides viteConfig in a bad format

* Fix changesets (#1628)

* Remove cheerio scanning from build stats (#1629)

* Minor change to jsxTransformOptions, update Renderer API docs (#1630)

* [next] docs example fully working (#1627)

* [next] docs example fully working

* Upgrade compiler to unlock docs

* Add `class:list` directive (#1612)

* Add support for class:list directive

The `class:list` directive serializes an expression of css class names. For React components, `className:list` is also supported.

* Remove `className` support and React tests

* Add tests for the absence of omitted classes

* fix: `define:vars` scoping for styles (#1632)

* feat: fix Debug component (#1633)

* [next] Fix `<Markdown>` component (#1631)

* fix: cleanup issues with <Markdown> component

* fix: fix `content` usage with Markdown

* [next] Fix `<Code>` component (#1635)

* fix: enable Code component

* test: update expect to chai format

* Fixes solid (#1634)

* Fixes solid

* Rename the test

* Rebase with next

* Skip solid test for now

* Add support for markdown plugins (#1650)

* Fix broken next release (#1652)

* Prevent passing  to Svelte components

* Prevent passing class to Vue components

* Add CSS injection, fix portfolio example (#1648)

* Fix portfolio example

* Add .pcss extension

* Update load ssr opts

* Update packages/astro/src/runtime/server/index.ts

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>

* Fixes external HMR (#1654)

* Upgrade compiler version (#1655)

Fixes docs and blog examples

* Resolve renderers relative to the projectRoot (#1659)

* Template fixes (#1656)

* fix: dedupe hashes for identical islands (#1660)

* fix: scope `define:vars` to `:root` for `<style global>` (#1663)

* chore: update compiler to latest (#1664)

* [next] fix island hydration inside of `<Markdown>` (#1665)

* fix: create rehype plugin to smooth over island hydration bugs

* refactor: remove debug code

* chore: explain need for `rehypeIslands`

* Bugfix: renderer-lit missing files on npm (#1669)

* Force Vite to rebuild dependencies (#1670)

* [next] Add `preact/compat` renderer (#1668)

* feat: add preact/compat entry for `@astrojs/renderer-preact`

* Update index.js

* Bugfix: plugin-astro-fetch tries to append node-fetch to node-fetch (#1671)

* Fix Vite race condition (#1674)

* Fix with-nanostore deps (#1675)

Adds missing Solid renderer

* [next] Fix `resolveDependency` on Windows (#1666)

* fix: Windows issue with resolveDependency util

* chore: add comment

* Update CONTRIBUTING.md (#1677)

* Prevent scanning a user's deps (#1678)

* Prevent scanning a user's deps

* Remove unused things

* remove unused util

* Adding a changeset for the remark plugin

* Config changes needed for stater template (#1680)

This does 2 things:

1. Adds prismjs as a dep.
2. Adds shiki as an external.

* Next bugs (#1681)

* fix(#1679): hoisted <script> rendering

* fix(#1679): do not print global for styles, but do for scripts

* fix: update ObjectSet implementation

* fix: dedupe elements in sets

* [next] update compiler (#1683)

* chore: update compiler

* chore: update compiler (again)

* Fix Astro HMR bottleneck (#1684)

* Bugfix: JSX renderers can be declared in any order (#1686)

* chore: update compiler (#1690)

* Exclude lit-server from being optimized (#1691)

This should get the lit example working from `npm`.

* fix: exclude all renderer server entrypoints (#1692)

* chore: update compiler (#1705)

* fix: do not crash when Markdown has no content (#1702)

* feat: improve support for third-party React packages (#1701)

* Remove prism warning when no language is provided (#1703)

* Remove prism warning when no language is provided

* Add the plaintext language instead

* retry deploy

* chore: enter prerelease mode under `next` (#1707)

* Updates to the changesets (#1708)

* Updates to the changesets

* Adds a changeset for astro-prism

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Pranav Karawale <52596591+obnoxiousnerd@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Ryan Carniato <ryansolid@gmail.com>
Co-authored-by: AsyncBanana <58297401+AsyncBanana@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-10-29 15:30:22 -04:00
AsyncBanana
598b64f711
Added descriptions to example (#1566) 2021-10-18 13:36:39 -05:00
AsyncBanana
3cd1c2020b
Added frontmatter example to docs example (#1567) 2021-10-18 13:35:16 -05:00
AsyncBanana
8c739f9ed1
Changed docs TOC buttons to be better touch targets (#1570) 2021-10-18 19:50:10 +02: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
AsyncBanana
4dbad5d5ff
Added descriptions to docs pages (#1550) 2021-10-14 08:33:58 -04: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
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
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
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]
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
Caleb Jasik
ed3b3eae4b
Update /examples/docs/.../MoreMenu.astro (#1446) 2021-09-27 16:57:02 -05:00
Fred K. Schott
cb7a957f41
update examples for stackblitz (#1379) 2021-09-16 08:06:22 -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
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
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
Fred K. Schott
9f06fb014b cleanup docs changes 2021-09-06 01:31:10 -07:00
FredKSchott
b4d1c9bc64 [ci] yarn format 2021-09-06 08:25:23 +00:00
aFuzzyBear
d321d8366b Adds examples page 2021-09-06 01:21:39 -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
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
Patrick Gotthardt
3ab3115fbe
Fixes #1249 (#1250)
Adjust the layout imports in all md files so that they can be resolved.
2021-08-27 13:19:12 -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
Fred K. Schott
e0c39fb217 improve introduction page of example/docs 2021-08-26 15:18:45 -07:00
Fred K. Schott
9f2b1d6071 improve introduction page of example/docs 2021-08-26 15:10:25 -07:00
Fred K. Schott
db0934bb5a improve introduction page of example/docs 2021-08-26 15:09:54 -07:00
Fred K. Schott
fdd701dd88 Merge branch 'okikio/main' (#1111) 2021-08-26 15:04:44 -07:00
Fred K. Schott
2e8db7ad23 add algolia and cleanup docs readme 2021-08-26 15:03:21 -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
Marcus Otterström
3bfd8c125e
Fix CSS in docs example (#1221) 2021-08-24 16:41:42 -07: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
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
Fred K. Schott
f9cd031033
Add zod schema validation (#1198)
* add zod schema validation

* update pageUrlFormat config name

* add trailing slash support to config
2021-08-23 14:07:03 -07:00
github-actions[bot]
3963cef963
Version Packages (#1181)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-23 15:59:55 -04:00
github-actions[bot]
0c314791c4
Version Packages (#1163)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-19 18:03:07 -06:00
Jonathan Neal
e66872125d
add dev script, switch documentation from advising start to dev script (#1141) 2021-08-18 22:07:08 -07:00
github-actions[bot]
986bed8ca4
Version Packages (#1150)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-18 09:24:09 -07:00
github-actions[bot]
66a6c5b06f
Version Packages (next) (#1129)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-17 22:34:47 -07:00
Fred K. Schott
1aa2f92bbc make example favicons prefer non-dark mode 2021-08-17 22:33:42 -07:00
Fred K. Schott
5e0e276609 cleanup example favicons 2021-08-16 14:34:08 -07:00
Rafid Muhymin Wafi
b03f1f71b7
Adding favicon to examples (#1084) 2021-08-16 14:28:38 -07:00
FredKSchott
2347717dea [ci] yarn format 2021-08-13 23:32:55 +00:00
Kaffee☕
57b0c170e8
change the typescript moduleResolution of all examples to "node" (#1108)
* Fixes many Errors related to typescript

Fix Svelte Component Errors importing Svelte standard functions using typescript see https://github.com/snowpackjs/astro/issues/403.
Also fixes "ReferenceError: exports is not defined" see https://github.com/snowpackjs/astro/issues/969.

* change typescript default moduleresolution in examples see #403
2021-08-13 16:31:44 -07:00
github-actions[bot]
43e17e59da
Version Packages (next) (#1092)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-12 01:39:34 -07:00
github-actions[bot]
2b41db1531
Version Packages (next) (#1089)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-11 16:30:24 -07:00
github-actions[bot]
10d6fa4bca
Version Packages (next) (#1087)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-11 15:50:14 -07:00
github-actions[bot]
b54c01bf66
Version Packages (#1064)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-11 15:01:00 -07:00
Marcus Otterström
4f096cbe6c
Add CSS in example project: docs (#1062) 2021-08-08 17:10:26 -05:00
github-actions[bot]
3eb5a0f61f
Version Packages (#1036)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-05 13:57:21 -07:00
Fred K. Schott
8cf0e65a8b Revert "Version Packages (#1011)"
This reverts commit 7f14ea6e38.
2021-08-05 13:54:23 -07:00
github-actions[bot]
7f14ea6e38
Version Packages (#1011)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-05 13:42:36 -07:00
github-actions[bot]
ba70f5c937
Version Packages (#1002)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-03 17:03:28 -04:00
github-actions[bot]
57b736211a
Version Packages (#999)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-03 15:17:37 -04:00
github-actions[bot]
9cf7ca1029
Version Packages (#951)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-03 10:49:20 -04:00
Maciej Palmowski
01d72bc27a
Fixes throwing 404 (#894)
* Fixes throwing 404

* Update index.css

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-30 23:16:36 -07:00
github-actions[bot]
001594faa0
Version Packages (#940)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-30 10:19:00 -04:00
github-actions[bot]
3f167c13cc
Version Packages (#923)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 16:03:39 -04:00
github-actions[bot]
5387b5256c
Version Packages (#922)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 15:49:06 -04:00
github-actions[bot]
b4f7888be3
Version Packages (#912)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 14:37:29 -04:00
github-actions[bot]
239c7b1668
Version Packages (#887)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27 16:10:47 -04:00
github-actions[bot]
509c69627b
Version Packages (#882)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27 12:41:42 -04:00
github-actions[bot]
0ed1817d7a
Version Packages (next) (#865)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27 09:27:02 -04:00
Fred K. Schott
60a2755c0a
some docs site polish (#853)
* some docs polish

* attempt to fix theme toggle
2021-07-26 13:41:32 -07:00
github-actions[bot]
31c24778aa
Version Packages (next) (#859)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-26 11:19:41 -04:00
github-actions[bot]
b863c05ae6
Version Packages (next) (#845)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-24 16:02:25 -07:00
Fred K. Schott
d05fa19dda fix a bad change to example astro versions 2021-07-24 15:53:12 -07:00
Fred K. Schott
e58a04e4ee fix example astro versions 2021-07-22 08:56:38 -07:00
github-actions[bot]
9af0d85e9e
Version Packages (next) (#810)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 22:18:43 -05:00
github-actions[bot]
8f17217e02
Version Packages (next) (#796)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 18:12:11 -05:00
github-actions[bot]
ac64d198e4
Version Packages (next) (#794)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 08:18:13 -07:00
Fred K. Schott
5f922221ba Revert "Version Packages (next) (#692)"
This reverts commit 790bd89ead.
2021-07-21 08:12:32 -07:00
github-actions[bot]
790bd89ead
Version Packages (next) (#692)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 07:57:51 -07:00
Kyosuke
5fcd466d95
replace npm run start with npm start (#791) 2021-07-21 07:09:44 -07:00
Caleb Jasik
8eeb6b4fe8
Docs: npm@7 requires an extra -- for arguments passed to the command, per @natemoo-re's description. (#786) 2021-07-20 20:06:11 -05:00
FredKSchott
50f82e1a53 [ci] yarn format 2021-07-20 04:07:49 +00:00
Fred K. Schott
a7e66666e4
tsconfig fix (#752) 2021-07-19 18:23:39 -07:00
Nate Moore
325e8cba2d
Improve docs theme (#717)
* Revert "Revert "New getting started guide (#715)""

This reverts commit dc4ba25b01.

* style: update docs theme

* style: implement feedback

* feat: remove FOUC

* Update docs/src/pages/404.astro

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>

* Fix 404 title prop

* chore: implement feedback

* fix: ul, ol styles

* fix: center logo on mobile

* fix: improve navbar header contrast

* fix: improve logo overlap

* fix: `.nav-link` radius

* fix: small mobile tweaks

* feat: improve nav styles

* feat: improve embed styles

* fix: feedback items

* fix: make header sticky on mobile

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-07-19 19:36:09 -05:00
Caleb Jasik
304e1c65e6 Fix githubEditUrl variable in examples/docs 2021-07-16 17:54:50 -05:00
Fred K. Schott
dc4ba25b01 Revert "New getting started guide (#715)"
This reverts commit 2827f077ba.
2021-07-16 13:39:48 -04:00
Fred K. Schott
2827f077ba
New getting started guide (#715)
* New getting started guide

* style: small style tweaks

* style: theme updates

* chore: add redirect

* style: theme tweaks

* fix: clamp logo height

* style: fix sidebar width

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-07-16 11:57:07 -05:00
Caleb Jasik
6d06fce6d2
Update docs in compiler messages (#710)
* `github.com/snowpackjs/astro/blob/main/docs/*.md` -> `docs.astro.build/*/`

* convert links to docs site links

* Fix broken links that didn't work w/ the regex.

* Add changeset

* Delete five-weeks-destroy.md

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-16 07:01:31 -04:00
github-actions[bot]
8e87d5da4c
Version Packages (next) (#678)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13 11:21:58 -04:00
Fred K. Schott
783db7b3a0 Merge branch 'improve-lighthouse' 2021-07-13 11:04:27 -04:00
github-actions[bot]
a22a601e9f
Version Packages (next) (#663)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13 08:31:28 -04:00
Shreesh Bhat
3f14bed413 Add lang attribute to html tags 2021-07-13 00:49:13 -04:00
github-actions[bot]
23dcc649fe
Version Packages (#646)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-12 11:19:29 -04:00
github-actions[bot]
e70d9508d9
Version Packages (#639)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-09 09:32:15 -04:00
github-actions[bot]
b2428b3999
Version Packages (#632)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-08 14:14:55 -04:00
Tony Sullivan
0a7b6deaec
Move hydration directives to special attributes (#618)
* feat: ♻️ updating hydration to work with the directive syntax

* test:  Updating tests for the hydration directive syntax

* refactor: Updating example projects for the hydration directive syntax

* test:  Found a test fixture still needing an update to the hydration directive syntax

* style: Prettier strikes again!  Reverting code formatting changes

* refactor: ♻️ moving directive matching to a Set

* refactor: Updating syntax to `client:load`

* refactor: ♻️ Simplifying the `client:` directive match

Per PR feedback from @matthewp

* chore: errant console.warn() snuck into the last commit

* feat: 🔊 Adding a super fancy build warning to update to the directive syntax

* refactor: ♻️ Removing unnecessary checks when matching supported hydration directives

`val` isn't being used for now, but leaving it in the attr destructuring as a reminder since it'll be needed for `client:media`

* test:  Including the original hydration syntax in a test to make sure it builds

* style: 📝 Adding a comment to make it clear why the old hydration syntax is included in a the test markup

* fix: 🐛 updating `head` logic to recognize hydration directive syntax

* docs: Adding changeset

* refactor: 🔥 Removing unnecessary `!hasComponents` check

* docs: 📝 Adding more detail to the changset

Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-07-08 14:07:56 -04:00
github-actions[bot]
2d1998647c
Version Packages (#626)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07 20:34:17 -04:00
github-actions[bot]
97d5a2ba18
Version Packages (#622)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07 16:36:13 -05:00
Nate Moore
5d5d67c8f9
Add framework-specific prompt and setup to create-astro (#620)
* feat(create-astro): add framework-specific prompt and setup

* chore: normalize example `astro.config.mjs` files
2021-07-07 14:52:44 -05:00
github-actions[bot]
2ab625bee8
Version Packages (#602)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 16:30:52 -04:00
github-actions[bot]
816797e350
Version Packages (#597)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 15:06:18 -05:00
github-actions[bot]
e773771b91
Version Packages (#596)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 10:57:09 -04:00
github-actions[bot]
0de30ef01a
Version Packages (#593)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 08:45:35 -04:00
Fred K. Schott
67ef02534f
update example readmes (#591)
* update example readmes

* Update README.md
2021-07-01 08:43:25 -04:00
Fred K. Schott
8f74b3bdbb
update example astro inline docs (#592) 2021-07-01 08:43:02 -04:00
github-actions[bot]
81ea010906
Version Packages (#589)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-30 10:03:52 -04:00
github-actions[bot]
e4fe7c0d02
Version Packages (#567)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-29 16:46:41 -04:00
Nate Moore
42a6ceb587
Fix changesets action (#576)
* chore: move examples to `@example/`, normalize `package.json`

* chore: update lockfile

* chore: add empty changeset
2021-06-29 11:05:33 -05:00
Nate Moore
7063c04dec
Restructure examples (#568)
* rename kitchen sink, pull out react example

* split out the rest of the examples

* align versions

* chore: rename examples

* chore: normalize gitignore

* chore: update package versions

* chore: move framework examples to `framework` namespace

* docs: add README to examples

Co-authored-by: Austin Crim <crim.austin@principal.com>
2021-06-28 10:46:10 -05:00
github-actions[bot]
91e11aee2a
Version Packages (#543)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25 09:51:28 -04:00
Nate Moore
a136c85e6b
New Props API (#515)
* wip: update props api

* feat(#139, #309): enable new props api

* chore: migrate examples to new props API

* docs: update syntax guide for new props API

* chore: update examples to new props API

* chore: update docs to new Props API

* fix: hide __astroInternal from `Astro.props` consumers

* chore: remove scratchpad file

* chore: fix script error

* test: fix failing collection tests

* fix: set __astroInternal to `enumerable: false`

* chore: add changeset

* feat: warn users using old props api
2021-06-24 17:48:24 -05:00
duncanhealy
a89a52b1cd
force pnpm to hoist packages inside astro #342 #190 (#530)
* force pnpm to hoist packages inside astro #342 #190

* Add changeset for hoisted packages #342
2021-06-24 09:48:25 -04:00
github-actions[bot]
16724f93e3
Version Packages (#513)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-22 15:01:33 -04:00
Laura Caroline
1f6fe888db
Fix sidebar scrolling docs (#499)
* Allow scrolling for side bar + scroll bar styling

* Add tentative of styling for firefox
2021-06-21 08:45:11 -04:00
Kitto Khrangtong
24b360cb17
fix: keyboard unable to target theme switcher (#488) 2021-06-17 16:05:22 -04:00
matthewp
47e3ddc665 [ci] yarn format 2021-06-14 20:14:03 +00:00
github-actions[bot]
5222460719
Version Packages (#431)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14 16:12:55 -04:00
matthewp
b49ca27b06 [ci] yarn format 2021-06-14 19:47:05 +00:00
Fred K. Schott
1437b42038
fix some example docs site issues (#434) 2021-06-14 15:45:33 -04:00
matthewp
68c6bc7d76 [ci] yarn format 2021-06-11 19:56:31 +00:00
Laura Caroline
348d829e94
Fix/issue #385 (#392)
* Apply favicon to the docs template

* Fix Sidebar category headers aren't clickable

Fixes #385

* Improve Docs example documentation

* Fix Documentation List on getting started page
2021-06-11 15:55:13 -04:00
github-actions[bot]
6eacdbae42
Version Packages (#381)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-11 09:15:16 -04:00
Fred K. Schott
6bca7c83a7
redesign create-astro (#301)
* redesign create astro

* add changeset

* Use npm start

* Update the astro version

* Adds the changeset

Co-authored-by: Fred Schott <fks@Freds-MBP.attlocal.net>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2021-06-08 11:10:56 -04:00