burtenshaw commited on
Commit ·
6a75637
1
Parent(s): ee103e5
adapt to docker
Browse files- Dockerfile +41 -0
- README.md +1 -1
- index.html +0 -19
- package-lock.json +242 -0
- package.json +3 -1
- svelte.config.js +2 -2
Dockerfile
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use an official Node.js runtime as a parent image
|
| 2 |
+
# Using LTS (Long Term Support) version is generally recommended
|
| 3 |
+
FROM node:20-alpine AS base
|
| 4 |
+
|
| 5 |
+
# Set the working directory in the container
|
| 6 |
+
WORKDIR /app
|
| 7 |
+
|
| 8 |
+
# Install dependencies stage
|
| 9 |
+
FROM base AS deps
|
| 10 |
+
# Copy package.json and package-lock.json (or yarn.lock or pnpm-lock.yaml)
|
| 11 |
+
COPY package.json package-lock.json* ./
|
| 12 |
+
# Install dependencies
|
| 13 |
+
RUN npm ci
|
| 14 |
+
|
| 15 |
+
# Build stage
|
| 16 |
+
FROM base AS builder
|
| 17 |
+
# Copy dependencies from the 'deps' stage
|
| 18 |
+
COPY --from=deps /app/node_modules ./node_modules
|
| 19 |
+
# Copy the rest of the application code
|
| 20 |
+
COPY . .
|
| 21 |
+
# Build the SvelteKit application
|
| 22 |
+
RUN npm run build
|
| 23 |
+
|
| 24 |
+
# Production stage
|
| 25 |
+
FROM base AS production
|
| 26 |
+
ENV NODE_ENV=production
|
| 27 |
+
# Copy built application output from the 'builder' stage
|
| 28 |
+
# The output directory is typically 'build' when using adapter-node
|
| 29 |
+
COPY --from=builder /app/build ./build
|
| 30 |
+
# Copy production dependencies from the 'deps' stage
|
| 31 |
+
COPY --from=deps /app/node_modules ./node_modules
|
| 32 |
+
# Copy package.json to run the server
|
| 33 |
+
COPY package.json .
|
| 34 |
+
|
| 35 |
+
# Expose the port the app runs on
|
| 36 |
+
# SvelteKit with adapter-node typically defaults to 3000, but can be overridden by PORT env var
|
| 37 |
+
EXPOSE 7860
|
| 38 |
+
|
| 39 |
+
# Set the command to run the application
|
| 40 |
+
# This starts the Node.js server built by adapter-node
|
| 41 |
+
CMD ["node", "build/index.js"]
|
README.md
CHANGED
|
@@ -3,7 +3,7 @@ title: Genything
|
|
| 3 |
emoji: 😻
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: yellow
|
| 6 |
-
sdk:
|
| 7 |
pinned: false
|
| 8 |
license: apache-2.0
|
| 9 |
short_description: Generate Images using Inference Providers and Fal
|
|
|
|
| 3 |
emoji: 😻
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: yellow
|
| 6 |
+
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
license: apache-2.0
|
| 9 |
short_description: Generate Images using Inference Providers and Fal
|
index.html
DELETED
|
@@ -1,19 +0,0 @@
|
|
| 1 |
-
<!doctype html>
|
| 2 |
-
<html>
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="utf-8" />
|
| 5 |
-
<meta name="viewport" content="width=device-width" />
|
| 6 |
-
<title>My static Space</title>
|
| 7 |
-
<link rel="stylesheet" href="style.css" />
|
| 8 |
-
</head>
|
| 9 |
-
<body>
|
| 10 |
-
<div class="card">
|
| 11 |
-
<h1>Welcome to your static Space!</h1>
|
| 12 |
-
<p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
|
| 13 |
-
<p>
|
| 14 |
-
Also don't forget to check the
|
| 15 |
-
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
| 16 |
-
</p>
|
| 17 |
-
</div>
|
| 18 |
-
</body>
|
| 19 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package-lock.json
CHANGED
|
@@ -9,6 +9,8 @@
|
|
| 9 |
},
|
| 10 |
"devDependencies": {
|
| 11 |
"@sveltejs/adapter-auto": "^6.0.0",
|
|
|
|
|
|
|
| 12 |
"@sveltejs/kit": "^2.20.7",
|
| 13 |
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
| 14 |
"svelte": "^5.28.2",
|
|
@@ -542,6 +544,112 @@
|
|
| 542 |
"dev": true,
|
| 543 |
"license": "MIT"
|
| 544 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 545 |
"node_modules/@rollup/rollup-android-arm-eabi": {
|
| 546 |
"version": "4.40.1",
|
| 547 |
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.40.1.tgz",
|
|
@@ -845,6 +953,32 @@
|
|
| 845 |
"@sveltejs/kit": "^2.0.0"
|
| 846 |
}
|
| 847 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 848 |
"node_modules/@sveltejs/kit": {
|
| 849 |
"version": "2.20.7",
|
| 850 |
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.20.7.tgz",
|
|
@@ -930,6 +1064,13 @@
|
|
| 930 |
"dev": true,
|
| 931 |
"license": "MIT"
|
| 932 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 933 |
"node_modules/acorn": {
|
| 934 |
"version": "8.14.1",
|
| 935 |
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz",
|
|
@@ -973,6 +1114,13 @@
|
|
| 973 |
"node": ">=6"
|
| 974 |
}
|
| 975 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 976 |
"node_modules/cookie": {
|
| 977 |
"version": "0.6.0",
|
| 978 |
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz",
|
|
@@ -1076,6 +1224,13 @@
|
|
| 1076 |
"@jridgewell/sourcemap-codec": "^1.4.15"
|
| 1077 |
}
|
| 1078 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1079 |
"node_modules/fdir": {
|
| 1080 |
"version": "6.4.4",
|
| 1081 |
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.4.tgz",
|
|
@@ -1106,6 +1261,29 @@
|
|
| 1106 |
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
| 1107 |
}
|
| 1108 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1109 |
"node_modules/import-meta-resolve": {
|
| 1110 |
"version": "4.1.0",
|
| 1111 |
"resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz",
|
|
@@ -1117,6 +1295,29 @@
|
|
| 1117 |
"url": "https://github.com/sponsors/wooorm"
|
| 1118 |
}
|
| 1119 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1120 |
"node_modules/is-reference": {
|
| 1121 |
"version": "3.0.3",
|
| 1122 |
"resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.3.tgz",
|
|
@@ -1200,6 +1401,13 @@
|
|
| 1200 |
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
| 1201 |
}
|
| 1202 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1203 |
"node_modules/picocolors": {
|
| 1204 |
"version": "1.1.1",
|
| 1205 |
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
|
@@ -1249,6 +1457,27 @@
|
|
| 1249 |
"node": "^10 || ^12 || >=14"
|
| 1250 |
}
|
| 1251 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1252 |
"node_modules/rollup": {
|
| 1253 |
"version": "4.40.1",
|
| 1254 |
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.40.1.tgz",
|
|
@@ -1334,6 +1563,19 @@
|
|
| 1334 |
"node": ">=0.10.0"
|
| 1335 |
}
|
| 1336 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1337 |
"node_modules/svelte": {
|
| 1338 |
"version": "5.28.2",
|
| 1339 |
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.28.2.tgz",
|
|
|
|
| 9 |
},
|
| 10 |
"devDependencies": {
|
| 11 |
"@sveltejs/adapter-auto": "^6.0.0",
|
| 12 |
+
"@sveltejs/adapter-node": "^5.2.12",
|
| 13 |
+
"@sveltejs/adapter-static": "^3.0.8",
|
| 14 |
"@sveltejs/kit": "^2.20.7",
|
| 15 |
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
| 16 |
"svelte": "^5.28.2",
|
|
|
|
| 544 |
"dev": true,
|
| 545 |
"license": "MIT"
|
| 546 |
},
|
| 547 |
+
"node_modules/@rollup/plugin-commonjs": {
|
| 548 |
+
"version": "28.0.3",
|
| 549 |
+
"resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.3.tgz",
|
| 550 |
+
"integrity": "sha512-pyltgilam1QPdn+Zd9gaCfOLcnjMEJ9gV+bTw6/r73INdvzf1ah9zLIJBm+kW7R6IUFIQ1YO+VqZtYxZNWFPEQ==",
|
| 551 |
+
"dev": true,
|
| 552 |
+
"license": "MIT",
|
| 553 |
+
"dependencies": {
|
| 554 |
+
"@rollup/pluginutils": "^5.0.1",
|
| 555 |
+
"commondir": "^1.0.1",
|
| 556 |
+
"estree-walker": "^2.0.2",
|
| 557 |
+
"fdir": "^6.2.0",
|
| 558 |
+
"is-reference": "1.2.1",
|
| 559 |
+
"magic-string": "^0.30.3",
|
| 560 |
+
"picomatch": "^4.0.2"
|
| 561 |
+
},
|
| 562 |
+
"engines": {
|
| 563 |
+
"node": ">=16.0.0 || 14 >= 14.17"
|
| 564 |
+
},
|
| 565 |
+
"peerDependencies": {
|
| 566 |
+
"rollup": "^2.68.0||^3.0.0||^4.0.0"
|
| 567 |
+
},
|
| 568 |
+
"peerDependenciesMeta": {
|
| 569 |
+
"rollup": {
|
| 570 |
+
"optional": true
|
| 571 |
+
}
|
| 572 |
+
}
|
| 573 |
+
},
|
| 574 |
+
"node_modules/@rollup/plugin-commonjs/node_modules/is-reference": {
|
| 575 |
+
"version": "1.2.1",
|
| 576 |
+
"resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz",
|
| 577 |
+
"integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==",
|
| 578 |
+
"dev": true,
|
| 579 |
+
"license": "MIT",
|
| 580 |
+
"dependencies": {
|
| 581 |
+
"@types/estree": "*"
|
| 582 |
+
}
|
| 583 |
+
},
|
| 584 |
+
"node_modules/@rollup/plugin-json": {
|
| 585 |
+
"version": "6.1.0",
|
| 586 |
+
"resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-6.1.0.tgz",
|
| 587 |
+
"integrity": "sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==",
|
| 588 |
+
"dev": true,
|
| 589 |
+
"license": "MIT",
|
| 590 |
+
"dependencies": {
|
| 591 |
+
"@rollup/pluginutils": "^5.1.0"
|
| 592 |
+
},
|
| 593 |
+
"engines": {
|
| 594 |
+
"node": ">=14.0.0"
|
| 595 |
+
},
|
| 596 |
+
"peerDependencies": {
|
| 597 |
+
"rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
|
| 598 |
+
},
|
| 599 |
+
"peerDependenciesMeta": {
|
| 600 |
+
"rollup": {
|
| 601 |
+
"optional": true
|
| 602 |
+
}
|
| 603 |
+
}
|
| 604 |
+
},
|
| 605 |
+
"node_modules/@rollup/plugin-node-resolve": {
|
| 606 |
+
"version": "16.0.1",
|
| 607 |
+
"resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-16.0.1.tgz",
|
| 608 |
+
"integrity": "sha512-tk5YCxJWIG81umIvNkSod2qK5KyQW19qcBF/B78n1bjtOON6gzKoVeSzAE8yHCZEDmqkHKkxplExA8KzdJLJpA==",
|
| 609 |
+
"dev": true,
|
| 610 |
+
"license": "MIT",
|
| 611 |
+
"dependencies": {
|
| 612 |
+
"@rollup/pluginutils": "^5.0.1",
|
| 613 |
+
"@types/resolve": "1.20.2",
|
| 614 |
+
"deepmerge": "^4.2.2",
|
| 615 |
+
"is-module": "^1.0.0",
|
| 616 |
+
"resolve": "^1.22.1"
|
| 617 |
+
},
|
| 618 |
+
"engines": {
|
| 619 |
+
"node": ">=14.0.0"
|
| 620 |
+
},
|
| 621 |
+
"peerDependencies": {
|
| 622 |
+
"rollup": "^2.78.0||^3.0.0||^4.0.0"
|
| 623 |
+
},
|
| 624 |
+
"peerDependenciesMeta": {
|
| 625 |
+
"rollup": {
|
| 626 |
+
"optional": true
|
| 627 |
+
}
|
| 628 |
+
}
|
| 629 |
+
},
|
| 630 |
+
"node_modules/@rollup/pluginutils": {
|
| 631 |
+
"version": "5.1.4",
|
| 632 |
+
"resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.4.tgz",
|
| 633 |
+
"integrity": "sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==",
|
| 634 |
+
"dev": true,
|
| 635 |
+
"license": "MIT",
|
| 636 |
+
"dependencies": {
|
| 637 |
+
"@types/estree": "^1.0.0",
|
| 638 |
+
"estree-walker": "^2.0.2",
|
| 639 |
+
"picomatch": "^4.0.2"
|
| 640 |
+
},
|
| 641 |
+
"engines": {
|
| 642 |
+
"node": ">=14.0.0"
|
| 643 |
+
},
|
| 644 |
+
"peerDependencies": {
|
| 645 |
+
"rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
|
| 646 |
+
},
|
| 647 |
+
"peerDependenciesMeta": {
|
| 648 |
+
"rollup": {
|
| 649 |
+
"optional": true
|
| 650 |
+
}
|
| 651 |
+
}
|
| 652 |
+
},
|
| 653 |
"node_modules/@rollup/rollup-android-arm-eabi": {
|
| 654 |
"version": "4.40.1",
|
| 655 |
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.40.1.tgz",
|
|
|
|
| 953 |
"@sveltejs/kit": "^2.0.0"
|
| 954 |
}
|
| 955 |
},
|
| 956 |
+
"node_modules/@sveltejs/adapter-node": {
|
| 957 |
+
"version": "5.2.12",
|
| 958 |
+
"resolved": "https://registry.npmjs.org/@sveltejs/adapter-node/-/adapter-node-5.2.12.tgz",
|
| 959 |
+
"integrity": "sha512-0bp4Yb3jKIEcZWVcJC/L1xXp9zzJS4hDwfb4VITAkfT4OVdkspSHsx7YhqJDbb2hgLl6R9Vs7VQR+fqIVOxPUQ==",
|
| 960 |
+
"dev": true,
|
| 961 |
+
"license": "MIT",
|
| 962 |
+
"dependencies": {
|
| 963 |
+
"@rollup/plugin-commonjs": "^28.0.1",
|
| 964 |
+
"@rollup/plugin-json": "^6.1.0",
|
| 965 |
+
"@rollup/plugin-node-resolve": "^16.0.0",
|
| 966 |
+
"rollup": "^4.9.5"
|
| 967 |
+
},
|
| 968 |
+
"peerDependencies": {
|
| 969 |
+
"@sveltejs/kit": "^2.4.0"
|
| 970 |
+
}
|
| 971 |
+
},
|
| 972 |
+
"node_modules/@sveltejs/adapter-static": {
|
| 973 |
+
"version": "3.0.8",
|
| 974 |
+
"resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-3.0.8.tgz",
|
| 975 |
+
"integrity": "sha512-YaDrquRpZwfcXbnlDsSrBQNCChVOT9MGuSg+dMAyfsAa1SmiAhrA5jUYUiIMC59G92kIbY/AaQOWcBdq+lh+zg==",
|
| 976 |
+
"dev": true,
|
| 977 |
+
"license": "MIT",
|
| 978 |
+
"peerDependencies": {
|
| 979 |
+
"@sveltejs/kit": "^2.0.0"
|
| 980 |
+
}
|
| 981 |
+
},
|
| 982 |
"node_modules/@sveltejs/kit": {
|
| 983 |
"version": "2.20.7",
|
| 984 |
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.20.7.tgz",
|
|
|
|
| 1064 |
"dev": true,
|
| 1065 |
"license": "MIT"
|
| 1066 |
},
|
| 1067 |
+
"node_modules/@types/resolve": {
|
| 1068 |
+
"version": "1.20.2",
|
| 1069 |
+
"resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz",
|
| 1070 |
+
"integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==",
|
| 1071 |
+
"dev": true,
|
| 1072 |
+
"license": "MIT"
|
| 1073 |
+
},
|
| 1074 |
"node_modules/acorn": {
|
| 1075 |
"version": "8.14.1",
|
| 1076 |
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz",
|
|
|
|
| 1114 |
"node": ">=6"
|
| 1115 |
}
|
| 1116 |
},
|
| 1117 |
+
"node_modules/commondir": {
|
| 1118 |
+
"version": "1.0.1",
|
| 1119 |
+
"resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
|
| 1120 |
+
"integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==",
|
| 1121 |
+
"dev": true,
|
| 1122 |
+
"license": "MIT"
|
| 1123 |
+
},
|
| 1124 |
"node_modules/cookie": {
|
| 1125 |
"version": "0.6.0",
|
| 1126 |
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz",
|
|
|
|
| 1224 |
"@jridgewell/sourcemap-codec": "^1.4.15"
|
| 1225 |
}
|
| 1226 |
},
|
| 1227 |
+
"node_modules/estree-walker": {
|
| 1228 |
+
"version": "2.0.2",
|
| 1229 |
+
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
|
| 1230 |
+
"integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
|
| 1231 |
+
"dev": true,
|
| 1232 |
+
"license": "MIT"
|
| 1233 |
+
},
|
| 1234 |
"node_modules/fdir": {
|
| 1235 |
"version": "6.4.4",
|
| 1236 |
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.4.tgz",
|
|
|
|
| 1261 |
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
| 1262 |
}
|
| 1263 |
},
|
| 1264 |
+
"node_modules/function-bind": {
|
| 1265 |
+
"version": "1.1.2",
|
| 1266 |
+
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
| 1267 |
+
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
| 1268 |
+
"dev": true,
|
| 1269 |
+
"license": "MIT",
|
| 1270 |
+
"funding": {
|
| 1271 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 1272 |
+
}
|
| 1273 |
+
},
|
| 1274 |
+
"node_modules/hasown": {
|
| 1275 |
+
"version": "2.0.2",
|
| 1276 |
+
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
|
| 1277 |
+
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
|
| 1278 |
+
"dev": true,
|
| 1279 |
+
"license": "MIT",
|
| 1280 |
+
"dependencies": {
|
| 1281 |
+
"function-bind": "^1.1.2"
|
| 1282 |
+
},
|
| 1283 |
+
"engines": {
|
| 1284 |
+
"node": ">= 0.4"
|
| 1285 |
+
}
|
| 1286 |
+
},
|
| 1287 |
"node_modules/import-meta-resolve": {
|
| 1288 |
"version": "4.1.0",
|
| 1289 |
"resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz",
|
|
|
|
| 1295 |
"url": "https://github.com/sponsors/wooorm"
|
| 1296 |
}
|
| 1297 |
},
|
| 1298 |
+
"node_modules/is-core-module": {
|
| 1299 |
+
"version": "2.16.1",
|
| 1300 |
+
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
|
| 1301 |
+
"integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==",
|
| 1302 |
+
"dev": true,
|
| 1303 |
+
"license": "MIT",
|
| 1304 |
+
"dependencies": {
|
| 1305 |
+
"hasown": "^2.0.2"
|
| 1306 |
+
},
|
| 1307 |
+
"engines": {
|
| 1308 |
+
"node": ">= 0.4"
|
| 1309 |
+
},
|
| 1310 |
+
"funding": {
|
| 1311 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 1312 |
+
}
|
| 1313 |
+
},
|
| 1314 |
+
"node_modules/is-module": {
|
| 1315 |
+
"version": "1.0.0",
|
| 1316 |
+
"resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz",
|
| 1317 |
+
"integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==",
|
| 1318 |
+
"dev": true,
|
| 1319 |
+
"license": "MIT"
|
| 1320 |
+
},
|
| 1321 |
"node_modules/is-reference": {
|
| 1322 |
"version": "3.0.3",
|
| 1323 |
"resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.3.tgz",
|
|
|
|
| 1401 |
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
| 1402 |
}
|
| 1403 |
},
|
| 1404 |
+
"node_modules/path-parse": {
|
| 1405 |
+
"version": "1.0.7",
|
| 1406 |
+
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
|
| 1407 |
+
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
|
| 1408 |
+
"dev": true,
|
| 1409 |
+
"license": "MIT"
|
| 1410 |
+
},
|
| 1411 |
"node_modules/picocolors": {
|
| 1412 |
"version": "1.1.1",
|
| 1413 |
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
|
|
|
| 1457 |
"node": "^10 || ^12 || >=14"
|
| 1458 |
}
|
| 1459 |
},
|
| 1460 |
+
"node_modules/resolve": {
|
| 1461 |
+
"version": "1.22.10",
|
| 1462 |
+
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
|
| 1463 |
+
"integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==",
|
| 1464 |
+
"dev": true,
|
| 1465 |
+
"license": "MIT",
|
| 1466 |
+
"dependencies": {
|
| 1467 |
+
"is-core-module": "^2.16.0",
|
| 1468 |
+
"path-parse": "^1.0.7",
|
| 1469 |
+
"supports-preserve-symlinks-flag": "^1.0.0"
|
| 1470 |
+
},
|
| 1471 |
+
"bin": {
|
| 1472 |
+
"resolve": "bin/resolve"
|
| 1473 |
+
},
|
| 1474 |
+
"engines": {
|
| 1475 |
+
"node": ">= 0.4"
|
| 1476 |
+
},
|
| 1477 |
+
"funding": {
|
| 1478 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 1479 |
+
}
|
| 1480 |
+
},
|
| 1481 |
"node_modules/rollup": {
|
| 1482 |
"version": "4.40.1",
|
| 1483 |
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.40.1.tgz",
|
|
|
|
| 1563 |
"node": ">=0.10.0"
|
| 1564 |
}
|
| 1565 |
},
|
| 1566 |
+
"node_modules/supports-preserve-symlinks-flag": {
|
| 1567 |
+
"version": "1.0.0",
|
| 1568 |
+
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
|
| 1569 |
+
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
|
| 1570 |
+
"dev": true,
|
| 1571 |
+
"license": "MIT",
|
| 1572 |
+
"engines": {
|
| 1573 |
+
"node": ">= 0.4"
|
| 1574 |
+
},
|
| 1575 |
+
"funding": {
|
| 1576 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 1577 |
+
}
|
| 1578 |
+
},
|
| 1579 |
"node_modules/svelte": {
|
| 1580 |
"version": "5.28.2",
|
| 1581 |
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.28.2.tgz",
|
package.json
CHANGED
|
@@ -10,9 +10,11 @@
|
|
| 10 |
},
|
| 11 |
"devDependencies": {
|
| 12 |
"@sveltejs/adapter-auto": "^6.0.0",
|
|
|
|
|
|
|
| 13 |
"@sveltejs/kit": "^2.20.7",
|
| 14 |
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
| 15 |
"svelte": "^5.28.2",
|
| 16 |
"vite": "^6.3.3"
|
| 17 |
}
|
| 18 |
-
}
|
|
|
|
| 10 |
},
|
| 11 |
"devDependencies": {
|
| 12 |
"@sveltejs/adapter-auto": "^6.0.0",
|
| 13 |
+
"@sveltejs/adapter-node": "^5.2.12",
|
| 14 |
+
"@sveltejs/adapter-static": "^3.0.8",
|
| 15 |
"@sveltejs/kit": "^2.20.7",
|
| 16 |
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
| 17 |
"svelte": "^5.28.2",
|
| 18 |
"vite": "^6.3.3"
|
| 19 |
}
|
| 20 |
+
}
|
svelte.config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
import adapter from "@sveltejs/adapter-
|
| 2 |
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
|
| 3 |
|
| 4 |
/** @type {import('@sveltejs/kit').Config} */
|
|
@@ -11,7 +11,7 @@ const config = {
|
|
| 11 |
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
| 12 |
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
| 13 |
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
| 14 |
-
adapter: adapter(),
|
| 15 |
},
|
| 16 |
};
|
| 17 |
|
|
|
|
| 1 |
+
import adapter from "@sveltejs/adapter-node";
|
| 2 |
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
|
| 3 |
|
| 4 |
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
| 11 |
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
| 12 |
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
| 13 |
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
| 14 |
+
adapter: adapter(), // Using default options for adapter-node
|
| 15 |
},
|
| 16 |
};
|
| 17 |
|