@variantlab/core 0.1.3 → 0.1.5
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/README.md +50 -0
- package/docs/API.md +692 -0
- package/docs/ARCHITECTURE.md +430 -0
- package/docs/CONTRIBUTING.md +264 -0
- package/docs/ROADMAP.md +292 -0
- package/docs/SECURITY.md +323 -0
- package/docs/design/api-philosophy.md +347 -0
- package/docs/design/config-format.md +442 -0
- package/docs/design/design-principles.md +212 -0
- package/docs/design/targeting-dsl.md +433 -0
- package/docs/features/codegen.md +351 -0
- package/docs/features/crash-rollback.md +399 -0
- package/docs/features/debug-overlay.md +328 -0
- package/docs/features/hmac-signing.md +330 -0
- package/docs/features/killer-features.md +308 -0
- package/docs/features/multivariate.md +339 -0
- package/docs/features/qr-sharing.md +372 -0
- package/docs/features/targeting.md +481 -0
- package/docs/features/time-travel.md +306 -0
- package/docs/features/value-experiments.md +487 -0
- package/docs/phases/phase-2-expansion.md +307 -0
- package/docs/phases/phase-3-ecosystem.md +289 -0
- package/docs/phases/phase-4-advanced.md +306 -0
- package/docs/phases/phase-5-v1-stable.md +350 -0
- package/docs/research/bundle-size-analysis.md +279 -0
- package/docs/research/competitors.md +327 -0
- package/docs/research/framework-ssr-quirks.md +394 -0
- package/docs/research/naming-rationale.md +238 -0
- package/docs/research/origin-story.md +179 -0
- package/docs/research/security-threats.md +312 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -179,6 +179,56 @@ Use `@variantlab/core` directly for vanilla JS/TS, or pair it with a framework a
|
|
|
179
179
|
- [`@variantlab/react-native`](https://www.npmjs.com/package/@variantlab/react-native) — React Native + Expo with debug overlay
|
|
180
180
|
- [`@variantlab/next`](https://www.npmjs.com/package/@variantlab/next) — Next.js 14/15 SSR + Edge
|
|
181
181
|
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## Documentation
|
|
185
|
+
|
|
186
|
+
This package ships with full documentation in the `docs/` directory. After installing, find them at `node_modules/@variantlab/core/docs/`.
|
|
187
|
+
|
|
188
|
+
### Overview
|
|
189
|
+
|
|
190
|
+
- [ARCHITECTURE.md](./docs/ARCHITECTURE.md) — monorepo layout, runtime data flow, size budgets
|
|
191
|
+
- [API.md](./docs/API.md) — complete TypeScript API surface
|
|
192
|
+
- [SECURITY.md](./docs/SECURITY.md) — threat model, mitigations, reporting
|
|
193
|
+
- [ROADMAP.md](./docs/ROADMAP.md) — phased feature rollout
|
|
194
|
+
- [CONTRIBUTING.md](./docs/CONTRIBUTING.md) — how to contribute
|
|
195
|
+
|
|
196
|
+
### Research
|
|
197
|
+
|
|
198
|
+
- [competitors.md](./docs/research/competitors.md) — full competitor analysis
|
|
199
|
+
- [bundle-size-analysis.md](./docs/research/bundle-size-analysis.md) — how we hit < 3 KB
|
|
200
|
+
- [framework-ssr-quirks.md](./docs/research/framework-ssr-quirks.md) — per-framework SSR notes
|
|
201
|
+
- [origin-story.md](./docs/research/origin-story.md) — the small-phone card problem that started it
|
|
202
|
+
- [naming-rationale.md](./docs/research/naming-rationale.md) — why "variantlab"
|
|
203
|
+
- [security-threats.md](./docs/research/security-threats.md) — threat landscape review
|
|
204
|
+
|
|
205
|
+
### Design decisions
|
|
206
|
+
|
|
207
|
+
- [design-principles.md](./docs/design/design-principles.md) — the 8 core principles with rationale
|
|
208
|
+
- [config-format.md](./docs/design/config-format.md) — `experiments.json` specification
|
|
209
|
+
- [targeting-dsl.md](./docs/design/targeting-dsl.md) — targeting predicate language
|
|
210
|
+
- [api-philosophy.md](./docs/design/api-philosophy.md) — why the API looks the way it does
|
|
211
|
+
|
|
212
|
+
### Feature specs
|
|
213
|
+
|
|
214
|
+
- [codegen.md](./docs/features/codegen.md) — type generation from config
|
|
215
|
+
- [targeting.md](./docs/features/targeting.md) — segmentation predicates
|
|
216
|
+
- [value-experiments.md](./docs/features/value-experiments.md) — non-render variant values
|
|
217
|
+
- [debug-overlay.md](./docs/features/debug-overlay.md) — runtime picker UX
|
|
218
|
+
- [crash-rollback.md](./docs/features/crash-rollback.md) — error-boundary-driven auto-rollback
|
|
219
|
+
- [qr-sharing.md](./docs/features/qr-sharing.md) — state sharing via QR codes
|
|
220
|
+
- [hmac-signing.md](./docs/features/hmac-signing.md) — config integrity verification
|
|
221
|
+
- [time-travel.md](./docs/features/time-travel.md) — record + replay debugging
|
|
222
|
+
- [multivariate.md](./docs/features/multivariate.md) — crossed experiments
|
|
223
|
+
- [killer-features.md](./docs/features/killer-features.md) — the 10 differentiators
|
|
224
|
+
|
|
225
|
+
### Roadmap
|
|
226
|
+
|
|
227
|
+
- [phase-2-expansion.md](./docs/phases/phase-2-expansion.md) — Remix, Vue, vanilla JS, devtools
|
|
228
|
+
- [phase-3-ecosystem.md](./docs/phases/phase-3-ecosystem.md) — Svelte, Solid, Astro, Nuxt, addons
|
|
229
|
+
- [phase-4-advanced.md](./docs/phases/phase-4-advanced.md) — HMAC GA, crash rollback GA, time travel
|
|
230
|
+
- [phase-5-v1-stable.md](./docs/phases/phase-5-v1-stable.md) — v1.0 release criteria
|
|
231
|
+
|
|
182
232
|
## License
|
|
183
233
|
|
|
184
234
|
[MIT](./LICENSE)
|