-
+
+
+
+
+
+
+
+
diff --git a/app/src/routes/app.css b/app/src/routes/app.css
index e46dfb4..8db7309 100644
--- a/app/src/routes/app.css
+++ b/app/src/routes/app.css
@@ -59,6 +59,10 @@ body.theme-catppuccin {
--background-color-darker: #11111b;
}
+body {
+ margin: 0;
+}
+
/* canvas { */
/* display: none !important; */
/* } */
diff --git a/app/svelte.config.js b/app/svelte.config.js
index 78a97fe..2a2b3bc 100644
--- a/app/svelte.config.js
+++ b/app/svelte.config.js
@@ -3,16 +3,16 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
- // Consult https://kit.svelte.dev/docs/integrations#preprocessors
- // for more information about preprocessors
- preprocess: vitePreprocess(),
+ // Consult https://kit.svelte.dev/docs/integrations#preprocessors
+ // for more information about preprocessors
+ preprocess: vitePreprocess(),
- kit: {
- // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
- // If your environment is not supported or you settled on a specific environment, switch out the adapter.
- // See https://kit.svelte.dev/docs/adapters for more information about adapters.
- adapter: adapter()
- }
+ kit: {
+ // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
+ // If your environment is not supported or you settled on a specific environment, switch out the adapter.
+ // See https://kit.svelte.dev/docs/adapters for more information about adapters.
+ adapter: adapter()
+ }
};
export default config;
diff --git a/app/vite.config.ts b/app/vite.config.ts
index 90d2ca5..75dd485 100644
--- a/app/vite.config.ts
+++ b/app/vite.config.ts
@@ -5,6 +5,11 @@ import wasm from "vite-plugin-wasm";
export default defineConfig({
plugins: [sveltekit(), glsl(), wasm()],
+
+ server: {
+ port: 8080,
+ },
+
ssr: {
noExternal: ['three'],
}
diff --git a/package.json b/package.json
index fd275e0..92bd206 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,6 @@
{
"scripts": {
- "build:nodes": "pnpm -r --filter './nodes/**' build"
+ "build:nodes": "pnpm -r --filter './nodes/**' build",
+ "dev": "pnpm -r --filter 'app' --filter './packages/node-registry' dev"
}
}
diff --git a/packages/node-registry/svelte.config.js b/packages/node-registry/svelte.config.js
index 2b35fe1..4b6423e 100644
--- a/packages/node-registry/svelte.config.js
+++ b/packages/node-registry/svelte.config.js
@@ -3,16 +3,18 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
- // Consult https://kit.svelte.dev/docs/integrations#preprocessors
- // for more information about preprocessors
- preprocess: vitePreprocess(),
+ // Consult https://kit.svelte.dev/docs/integrations#preprocessors
+ // for more information about preprocessors
+ preprocess: vitePreprocess(),
- kit: {
- // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
- // If your environment is not supported or you settled on a specific environment, switch out the adapter.
- // See https://kit.svelte.dev/docs/adapters for more information about adapters.
- adapter: adapter()
- }
+
+
+ kit: {
+ // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
+ // If your environment is not supported or you settled on a specific environment, switch out the adapter.
+ // See https://kit.svelte.dev/docs/adapters for more information about adapters.
+ adapter: adapter()
+ }
};
export default config;
diff --git a/packages/node-registry/vite.config.ts b/packages/node-registry/vite.config.ts
index a2bcd5c..9f4259e 100644
--- a/packages/node-registry/vite.config.ts
+++ b/packages/node-registry/vite.config.ts
@@ -4,6 +4,10 @@ import wasm from 'vite-plugin-wasm';
export default defineConfig({
plugins: [sveltekit(), wasm()],
+
+ server: {
+ port: 3001,
+ },
test: {
include: ['src/**/*.{test,spec}.{js,ts}']
}