diff --git a/package-lock.json b/package-lock.json index 4158775..ef80750 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.1", "devDependencies": { "@sveltejs/adapter-auto": "next", + "@sveltejs/adapter-static": "^1.0.0-next.41", "@sveltejs/kit": "next", "svelte": "^3.44.0", "svelte-check": "^2.7.1", @@ -17,9 +18,9 @@ } }, "node_modules/@cloudflare/workers-types": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-3.14.1.tgz", - "integrity": "sha512-B1/plF62pt+H2IJHvApK8fdOJAVsvojvacuac8x8s+JIyqbropMyqNqHTKLm3YD8ZFLGwYeFTudU+PQ7vGvBdA==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-3.15.0.tgz", + "integrity": "sha512-meL/Afy5qdIsgfdnlbVfcYUh/YjHk23EWUvgmULf6iDrDbrBcd+fse2os3CC7rxSfScdP1OqJVTHgRSEjUm/Pw==", "dev": true }, "node_modules/@esbuild/linux-loong64": { @@ -164,14 +165,14 @@ } }, "node_modules/@sveltejs/adapter-auto": { - "version": "1.0.0-next.69", - "resolved": "https://registry.npmjs.org/@sveltejs/adapter-auto/-/adapter-auto-1.0.0-next.69.tgz", - "integrity": "sha512-DSrcYgrJ1YFnxJecTiktV4A01B2Avn5t6HvO49YJiGp2mdSxCxJbvqn6I4tPB1T64AInBLFUMmKBK9o9ZJbBMA==", + "version": "1.0.0-next.71", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-auto/-/adapter-auto-1.0.0-next.71.tgz", + "integrity": "sha512-Qsl82HcehWJbZztXgmU/nTPDeeIaB4jrOQpSvy3Pi8octs+rEf/CO87Wk06EP+M/zUzEHDNENMOx0DgWuHpj7Q==", "dev": true, "dependencies": { "@sveltejs/adapter-cloudflare": "1.0.0-next.32", - "@sveltejs/adapter-netlify": "1.0.0-next.75", - "@sveltejs/adapter-vercel": "1.0.0-next.71" + "@sveltejs/adapter-netlify": "1.0.0-next.76", + "@sveltejs/adapter-vercel": "1.0.0-next.72" } }, "node_modules/@sveltejs/adapter-cloudflare": { @@ -186,9 +187,9 @@ } }, "node_modules/@sveltejs/adapter-netlify": { - "version": "1.0.0-next.75", - "resolved": "https://registry.npmjs.org/@sveltejs/adapter-netlify/-/adapter-netlify-1.0.0-next.75.tgz", - "integrity": "sha512-1zTR/U/ceEAyqIGJ74v54G+JbIR+fSmTN9qfqGOM0gBwVoBVRUujGm4tDFJQNYzvuGzVnC7br/rhYMLZd2JluQ==", + "version": "1.0.0-next.76", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-netlify/-/adapter-netlify-1.0.0-next.76.tgz", + "integrity": "sha512-XC33i13N+zkDP1rKrssQ55TPzt4DkLjKux6g1xW2MB+5KxnC9PP2rIkocKxFw/pK2XU8cUIgmOJ1y5PQrHaiKg==", "dev": true, "dependencies": { "@iarna/toml": "^2.2.5", @@ -197,10 +198,16 @@ "tiny-glob": "^0.2.9" } }, + "node_modules/@sveltejs/adapter-static": { + "version": "1.0.0-next.41", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-1.0.0-next.41.tgz", + "integrity": "sha512-Bw6MfEuzuqjKZuVCG7ZHXiOIy/LDoRVR278eeAf4kcwl1B8+YEvChqdCvG2N5Ur+rxUIHstPgeX39HezS8d+mw==", + "dev": true + }, "node_modules/@sveltejs/adapter-vercel": { - "version": "1.0.0-next.71", - "resolved": "https://registry.npmjs.org/@sveltejs/adapter-vercel/-/adapter-vercel-1.0.0-next.71.tgz", - "integrity": "sha512-Tj8za7fMXheaiB6hNqv61jr/AmAUm+G8huoY1cIvtSqqBHzGmiZH+GFK1Tq/e8e0XR2Xb/ZpZCQSyrFLU2grIQ==", + "version": "1.0.0-next.72", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-vercel/-/adapter-vercel-1.0.0-next.72.tgz", + "integrity": "sha512-oNs8FQaYC2NnwDcvX/jc9MDNqXc9HxwGPQNkd+1vBpFVWZl9mShQgCcOMzfTOIH0ka984jYNa0ZawYYHex79xg==", "dev": true, "dependencies": { "@vercel/nft": "^0.22.0", @@ -208,13 +215,13 @@ } }, "node_modules/@sveltejs/kit": { - "version": "1.0.0-next.454", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.454.tgz", - "integrity": "sha512-Adbd837/E8B8TPVPlQZT4R0o3NekmtyUEYnI46M/YupMtg1NnaVdLF8Na6xoivtnIY7dP5H10zGJhGsTon3fPQ==", + "version": "1.0.0-next.460", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.460.tgz", + "integrity": "sha512-bwDkwzEN72+1K5FXqBQGrYOwyA6V5sSSec/A6qXMTfh4uycFTiIQh/e2ki3pxfG0SwijrUo43FEbdKLyBiuDgQ==", "dev": true, "hasInstallScript": true, "dependencies": { - "@sveltejs/vite-plugin-svelte": "^1.0.1", + "@sveltejs/vite-plugin-svelte": "^1.0.3", "cookie": "^0.5.0", "devalue": "^3.1.2", "kleur": "^4.1.4", @@ -239,9 +246,9 @@ } }, "node_modules/@sveltejs/vite-plugin-svelte": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.2.tgz", - "integrity": "sha512-8tTVbNuraeDchBaArNbwaZLpO0feM7BRSdZU5yeM4Clasx2p1p1CYBoWh+VgxZlxiark49HXummkHqKztbl8lA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.3.tgz", + "integrity": "sha512-0Qu51m2W9RBlxWPp8i31KJpnqmjWMOne8vAzgmOX6ZM9uX+/RAv6BNhEMcNoP5MsyLjyW1ZTCiJoaZZ5EeqpFg==", "dev": true, "dependencies": { "@rollup/pluginutils": "^4.2.1", @@ -2303,9 +2310,9 @@ }, "dependencies": { "@cloudflare/workers-types": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-3.14.1.tgz", - "integrity": "sha512-B1/plF62pt+H2IJHvApK8fdOJAVsvojvacuac8x8s+JIyqbropMyqNqHTKLm3YD8ZFLGwYeFTudU+PQ7vGvBdA==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-3.15.0.tgz", + "integrity": "sha512-meL/Afy5qdIsgfdnlbVfcYUh/YjHk23EWUvgmULf6iDrDbrBcd+fse2os3CC7rxSfScdP1OqJVTHgRSEjUm/Pw==", "dev": true }, "@esbuild/linux-loong64": { @@ -2414,14 +2421,14 @@ } }, "@sveltejs/adapter-auto": { - "version": "1.0.0-next.69", - "resolved": "https://registry.npmjs.org/@sveltejs/adapter-auto/-/adapter-auto-1.0.0-next.69.tgz", - "integrity": "sha512-DSrcYgrJ1YFnxJecTiktV4A01B2Avn5t6HvO49YJiGp2mdSxCxJbvqn6I4tPB1T64AInBLFUMmKBK9o9ZJbBMA==", + "version": "1.0.0-next.71", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-auto/-/adapter-auto-1.0.0-next.71.tgz", + "integrity": "sha512-Qsl82HcehWJbZztXgmU/nTPDeeIaB4jrOQpSvy3Pi8octs+rEf/CO87Wk06EP+M/zUzEHDNENMOx0DgWuHpj7Q==", "dev": true, "requires": { "@sveltejs/adapter-cloudflare": "1.0.0-next.32", - "@sveltejs/adapter-netlify": "1.0.0-next.75", - "@sveltejs/adapter-vercel": "1.0.0-next.71" + "@sveltejs/adapter-netlify": "1.0.0-next.76", + "@sveltejs/adapter-vercel": "1.0.0-next.72" } }, "@sveltejs/adapter-cloudflare": { @@ -2436,9 +2443,9 @@ } }, "@sveltejs/adapter-netlify": { - "version": "1.0.0-next.75", - "resolved": "https://registry.npmjs.org/@sveltejs/adapter-netlify/-/adapter-netlify-1.0.0-next.75.tgz", - "integrity": "sha512-1zTR/U/ceEAyqIGJ74v54G+JbIR+fSmTN9qfqGOM0gBwVoBVRUujGm4tDFJQNYzvuGzVnC7br/rhYMLZd2JluQ==", + "version": "1.0.0-next.76", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-netlify/-/adapter-netlify-1.0.0-next.76.tgz", + "integrity": "sha512-XC33i13N+zkDP1rKrssQ55TPzt4DkLjKux6g1xW2MB+5KxnC9PP2rIkocKxFw/pK2XU8cUIgmOJ1y5PQrHaiKg==", "dev": true, "requires": { "@iarna/toml": "^2.2.5", @@ -2447,10 +2454,16 @@ "tiny-glob": "^0.2.9" } }, + "@sveltejs/adapter-static": { + "version": "1.0.0-next.41", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-1.0.0-next.41.tgz", + "integrity": "sha512-Bw6MfEuzuqjKZuVCG7ZHXiOIy/LDoRVR278eeAf4kcwl1B8+YEvChqdCvG2N5Ur+rxUIHstPgeX39HezS8d+mw==", + "dev": true + }, "@sveltejs/adapter-vercel": { - "version": "1.0.0-next.71", - "resolved": "https://registry.npmjs.org/@sveltejs/adapter-vercel/-/adapter-vercel-1.0.0-next.71.tgz", - "integrity": "sha512-Tj8za7fMXheaiB6hNqv61jr/AmAUm+G8huoY1cIvtSqqBHzGmiZH+GFK1Tq/e8e0XR2Xb/ZpZCQSyrFLU2grIQ==", + "version": "1.0.0-next.72", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-vercel/-/adapter-vercel-1.0.0-next.72.tgz", + "integrity": "sha512-oNs8FQaYC2NnwDcvX/jc9MDNqXc9HxwGPQNkd+1vBpFVWZl9mShQgCcOMzfTOIH0ka984jYNa0ZawYYHex79xg==", "dev": true, "requires": { "@vercel/nft": "^0.22.0", @@ -2458,12 +2471,12 @@ } }, "@sveltejs/kit": { - "version": "1.0.0-next.454", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.454.tgz", - "integrity": "sha512-Adbd837/E8B8TPVPlQZT4R0o3NekmtyUEYnI46M/YupMtg1NnaVdLF8Na6xoivtnIY7dP5H10zGJhGsTon3fPQ==", + "version": "1.0.0-next.460", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.460.tgz", + "integrity": "sha512-bwDkwzEN72+1K5FXqBQGrYOwyA6V5sSSec/A6qXMTfh4uycFTiIQh/e2ki3pxfG0SwijrUo43FEbdKLyBiuDgQ==", "dev": true, "requires": { - "@sveltejs/vite-plugin-svelte": "^1.0.1", + "@sveltejs/vite-plugin-svelte": "^1.0.3", "cookie": "^0.5.0", "devalue": "^3.1.2", "kleur": "^4.1.4", @@ -2478,9 +2491,9 @@ } }, "@sveltejs/vite-plugin-svelte": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.2.tgz", - "integrity": "sha512-8tTVbNuraeDchBaArNbwaZLpO0feM7BRSdZU5yeM4Clasx2p1p1CYBoWh+VgxZlxiark49HXummkHqKztbl8lA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.3.tgz", + "integrity": "sha512-0Qu51m2W9RBlxWPp8i31KJpnqmjWMOne8vAzgmOX6ZM9uX+/RAv6BNhEMcNoP5MsyLjyW1ZTCiJoaZZ5EeqpFg==", "dev": true, "requires": { "@rollup/pluginutils": "^4.2.1", diff --git a/package.json b/package.json index c8cf8e6..14070d0 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/adapter-auto": "next", + "@sveltejs/adapter-static": "^1.0.0-next.41", "@sveltejs/kit": "next", "svelte": "^3.44.0", "svelte-check": "^2.7.1", diff --git a/src/lib/Todo.svelte b/src/lib/Todo.svelte new file mode 100644 index 0000000..3bb4d38 --- /dev/null +++ b/src/lib/Todo.svelte @@ -0,0 +1,26 @@ + + +{#if isDev} +