Commit graph

338 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Connor Adams
079a78e0ec
Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -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
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
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
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
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
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
059aff923b
Added portfolio example meta description (#1625) 2021-10-25 12:59:53 -05:00
AsyncBanana
4030ca91b5
Add meta name="viewport" to portfolio example (#1624) 2021-10-21 23:28:26 -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
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
Peter Cook
8c3221a0df
Portfolio example fix (#1457)
* Fix project page in portfolio example

Projects list was blank because template filter uses publishDate but
front matter uses published_at. Changed front matter to publishDate.

* Fix nested projects in portfolio example
2021-09-29 16:13:02 -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
jake m
63ca3df3ca
Update gradient background sizing. (#1417) 2021-09-23 20:02:44 -05:00
Tim Jensen
427bc83d1d
Fix typo (#1404)
Portfolio missing t.
2021-09-21 08:56:47 -07: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
Matthew Phillips
b6a75494b1
Add types to examples and docs (#1347)
* Adds a changeset

* Add types to examples and docs

* Make changes based on review feedback

* Avoid using the variable named props

* Make path a const
2021-09-14 09:14:39 -04: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
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
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
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
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
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
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
Maksim Markelov
8464a441f1
Fix portfolio example (#987) 2021-08-03 08:19:34 -04: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
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
Fred K. Schott
f67e8f5f55
New Collections API (#703)
* updated createCollection API

* Update examples/portfolio/src/pages/projects.astro

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

* Update docs/reference/api-reference.md

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

* fix(docs): collection doc typos (#758)

* keep cleaning up docs and adding tests

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Co-authored-by: Mark Pinero <markspinero@gmail.com>
2021-07-21 07:11:57 -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
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
Fred K. Schott
4b1f5c3dc6 code review comments 2021-07-13 10:57:40 -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
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
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
github-actions[bot]
6018769c5c
Version Packages (#330)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 09:46:48 -04:00
github-actions[bot]
68f6e2c5a3
Version Packages (#328)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 09:19:24 -04:00
github-actions[bot]
2db08436e6
Version Packages (#325)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 09:00:07 -04:00
github-actions[bot]
9cf83338cd
Version Packages (#323)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-07 17:28:26 -04:00
github-actions[bot]
d90f3fc540
Version Packages (#318)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-07 16:52:22 -04:00
github-actions[bot]
15a5601591
Version Packages (#299)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-05 10:23:45 -05:00
github-actions[bot]
c6d3456968
Version Packages (#298)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-04 16:55:19 -04:00
github-actions[bot]
7b900d8673
Version Packages (#295)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-04 14:28:14 -04:00
github-actions[bot]
6074771564
Version Packages (#291)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-02 13:51:43 -04:00
github-actions[bot]
436a016408
Version Packages (#285)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-02 12:49:05 -04:00
Nate Moore
94eac19888
Pre-release refactors (#289)
* refactor: expose `astro/components` as component entrypoint

* refactor: remove `extensions` from all configs

* test: fix snowpack tests

* docs: update config doc
2021-06-02 11:35:28 -05:00
github-actions[bot]
44d0adc000
Version Packages (next) (#280)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-29 08:32:29 -05:00
github-actions[bot]
092d201aee
Version Packages (next) (#227)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-28 18:25:36 -05:00
Matthew Phillips
ac43faf85f Release 2021-05-24 16:32:10 -04:00
Drew Powers
c9942c2878
Revert stylegen (#228) 2021-05-21 14:55:25 -06:00
Nate Moore
512670bedd chore: release v0.10.0 2021-05-17 10:20:15 -05:00
Nate Moore
73bab5e385 chore: version packages 2021-05-17 09:40:51 -05:00
github-actions[bot]
971c58da4d
Version Packages (#213)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-17 09:31:37 -05:00
github-actions[bot]
a9f63c5c0c
Version Packages (#195)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-13 12:28:04 -05:00
Drew Powers
d2eb413a6e
Fix portfolio example (#196) 2021-05-11 10:40:04 -06:00
Drew Powers
820012ea16
Improve Snowpack docs styling (#180) 2021-05-07 10:38:38 -06:00
Drew Powers
b81abd5b2c
Add CSS bundling (#172)
* Add CSS bundling

* Add Changeset

* Update build script

* Count better

* Fix stats

* Cleanup

* Add test

* Show profile ms under 750ms
2021-05-06 10:38:53 -06:00
Nate Moore
9ed19317c6 chore: version packages 2021-05-04 17:16:23 -05:00
Nate Moore
3ad0aac8cf
Fix fetchContent for nested files (#171)
* fix: fetchContent within nested folders

* feat: add `sourceId` to fetchContent

* test: update collection tests

* fix: windows compat for importPath

* chore: add changeset

* fix: astroRoot => projectRoot

* feat: add `slash` package

* chore: remove sourceId prop

* chore: update changeset

* format
2021-05-04 17:11:05 -05:00
Nate Moore
ac0bc88ae9 chore: version packages 2021-05-04 12:20:50 -05:00
Nate Moore
4df1347156
Migrate to yarn monorepo (#157)
* chore: use monorepo

* chore: scaffold astro-scripts

* chore: move tests inside packages/astro

* chore: refactor tests, add scripts

* chore: move parser to own module

* chore: move runtime to packages/astro

* fix: move parser to own package

* test: fix prettier-plugin-astro tests

* fix: tests

* chore: update package-lock

* chore: add changesets

* fix: cleanup examples

* fix: starter example

* chore: update changeset config

* chore: update changeset config

* chore: setup changeset release workflow

* chore: bump lockfiles

* chore: prism => astro-prism

* fix: tsc --emitDeclarationOnly

* chore: final cleanup, switch to yarn

* chore: add lerna

* chore: update workflows to yarn

* chore: update workflows

* chore: remove lint workflow

* chore: add astro-dev script

* chore: add symlinked README
2021-04-30 16:33:35 -05:00
Drew Powers
f39a91e6ec
Add portfolio example (#140)
* Add portfolio example

* Feedback
2021-04-30 10:35:20 -06:00