mirror of
https://github.com/vercel/flags.git
synced 2026-09-19 03:49:23 +08:00
96ba1226c8
* Extract @vercel/prepare-flags-definitions package Extract the core flag definitions preparation logic from the Vercel CLI into a standalone, reusable package. This includes: - prepareFlagsDefinitions() function that collects SDK keys from env, fetches definitions, and writes to node_modules - hashSdkKey() helper for SHA-256 hashing - generateDefinitionsModule() for JS module generation with deduplication and lazy parsing Follows repo conventions: pnpm workspaces, tsup, vitest, ES modules with CJS fallback. * Add JSDoc comments from original CLI source * Add inline comments from original CLI source * Add optional output parameter with debug logging * Add output.time for datafile fetching * Add changeset for @vercel/prepare-flags-definitions
5 lines
66 B
JSON
5 lines
66 B
JSON
{
|
|
"extends": "../../tsconfig-base.json",
|
|
"include": ["src"]
|
|
}
|