isotone 1.0.9 → 1.1.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/AGENTS.md +6 -2
- package/CHANGELOG.md +15 -0
- package/README.md +5 -1
- package/dist/{chunk-MXGHTQB2.js → chunk-B3JNZITE.js} +2 -2
- package/dist/{chunk-MXGHTQB2.js.map → chunk-B3JNZITE.js.map} +1 -1
- package/dist/{chunk-JGIX4XEH.js → chunk-FKEKBZ3E.js} +16 -3
- package/dist/chunk-FKEKBZ3E.js.map +1 -0
- package/dist/{chunk-OSETWKGE.js → chunk-PUXQGUMQ.js} +18 -4
- package/dist/chunk-PUXQGUMQ.js.map +1 -0
- package/dist/{chunk-UT2NLGBM.js → chunk-TGAU3WTF.js} +27 -5
- package/dist/chunk-TGAU3WTF.js.map +1 -0
- package/dist/cli.js +14 -9
- package/dist/cli.js.map +1 -1
- package/dist/core.d.ts +20 -5
- package/dist/core.js +2 -2
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/isotone.global.js +10 -10
- package/dist/serve.js +1 -1
- package/dist/server.js +2 -2
- package/dist/vite-plugin.d.ts +8 -0
- package/dist/vite-plugin.js +712 -35
- package/dist/vite-plugin.js.map +1 -1
- package/docs/assets/preview.png +0 -0
- package/docs/variants.md +67 -5
- package/package.json +2 -1
- package/dist/chunk-JGIX4XEH.js.map +0 -1
- package/dist/chunk-OSETWKGE.js.map +0 -1
- package/dist/chunk-UT2NLGBM.js.map +0 -1
package/dist/serve.js
CHANGED
package/dist/server.js
CHANGED
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
readActive,
|
|
11
11
|
variantsResponse,
|
|
12
12
|
writeActive
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TGAU3WTF.js";
|
|
14
14
|
import {
|
|
15
15
|
VARIANTS_ENDPOINT
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PUXQGUMQ.js";
|
|
17
17
|
import {
|
|
18
18
|
NOTES_ENDPOINT,
|
|
19
19
|
PAYLOAD_MAX,
|
package/dist/vite-plugin.d.ts
CHANGED
|
@@ -42,6 +42,14 @@ interface IterationViteOptions {
|
|
|
42
42
|
* default: the files are the reviewable artefact and commit with
|
|
43
43
|
* the change they propose. */
|
|
44
44
|
ignored?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Switch variants in the browser instead of recompiling files. Every
|
|
47
|
+
* version of an overridden script is loaded once, components switch
|
|
48
|
+
* by re-rendering, and the selection is kept in the tab's `?v=`.
|
|
49
|
+
* On by default in a React project on Vite 6 or later; `false` swaps
|
|
50
|
+
* whole files over HMR as before.
|
|
51
|
+
*/
|
|
52
|
+
live?: boolean;
|
|
45
53
|
};
|
|
46
54
|
}
|
|
47
55
|
/**
|