diff options
Diffstat (limited to 'examples/hackernews')
-rw-r--r-- | examples/hackernews/astro.config.mjs | 1 | ||||
-rw-r--r-- | examples/hackernews/package.json | 5 | ||||
-rw-r--r-- | examples/hackernews/src/env.d.ts | 1 | ||||
-rw-r--r-- | examples/hackernews/tsconfig.json | 4 |
4 files changed, 6 insertions, 5 deletions
diff --git a/examples/hackernews/astro.config.mjs b/examples/hackernews/astro.config.mjs index 68ba7fac5..bf6f1a022 100644 --- a/examples/hackernews/astro.config.mjs +++ b/examples/hackernews/astro.config.mjs @@ -1,3 +1,4 @@ +// @ts-check import { defineConfig } from 'astro/config'; import node from '@astrojs/node'; diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 9922b58f7..b3e9361e3 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -5,13 +5,12 @@ "private": true, "scripts": { "dev": "astro dev", - "start": "astro dev", "build": "astro build", "preview": "astro preview", "astro": "astro" }, "dependencies": { - "@astrojs/node": "^8.3.4", - "astro": "^4.16.16" + "@astrojs/node": "^9.0.0-alpha.1", + "astro": "^5.0.0-beta.11" } } diff --git a/examples/hackernews/src/env.d.ts b/examples/hackernews/src/env.d.ts deleted file mode 100644 index e16c13c69..000000000 --- a/examples/hackernews/src/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// <reference path="../.astro/types.d.ts" /> diff --git a/examples/hackernews/tsconfig.json b/examples/hackernews/tsconfig.json index d78f81ec4..8bf91d3bb 100644 --- a/examples/hackernews/tsconfig.json +++ b/examples/hackernews/tsconfig.json @@ -1,3 +1,5 @@ { - "extends": "astro/tsconfigs/base" + "extends": "astro/tsconfigs/strict", + "include": [".astro/types.d.ts", "**/*"], + "exclude": ["dist"] } |