@variance-authority/storybook-collector 0.2.0 → 0.4.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 +16 -50
- package/README.md +343 -117
- package/dist/contract.d.ts +12 -1
- package/dist/contract.js.map +1 -1
- package/dist/execution.d.ts +48 -1
- package/dist/execution.js +31 -5
- package/dist/execution.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/page-agent.bundle.js +63 -23
- package/dist/read.js +13 -0
- package/dist/read.js.map +1 -1
- package/dist/serve.js +34 -7
- package/dist/serve.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
# @variance-authority/storybook-collector
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
Lockstep release — nothing in this package changed. Every `@variance-authority/*` package shares one version.
|
|
6
|
+
|
|
7
|
+
## 0.3.0
|
|
8
|
+
|
|
9
|
+
Lockstep release — nothing in this package changed. Every `@variance-authority/*` package shares one version.
|
|
10
|
+
|
|
3
11
|
## 0.2.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
6
14
|
|
|
7
15
|
- 8efba76: A run that changed ten files stops rewriting the whole selection index
|
|
8
|
-
|
|
16
|
+
|
|
9
17
|
Every run after the first reads the selection index, lays its own recording over
|
|
10
18
|
it, and writes it back. At a repository's scale almost all of that was spent
|
|
11
19
|
making objects nobody reads: a run that re-records ten modules of twenty thousand
|
|
12
20
|
decoded six hundred thousand regions into a model, merged ten of them, and
|
|
13
21
|
encoded the model back — the other 99.95% of the index materialized and
|
|
14
22
|
re-serialized to arrive at the bytes it was read from.
|
|
15
|
-
|
|
23
|
+
|
|
16
24
|
`layerTestCoverage` does the merge and the encode as one pass over the columns
|
|
17
25
|
the previous snapshot is already stored in. A module the run did not touch is
|
|
18
26
|
never made an object: its rows are copied column to column as integers, its
|
|
@@ -22,14 +30,14 @@
|
|
|
22
30
|
modules whose text moved on disk. Over twenty thousand modules that is 1855 ms to
|
|
23
31
|
616, and it is byte for byte the same file, which a gate asserts across every
|
|
24
32
|
case the merge distinguishes.
|
|
25
|
-
|
|
33
|
+
|
|
26
34
|
The columns are now zstd rather than brotli, at two levels, because the runs are
|
|
27
35
|
two kinds of data. A varint run is a dense stream of small integers and answers
|
|
28
36
|
to a long search; a run of the string blob is file paths and hex digests, which
|
|
29
37
|
zstd finds most of at level 1 and nothing more of above it. Against the brotli
|
|
30
38
|
quality 4 it replaces, over the same snapshot: 319 ms to compress became 120, and
|
|
31
39
|
the file got 86 KB smaller.
|
|
32
|
-
|
|
40
|
+
|
|
33
41
|
`zlib.zstdCompressSync` arrived in Node 22.15, so that is the floor these
|
|
34
42
|
packages declare. The snapshot's layout version moved with the codec, which means
|
|
35
43
|
an index written by an earlier build is refused at its header and rebuilt — one
|
|
@@ -38,7 +46,7 @@
|
|
|
38
46
|
### Patch Changes
|
|
39
47
|
|
|
40
48
|
- e546e21: Where the JSX settings live under Vite 8
|
|
41
|
-
|
|
49
|
+
|
|
42
50
|
Vite 8 transforms with oxc, so `esbuild: { jsx, jsxDev, jsxImportSource }` becomes
|
|
43
51
|
`oxc: { jsx: { runtime, development, importSource } }`, and `esbuild.keepNames`
|
|
44
52
|
becomes `build.rolldownOptions.output.keepNames`. A config keeps whichever keys it
|
|
@@ -47,39 +55,19 @@
|
|
|
47
55
|
every subject renders, and every report names the line a component is declared on
|
|
48
56
|
instead of the line that wrote the element. It fails in the direction that looks
|
|
49
57
|
like it worked.
|
|
50
|
-
|
|
58
|
+
|
|
51
59
|
The `jsx-source` README carries a table of where the two settings live per
|
|
52
60
|
transform, both spellings on every copyable snippet, and the reminder to read
|
|
53
61
|
`provenanceOf`'s result rather than the config — the config cannot tell you.
|
|
54
62
|
`storybook-collector` gets the same for `keepNames`, on the symptom it produces: a
|
|
55
63
|
confident report naming a component that appears nowhere in your source.
|
|
56
|
-
- Updated dependencies [e546e21]
|
|
57
|
-
- Updated dependencies [8efba76]
|
|
58
|
-
- Updated dependencies [e546e21]
|
|
59
|
-
- Updated dependencies [d50e020]
|
|
60
|
-
- Updated dependencies [f4b328b]
|
|
61
|
-
- Updated dependencies [e546e21]
|
|
62
|
-
- Updated dependencies [e546e21]
|
|
63
|
-
- Updated dependencies [f4b328b]
|
|
64
|
-
- Updated dependencies [0718464]
|
|
65
|
-
- Updated dependencies [0718464]
|
|
66
|
-
- Updated dependencies [0718464]
|
|
67
|
-
- Updated dependencies [e546e21]
|
|
68
|
-
- Updated dependencies [e546e21]
|
|
69
|
-
- Updated dependencies [0718464]
|
|
70
|
-
- @variance-authority/core@0.2.0
|
|
71
|
-
- @variance-authority/sense@0.2.0
|
|
72
|
-
- @variance-authority/playwright@0.2.0
|
|
73
|
-
- @variance-authority/dom@0.2.0
|
|
74
|
-
- @variance-authority/react@0.2.0
|
|
75
|
-
- @variance-authority/storybook@0.2.0
|
|
76
64
|
|
|
77
65
|
## 0.1.1
|
|
78
66
|
|
|
79
67
|
### Patch Changes
|
|
80
68
|
|
|
81
69
|
- db08866: Keep the run when the execution journal cannot be recorded.
|
|
82
|
-
|
|
70
|
+
|
|
83
71
|
`close()` already held the position that a journal is not the artefact under
|
|
84
72
|
review: a recorder that declines to record is written to stderr and the run
|
|
85
73
|
continues, because failing the run over it would cost every subject in it the
|
|
@@ -88,29 +76,7 @@
|
|
|
88
76
|
practice — went straight up through `close()` and took the run down with it.
|
|
89
77
|
Both outcomes now end the same way, in a sentence on stderr and a run that keeps
|
|
90
78
|
its images.
|
|
91
|
-
- Updated dependencies [fe578c8]
|
|
92
|
-
- @variance-authority/sense@0.1.1
|
|
93
|
-
- @variance-authority/core@0.1.1
|
|
94
|
-
- @variance-authority/dom@0.1.1
|
|
95
|
-
- @variance-authority/playwright@0.1.1
|
|
96
|
-
- @variance-authority/react@0.1.1
|
|
97
|
-
- @variance-authority/storybook@0.1.1
|
|
98
79
|
|
|
99
80
|
## 0.1.0
|
|
100
81
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
- Updated dependencies [9587133]
|
|
104
|
-
- Updated dependencies [f800342]
|
|
105
|
-
- Updated dependencies [26ae9ed]
|
|
106
|
-
- Updated dependencies [f09528d]
|
|
107
|
-
- Updated dependencies [cfb333d]
|
|
108
|
-
- Updated dependencies [e8fee66]
|
|
109
|
-
- Updated dependencies [48d32eb]
|
|
110
|
-
- Updated dependencies [5c34e6d]
|
|
111
|
-
- @variance-authority/sense@0.1.0
|
|
112
|
-
- @variance-authority/dom@0.1.0
|
|
113
|
-
- @variance-authority/react@0.1.0
|
|
114
|
-
- @variance-authority/core@0.1.0
|
|
115
|
-
- @variance-authority/playwright@0.1.0
|
|
116
|
-
- @variance-authority/storybook@0.1.0
|
|
82
|
+
First release.
|