diff --git a/plugins/websocket/examples/svelte-app/package.json b/plugins/websocket/examples/svelte-app/package.json
index 289b2926..4b29817e 100644
--- a/plugins/websocket/examples/svelte-app/package.json
+++ b/plugins/websocket/examples/svelte-app/package.json
@@ -1,27 +1,27 @@
{
- "name": "svelte-app",
- "version": "0.0.1",
- "private": true,
- "scripts": {
- "dev": "vite dev",
- "build": "vite build",
- "preview": "vite preview",
- "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
- "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
- "tauri": "tauri"
- },
- "devDependencies": {
- "@sveltejs/adapter-auto": "^1.0.0",
- "@sveltejs/kit": "^1.0.0",
- "svelte": "^3.54.0",
- "svelte-check": "^2.9.2",
- "tslib": "^2.4.1",
- "typescript": "^4.9.3",
- "vite": "^4.0.0"
- },
- "dependencies": {
- "@tauri-apps/cli": "^1.0.0",
- "tauri-plugin-websocket-api": "link:../../"
- },
- "type": "module"
+ "name": "svelte-app",
+ "version": "0.0.1",
+ "private": true,
+ "scripts": {
+ "dev": "vite dev",
+ "build": "vite build",
+ "preview": "vite preview",
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
+ "tauri": "tauri"
+ },
+ "devDependencies": {
+ "@sveltejs/adapter-auto": "^1.0.0",
+ "@sveltejs/kit": "^1.0.0",
+ "svelte": "^3.54.0",
+ "svelte-check": "^2.9.2",
+ "tslib": "^2.4.1",
+ "typescript": "^4.9.3",
+ "vite": "^4.0.0"
+ },
+ "dependencies": {
+ "@tauri-apps/cli": "^1.0.0",
+ "tauri-plugin-websocket-api": "link:../../"
+ },
+ "type": "module"
}
diff --git a/plugins/websocket/examples/svelte-app/src/app.d.ts b/plugins/websocket/examples/svelte-app/src/app.d.ts
index 26a9569b..1cea0dcf 100644
--- a/plugins/websocket/examples/svelte-app/src/app.d.ts
+++ b/plugins/websocket/examples/svelte-app/src/app.d.ts
@@ -2,8 +2,8 @@
// for information about these interfaces
// and what to do when importing types
declare namespace App {
- // interface Error {}
- // interface Locals {}
- // interface PageData {}
- // interface Platform {}
+ // interface Error {}
+ // interface Locals {}
+ // interface PageData {}
+ // interface Platform {}
}
diff --git a/plugins/websocket/examples/svelte-app/src/app.html b/plugins/websocket/examples/svelte-app/src/app.html
index b2daced3..46d06d3b 100644
--- a/plugins/websocket/examples/svelte-app/src/app.html
+++ b/plugins/websocket/examples/svelte-app/src/app.html
@@ -1,13 +1,13 @@
-
-
-
-
-
- %sveltekit.head%
-
-
- %sveltekit.body%
-
+
+
+
+
+
+ %sveltekit.head%
+
+
+ %sveltekit.body%
+
diff --git a/plugins/websocket/examples/svelte-app/svelte.config.js b/plugins/websocket/examples/svelte-app/svelte.config.js
index 87f198f5..998c3647 100644
--- a/plugins/websocket/examples/svelte-app/svelte.config.js
+++ b/plugins/websocket/examples/svelte-app/svelte.config.js
@@ -1,15 +1,15 @@
-import adapter from '@sveltejs/adapter-auto';
-import { vitePreprocess } from '@sveltejs/kit/vite';
+import adapter from "@sveltejs/adapter-auto";
+import { vitePreprocess } from "@sveltejs/kit/vite";
/** @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: adapter()
- }
+ kit: {
+ adapter: adapter(),
+ },
};
export default config;
diff --git a/plugins/websocket/examples/svelte-app/tsconfig.json b/plugins/websocket/examples/svelte-app/tsconfig.json
index 6ae0c8c4..794b95b6 100644
--- a/plugins/websocket/examples/svelte-app/tsconfig.json
+++ b/plugins/websocket/examples/svelte-app/tsconfig.json
@@ -1,17 +1,17 @@
{
- "extends": "./.svelte-kit/tsconfig.json",
- "compilerOptions": {
- "allowJs": true,
- "checkJs": true,
- "esModuleInterop": true,
- "forceConsistentCasingInFileNames": true,
- "resolveJsonModule": true,
- "skipLibCheck": true,
- "sourceMap": true,
- "strict": true
- }
- // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
- //
- // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
- // from the referenced tsconfig.json - TypeScript does not merge them in
+ "extends": "./.svelte-kit/tsconfig.json",
+ "compilerOptions": {
+ "allowJs": true,
+ "checkJs": true,
+ "esModuleInterop": true,
+ "forceConsistentCasingInFileNames": true,
+ "resolveJsonModule": true,
+ "skipLibCheck": true,
+ "sourceMap": true,
+ "strict": true
+ }
+ // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
+ //
+ // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
+ // from the referenced tsconfig.json - TypeScript does not merge them in
}
diff --git a/plugins/websocket/examples/svelte-app/vite.config.ts b/plugins/websocket/examples/svelte-app/vite.config.ts
index 16950342..efc8757f 100644
--- a/plugins/websocket/examples/svelte-app/vite.config.ts
+++ b/plugins/websocket/examples/svelte-app/vite.config.ts
@@ -1,8 +1,8 @@
-import { sveltekit } from '@sveltejs/kit/vite';
-import type { UserConfig } from 'vite';
+import { sveltekit } from "@sveltejs/kit/vite";
+import type { UserConfig } from "vite";
const config: UserConfig = {
- plugins: [sveltekit()]
+ plugins: [sveltekit()],
};
export default config;
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 0b63a8eb..e4cb9a8b 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -1,3 +1,3 @@
packages:
- plugins/*
- - plugins/*/examples/*
\ No newline at end of file
+ - plugins/*/examples/*