Add support for astro (#4780)
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled

* feat: prettier for astro
* feat: eslint for astro
* feat: doc for astro
This commit is contained in:
ghsang
2024-08-14 16:24:22 +09:00
committed by GitHub
parent 48d73c87c3
commit 954682108d
16 changed files with 114 additions and 2 deletions

View File

View File

@@ -0,0 +1,17 @@
{
"name": "astro-app",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"astro": "^4.8.3",
"@astrojs/check": "^0.7.0",
"typescript": "^5.4.5"
}
}

View File

@@ -0,0 +1,16 @@
---
---
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>Astro</title>
</head>
<body>
<h1>Astro</h1>
</body>
</html>

View File

@@ -0,0 +1,3 @@
{
"extends": "astro/tsconfigs/strict"
}