summaryrefslogtreecommitdiff
path: root/packages/astro-parser/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-03-21chore: remove `@astrojs/parser` (#2845)Gravatar Juan Martín Seery 31-4738/+0
* Removed parser from astro * Removed parser files * Updated changeset config * Removed from license
2021-12-22Use accessible indentation (#2253)Gravatar Jonathan Neal 26-4218/+4218
2021-11-29Improve GitHub Actions (#2041)Gravatar Nate Moore 1-1/+1
* chore(actions): test new CI action * chore(actions): switch action order * chore(actions): update registry * chore(actions): remove debug * chore(actions): target all packages * chore(actions): test artifacts * chore(actions): try moving artifacts * chore(actions): test moving * chore(actions): test tar approach * chore(actions): test tar approach * chore(actions): use artifacts/packages before tar * chore(actions): test mv -vn * chore(actions): mkdir first * chore(actions): how does tar work? * chore(actions): so good at bash * chore(actions): test matrix * chore(actions): fix test matrix * chore(actions): fix windows? * chore(actions): fix windows? * chore(actions): fix windows! * chore(actions): fix windows! * chore(actions): add lint * chore(actions): add back old actions * chore(actions): test notification action * chore(actions): test notification action again * chore(actions): fix extract action * chore(actions): fix action? * chore(actions): fix action? * chore(actions): fix newlines * chore(actions): test --production flag * chore(actions): test --production flag for test * chore(actions): add execa to production deps * chore(actions): add cheerio to production deps * chore(actions): add production deps for tested examples * chore(actions): fix changelog action * chore(actions): attempt to use --prefer-offline * chore(actions): revert dependencies/devDependencies change * chore(actions): update all actions * chore(actions): add smoke test * chore(actions): update changelog deps * chore(actions): move notify script * chore(actions): consolidate main scripts * chore(actions): update changelog name * chore(actions): update congratsbot * chore(actions): update ci * chore(actions): change lint/format strategy * chore(actions): expose GITHUB_TOKEN to linter * chore(actions): update lint * chore(actions): enable autofix * chore(actions): fetch-depth 0 * chore(actions): fix eslint extensions * chore(actions): debug lint * chore(actions): fix eslint args * chore(actions): fix eslint? * [ci] ESLint fix * [ci] Prettier fix * chore(actions): fix lint! * chore(actions): cleanup comments * chore(actions): fix lint * chore(actions): lint astro only * chore(actions): ignore pattern * chore(actions): no_verify * chore(actions): disable no verify * chore(actions): debug status * chore(actions): add concurrency * chore(actions): add comment about concurrency * chore(actions): make release dependent on lint * chore(actions): move lint first * chore(actions): run CI on PR or `main` only * chore(actions): remove GPR publish step * chore: add back old actions * chore: revert package.json * chore: improve changelog with GitHub info * chore(actions): try pull_request_target * debug lint * debug lint * debug lint * try pull_request_target * update pull_request_target perms * update pull_request_target * fix perms * fix run? * fix run? * fix run? (part 3) * fix run? (part 4) * fix run? (part 5) * fix run! * fix run!! * fix run!!! * fix run!!!! * fix run!!!!! * fix run!!!!!! * add comment about forks Co-authored-by: GitHub Actions <actions-user@github.com>
2021-08-27Remove unused namespace redirection from the astro parser (#1245)Gravatar Jonathan Neal 1-83/+1
* nit: remove unused namespace checking from astro parser * test: add tests for namespaced attributes, including one removed attribute * add changeset
2021-07-29Allow triple-dashes in markdown (#938)Gravatar Matthew Phillips 1-1/+1
* Allow triple-dashes in markdown * Changeset * Remove the .only
2021-07-23Introduce `<style global>` (#824)Gravatar Tony Sullivan 2-14/+2
* Adding support for multiple <style> blocks * Adding support for `<style global>` * scoping @keyframes should also be skipped for <style global> * Adding test coverage for muliple style blocks, global blocks, and scoped keyframes * docs: Updating docs for `<style global>` support * Adding yarn changeset * Punctuation fix in styling docs * docs: Clarifying example use cases given in the docs Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-07-21Handle custom elements in nested JSX (#792)Gravatar Matthew Phillips 2-5/+8
* Handle custom elements in nested JSX * Adds a changeset
2021-07-20Revert "fix(parser): html entities evaluated (#738)"Gravatar Fred K. Schott 3-4/+88
This reverts commit 268186c27d436dd4fe6a330af8790ceeaeb6492c.
2021-07-20fix(parser): html entities evaluated (#738)Gravatar Carter Snook 3-88/+4
2021-07-17feat(parser): remove trim utils (#728)Gravatar Carter Snook 2-20/+2
2021-07-07[ci] yarn formatGravatar natemoo-re 4-8/+6
2021-07-01Implements low-level custom element support (#587)Gravatar Matthew Phillips 5-0/+17
* Implements low-level custom element support * Changes based on self review * Adds a changeset * Polyfills are added even when not hydrating * Remove hydrationMethod option Punting on this idea until it's really needed.
2021-06-24Fix `{...spread}` props (#522)Gravatar Nate Moore 2-3/+1
* fix(#521): allow spread props * chore: add spread prop tests * fix: falsy expressions should only be skipped in 'Expression' case * fix: support primitives in expressions (objects, arrays)
2021-06-16Fix parser error on forward slash (#469)Gravatar Drew Powers 1-1/+2
Fixes #407
2021-06-15Add `<>` fragment support for expressions (#433)Gravatar Nate Moore 1-2/+2
* feat: add support for `<>` and `</>` Fragments * docs: explain Fragments * test: add fragment test
2021-06-02Fix starter template's Tour component (#290)Gravatar Matthew Phillips 2-2/+3
* Fix starter template's Tour component This component had an extra backtick and also didn't import the Markdown component. * Add a changeset
2021-06-02Improve “file not found” error display (#288)Gravatar Drew Powers 2-17/+14
2021-05-26[ci] yarn formatGravatar natemoo-re 1-32/+1
2021-05-21[ci] yarn formatGravatar natemoo-re 1-1/+1
2021-05-21Markdown issue cleanup (#224)Gravatar Nate Moore 1-1/+9
* fix: markdown issues * chore: add changeset * chore: add missing dep * perf: parallelize compileHtml for children
2021-05-17[ci] yarn formatGravatar natemoo-re 2-2/+5
2021-05-17Fix markdown issues (#208)Gravatar Nate Moore 6-4/+91
* Init fix/markdown * Astro Markdown (#207) * Add Astro Markdown to VSCode Extension * Add Astro Markdown to Astro * refactor: update astro-markdown example * feat: remove embedded components from `.md` files * fix: resolve `.md.astro` files at runtime * chore: update markdown tests * feat: add <Markdown> component * chore: bump examples * chore: update example * fix: improve Markdown child handling * feat: harden markdown support, add code fence support, add automatic dedenting * chore: add weird markdown edge cases * chore: update remote-markdown examples * chore: add comment to Markdown.astro * feat: improve markdown support (codefences, nested inside HTML) * refactor: extract import specifier types to set * refactor: conditionally import markdown renderer * refactor: revert special-cased "astro/components" * refactor: revert special-cased "astro/components" * refactor: use astro/components/Markdown.astro * refactor: remove `.md.astro` support in favor of Markdown component * refactor: use regular .astro files * refactor: remove unused code * refactor: move Markdown inside Layout * wip: markdown scoped styles * feat: improve scoped styles in Markdown * feat: micromark => remark ecosystem * fix: markdown build * fix: markdown build * chore: add todo * fix: collect headers text * docs: add Markdown doc * chore: add changeset * docs: improve Markdown highlighting * refactor: prefer Set * refactor: exclude large unified deps * docs: update markdown docs Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com> * chore: remove extra markdown deps * perf: optimize markdown * fix: unified/rehype deps * temp: fix markdown test * test: add TODO comment * fix: do not namespace frontmatter, just astro metadata * test: fix astro-markdown test * test: add realworld markdown example * fix: prism language bug * docs: update markdown docs * chore: bump dependencies * fix: escape codespan * fix: unterminated string literal * fix(vscode): inline dependencies * fix(vscode): dependencies * feat(vscode): embedded markdown * feat: add Markdown syntax highlighting * chore: improve markdown example * fix: markdown example * feat: highlighting improvements * chore: add changeset * fix: CodeBlock => CodeSpan * chore: get astro-markdown example running Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-05-06Chore: fix lint rules, add more error handling for unexpected cases (#177)Gravatar Drew Powers 1-2/+0
2021-04-30Migrate to `yarn` monorepo (#157)Gravatar Nate Moore 29-0/+4770
* 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