Skip to content

Commit 5a5704c

Browse files
authored
chore: marking example packages private (#1245)
this PR will mark example repos as `private` in their `package.json` <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk: this only adds `"private": true` to example `package.json` files to prevent accidental publication; it does not change runtime code or dependencies. > > **Overview** > Marks multiple SDK example apps as **private npm packages** by adding `"private": true` to their `package.json` files (Akamai base/EdgeKV, Cloudflare, Fastly, React Native, Server AI examples, Shopify Oxygen, Svelte, and Vercel). This reduces the chance of accidentally publishing these example projects to a registry. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 6ace896. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/launchdarkly/js-core/pull/1245" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end -->
1 parent 1039626 commit 5a5704c

12 files changed

Lines changed: 12 additions & 0 deletions

File tree

packages/sdk/akamai-base/example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@launchdarkly/akamai-playground",
3+
"private": true,
34
"version": "1.0.4",
45
"description": "",
56
"main": "main.js",

packages/sdk/akamai-edgekv/example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@launchdarkly/akamai-edgekv-playground",
3+
"private": true,
34
"version": "1.0.4",
45
"description": "",
56
"main": "main.js",

packages/sdk/cloudflare/example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@launchdarkly/cloudflare-example",
3+
"private": true,
34
"version": "0.0.0",
45
"type": "module",
56
"module": "./dist/index.mjs",

packages/sdk/fastly/example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@launchdarkly/fastly-example",
3+
"private": true,
34
"packageManager": "yarn@3.4.1",
45
"type": "module",
56
"engines": {

packages/sdk/react-native/example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@launchdarkly/react-native-example",
3+
"private": true,
34
"version": "0.0.1",
45
"main": "index.js",
56
"scripts": {

packages/sdk/server-ai/examples/chat-judge/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@launchdarkly/server-sdk-ai-chat-judge",
3+
"private": true,
34
"version": "1.0.0",
45
"description": "Example demonstrating LaunchDarkly AI SDK chat judge functionality for automatically evaluating AI responses",
56
"type": "module",

packages/sdk/server-ai/examples/chat-observability/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@launchdarkly/chat-observability-example",
3+
"private": true,
34
"version": "1.0.0",
45
"description": "LaunchDarkly AI SDK chat example with observability plugin",
56
"scripts": {

packages/sdk/server-ai/examples/direct-judge/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@launchdarkly/server-sdk-ai-direct-judge",
3+
"private": true,
34
"version": "1.0.0",
45
"description": "Example demonstrating LaunchDarkly AI SDK direct judge functionality for evaluating arbitrary input and output",
56
"type": "module",

packages/sdk/server-ai/examples/tracked-chat/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@launchdarkly/tracked-chat-example",
3+
"private": true,
34
"version": "1.0.0",
45
"description": "Example demonstrating LaunchDarkly AI SDK chat functionality with multiple providers",
56
"type": "module",

packages/sdk/shopify-oxygen/example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@launchdarkly/shopify-oxygen-sdk-example",
3+
"private": true,
34
"packageManager": "yarn@3.4.1",
45
"scripts": {
56
"build": "tsup",

0 commit comments

Comments
 (0)