feat: Unleash feature flags via src/lib/flags.tsx, hello-banner on home page
All checks were successful
/ checks (push) Successful in 38s
/ deploy (push) Successful in 9s

Ported from service-template-react e6f8827.
This commit is contained in:
nholtware 2026-11-05 11:19:56 -06:00
parent 444044b99a
commit 52b5a48346
12 changed files with 276 additions and 9 deletions

44
package-lock.json generated
View file

@ -8,9 +8,11 @@
"name": "hello-web",
"version": "1.0.0",
"dependencies": {
"@unleash/proxy-client-react": "^6.0.1",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"react-router": "^8.5.1"
"react-router": "^8.5.1",
"unleash-proxy-client": "^3.8.2"
},
"devDependencies": {
"@commitlint/cli": "^21.2.4",
@ -1826,6 +1828,22 @@
"url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/@unleash/proxy-client-react": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/@unleash/proxy-client-react/-/proxy-client-react-6.0.1.tgz",
"integrity": "sha512-ghpI3mCs7KMKbry1TaRrkH2aIj+X3O6vaHw5isp3CIOguyN5dXcK5sPG7YOCr9pVcTT99wVGRFgpAwlLaCWLbA==",
"license": "Apache-2.0",
"dependencies": {
"use-sync-external-store": "^1.6.0"
},
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"unleash-proxy-client": "^3.8.0"
}
},
"node_modules/@vitejs/plugin-react": {
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.2.1.tgz",
@ -4101,6 +4119,12 @@
"node": ">=8"
}
},
"node_modules/tiny-emitter": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz",
"integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==",
"license": "MIT"
},
"node_modules/tinybench": {
"version": "6.2.3",
"resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.3.tgz",
@ -4265,6 +4289,15 @@
"dev": true,
"license": "MIT"
},
"node_modules/unleash-proxy-client": {
"version": "3.8.2",
"resolved": "https://registry.npmjs.org/unleash-proxy-client/-/unleash-proxy-client-3.8.2.tgz",
"integrity": "sha512-xwFk4Zq7mdZxWU69g9On1TT3VSARBm2c+U1oY6PbaBA+FZrODpUHw7xMhIg74Ai56w0RlPMZ4znzHZ3R9PBGpA==",
"license": "Apache-2.0",
"dependencies": {
"tiny-emitter": "^2.1.0"
}
},
"node_modules/update-browserslist-db": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz",
@ -4306,6 +4339,15 @@
"punycode": "^2.1.0"
}
},
"node_modules/use-sync-external-store": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz",
"integrity": "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==",
"license": "MIT",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/verkit": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/verkit/-/verkit-0.5.0.tgz",