0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

194 commits

Author SHA1 Message Date
Nate Moore
9cc181c340
Update bug_report_beta.yml 2021-06-23 22:47:39 -05:00
Nate Moore
293a075b51
Update bug_report_beta.yml 2021-06-23 22:44:36 -05:00
Nate Moore
fb509dbee7
Update bug_report_beta.yml 2021-06-23 22:43:51 -05:00
Nate Moore
20b2920c2f
Update bug_report_beta.yml 2021-06-23 22:41:33 -05:00
Nate Moore
cbf89690bc
Update bug_report_beta.yml 2021-06-23 22:41:19 -05:00
Nate Moore
20df70d7c8
Update bug_report_beta.yml 2021-06-23 22:40:50 -05:00
Nate Moore
e8b8519e0c
Create bug_report_beta.yml 2021-06-23 22:36:07 -05:00
Nate Moore
887910d229
Delete test.yml 2021-06-23 22:28:41 -05:00
Nate Moore
b183570dee
Create test.yml 2021-06-23 22:28:09 -05:00
FredKSchott
28c0a45f3c [ci] yarn format 2021-06-23 04:29:22 +00:00
Fred K. Schott
f6e607e0ee
Update ---feature-request.md 2021-06-22 21:28:17 -07:00
Fred K. Schott
c74ba4bece
Update PULL_REQUEST_TEMPLATE.md 2021-06-13 15:53:41 -07:00
Fred K. Schott
9a3a7bc7e7
Delete ---framework---library-support.md 2021-06-13 15:51:21 -07:00
FredKSchott
fbe1493c1b [ci] yarn format 2021-06-13 22:44:26 +00:00
Fred K. Schott
2794765080 Update issue templates 2021-06-13 15:43:19 -07:00
Fred K. Schott
559c384987
Delete ---astro---your-favorite-tool.md 2021-06-13 15:22:02 -07:00
FredKSchott
82f5c48925 [ci] yarn format 2021-06-13 22:20:48 +00:00
Fred K. Schott
32161c3d7d Update issue templates 2021-06-13 15:19:38 -07:00
FredKSchott
a7de693652 [ci] yarn format 2021-06-13 22:18:11 +00:00
Fred K. Schott
aff84c1484 Update issue templates 2021-06-13 15:17:02 -07:00
FredKSchott
9a6cf9a9c4 [ci] yarn format 2021-06-13 22:04:02 +00:00
Fred K. Schott
962e7288e8 Update issue templates 2021-06-13 15:02:54 -07:00
FredKSchott
4d6946bdfb [ci] yarn format 2021-06-13 21:49:42 +00:00
Fred K. Schott
e1dd7848b9 Update issue templates 2021-06-13 14:48:43 -07:00
Fred K. Schott
2b91619fa5
Create config.yml 2021-06-13 14:40:22 -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
4a71de9e3d
Add CODEOWNERS (#88) 2021-04-13 12:02:46 -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
202973291f
Add PR Template (#34)
* Add Auto-format action

* Add PR template
2021-03-26 14:03:07 -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