@tui-sandbox/library 11.2.0 → 11.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/browser/assets/{index-D4YBlffP.js → index-VJaZoTqH.js} +6 -6
  3. package/dist/browser/index.html +1 -1
  4. package/dist/src/client/MyNeovimConfigModification.test.js +1 -1
  5. package/dist/src/client/MyNeovimConfigModification.test.js.map +1 -1
  6. package/dist/src/client/websocket-client.js +1 -1
  7. package/dist/src/client/websocket-client.js.map +1 -1
  8. package/dist/src/server/applications/neovim/neovimRouter.d.ts +1 -1
  9. package/dist/src/server/applications/neovim/neovimRouter.js +1 -1
  10. package/dist/src/server/applications/neovim/neovimRouter.js.map +1 -1
  11. package/dist/src/server/applications/terminal/terminalRouter.d.ts +1 -1
  12. package/dist/src/server/applications/terminal/terminalRouter.js +1 -1
  13. package/dist/src/server/applications/terminal/terminalRouter.js.map +1 -1
  14. package/dist/src/server/blockingCommandInputSchema.d.ts +1 -1
  15. package/dist/src/server/blockingCommandInputSchema.js +1 -1
  16. package/dist/src/server/blockingCommandInputSchema.js.map +1 -1
  17. package/dist/src/server/dirtree/index.test.js +2 -2
  18. package/dist/src/server/dirtree/json-to-zod.js +1 -1
  19. package/dist/src/server/dirtree/json-to-zod.js.map +1 -1
  20. package/dist/src/server/utilities/tabId.d.ts +1 -1
  21. package/dist/src/server/utilities/tabId.js +1 -1
  22. package/dist/src/server/utilities/tabId.js.map +1 -1
  23. package/dist/tsconfig.tsbuildinfo +1 -1
  24. package/package.json +2 -2
  25. package/src/client/MyNeovimConfigModification.test.ts +1 -1
  26. package/src/client/websocket-client.ts +1 -1
  27. package/src/server/applications/neovim/neovimRouter.ts +1 -1
  28. package/src/server/applications/terminal/terminalRouter.ts +1 -1
  29. package/src/server/blockingCommandInputSchema.ts +1 -1
  30. package/src/server/dirtree/index.test.ts +2 -2
  31. package/src/server/dirtree/json-to-zod.ts +1 -1
  32. package/src/server/utilities/tabId.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tui-sandbox/library",
3
- "version": "11.2.0",
3
+ "version": "11.2.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/mikavilpas/tui-sandbox"
@@ -36,7 +36,7 @@
36
36
  "nodemon": "3.1.10",
37
37
  "vite": "7.0.6",
38
38
  "vitest": "3.2.4",
39
- "zod": "4.0.10"
39
+ "zod": "4.0.14"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "cypress": "^13 || ^14",
@@ -1,4 +1,4 @@
1
- import { z } from "zod"
1
+ import * as z from "zod"
2
2
  import type { MyNeovimConfigModification } from "./MyNeovimConfigModification.js"
3
3
 
4
4
  const testDirectoryFiles = z.enum([
@@ -2,7 +2,7 @@ import { flavors } from "@catppuccin/palette"
2
2
  import { FitAddon } from "@xterm/addon-fit"
3
3
  import { Terminal } from "@xterm/xterm"
4
4
  import "@xterm/xterm/css/xterm.css"
5
- import { z } from "zod"
5
+ import * as z from "zod"
6
6
  import type { TabId } from "../server/utilities/tabId.ts"
7
7
  import "./style.css"
8
8
  import { validateMouseEvent } from "./validateMouseEvent.js"
@@ -1,5 +1,5 @@
1
1
  import type { Except } from "type-fest"
2
- import { z } from "zod"
2
+ import * as z from "zod"
3
3
  import { blockingCommandInputSchema } from "../../blockingCommandInputSchema.js"
4
4
  import { trpc } from "../../connection/trpc.js"
5
5
  import type { DirectoriesConfig } from "../../updateTestdirectorySchemaFile.js"
@@ -1,4 +1,4 @@
1
- import { z } from "zod"
1
+ import * as z from "zod"
2
2
  import { blockingCommandInputSchema } from "../../blockingCommandInputSchema.js"
3
3
  import { trpc } from "../../connection/trpc.js"
4
4
  import type { DirectoriesConfig } from "../../updateTestdirectorySchemaFile.js"
@@ -1,5 +1,5 @@
1
1
  import type { Except } from "type-fest"
2
- import { z } from "zod"
2
+ import * as z from "zod"
3
3
  import { tabIdSchema } from "./utilities/tabId.js"
4
4
 
5
5
  export const blockingCommandInputSchema = z
@@ -33,7 +33,7 @@ describe("dirtree", () => {
33
33
  // be written with confidence that the files and directories they expect are
34
34
  // actually found. Otherwise the tests are brittle and can break easily.
35
35
 
36
- import { z } from "zod"
36
+ import * as z from "zod"
37
37
 
38
38
  export const MyDirectoryTreeSchema = z.object({
39
39
  name: z.literal("test-environment/"),
@@ -220,7 +220,7 @@ describe("dirtree", () => {
220
220
  // be written with confidence that the files and directories they expect are
221
221
  // actually found. Otherwise the tests are brittle and can break easily.
222
222
 
223
- import { z } from "zod"
223
+ import * as z from "zod"
224
224
 
225
225
  export const MyDirectoryTreeSchema = z.object({
226
226
  type: z.literal("directory"),
@@ -52,7 +52,7 @@ export async function jsonToZod(object: unknown, name: string = "schema"): Promi
52
52
  }
53
53
  const prettierConfig = await resolveConfig(__filename)
54
54
 
55
- return format(`import {z} from "zod"\n\nexport const ${name}=${parse(object, [])}`, {
55
+ return format(`import * as z from "zod"\n\nexport const ${name}=${parse(object, [])}`, {
56
56
  ...(prettierConfig || {}),
57
57
  parser: "babel",
58
58
  plugins: [babelParser],
@@ -1,4 +1,4 @@
1
- import { z } from "zod"
1
+ import * as z from "zod"
2
2
 
3
3
  export type TabId = z.infer<typeof tabIdSchema>
4
4
  export const tabIdSchema = z.object({ tabId: z.string() })