Skip to content

Commit 7e8bb4e

Browse files
committed
chore: update references and configurations for Reflag
1 parent 910569c commit 7e8bb4e

6 files changed

Lines changed: 37 additions & 17 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
cache: "yarn"
1818
cache-dependency-path: "**/yarn.lock"
1919
registry-url: "https://registry.npmjs.org"
20-
scope: "@bucketco"
20+
scope: "@reflag"
2121
- name: Install dependencies
2222
run: yarn install --immutable
2323
- name: Build packages
@@ -38,12 +38,12 @@ jobs:
3838
path: bucket-docs
3939
- name: Copy generated docs to docs repo
4040
run: |
41-
rm -rf bucket-docs/sdk
42-
cp -R dist/docs bucket-docs/sdk
41+
rm -rf reflag-docs/sdk
42+
cp -R dist/docs reflag-docs/sdk
4343
- name: Commit and push changes
4444
run: |
45-
cd bucket-docs
45+
cd reflag-docs
4646
git config user.name "github-actions[bot]"
47-
git config user.email "github-actions[bot]@bucket.co"
47+
git config user.email "github-actions[bot]@reflag.com"
4848
git add sdk
4949
git commit -m "Update documentation" && git push || echo "No docs changes to commit"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ junit.xml
4141

4242
.next
4343
eslint-report.json
44-
bucket.config.json
44+
reflag.config.json

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Bucket
1+
# Reflag
22

3-
Feature flags for SaaS that run on TypeScript. [Learn more and get started](https://bucket.co/)
3+
Feature flags for SaaS that run on TypeScript. [Learn more and get started](https://reflag.com/)
44

55
## React SDK
66

@@ -27,21 +27,21 @@ Use this for Cloudflare Workers as well.
2727

2828
[Read the docs](packages/node-sdk/README.md)
2929

30-
## Bucket CLI
30+
## Reflag CLI
3131

32-
CLI to interact with Bucket and generate types
32+
CLI to interact with Reflag and generate types
3333

3434
[Read the docs](packages/cli/README.md)
3535

3636
## OpenFeature Browser Provider
3737

38-
Use Bucket with OpenFeature in the browser through the Bucket OpenFeature Browser Provider
38+
Use Reflag with OpenFeature in the browser through the Reflag OpenFeature Browser Provider
3939

4040
[Read the docs](packages/openfeature-browser-provider/README.md)
4141

4242
## OpenFeature Node.js Provider
4343

44-
Use the Bucket with OpenFeature on the server in Node.js through the Bucket OpenFeature Node.js Provider
44+
Use the Reflag with OpenFeature on the server in Node.js through the Reflag OpenFeature Node.js Provider
4545

4646
[Read the docs](packages/openfeature-node-provider/README.md)
4747

docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ typedoc --treatWarningsAsErrors
1616
SEDCOMMAND='s/globals.md#(.*)-[0-9]+/globals.md#\1/g'
1717

1818
# Find all markdown files including globals.md
19-
FILES=$(find dist/docs/@bucketco -name "*.md")
19+
FILES=$(find dist/docs/@reflag -name "*.md")
2020

2121
echo "Processing markdown files..."
2222
for file in $FILES

packages/browser-sdk/src/index.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
export type { Config, Flag, InitOptions, ToolbarOptions } from "./client";
1+
export type {
2+
Config,
3+
Flag,
4+
FlagRemoteConfig,
5+
InitOptions,
6+
ToolbarOptions,
7+
} from "./client";
28
export { ReflagClient } from "./client";
39
export type { CompanyContext, ReflagContext, UserContext } from "./context";
410
export type {
@@ -22,7 +28,13 @@ export type {
2228
OnScoreSubmitResult,
2329
OpenFeedbackFormOptions,
2430
} from "./feedback/ui/types";
25-
export type { CheckEvent, FallbackFlagOverride, RawFlags } from "./flag/flags";
31+
export type {
32+
CheckEvent,
33+
FallbackFlagOverride,
34+
FetchedFlag,
35+
RawFlag,
36+
RawFlags,
37+
} from "./flag/flags";
2638
export type { HookArgs, TrackEvent } from "./hooksManager";
2739
export type { Logger } from "./logger";
2840
export { feedbackContainerId, propagatedEvents } from "./ui/constants";

packages/vue-sdk/src/index.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from "@reflag/browser-sdk";
99

1010
import ReflagProvider from "./ReflagProvider.vue";
11-
import { ReflagProps } from "./types";
11+
import { EmptyFlagRemoteConfig, Flag, FlagType, ReflagProps } from "./types";
1212

1313
export {
1414
useClient,
@@ -25,7 +25,15 @@ export type { ReflagProps, RequestFlagFeedbackOptions } from "./types";
2525

2626
export { ReflagProvider };
2727

28-
export type { CheckEvent, CompanyContext, TrackEvent, UserContext };
28+
export type {
29+
CheckEvent,
30+
CompanyContext,
31+
EmptyFlagRemoteConfig,
32+
Flag,
33+
FlagType,
34+
TrackEvent,
35+
UserContext,
36+
};
2937

3038
export default {
3139
install(app: App, _options?: ReflagProps) {

0 commit comments

Comments
 (0)