@tui-sandbox/library 10.2.2 → 10.3.0
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.
- package/CHANGELOG.md +14 -0
- package/dist/browser/assets/{index-0VekcGVw.js → index-dlAbCuMv.js} +14 -14
- package/dist/browser/index.html +1 -1
- package/dist/src/client/color-utilities.d.ts +1 -2
- package/dist/src/client/color-utilities.test.js.map +1 -1
- package/dist/src/server/blockingCommandInputSchema.d.ts +2 -2
- package/dist/src/server/index.d.ts +1 -0
- package/dist/src/server/index.js +1 -0
- package/dist/src/server/index.js.map +1 -1
- package/dist/src/server/server.d.ts +22 -22
- package/dist/src/server/utilities/tabId.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -7
- package/src/client/color-utilities.test.ts +2 -1
- package/src/client/color-utilities.ts +1 -1
- package/src/server/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tui-sandbox/library",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.3.0",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/mikavilpas/tui-sandbox"
|
|
7
|
+
},
|
|
4
8
|
"license": "MIT",
|
|
5
9
|
"type": "module",
|
|
6
10
|
"bin": {
|
|
@@ -22,24 +26,24 @@
|
|
|
22
26
|
"node-pty": "1.0.0",
|
|
23
27
|
"prettier": "3.5.3",
|
|
24
28
|
"tsx": "4.19.4",
|
|
25
|
-
"type-fest": "4.
|
|
29
|
+
"type-fest": "4.41.0",
|
|
26
30
|
"winston": "3.17.0"
|
|
27
31
|
},
|
|
28
32
|
"devDependencies": {
|
|
29
33
|
"@types/command-exists": "1.2.3",
|
|
30
|
-
"@types/cors": "2.8.
|
|
34
|
+
"@types/cors": "2.8.18",
|
|
31
35
|
"@types/express": "5.0.1",
|
|
32
|
-
"@types/node": "22.15.
|
|
36
|
+
"@types/node": "22.15.18",
|
|
33
37
|
"nodemon": "3.1.10",
|
|
34
|
-
"vite": "6.3.
|
|
35
|
-
"vitest": "3.1.
|
|
38
|
+
"vite": "6.3.5",
|
|
39
|
+
"vitest": "3.1.3"
|
|
36
40
|
},
|
|
37
41
|
"peerDependencies": {
|
|
38
42
|
"cypress": "^13 || ^14",
|
|
39
43
|
"prettier": ">= 3.3.3",
|
|
40
44
|
"type-fest": ">= 4.27.0",
|
|
41
45
|
"typescript": ">= 5.6.3",
|
|
42
|
-
"zod": "4.0.0-
|
|
46
|
+
"zod": ">=4.0.0-0 <5"
|
|
43
47
|
},
|
|
44
48
|
"scripts": {
|
|
45
49
|
"build": "concurrently --names 'vite,tsc' 'vite build' 'tsc' --prefix-colors blue,green",
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { RgbColor } from "./color-utilities.js"
|
|
1
2
|
import { rgbify } from "./color-utilities.js"
|
|
2
3
|
|
|
3
4
|
describe("rgbify", () => {
|
|
4
5
|
it("converts a catppuccin RGB color to a CSS color string", () => {
|
|
5
|
-
const color = { r: 1, g: 2, b: 3 }
|
|
6
|
+
const color = { r: 1, g: 2, b: 3 } satisfies RgbColor
|
|
6
7
|
expect(rgbify(color)).toEqual("rgb(1, 2, 3)")
|
|
7
8
|
})
|
|
8
9
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { flavors } from "@catppuccin/palette"
|
|
2
2
|
|
|
3
|
-
type RgbColor = (typeof flavors.macchiato.colors)["surface0"]["rgb"]
|
|
3
|
+
export type RgbColor = (typeof flavors.macchiato.colors)["surface0"]["rgb"]
|
|
4
4
|
|
|
5
5
|
/** Convert a catppuccin RGB color to a CSS color string. This way you can
|
|
6
6
|
* assert that text that's visible on the screen has a specific color. */
|
package/src/server/index.ts
CHANGED
|
@@ -3,4 +3,5 @@
|
|
|
3
3
|
export { startTestServer } from "./server.js"
|
|
4
4
|
export { updateTestdirectorySchemaFile } from "./updateTestdirectorySchemaFile.js"
|
|
5
5
|
export type { TestServerConfig } from "./updateTestdirectorySchemaFile.js"
|
|
6
|
+
export { Lazy } from "./utilities/Lazy.js"
|
|
6
7
|
import "core-js/proposals/async-explicit-resource-management.js"
|