Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
"engines": {
"node": ">=24"
},
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264"
"packageManager": "pnpm@11.5.1+sha512.93f7b57422ea7068257235b4c16eb60762eb68e1dc23723199cc739043ea9be2c4143274a399d8c6defa2b1176226d9ca1c4b63482d6200c1a8fbaa78c1d1485"
}
11 changes: 5 additions & 6 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,16 @@
"zod": "^4.4.1"
},
"devDependencies": {
"@tanstack/devtools-vite": "^0.3.12",
"@tanstack/devtools-vite": "^0.7.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^22.19.17",
"@types/node": "^24.12.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.2.0",
"@vitejs/plugin-react": "^6.0.2",
"jsdom": "^27.4.0",
"typescript": "^5.9.3",
"vite": "^7.3.2",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.2.4"
"vite": "^8.0.16",
"vitest": "^4.1.8"
}
}
2 changes: 1 addition & 1 deletion packages/editor/src/components/MonacoEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import MonacoReactEditor, { type BeforeMount, loader, type Monaco, type OnMount
import * as monaco from 'monaco-editor';
// eslint-disable-next-line import/default
import EditorWorker from 'monaco-editor/esm/vs/editor/editor.worker?worker';
import { configureMonacoYaml, SchemasSettings } from 'monaco-yaml';
import { configureMonacoYaml, type SchemasSettings } from 'monaco-yaml';
// eslint-disable-next-line import/default
import YamlWorker from 'monaco-yaml/yaml.worker?worker';
import { useRef } from 'react';
Expand Down
7 changes: 4 additions & 3 deletions packages/editor/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { tanstackStart } from '@tanstack/react-start/plugin/vite';
import viteReact from '@vitejs/plugin-react';
import { nitro } from 'nitro/vite';
import { defineConfig } from 'vite';
import tsconfigPaths from 'vite-tsconfig-paths';

const config = defineConfig({
optimizeDeps: {
Expand All @@ -13,11 +12,13 @@ const config = defineConfig({
plugins: [
devtools(),
nitro({ rollupConfig: { external: [/^@sentry\//], treeshake: true } }),
tsconfigPaths({ projects: ['./tsconfig.json'] }),
tailwindcss(),
tanstackStart({}),
viteReact()
]
],
resolve: {
tsconfigPaths: true
}
});

export default config;
16 changes: 16 additions & 0 deletions packages/editor/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import viteReact from '@vitejs/plugin-react';
import { defineConfig } from 'vitest/config';

// Separate config so tests don't load the app plugins (nitro, tanstack start)
// from vite.config.ts, which spin up servers that block vitest from exiting.
const config = defineConfig({
plugins: [viteReact()],
resolve: {
tsconfigPaths: true
},
test: {
environment: 'jsdom'
}
});

export default config;
2 changes: 1 addition & 1 deletion packages/schemas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"devDependencies": {
"@powersync/service-sync-rules": "catalog:",
"@types/node": "^22.19.17",
"@types/node": "^24.12.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
},
Expand Down
Loading
Loading