Files
vercel__flags/turbo.json
T
Andy 2fcc446ea8 Create LaunchDarkly adapter (#2)
* Create LaunchDarkly adapter

* Update example to include a LaunchDarkly flag

* Add missing env to turbo

* Rename to defaultLaunchDarklyAdapter

* Add winter sale example for providers

* Update winter-sale

* Document usage in readme

* Allow to set the default value through the adapter

* Fix readme

* Add default value for adapter

* Make argument optional

* Add @ts-expect-error

* Add a LaunchDarkly adapter (#10)

* add ld example

* reword

* remove winter-sale example

* remove defaultValue

* use @flags-sdk/launchdarkly

* add install steps

* add changeset

* move @vercel/edge-config to peer deps

* add more secrets

* spell out name

* remove unused env var

* rename properties

* Capitalize

* Change import

* Fix more imports

* expose ldClient

* move peerDeps to real deps

* clarify Edge Config requirement in README

* remove adapter-launchdarkly snippet

* upgrade next@canary

* polish @flags-sdk/launchdarkly README

---------

Co-authored-by: Dominik Ferber <dominik.ferber@gmail.com>
2025-03-08 09:29:26 +02:00

50 lines
1.1 KiB
JSON

{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [".env", ".env.local", ".env.development.local"],
"globalEnv": ["NPM_TOKEN", "DEPLOYMENT_PROTECTION_BYPASS"],
"tasks": {
"dev": {
"dependsOn": ["^build"],
"cache": false
},
"build": {
"dependsOn": ["^build"],
"env": [
"EDGE_CONFIG",
"FLAGS_SECRET",
"LAUNCHDARKLY_CLIENT_SIDE_ID",
"LAUNCHDARKLY_PROJECT_SLUG",
"FLAGS",
"BACKEND_URL"
],
"outputs": [".next/**", "!.next/cache/**", "dist/**"]
},
"lint": {
"dependsOn": ["^build"]
},
"type-check": {
"dependsOn": ["^build"]
},
"attw": {
"dependsOn": ["^build"]
},
"test": {
"dependsOn": ["^build"]
},
"start": {
"dependsOn": ["^start"]
},
"test:e2e": {
"dependsOn": ["^build", "^start"],
"env": ["FLAGS_SECRET"]
},
"publint": {
"dependsOn": ["^build"]
},
"test:integration": {
"dependsOn": ["^build"]
},
"prettier-check": {}
}
}