Commit graph

66 commits

Author SHA1 Message Date
Matthew Phillips
b4c072d1a1 Add gitignore to www 2021-05-07 19:15:57 -04:00
Matthew Phillips
d653a68665 Update the Discord link 2021-05-07 19:06:06 -04: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
ac0bc88ae9 chore: version packages 2021-05-04 12:20:50 -05:00
Drew Powers
94038d3297
Format (#167) 2021-05-03 12:26:10 -06: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
Nate Moore
dea1a6dfc9
Update defaults directory structure to src and dist (#132)
* chore: update defaults in docs

* chore: update config defaults

* test: update tests to config defaults

* chore: update gitignore to new defaults

* docs: update readme to new defaults

* chore: update examples to new defaults

* chore: update default exclude in lang server

* chore: update tests

* test: fix failing tests

* chore: update www defaults
2021-04-26 15:54:20 -06:00
Nate Moore
93e207e38b chore: update discord link 2021-04-21 12:51:04 -05:00
Nate Moore
11bebe2d27
Add assets (#107)
* fix(www): link styles (#100)

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

* chore: add assets

* docs: update readme

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-04-16 12:48:59 -05:00
Nate Moore
ea33d7b2ab style(www): small style tweaks 2021-04-14 22:11:04 -05:00
Nate Moore
077fceabcb fix: update og image 2021-04-14 18:09:30 -05:00
Nate Moore
8472b374b3
New landing page (#95)
* feat: new www

* fix: add svg favicon

* fix: small tweaks

* fix: Drew's nitpicks

* fix: sizing, tagline

* copy: add "astronauts" :)

* fix: astro logo color

* fix: overflow

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-04-14 18:01:51 -05:00
Matthew Phillips
72ae661e9e
Add support for syntax highlighting of code blocks (#65)
* Add support for syntax highlighting of code blocks

* Escape usage of backtick strings

* Add workspace root for snowpack

* Use prismjs/components as an external module
2021-04-08 15:17:00 -04:00
Matthew Phillips
7240f0d677
Create a astro/components/ folder (#63)
This adds astro/components/ and moves the Prism.astro component into there. So to use in a project you can do:

```html
---
import Prism from 'astro/components/Prism.astro';
---

<Prism lang="html" code={`<html> ... </html>`}
```
2021-04-06 15:27:42 -04:00
Matthew Phillips
397b7145cc
Add prism and skeleton www page (#49)
* Add prism and skeleton www page

This adds a Prism plugin, a Prism component, and the skeleton of our www site (just for testing the Prism component at the moment).

* Remove debugging
2021-04-01 15:16:29 -04:00