Commit 9ddc579
committed
feat: add cross-runtime utilities for file system and process management
- Introduced a new module `runtime.ts` providing runtime-agnostic utilities for file operations and process management across Node.js, Bun, and Deno.
feat: implement core file watcher for GraphQL files
- Added `index.ts` for a core file watcher that monitors changes in GraphQL files, triggering appropriate callbacks for server and client changes.
refactor: streamline Apollo Sandbox script handling
- Refactored `apollo-sandbox-script.ts` to utilize a core sandbox handler for improved consistency and maintainability.
refactor: update debug route to use core debug template
- Changed `debug.ts` to import and use `generateDebugHtml` from the core debug module instead of a local template.
refactor: enhance GraphQL Yoga route handler
- Updated `graphql-yoga.ts` to use a core server factory for creating the Yoga server, improving code reuse and consistency.
refactor: simplify extend loader logic
- Refactored `extend-loader.ts` to leverage core extend functionality, reducing complexity and improving maintainability.
refactor: optimize file watcher setup
- Updated `file-watcher.ts` to utilize the core watcher module, simplifying the setup process and enhancing code clarity.
test: add dynamic port allocation for tests
- Introduced `ports.ts` to manage dynamic port allocation during tests, preventing conflicts when running multiple instances.
test: enhance test setup configuration
- Updated `setup.ts` to set CI environment variables and suppress logs during tests, improving test reliability.
chore: update Vitest configuration
- Modified `vitest.config.ts` to include setup files, retry flaky tests, and exclude unnecessary directories from test runs.1 parent e9ad12c commit 9ddc579
File tree
51 files changed
+2858
-1051
lines changed- examples
- better-auth
- nuxt
- vite-react
- vite-vue
- playgrounds
- cli
- graphql
- default
- server/graphql
- nitro
- graphql/default
- src
- cli
- commands
- server
- core
- debug
- extend
- schema
- server
- utils
- watcher
- nitro
- routes
- setup
- tests
- fixtures/extend-multi/main-project/graphql/default
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
51 files changed
+2858
-1051
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| 200 | + | |
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments