Skip to content

Commit 2e3cfdc

Browse files
committed
include react sdk
1 parent 949b43f commit 2e3cfdc

File tree

5 files changed

+20
-16
lines changed

5 files changed

+20
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"devDependencies": {
2424
"lerna": "^8.1.3",
2525
"prettier": "^3.3.3",
26-
"typedoc": "0.27.5",
26+
"typedoc": "0.27.6",
2727
"typedoc-plugin-frontmatter": "^1.1.2",
2828
"typedoc-plugin-markdown": "^4.3.2"
2929
}

packages/react-sdk/src/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ import {
2222

2323
import { version } from "../package.json";
2424

25+
export { UnassignedFeedback };
26+
2527
export interface Features {}
2628

2729
const SDK_VERSION = `react-sdk/${version}`;
@@ -236,9 +238,8 @@ export function useTrack() {
236238
* Returns a function to open up the feedback form
237239
* Note: When calling `useRequestFeedback`, user/company must already be set.
238240
*
239-
* See https://github.com/bucketco/bucket-javascript-sdk/blob/main/packages/tracking-sdk/FEEDBACK.md#bucketrequestfeeback-options
240-
* for more information
241-
*
241+
* See [link](../../browser-sdk/FEEDBACK.md#bucketclient.requestfeedback-options) for more information
242+
*
242243
* ```ts
243244
* const requestFeedback = useRequestFeedback();
244245
* bucket.requestFeedback({
@@ -256,8 +257,7 @@ export function useRequestFeedback() {
256257
* Returns a function to manually send feedback collected from a user.
257258
* Note: When calling `useSendFeedback`, user/company must already be set.
258259
*
259-
* See https://github.com/bucketco/bucket-javascript-sdk/blob/main/packages/tracking-sdk/FEEDBACK.md#using-your-own-ui-to-collect-feedback
260-
* for more information
260+
* See [link](./../../browser-sdk/FEEDBACK.md#using-your-own-ui-to-collect-feedback) for more information
261261
*
262262
* ```ts
263263
* const sendFeedback = useSendFeedback();

packages/react-sdk/typedoc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"tsconfig": "tsconfig.build.json",
3+
"entryPoints": ["src/index.tsx"],
4+
}

typedoc.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"entryPointStrategy": "packages",
55
"entryPoints": [
66
"packages/browser-sdk/",
7-
// "packages/react-sdk/",
8-
"packages/node-sdk/"
7+
"packages/node-sdk/",
8+
"packages/react-sdk/"
99
],
1010
"packageOptions": {
11-
"entryPoints": ["src/index.ts*"]
11+
"entryPoints": ["src/index.ts"]
1212
},
1313

1414
"readme": "none",
15-
"disableSources": true,
15+
"disableSources": false,
1616
"outputs": [
1717
{
1818
"name": "markdown",
@@ -21,7 +21,7 @@
2121
{
2222
"name": "json",
2323
"path": "./dist/docs/docs.json"
24-
},
24+
}
2525
],
2626
"navigation": {
2727
"includeCategories": false,

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15231,9 +15231,9 @@ __metadata:
1523115231
languageName: node
1523215232
linkType: hard
1523315233

15234-
"typedoc@npm:0.27.5":
15235-
version: 0.27.5
15236-
resolution: "typedoc@npm:0.27.5"
15234+
"typedoc@npm:0.27.6":
15235+
version: 0.27.6
15236+
resolution: "typedoc@npm:0.27.6"
1523715237
dependencies:
1523815238
"@gerrit0/mini-shiki": "npm:^1.24.0"
1523915239
lunr: "npm:^2.3.9"
@@ -15244,7 +15244,7 @@ __metadata:
1524415244
typescript: 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x
1524515245
bin:
1524615246
typedoc: bin/typedoc
15247-
checksum: 10c0/c73501a601ba96c502bc1cdca8539a12512a1938791656f9620cff962fff6e0c4b475527b031c785a32496da2bee24c3ea35524a16707df5c5e1f458ab814deb
15247+
checksum: 10c0/74af856fc2b9ca151567db8e08737a6ab8b29efb611414510eb833f80723245bc6ade00f2be7a410e335833cfd5e3deb1ae1ecfdb4da3a13c65faedd1f1805b0
1524815248
languageName: node
1524915249
linkType: hard
1525015250

@@ -16287,7 +16287,7 @@ __metadata:
1628716287
dependencies:
1628816288
lerna: "npm:^8.1.3"
1628916289
prettier: "npm:^3.3.3"
16290-
typedoc: "npm:0.27.5"
16290+
typedoc: "npm:0.27.6"
1629116291
typedoc-plugin-frontmatter: "npm:^1.1.2"
1629216292
typedoc-plugin-markdown: "npm:^4.3.2"
1629316293
languageName: unknown

0 commit comments

Comments
 (0)