Skip to content

Commit 473ead0

Browse files
committed
chore: resolved merge conflict
2 parents 9956f6d + aafd1a5 commit 473ead0

File tree

357 files changed

+13498
-2795
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

357 files changed

+13498
-2795
lines changed

.eslintrc.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,38 @@ module.exports = {
4747
'jest/no-focused-tests': 'error',
4848
'jest/no-identical-title': 'error',
4949
'jest/valid-expect': 'error',
50+
'no-underscore-dangle': ['error', { allowAfterThis: true }],
51+
'@typescript-eslint/naming-convention': [
52+
'error',
53+
{
54+
selector: ['method'],
55+
format: ['camelCase'],
56+
leadingUnderscore: 'forbid',
57+
},
58+
{
59+
selector: ['method'],
60+
format: ['camelCase'],
61+
modifiers: ['private'],
62+
leadingUnderscore: 'require',
63+
},
64+
{
65+
selector: ['classProperty', 'parameterProperty'],
66+
format: ['camelCase'],
67+
leadingUnderscore: 'forbid',
68+
},
69+
{
70+
selector: ['classProperty', 'parameterProperty'],
71+
modifiers: ['static'],
72+
format: ['PascalCase'],
73+
leadingUnderscore: 'forbid',
74+
},
75+
{
76+
selector: ['classProperty', 'parameterProperty'],
77+
modifiers: ['private'],
78+
format: ['camelCase'],
79+
leadingUnderscore: 'require',
80+
},
81+
],
5082
},
5183
globals: {
5284
BigInt: 'readonly',
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: '@launchdarkly/js-client-sdk Bug Report'
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'package: sdk/browser, bug'
6+
assignees: ''
7+
---
8+
9+
**Is this a support request?**
10+
This issue tracker is maintained by LaunchDarkly SDK developers and is intended for feedback on the code in this library. If you're not sure whether the problem you are having is specifically related to this library, or to the LaunchDarkly service overall, it may be more appropriate to contact the LaunchDarkly support team; they can help to investigate the problem and will consult the SDK team if necessary. You can submit a support request by going [here](https://support.launchdarkly.com/) and clicking "submit a request", or by emailing [email protected].
11+
12+
Note that issues filed on this issue tracker are publicly accessible. Do not provide any private account information on your issues. If your problem is specific to your account, you should submit a support request as described above.
13+
14+
**Describe the bug**
15+
A clear and concise description of what the bug is.
16+
17+
**To reproduce**
18+
Steps to reproduce the behavior.
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Logs**
24+
If applicable, add any log output related to your problem.
25+
26+
**SDK version**
27+
The version of this SDK that you are using.
28+
29+
**Language version, developer tools**
30+
For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a separate compiler, such as C, please include the name and version of the compiler too.
31+
32+
**OS/platform**
33+
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.
34+
35+
**Additional context**
36+
Add any other context about the problem here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: '@launchdarkly/js-client-sdk Feature Request'
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'package: sdk/browser, feature'
6+
assignees: ''
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I would love to see the SDK [...does something new...]
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
Add any other context about the feature request here.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: '@launchdarkly/server-sdk-ai Bug Report'
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'package: sdk/server-ai, bug'
6+
assignees: ''
7+
---
8+
9+
**Is this a support request?**
10+
This issue tracker is maintained by LaunchDarkly SDK developers and is intended for feedback on the code in this library. If you're not sure whether the problem you are having is specifically related to this library, or to the LaunchDarkly service overall, it may be more appropriate to contact the LaunchDarkly support team; they can help to investigate the problem and will consult the SDK team if necessary. You can submit a support request by going [here](https://support.launchdarkly.com/) and clicking "submit a request", or by emailing [email protected].
11+
12+
Note that issues filed on this issue tracker are publicly accessible. Do not provide any private account information on your issues. If your problem is specific to your account, you should submit a support request as described above.
13+
14+
**Describe the bug**
15+
A clear and concise description of what the bug is.
16+
17+
**To reproduce**
18+
Steps to reproduce the behavior.
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Logs**
24+
If applicable, add any log output related to your problem.
25+
26+
**SDK version**
27+
The version of this SDK that you are using.
28+
29+
**Language version, developer tools**
30+
For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a separate compiler, such as C, please include the name and version of the compiler too.
31+
32+
**OS/platform**
33+
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.
34+
35+
**Additional context**
36+
Add any other context about the problem here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: '@launchdarkly/server-sdk-ai Feature Request'
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'package: sdk/sdk-ai, feature'
6+
assignees: ''
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I would love to see the SDK [...does something new...]
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
Add any other context about the feature request here.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: telemetry/browser-telemetry
2+
3+
on:
4+
push:
5+
branches: [main, 'feat/**']
6+
paths-ignore:
7+
- '**.md' #Do not need to run CI for markdown changes.
8+
pull_request:
9+
branches: [main, 'feat/**']
10+
paths-ignore:
11+
- '**.md'
12+
13+
jobs:
14+
build-test-browser-telemetry:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 20.x
21+
registry-url: 'https://registry.npmjs.org'
22+
- id: shared
23+
name: Shared CI Steps
24+
uses: ./actions/ci
25+
with:
26+
workspace_name: '@launchdarkly/browser-telemetry'
27+
workspace_path: packages/telemetry/browser-telemetry

.github/workflows/browser.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212

1313
jobs:
1414
build-test-browser:
15+
permissions:
16+
pull-requests: write
1517
runs-on: ubuntu-latest
1618

1719
strategy:
@@ -31,3 +33,12 @@ jobs:
3133
with:
3234
workspace_name: '@launchdarkly/js-client-sdk'
3335
workspace_path: packages/sdk/browser
36+
- name: Check package size
37+
if: github.event_name == 'pull_request' && matrix.version == '21'
38+
uses: ./actions/package-size
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}
41+
target_file: 'packages/sdk/browser/dist/index.js'
42+
package_name: '@launchdarkly/js-client-sdk'
43+
pr_number: ${{ github.event.number }}
44+
size_limit: 21000

.github/workflows/common.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,12 @@ jobs:
2525
with:
2626
workspace_name: '@launchdarkly/js-sdk-common'
2727
workspace_path: packages/shared/common
28+
- name: Check package size
29+
if: github.event_name == 'pull_request'
30+
uses: ./actions/package-size
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
target_file: 'packages/shared/common/dist/esm/index.mjs'
34+
package_name: '@launchdarkly/js-sdk-common'
35+
pr_number: ${{ github.event.number }}
36+
size_limit: 21000

.github/workflows/manual-publish-docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
- packages/store/node-server-sdk-dynamodb
2121
- packages/telemetry/node-server-sdk-otel
2222
- packages/sdk/browser
23+
- packages/sdk/server-ai
2324
name: Publish Documentation
2425
jobs:
2526
build-publish:

.github/workflows/manual-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ on:
3333
- packages/telemetry/node-server-sdk-otel
3434
- packages/tooling/jest
3535
- packages/sdk/browser
36+
- packages/sdk/server-ai
3637
prerelease:
3738
description: 'Is this a prerelease. If so, then the latest tag will not be updated in npm.'
3839
type: boolean

0 commit comments

Comments
 (0)