Files
vercel__flags/package.json
T
Dominik Ferber 201f9d5988 Add bulk evaluation (#385)
* [flags] avoid re-imports

Avoid re-importing next/headers since it adds unnecessary microtask queue overhead

* [flags] avoid iife microtask queue overhead

* [flags] skip awaits where possible

* [flags] allow bulk eval

* wip

* add bulk mode to playground

* first try of bulk eval

* add bulk evaluation to adapters

* reuse

* simplify

* versions

* rm outdated changeset

* rm outdated changeset

* revert playground

* revert playground flags

* rm logs

* reuse cache of resolved flags for bulk

* simplify

* changesets

* support bulk([]) and bulk({})

* flagKey → key

* allow any type in expectPermutations

* avoid unnecessary mapping

* fix changeset

* validate package.json fields

* update package.json fields

* keep covariant

* adjust adapter types

* Merge bulk into evaluate (#392)

* merge bulk into evaluate

* add pages router compatibility

* better types

* add array test

* add test

* changesets

* use type import

* fix import

* extract readOverrides

* fix import of reportValue

* tracing

* skip bulkDecide for overwritten flags

* update changesets

* [changesets] onlyUpdatePeerDependentsWhenOutOfRange

* add type guard

* adjust changeset
2026-06-05 08:14:29 +00:00

66 lines
1.9 KiB
JSON

{
"name": "vercel-flags",
"version": "0.0.1",
"description": "A monorepo for the Flags SDK",
"homepage": "https://flags-sdk.dev",
"bugs": {
"url": "https://github.com/vercel/flags/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vercel/flags.git"
},
"license": "MIT",
"scripts": {
"attw": "turbo attw",
"build": "turbo build",
"dev": "turbo dev",
"dev:docs": "pnpm dev -F docs",
"check": "turbo check",
"format": "biome check --write .",
"next-15": "pnpm dev -F next-15",
"next-16": "pnpm dev -F next-16",
"prepare": "husky",
"publint": "turbo publint",
"registry": "pnpm dev -F registry",
"release": "turbo build --filter='./packages/*' && changeset publish",
"shirt-shop": "pnpm dev -F shirt-shop",
"shirt-shop-api": "pnpm dev -F shirt-shop-api",
"snippets": "pnpm dev -F snippets",
"playground": "pnpm dev -F playground",
"svelte": "pnpm dev -F svelte-example",
"test": "turbo test",
"test:e2e": "turbo test:e2e",
"test:integration": "turbo test:integration",
"type-check": "turbo type-check",
"validate-packages": "node scripts/validate-packages.mjs",
"validate-skills": "node scripts/validate-skills.mjs",
"version-packages": "changeset version && pnpm i --no-frozen-lockfile && git add ."
},
"lint-staged": {
"*": [
"biome check --no-errors-on-unmatched --files-ignore-unknown=true"
]
},
"devDependencies": {
"@biomejs/biome": "^2.4.6",
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "2.31.0",
"@types/node": "22.9.0",
"gray-matter": "4.0.3",
"husky": "9.0.10",
"lint-staged": "15.2.2",
"next": "^16.1.6",
"playwright": "1.56.1",
"publint": "0.3.14",
"react": "canary",
"turbo": "2.8.15",
"typescript": "^5.9.3",
"typescript-eslint": "8.46.1"
},
"packageManager": "pnpm@10.19.0",
"engines": {
"node": ">=18"
}
}