mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
b3886c206f
* 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>
53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"name": "root",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"release": "yarn build && yarn changeset publish",
|
|
"build": "yarn build:core",
|
|
"build:core": "lerna run build --scope astro --scope astro-parser --scope create-astro",
|
|
"build:vscode": "lerna run build --scope astro-languageserver --scope astro-vscode --scope astro-parser",
|
|
"dev:vscode": "lerna run dev --scope astro-languageserver --scope astro-vscode --scope astro-parser --parallel --stream",
|
|
"format": "prettier -w '**/*.{js,jsx,ts,tsx,md,json}'",
|
|
"lint": "eslint 'packages/**/*.ts'",
|
|
"test": "yarn test:core && yarn test:prettier",
|
|
"test:core": "cd packages/astro && npm test",
|
|
"test:prettier": "cd tools/prettier-plugin-astro && npm test"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"examples/*",
|
|
"tools/*",
|
|
"scripts",
|
|
"www"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.22.0"
|
|
},
|
|
"volta": {
|
|
"node": "14.16.1",
|
|
"npm": "7.11.2",
|
|
"yarn": "1.22.10"
|
|
},
|
|
"dependencies": {
|
|
"@changesets/cli": "^2.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
|
"@typescript-eslint/parser": "^4.18.0",
|
|
"cheerio": "^1.0.0-rc.6",
|
|
"cheerio-select-tmp": "^0.1.1",
|
|
"del": "^6.0.0",
|
|
"esbuild": "^0.11.17",
|
|
"eslint": "^7.25.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"execa": "^5.0.0",
|
|
"lerna": "^4.0.0",
|
|
"prettier": "^2.2.1",
|
|
"svelte": "^3.38.0",
|
|
"tiny-glob": "^0.2.8",
|
|
"typescript": "^4.2.4",
|
|
"uvu": "^0.5.1"
|
|
}
|
|
}
|