diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a668f249..75950cab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: working-directory: ./packages/svelte-lexical - run: pnpm build working-directory: ./packages/svelte-lexical - - run: pnpm svelte-check + - run: pnpm check working-directory: ./packages/svelte-lexical - run: pnpm lint working-directory: ./packages/svelte-lexical @@ -45,7 +45,7 @@ jobs: working-directory: ./demos/playground - run: pnpm build working-directory: ./demos/playground - - run: pnpm svelte-check + - run: pnpm check working-directory: ./demos/playground - run: pnpm lint working-directory: ./demos/playground @@ -56,7 +56,7 @@ jobs: working-directory: ./demos/sveltekit - run: pnpm build working-directory: ./demos/sveltekit - - run: pnpm svelte-check + - run: pnpm check working-directory: ./demos/sveltekit - run: pnpm lint working-directory: ./demos/sveltekit @@ -65,7 +65,7 @@ jobs: working-directory: ./demos/richtext-editor - run: pnpm build working-directory: ./demos/richtext-editor - - run: pnpm svelte-check + - run: pnpm check working-directory: ./demos/richtext-editor - run: pnpm lint working-directory: ./demos/richtext-editor @@ -76,7 +76,7 @@ jobs: working-directory: ./demos/plaintext-editor - run: pnpm build working-directory: ./demos/plaintext-editor - - run: pnpm svelte-check + - run: pnpm check working-directory: ./demos/plaintext-editor - run: pnpm lint working-directory: ./demos/plaintext-editor diff --git a/demos/plaintext-editor/package.json b/demos/plaintext-editor/package.json index 27183b3b..38f77fc4 100644 --- a/demos/plaintext-editor/package.json +++ b/demos/plaintext-editor/package.json @@ -8,7 +8,8 @@ "build": "vite build", "preview": "vite preview", "lint": "eslint .", - "size": "pnpm build && size-limit" + "size": "pnpm build && size-limit", + "check": "svelte-check --tsconfig ./tsconfig.json --fail-on-warnings" }, "devDependencies": { "@size-limit/preset-app": "^8.2.6", diff --git a/demos/plaintext-editor/src/PlainTextComposer.svelte b/demos/plaintext-editor/src/PlainTextComposer.svelte index 372421f6..c0030b59 100644 --- a/demos/plaintext-editor/src/PlainTextComposer.svelte +++ b/demos/plaintext-editor/src/PlainTextComposer.svelte @@ -10,6 +10,7 @@ const initialConfig = { theme: PlaygroundEditorTheme, + namespace: 'Playground', nodes: [], onError: (error) => { throw error; diff --git a/demos/richtext-editor/package.json b/demos/richtext-editor/package.json index 497f0fab..9177811f 100644 --- a/demos/richtext-editor/package.json +++ b/demos/richtext-editor/package.json @@ -9,7 +9,7 @@ "preview": "vite preview", "lint": "eslint .", "size": "pnpm build && size-limit", - "svelte-check": "svelte-check --fail-on-warnings" + "check": "svelte-check --fail-on-warnings" }, "devDependencies": { "@size-limit/preset-app": "^8.2.6", diff --git a/demos/sveltekit/package.json b/demos/sveltekit/package.json index abda9841..255bff78 100644 --- a/demos/sveltekit/package.json +++ b/demos/sveltekit/package.json @@ -6,7 +6,8 @@ "dev": "vite dev", "build": "vite build", "preview": "vite preview", - "lint": "eslint ." + "lint": "eslint .", + "check": "svelte-check --fail-on-warnings" }, "devDependencies": { "@sveltejs/adapter-auto": "^2.0.1",