Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add persistence #2

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
8 changes: 8 additions & 0 deletions .changeset/brown-insects-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"calcifer": minor
---

Add persistence

- Use IndexedDb w/ Dexie to persist data
- Add radial progress w/ long press actions
4 changes: 2 additions & 2 deletions components.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"$schema": "https://next.shadcn-svelte.com/schema.json",
"style": "new-york",
"tailwind": {
"config": "tailwind.config.ts",
"config": "tailwind.config.js",
"css": "src/app.css",
"baseColor": "slate"
"baseColor": "neutral"
},
"aliases": {
"components": "$lib/components",
Expand Down
11 changes: 7 additions & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import prettier from "eslint-config-prettier";
import js from "@eslint/js";
import { includeIgnoreFile } from "@eslint/compat";
import svelte from "eslint-plugin-svelte";
import eslintPluginSvelte from "eslint-plugin-svelte";
import globals from "globals";
import { fileURLToPath } from "node:url";
import ts from "typescript-eslint";
Expand All @@ -11,9 +11,9 @@ export default ts.config(
includeIgnoreFile(gitignorePath),
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs["flat/recommended"],
...eslintPluginSvelte.configs["flat/recommended"],
prettier,
...svelte.configs["flat/prettier"],
...eslintPluginSvelte.configs["flat/prettier"],
{
languageOptions: {
globals: {
Expand All @@ -32,7 +32,10 @@ export default ts.config(
},
{
rules: {
"@typescript-eslint/no-unused-vars": ["warn", { varsIgnorePattern: "^_" }],
"@typescript-eslint/no-unused-vars": [
"warn",
{ varsIgnorePattern: "^_", argsIgnorePattern: "^_" },
],
"@typescript-eslint/no-explicit-any": "off",
},
},
Expand Down
41 changes: 23 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,36 +24,41 @@
},
"devDependencies": {
"@changesets/cli": "2.27.11",
"@eslint/compat": "1.2.4",
"@internationalized/date": "3.6.0",
"@sveltejs/adapter-cloudflare": "5.0.0",
"@sveltejs/kit": "2.15.1",
"@eslint/compat": "1.2.5",
"@internationalized/date": "3.7.0",
"@sveltejs/adapter-cloudflare": "5.0.1",
"@sveltejs/kit": "2.16.0",
"@sveltejs/vite-plugin-svelte": "5.0.3",
"autoprefixer": "10.4.20",
"bits-ui": "1.0.0-next.74",
"bits-ui": "1.0.0-next.77",
"changesets-changelog-compact": "0.1.3",
"clsx": "2.1.1",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-svelte": "2.46.1",
"eslint": "9.18.0",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-svelte": "3.0.0-next.15",
"globals": "15.14.0",
"lucide-svelte": "0.469.0",
"lucide-svelte": "0.473.0",
"prettier": "3.4.2",
"prettier-plugin-svelte": "3.3.2",
"prettier-plugin-tailwindcss": "0.6.9",
"svelte": "5.16.0",
"svelte-check": "4.1.1",
"prettier-plugin-svelte": "3.3.3",
"prettier-plugin-tailwindcss": "0.6.10",
"svelte": "5.19.0",
"svelte-check": "4.1.4",
"tailwind-merge": "2.6.0",
"tailwind-variants": "0.3.0",
"tailwindcss": "3.4.17",
"tailwindcss-animate": "1.0.7",
"typescript": "5.7.2",
"typescript-eslint": "8.19.0",
"vite": "6.0.6",
"vitest": "2.1.8"
"typescript": "5.7.3",
"typescript-eslint": "8.20.0",
"vite": "6.0.7",
"vitest": "3.0.2"
},
"dependencies": {
"d3-array": "3.2.4",
"d3-scale": "4.0.2",
"dayjs": "1.11.13",
"mode-watcher": "0.5.0"
"dexie": "4.0.11",
"layerchart": "0.73.0",
"mode-watcher": "0.5.0",
"zod": "3.24.1"
}
}
Loading
Loading