Skip to content

Commit 467557a

Browse files
committed
added
1 parent de966a7 commit 467557a

File tree

4 files changed

+49
-8
lines changed

4 files changed

+49
-8
lines changed

package-lock.json

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

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"@sveltejs/vite-plugin-svelte": "^3.1.2",
4040
"@tailwindcss/forms": "^0.5.9",
4141
"@tailwindcss/typography": "^0.5.15",
42+
"@types/brace-expansion": "^1.1.2",
4243
"@types/cookie": "^0.6.0",
4344
"@types/dateformat": "^5.0.2",
4445
"@types/gc-stats": "^1.4.3",
@@ -78,6 +79,7 @@
7879
"dependencies": {
7980
"anylogger": "^1.0.11",
8081
"axios": "^1.7.7",
82+
"brace-expansion": "^1.1.6",
8183
"daisyui": "^4.12.10",
8284
"dateformat": "^5.0.3",
8385
"fuse.js": "^7.0.0",

src/hooks.server.ts

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import { isTrueish } from '$lib/tools';
1111
const ROOT_LOG = anylogger('SRV:Hook');
1212
ROOT_LOG.info('Server Startup');
1313

14+
import expand from 'brace-expansion';
15+
let a = expand('a-{1..3}');
16+
ROOT_LOG.info(a);
1417
//
1518
// Init Datastore
1619
// ==============

src/routes/+page.svelte

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<script lang="ts">
2+
import expand from 'brace-expansion';
3+
let a = expand('a-{1..3}');
24
</script>
35

4-
<h1 class=" text-xl font-bold underline ">Welcome to ssSvelteKit!</h1>
6+
<h1 class=" text-xl font-bold underline ">Welcome to ssSvelteKit! {a}</h1>
57
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>

0 commit comments

Comments
 (0)