Skip to content

Commit b247ea9

Browse files
committed
first commit
0 parents  commit b247ea9

33 files changed

+5989
-0
lines changed

Diff for: .eslintrc.cjs

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
5+
plugins: ['svelte3', '@typescript-eslint'],
6+
ignorePatterns: ['*.cjs'],
7+
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
8+
settings: {
9+
'svelte3/typescript': () => require('typescript')
10+
},
11+
parserOptions: {
12+
sourceType: 'module',
13+
ecmaVersion: 2020
14+
},
15+
env: {
16+
browser: true,
17+
es2017: true,
18+
node: true
19+
}
20+
};

Diff for: .gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example

Diff for: .npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

Diff for: .prettierrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"useTabs": true,
3+
"singleQuote": true,
4+
"trailingComma": "none",
5+
"printWidth": 100
6+
}

Diff for: README.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# create-svelte
2+
3+
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
4+
5+
## Creating a project
6+
7+
If you're seeing this, you've probably already done this step. Congrats!
8+
9+
```bash
10+
# create a new project in the current directory
11+
npm init svelte@next
12+
13+
# create a new project in my-app
14+
npm init svelte@next my-app
15+
```
16+
17+
> Note: the `@next` is temporary
18+
19+
## Developing
20+
21+
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
22+
23+
```bash
24+
npm run dev
25+
26+
# or start the server and open the app in a new browser tab
27+
npm run dev -- --open
28+
```
29+
30+
## Building
31+
32+
To create a production version of your app:
33+
34+
```bash
35+
npm run build
36+
```
37+
38+
You can preview the production build with `npm run preview`.
39+
40+
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.

Diff for: docs/SOTU.parquet

2.65 MB
Binary file not shown.

Diff for: docs/favicon.png

1.53 KB
Loading

Diff for: docs/index.html

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="description" content="" />
6+
<link rel="icon" href="/sveltekit-typescript-duckdb/favicon.png" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1" />
8+
<meta http-equiv="content-security-policy" content="">
9+
<link rel="stylesheet" href="/sveltekit-typescript-duckdb/internal/assets/pages/index.svelte-1eaf42ac.css">
10+
<link rel="modulepreload" href="/sveltekit-typescript-duckdb/internal/start-90a27d90.js">
11+
<link rel="modulepreload" href="/sveltekit-typescript-duckdb/internal/chunks/vendor-7a87cf4c.js">
12+
<link rel="modulepreload" href="/sveltekit-typescript-duckdb/internal/chunks/paths-4b3c6e7e.js">
13+
<link rel="modulepreload" href="/sveltekit-typescript-duckdb/internal/layout.svelte-31f2772e.js">
14+
<link rel="modulepreload" href="/sveltekit-typescript-duckdb/internal/pages/index.svelte-49fb56cb.js">
15+
</head>
16+
<body>
17+
<div>
18+
19+
20+
<h1>Duck DB Svelte-kit demo</h1>
21+
22+
<div class="description">This is a demo of a static, database-driven page using duckdb WASM.
23+
All the primary text is stored in a parquet file structured to the <a href="https://nonconsumptive.org">nonconsumptive</a> text sharing spec. On load, it gets a copy of duckdb WASM and uses it to mount
24+
the parquet file into the database. Clicking on any year will load the state of the Union address for that year.
25+
</div>
26+
27+
<div class="years svelte-c41948"><div class="year svelte-c41948">1934</div><div class="year svelte-c41948">1935</div><div class="year svelte-c41948">1936</div><div class="year svelte-c41948">1937</div><div class="year svelte-c41948">1938</div><div class="year svelte-c41948">1939</div><div class="year svelte-c41948">1940</div><div class="year svelte-c41948">1941</div><div class="year svelte-c41948">1942</div><div class="year svelte-c41948">1943</div><div class="year svelte-c41948">1944</div><div class="year svelte-c41948">1945</div><div class="year svelte-c41948">1946</div><div class="year svelte-c41948">1947</div><div class="year svelte-c41948">1948</div><div class="year svelte-c41948">1949</div><div class="year svelte-c41948">1950</div><div class="year svelte-c41948">1951</div><div class="year svelte-c41948">1952</div><div class="year svelte-c41948">1953</div><div class="year svelte-c41948">1954</div><div class="year svelte-c41948">1955</div><div class="year svelte-c41948">1956</div><div class="year svelte-c41948">1957</div><div class="year svelte-c41948">1958</div><div class="year svelte-c41948">1959</div><div class="year svelte-c41948">1960</div><div class="year svelte-c41948">1961</div><div class="year svelte-c41948">1962</div><div class="year svelte-c41948">1963</div><div class="year svelte-c41948">1964</div><div class="year svelte-c41948">1965</div><div class="year svelte-c41948">1966</div><div class="year svelte-c41948">1967</div><div class="year svelte-c41948">1968</div><div class="year svelte-c41948">1969</div><div class="year svelte-c41948">1970</div><div class="year svelte-c41948">1971</div><div class="year svelte-c41948">1972</div><div class="year svelte-c41948">1973</div><div class="year svelte-c41948">1974</div><div class="year svelte-c41948">1975</div><div class="year svelte-c41948">1976</div><div class="year svelte-c41948">1977</div><div class="year svelte-c41948">1978</div><div class="year svelte-c41948">1979</div><div class="year svelte-c41948">1980</div><div class="year svelte-c41948">1981</div><div class="year svelte-c41948">1982</div><div class="year svelte-c41948">1983</div><div class="year svelte-c41948">1984</div><div class="year svelte-c41948">1985</div><div class="year svelte-c41948">1986</div><div class="year svelte-c41948">1987</div><div class="year svelte-c41948">1988</div><div class="year svelte-c41948">1989</div><div class="year svelte-c41948">1990</div><div class="year svelte-c41948">1991</div><div class="year svelte-c41948">1992</div><div class="year svelte-c41948">1993</div><div class="year svelte-c41948">1994</div><div class="year svelte-c41948">1995</div><div class="year svelte-c41948">1996</div><div class="year svelte-c41948">1997</div><div class="year svelte-c41948">1998</div><div class="year svelte-c41948">1999</div><div class="year svelte-c41948">2000</div><div class="year svelte-c41948">2001</div><div class="year svelte-c41948">2002</div><div class="year svelte-c41948">2003</div><div class="year svelte-c41948">2004</div><div class="year svelte-c41948">2005</div><div class="year svelte-c41948">2006</div><div class="year svelte-c41948">2007</div><div class="year svelte-c41948">2008</div><div class="year svelte-c41948">2009</div><div class="year svelte-c41948">2010</div><div class="year svelte-c41948">2011</div><div class="year svelte-c41948">2012</div><div class="year svelte-c41948">2013</div><div class="year svelte-c41948">2014</div><div class="year svelte-c41948">2015</div><div class="year svelte-c41948">2016</div><div class="year svelte-c41948">2017</div><div class="year svelte-c41948">2018</div><div class="year svelte-c41948">2019</div><div class="year svelte-c41948">2020</div></div>
28+
29+
Preparing database...
30+
<div id="loading" class="svelte-qfy6rn"></div>
31+
32+
33+
34+
<script type="module" data-hydrate="vk6sa0">
35+
import { start } from "/sveltekit-typescript-duckdb/internal/start-90a27d90.js";
36+
start({
37+
target: document.querySelector('[data-hydrate="vk6sa0"]').parentNode,
38+
paths: {"base":"/sveltekit-typescript-duckdb","assets":"/sveltekit-typescript-duckdb"},
39+
session: {},
40+
route: true,
41+
spa: false,
42+
trailing_slash: "never",
43+
hydrate: {
44+
status: 200,
45+
error: null,
46+
nodes: [
47+
import("/sveltekit-typescript-duckdb/internal/layout.svelte-31f2772e.js"),
48+
import("/sveltekit-typescript-duckdb/internal/pages/index.svelte-49fb56cb.js")
49+
],
50+
params: {}
51+
}
52+
});
53+
</script></div>
54+
</body>
55+
</html>

Diff for: docs/internal/assets/duckdb-browser-eh.worker.2d2f903d.js

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/internal/assets/duckdb-browser-mvp.worker.5bb96a25.js

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/internal/assets/duckdb-eh-d73c4d33.wasm

15.6 MB
Binary file not shown.

Diff for: docs/internal/assets/duckdb-mvp-4d423df8.wasm

18.5 MB
Binary file not shown.

Diff for: docs/internal/assets/pages/index.svelte-1eaf42ac.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/internal/chunks/paths-4b3c6e7e.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
let e="";function a(s){e=s.base,s.assets}export{e as b,a as s};

Diff for: docs/internal/chunks/vendor-7a87cf4c.js

+17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/internal/error.svelte-26f77efc.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/internal/layout.svelte-31f2772e.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/internal/manifest.json

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
".svelte-kit/runtime/client/start.js": {
3+
"file": "start-90a27d90.js",
4+
"src": ".svelte-kit/runtime/client/start.js",
5+
"isEntry": true,
6+
"imports": [
7+
"_vendor-7a87cf4c.js",
8+
"_paths-4b3c6e7e.js"
9+
],
10+
"dynamicImports": [
11+
".svelte-kit/runtime/components/layout.svelte",
12+
".svelte-kit/runtime/components/error.svelte",
13+
"src/routes/index.svelte"
14+
]
15+
},
16+
".svelte-kit/runtime/components/layout.svelte": {
17+
"file": "layout.svelte-31f2772e.js",
18+
"src": ".svelte-kit/runtime/components/layout.svelte",
19+
"isEntry": true,
20+
"isDynamicEntry": true,
21+
"imports": [
22+
"_vendor-7a87cf4c.js"
23+
]
24+
},
25+
".svelte-kit/runtime/components/error.svelte": {
26+
"file": "error.svelte-26f77efc.js",
27+
"src": ".svelte-kit/runtime/components/error.svelte",
28+
"isEntry": true,
29+
"isDynamicEntry": true,
30+
"imports": [
31+
"_vendor-7a87cf4c.js"
32+
]
33+
},
34+
"src/routes/index.svelte": {
35+
"file": "pages/index.svelte-49fb56cb.js",
36+
"src": "src/routes/index.svelte",
37+
"isEntry": true,
38+
"isDynamicEntry": true,
39+
"imports": [
40+
"_vendor-7a87cf4c.js",
41+
"_paths-4b3c6e7e.js"
42+
],
43+
"css": [
44+
"assets/pages/index.svelte-1eaf42ac.css"
45+
]
46+
},
47+
"_vendor-7a87cf4c.js": {
48+
"file": "chunks/vendor-7a87cf4c.js",
49+
"assets": [
50+
"assets/duckdb-mvp-4d423df8.wasm",
51+
"assets/duckdb-browser-mvp.worker.5bb96a25.js"
52+
]
53+
},
54+
"_paths-4b3c6e7e.js": {
55+
"file": "chunks/paths-4b3c6e7e.js"
56+
}
57+
}

Diff for: docs/internal/pages/index.svelte-49fb56cb.js

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/internal/start-90a27d90.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/internal/version.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"version":"1646239729774"}

0 commit comments

Comments
 (0)