silvery 0.19.0 → 0.19.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "silvery",
3
- "version": "0.19.0",
3
+ "version": "0.19.2",
4
4
  "description": "React for modern terminal apps — powerful apps, polished UIs, proudly terminal",
5
5
  "keywords": [
6
6
  "ansi",
@@ -40,63 +40,34 @@
40
40
  ],
41
41
  "type": "module",
42
42
  "exports": {
43
- ".": "./src/index.ts",
44
- "./runtime": "./src/runtime.ts",
45
- "./theme": "./src/theme.ts",
46
- "./ui": "./src/ui.ts",
47
- "./ui/*": "./src/ui/*.ts",
48
- "./ink": "@silvery/ink",
49
- "./chalk": "@silvery/ink/chalk"
50
- },
51
- "publishConfig": {
52
- "access": "public",
53
- "exports": {
54
- ".": {
55
- "types": "./dist/index.d.mts",
56
- "import": "./dist/index.mjs"
57
- },
58
- "./runtime": {
59
- "types": "./dist/runtime.d.mts",
60
- "import": "./dist/runtime.mjs"
61
- },
62
- "./theme": {
63
- "types": "./dist/theme.d.mts",
64
- "import": "./dist/theme.mjs"
65
- },
66
- "./ui": {
67
- "types": "./dist/ui.d.mts",
68
- "import": "./dist/ui.mjs"
69
- },
70
- "./ui/*": {
71
- "types": "./dist/ui/*.d.mts",
72
- "import": "./dist/ui/*.mjs"
73
- }
43
+ ".": {
44
+ "types": "./dist/index.d.mts",
45
+ "import": "./dist/index.mjs"
46
+ },
47
+ "./runtime": {
48
+ "types": "./dist/runtime.d.mts",
49
+ "import": "./dist/runtime.mjs"
50
+ },
51
+ "./theme": {
52
+ "types": "./dist/theme.d.mts",
53
+ "import": "./dist/theme.mjs"
54
+ },
55
+ "./ui": {
56
+ "types": "./dist/ui.d.mts",
57
+ "import": "./dist/ui.mjs"
58
+ },
59
+ "./ui/*": {
60
+ "types": "./dist/ui/*.d.mts",
61
+ "import": "./dist/ui/*.mjs"
74
62
  }
75
63
  },
76
- "scripts": {
77
- "build": "tsdown",
78
- "build:all": "tsdown && tsdown -W -F '@silvery/*'",
79
- "test": "bunx --bun vitest run",
80
- "test:fast": "bunx --bun vitest run --reporter=dot",
81
- "typecheck": "tsc --noEmit",
82
- "lint": "oxlint . && oxfmt --check .",
83
- "fix": "oxlint --fix . && oxfmt --write .",
84
- "docs:dev": "vitepress dev docs",
85
- "docs:build": "vitepress build docs",
86
- "docs:preview": "vitepress preview docs",
87
- "theme": "bun packages/theme/src/cli.ts",
88
- "demo": "bun examples/bin/cli.ts",
89
- "example:storybook": "bun examples/apps/storybook/index.tsx",
90
- "compat": "bun packages/ink/scripts/compat-check.ts",
91
- "compat:ink": "bun packages/ink/scripts/compat-check.ts ink",
92
- "compat:chalk": "bun packages/ink/scripts/compat-check.ts chalk",
93
- "bench": "cd benchmarks && bun run bench",
94
- "bench:compare": "cd benchmarks && bun run bench:compare"
64
+ "publishConfig": {
65
+ "access": "public"
95
66
  },
96
67
  "dependencies": {
97
68
  "@chenglou/pretext": "^0.0.3",
98
- "@silvery/color": "0.19.0",
99
- "@silvery/commander": "0.19.0",
69
+ "@silvery/color": "0.19.2",
70
+ "@silvery/commander": "0.19.2",
100
71
  "css-select": "^7.0.0",
101
72
  "css-what": "^8.0.0",
102
73
  "loggily": "0.6.0",
@@ -155,5 +126,25 @@
155
126
  "engines": {
156
127
  "bun": ">=1.0",
157
128
  "node": ">=18.0.0"
129
+ },
130
+ "scripts": {
131
+ "build": "tsdown",
132
+ "build:all": "tsdown && tsdown -W -F '@silvery/ag' -F '@silvery/ag-react' -F '@silvery/ag-term' -F '@silvery/ansi' -F '@silvery/color' -F '@silvery/commander' -F '@silvery/commands' -F '@silvery/create' -F '@silvery/headless' -F '@silvery/ink' -F '@silvery/model' -F '@silvery/scope' -F '@silvery/signals' -F '@silvery/theme'",
133
+ "test": "bunx --bun vitest run",
134
+ "test:fast": "bunx --bun vitest run --reporter=dot",
135
+ "typecheck": "tsc --noEmit",
136
+ "lint": "oxlint . && oxfmt --check .",
137
+ "fix": "oxlint --fix . && oxfmt --write .",
138
+ "docs:dev": "vitepress dev docs",
139
+ "docs:build": "vitepress build docs",
140
+ "docs:preview": "vitepress preview docs",
141
+ "theme": "bun packages/theme/src/cli.ts",
142
+ "demo": "bun examples/bin/cli.ts",
143
+ "example:storybook": "bun examples/apps/storybook/index.tsx",
144
+ "compat": "bun packages/ink/scripts/compat-check.ts",
145
+ "compat:ink": "bun packages/ink/scripts/compat-check.ts ink",
146
+ "compat:chalk": "bun packages/ink/scripts/compat-check.ts chalk",
147
+ "bench": "cd benchmarks && bun run bench",
148
+ "bench:compare": "cd benchmarks && bun run bench:compare"
158
149
  }
159
- }
150
+ }