Commit c225f3f
Convert OpenFeature provider to TypeScript with npm workspaces setup
- Move openfeature-server-provider to packages/ as an npm workspace
- Convert all source and tests from JavaScript to TypeScript
- Add README adapted from the Java OpenFeature provider
- Bump main SDK version to 0.21.0 for shutdown method support
- Add shutdown() and areFlagsReady() to flag provider type declarations
- Add workspace scripts (test:all, build:workspaces) to root package.json
- Exclude packages/ from main SDK npm tarball via .npmignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent bde91e7 commit c225f3f
18 files changed
Lines changed: 614 additions & 1556 deletions
File tree
- lib/flags
- openfeature-server-provider
- src
- packages/openfeature-server-provider
- src
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
80 | 90 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
74 | 79 | | |
0 commit comments