chore: version update

This commit is contained in:
monoid 2023-10-26 22:12:16 +09:00
parent ca9dd95461
commit ad7ab6db86
4 changed files with 29 additions and 25 deletions

3
.gitignore vendored
View File

@ -10,3 +10,6 @@ stock.db
.env.test.local
.env.production.local
.env.local
# Fresh build directory
_fresh/

View File

@ -3,31 +3,25 @@
"tasks": {
"start": "deno run -A --watch=static/,routes/ dev.ts",
"prod_start": "deno run -A main.ts",
"update": "deno run -A -r https://fresh.deno.dev/update ."
},
"lint": {
"rules": {
"tags": [
"fresh",
"recommended"
]
}
"update": "deno run -A -r https://fresh.deno.dev/update .",
"build": "deno run -A dev.ts build",
"preview": "deno run -A main.ts"
},
"lint": { "rules": { "tags": ["fresh", "recommended"] } },
"imports": {
"$fresh/": "https://deno.land/x/fresh@1.3.1/",
"preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0",
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.2.3",
"$fresh/": "https://deno.land/x/fresh@1.5.2/",
"preact": "https://esm.sh/preact@10.18.1",
"preact/": "https://esm.sh/preact@10.18.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.2",
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.1",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.0",
"auto-animate": "https://esm.sh/@formkit/auto-animate@0.7.0",
"auto-animate/": "https://esm.sh/@formkit/auto-animate@0.7.0/",
"twind": "https://esm.sh/twind@0.16.19",
"twind/": "https://esm.sh/twind@0.16.19/",
"$std/": "https://deno.land/std@0.193.0/"
"$std/": "https://deno.land/std@0.203.0/",
"kysely": "npm:kysely@^0.25.0"
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
}
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
"exclude": ["**/_fresh/*"]
}

View File

@ -1,4 +1,4 @@
// DO NOT EDIT. This file is generated by fresh.
// DO NOT EDIT. This file is generated by Fresh.
// This file SHOULD be checked into source version control.
// This file is automatically updated during development when running `dev.ts`.
@ -13,7 +13,8 @@ import * as $7 from "./routes/greet/[name].tsx";
import * as $8 from "./routes/index.tsx";
import * as $9 from "./routes/pages/[name].tsx";
import * as $$0 from "./islands/Counter.tsx";
import * as $$1 from "./islands/StockList.tsx";
import * as $$1 from "./islands/Search.tsx";
import * as $$2 from "./islands/StockList.tsx";
const manifest = {
routes: {
@ -30,7 +31,8 @@ const manifest = {
},
islands: {
"./islands/Counter.tsx": $$0,
"./islands/StockList.tsx": $$1,
"./islands/Search.tsx": $$1,
"./islands/StockList.tsx": $$2,
},
baseUrl: import.meta.url,
};

View File

@ -1,5 +1,10 @@
import { Options } from "$fresh/plugins/twind.ts";
import { defineConfig, Preset } from "https://esm.sh/@twind/core@1.1.3";
import presetTailwind from "https://esm.sh/@twind/preset-tailwind@1.1.4";
import presetAutoprefix from "https://esm.sh/@twind/preset-autoprefix@1.0.7";
export default {
...defineConfig({
presets: [presetTailwind() as Preset, presetAutoprefix()],
}),
selfURL: import.meta.url,
} as Options;
}