Skip to content

Commit 105fd95

Browse files
feat: Angular SDK (#997)
<!-- Please use this template for your pull request. --> <!-- Please use the sections that you need and delete other sections --> ## This PR <!-- add the description of the PR here --> Adds an Angular SDK as discussed in #976. It mainly provides directives that conditionally render based on flag value and provider state. I did not inject any OpenFeature service or anything like that, as I think the directives will be the way to access feature flags in the templates, and the OpenFeature global API can be used directly in services. But I am not 100% sure on that one. Happy to receive feedback and opinions :) A small test app can be found here: https://github.com/open-feature/angular-test-app This can be used with [yalc](https://github.com/wclr/yalc). --------- Signed-off-by: Lukas Reining <[email protected]> Co-authored-by: Todd Baert <[email protected]>
1 parent 86e7103 commit 105fd95

26 files changed

+21136
-6352
lines changed

.release-please-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"packages/nest": "0.2.1-experimental",
33
"packages/react": "0.4.5",
4+
"packages/angular": "0.0.1-experimental",
45
"packages/web": "1.2.3",
56
"packages/server": "1.15.1",
67
"packages/shared": "1.4.0"

jest.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ export default {
189189
],
190190
},
191191
},
192+
'<rootDir>/packages/angular',
192193
],
193194

194195
// Use this configuration option to add custom reporters to Jest

0 commit comments

Comments
 (0)