Commit graph

132 commits

Author SHA1 Message Date
Fred K. Schott
a64a703246
Update congratsbot.yml 2021-08-08 11:26:30 -07:00
Fred K. Schott
30d258596e
Testing github action, safe to ignore (#1058)
* Update congratsbot.yml

* Update congratsbot.yml
2021-08-08 11:25:13 -07:00
Fred K. Schott
ddca6e4c93
Create congratsbot.yml (#1057) 2021-08-08 11:09:34 -07:00
Fred K. Schott
7f6dd972b8
Update congratsbot.yml (#1055) 2021-08-08 11:05:30 -07:00
Fred K. Schott
8e7c5ef991
Create congratsbot action 2021-08-08 11:02:43 -07:00
Fred K. Schott
2360e2c8a2 testing complete, add back if check for release message 2021-08-05 23:19:54 -07:00
Fred K. Schott
9533258534 update discord release message 2021-08-05 23:15:34 -07:00
Fred K. Schott
49e8bde4e1 update discord release message 2021-08-05 23:12:57 -07:00
Fred K. Schott
db90e7046a add discord announcement when a new release goes out 2021-08-05 23:01:18 -07:00
Fred K. Schott
f0737adf2c
update release CI script to publish (#1034) 2021-08-05 13:39:55 -07:00
Fred K. Schott
7d82ce9c92 fix changeset ci 2021-07-24 16:00:57 -07:00
Fred K. Schott
c5073cc982 stop ignoring release ci script 2021-07-24 15:57:01 -07:00
Fred K. Schott
debbc18708 format 2021-07-22 15:38:39 -07:00
Fred K. Schott
91dba89833
improve ci (#802) 2021-07-22 08:51:07 -07:00
Fred K. Schott
a7e66666e4
tsconfig fix (#752) 2021-07-19 18:23:39 -07:00
Drew Powers
9d3cd49410
Improve templates test (#377) 2021-06-11 15:07:30 -06:00
Drew Powers
a660e49f80
Add integration test for templates (#372) 2021-06-10 10:30:48 -06:00
Matthew Phillips
5cc90f9dc1
Move parser to the scoped package name (#319)
* Move parser to the scoped package name

* Prettier plugin should use 0.12 of the parser
2021-06-07 16:05:13 -04:00
Drew Powers
f366520995
Improve Advanced Styling doc (#268) 2021-05-27 20:05:29 -06:00
Nate Moore
087fe6276f
chore: format workflow, format .astro files (#211) 2021-05-13 14:20:01 -05:00
Drew Powers
3ef1b01e14
[wip] Fix CI (#202)
* Yarn format

* Fix changeset --since

* Fix Windows tests
2021-05-12 12:06:16 -06:00
Nate Moore
e77c8fff77
Fix workflows! (#198)
* chore: fix changeset workflow

* fix: changeset action

* fix: pre_job => skip_test

* chore: add empty changeset
2021-05-11 17:32:11 -06:00
Drew Powers
52b592a04e
Attempt to fix CI skipping (#165) 2021-05-03 11:27:21 -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
Drew Powers
78fe1cbaf4
Only run CI on pull requests and merges, not every commit (#119) 2021-04-21 10:55:49 -06:00
Nate Moore
54409a0702
Prettier support for .astro files (#106)
* docs: fix readme

* chore: scaffold prettier plugin

* chore(prettier): switch to cjs

* test(prettier): scaffold prettier tests

* test(prettier): add simple prettier tests

* feat(prettier): first pass

* refactor: expose parser as CJS export

* test(prettier): add long expression

* refactor(prettier): use Astro parser + built-in prettier doc for prettier plugin

* chore: remove parser from git

* chore: add prettier-plugin-astro `build` to workflow

* chore: update package-lock

* chore: do not build prettier-plugin-astro

* fix: update engines

* chore: remove NPM restriction

* chore: fix workflow paths

* chore: update build script

* test: fix prettier expr test

* chore: fix parser build on windows

* refactor: add parser tsconfig, extending base config

* chore: relax ban-ts-comment

* chore: fix lint issue

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-04-21 11:14:44 -05:00
duncanhealy
fe63d341cb
action: add kitchen-sink to nodejs workflow (#113) 2021-04-19 22:11:02 +01:00
Drew Powers
034674c88c
Add Windows Support (#93)
* Add Windows to test suite

* Try implicit URL
2021-04-14 13:21:25 -06:00
Drew Powers
3fa6396a7b
Extract Astro styles to external stylesheets (#43)
* Extract Astro styles to external stylesheets

* Require relative URLs in Markdown layouts
2021-03-31 13:04:18 -06:00
Drew Powers
7def0463b1
Add Auto-format action (#33) 2021-03-26 13:45:53 -06:00
Matthew Phillips
ed85702581
Allow HMX components in markdown (#19)
* Allow HMX components in markdown

This adds support for HMX components in markdown. The mechanism for importing is via frontmatter. We could do this differently (setup script maybe?) but since this was the easiest to implement I thought it was a good first-pass option.

* Remove node-fetch from snowpack config

* Assert that the runtime is created successfully

* Add back in the micromark extension for encoding entities

* Encode both codeTextData and codeFlowValue

* Install snowpack app's deps
2021-03-23 15:20:03 -04:00
Matthew Phillips
17c3c98f07
Initial tests set up (#10)
* Begin debugging

* Initial tests set up

This adds tests using uvu (we can switch if people want) and restructures things a bit so that it's easier to test.

Like in snowpack you set up a little project. In our tests you can say:

```js
const result = await runtime.load('/blog/hello-world')
```

And analyze the result. I included a `test-helpers.js` which has a function that will turn HTML into a cheerio instance, for inspecting the result HTML.

* Add CI

* Remove extra console logs

* Formatting
2021-03-19 17:07:45 -04:00