Skip to content

Commit

Permalink
Migrate Astro config
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Oct 20, 2024
1 parent ba9d932 commit 1b31613
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 0 additions & 3 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ export default defineConfig({
security: {
checkOrigin: true,
},
experimental: {
actions: true,
},
site: 'https://games.connorbaer.com',
prefetch: {
prefetchAll: true,
Expand Down
3 changes: 2 additions & 1 deletion src/actions/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineAction, z } from 'astro:actions';
import { defineAction } from 'astro:actions';
import { z } from 'astro:schema';
import {
db,
eq,
Expand Down
4 changes: 1 addition & 3 deletions src/env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable @typescript-eslint/triple-slash-reference */
/// <reference path="../.astro/actions.d.ts" />
/// <reference path="../.astro/db-types.d.ts" />

Check failure on line 1 in src/env.d.ts

View workflow job for this annotation

GitHub Actions / ci

Do not use a triple slash reference for ../.astro/db-types.d.ts, use `import` style instead
/* eslint-disable @typescript-eslint/triple-slash-reference */
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />

0 comments on commit 1b31613

Please sign in to comment.