summaryrefslogtreecommitdiff
path: root/src/compiler (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-03-23import regexGravatar Fred K. Schott 2-1/+9
2021-03-23remove last script tagGravatar Fred K. Schott 1-3/+0
2021-03-23add support for frontmatter scriptsGravatar Fred K. Schott 5-10/+46
2021-03-22cleanup new parser handlingGravatar Fred K. Schott 2-22/+14
2021-03-22add typescript support for expressionsGravatar Fred K. Schott 2-19/+47
2021-03-21another pass at head/body handling in pagesGravatar Fred K. Schott 1-2/+2
2021-03-21get test runner runningGravatar Fred K. Schott 1-1/+1
2021-03-21lots of improvementsGravatar Fred K. Schott 4-75/+49
2021-03-19Initial tests set up (#10)Gravatar Matthew Phillips 25-3963/+3978
* 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-17Setup error logging and provide our first parse errors (#6)Gravatar Matthew Phillips 1-1/+1
This adds parse error in a nicely formatted way, and moves the existing console.logs into a fork of the Snowpack logger. The new logger is not a singleton and won't preformat the message.
2021-03-16Clean up TS typesGravatar Drew Powers 2-143/+134
2021-03-16Bring compiler into Astro (#4)Gravatar Matthew Phillips 30-0/+4528
* include source compiler * Import from JS * Conditionally use the instance contents Co-authored-by: Fred K. Schott <fkschott@gmail.com>