Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -599,9 +599,7 @@ jobs:
permissions:
id-token: write
contents: write
# if: ${{ always() && !failure() && !cancelled() && needs.release-please.outputs.package-sdk-vue-released == 'true'}}
# TODO: Uncomment this when the package is ready to be released.
if: false
Comment thread
cursor[bot] marked this conversation as resolved.
if: ${{ always() && !failure() && !cancelled() && needs.release-please.outputs.package-sdk-vue-released == 'true'}}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- id: release-vue
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
Expand All @@ -610,6 +608,8 @@ jobs:
with:
workspace_path: packages/sdk/vue
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
# Vue SDK is publishing as a prerelease; remove this once it reaches GA so npm's `latest` tag starts tracking it.
prerelease: true

manual-publish:
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ flowchart LR
react[sdk/react]
shopify-oxygen[sdk/shopify-oxygen]
openfeature-node-server[sdk/openfeature-node-server]
vue[sdk/vue]

%% Store packages
redis[store/node-server-sdk-redis]
Expand All @@ -192,6 +193,7 @@ flowchart LR
sdk-client --> browser
sdk-client --> react-native
browser --> react
browser --> vue
sdk-server --> react

sdk-server --> server-node
Expand Down Expand Up @@ -219,7 +221,7 @@ flowchart LR
react-native -.-> jest

class common,sdk-client,sdk-server,sdk-server-edge,akamai-edgeworker,openfeature-server-common shared
class server-node,cloudflare,fastly,react-native,browser,vercel,akamai-base,akamai-edgekv,server-ai,react,shopify-oxygen,openfeature-node-server sdk
class server-node,cloudflare,fastly,react-native,browser,vercel,akamai-base,akamai-edgekv,server-ai,react,shopify-oxygen,openfeature-node-server,vue sdk
class redis,dynamodb store
class node-otel telemetry
class jest tooling
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This includes shared libraries, used by SDKs and other tools, as well as SDKs.
| [@launchdarkly/server-sdk-ai](packages/sdk/server-ai/README.md) | [![NPM][sdk-server-ai-npm-badge]][sdk-server-ai-npm-link] | [server-ai][package-sdk-server-ai-issues] | [![Actions Status][sdk-server-ai-ci-badge]][sdk-server-ai-ci] |
| [@launchdarkly/shopify-oxygen-sdk](packages/sdk/shopify-oxygen/README.md) | [![NPM][sdk-shopify-oxygen-npm-badge]][sdk-shopify-oxygen-npm-link] | [Shopify Oxygen][package-sdk-shopify-oxygen-issues] | [![Actions Status][sdk-shopify-oxygen-ci-badge]][sdk-shopify-oxygen-ci] |
| [@launchdarkly/react-sdk](packages/sdk/react/README.md) | [![NPM][sdk-react-npm-badge]][sdk-react-npm-link] | [React][package-sdk-react-issues] | [![Actions Status][sdk-react-ci-badge]][sdk-react-ci] |
| [@launchdarkly/vue-client-sdk](packages/sdk/vue/README.md) | [![NPM][sdk-vue-npm-badge]][sdk-vue-npm-link] | [Vue][package-sdk-vue-issues] | [![Actions Status][sdk-vue-ci-badge]][sdk-vue-ci] |
| [@launchdarkly/openfeature-node-server](packages/sdk/openfeature-node-server/README.md) | [![NPM][sdk-openfeature-node-server-npm-badge]][sdk-openfeature-node-server-npm-link] | [OpenFeature Node Server][package-sdk-openfeature-node-server-issues] | [![Actions Status][sdk-openfeature-node-server-ci-badge]][sdk-openfeature-node-server-ci] |
<!--| [@launchdarkly/browser](packages/sdk/combined-browser/README.md) | [![NPM][sdk-combined-browser-npm-badge]][sdk-browser-npm-link] | [Combined Browser][package-sdk-combined-browser-issues] | [![Actions Status][sdk-combined-browser-ci-badge]][sdk-combined-browser-ci] |-->

Expand Down Expand Up @@ -253,6 +254,12 @@ We encourage pull requests and other contributions from the community. Check out
[sdk-react-npm-badge]: https://img.shields.io/npm/v/@launchdarkly/react-sdk.svg?style=flat-square
[sdk-react-npm-link]: https://www.npmjs.com/package/@launchdarkly/react-sdk
[package-sdk-react-issues]: https://github.com/launchdarkly/js-core/issues?q=is%3Aissue+is%3Aopen+label%3A%22package%3A+sdk%2Freact%22+
[//]: # 'sdk/vue'
[sdk-vue-ci-badge]: https://github.com/launchdarkly/js-core/actions/workflows/vue.yml/badge.svg
[sdk-vue-ci]: https://github.com/launchdarkly/js-core/actions/workflows/vue.yml
[sdk-vue-npm-badge]: https://img.shields.io/npm/v/@launchdarkly/vue-client-sdk.svg?style=flat-square
[sdk-vue-npm-link]: https://www.npmjs.com/package/@launchdarkly/vue-client-sdk
[package-sdk-vue-issues]: https://github.com/launchdarkly/js-core/issues?q=is%3Aissue+is%3Aopen+label%3A%22package%3A+sdk%2Fvue%22+
[//]: # 'shared/openfeature-server-common'
[openfeature-js-server-common-npm-badge]: https://img.shields.io/npm/v/@launchdarkly/openfeature-js-server-common.svg?style=flat-square
[openfeature-js-server-common-npm-link]: https://www.npmjs.com/package/@launchdarkly/openfeature-js-server-common
Expand Down
13 changes: 5 additions & 8 deletions packages/sdk/vue/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
# LaunchDarkly Vue SDK

[![Actions Status][vue-sdk-ci-badge]][vue-sdk-ci]
<!-- Badges below are commented out until the package is published to npm and docs are deployed.
[![NPM][vue-sdk-npm-badge]][vue-sdk-npm-link]
[![Actions Status][vue-sdk-ci-badge]][vue-sdk-ci]
[![Documentation][vue-sdk-ghp-badge]][vue-sdk-ghp-link]
[![NPM][vue-sdk-dm-badge]][vue-sdk-npm-link]
[![NPM][vue-sdk-dt-badge]][vue-sdk-npm-link]
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
-->

> [!CAUTION]
> This SDK is experimental and should NOT be considered ready for production use.
> It may change or be removed without notice and is not subject to backwards
> compatibility guarantees.
> This SDK is in pre-release and not subject to backwards compatibility
> guarantees. The API may change based on feedback.
>
> Pin to a specific minor version and review the [changelog](CHANGELOG.md) before upgrading.

Expand Down Expand Up @@ -40,11 +37,11 @@ LaunchDarkly uses the [SLSA framework](https://slsa.dev/spec/v1.0/about) (Supply

[vue-sdk-ci-badge]: https://github.com/launchdarkly/js-core/actions/workflows/vue.yml/badge.svg
[vue-sdk-ci]: https://github.com/launchdarkly/js-core/actions/workflows/vue.yml
<!-- Badge link definitions below are commented out until the package is published.

[vue-sdk-npm-badge]: https://img.shields.io/npm/v/@launchdarkly/vue-client-sdk.svg?style=flat-square
[vue-sdk-npm-link]: https://www.npmjs.com/package/@launchdarkly/vue-client-sdk
[vue-sdk-ghp-badge]: https://img.shields.io/static/v1?label=GitHub+Pages&message=API+reference&color=00add8
[vue-sdk-ghp-link]: https://launchdarkly.github.io/js-core/packages/sdk/vue/docs/
[vue-sdk-dm-badge]: https://img.shields.io/npm/dm/@launchdarkly/vue-client-sdk.svg?style=flat-square
[vue-sdk-dt-badge]: https://img.shields.io/npm/dt/@launchdarkly/vue-client-sdk.svg?style=flat-square
-->

2 changes: 1 addition & 1 deletion packages/sdk/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"check": "yarn lint && yarn build && yarn test"
},
"dependencies": {
"@launchdarkly/js-client-sdk": "workspace:^"
"@launchdarkly/js-client-sdk": "4.9.4"
},
"peerDependencies": {
"vue": "^3.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/vue/src/client/LDVueClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function createClient(
const baseClientOptions: LDOptions = {
...options,
wrapperName: options.wrapperName ?? 'vue-client-sdk',
wrapperVersion: options.wrapperVersion ?? '0.1.0', // x-release-please-version
wrapperVersion: options.wrapperVersion ?? '0.1.4', // x-release-please-version
};

const baseClient = createBaseClient(clientSideID, context, baseClientOptions);
Expand Down
7 changes: 6 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,12 @@
]
},
"packages/sdk/vue": {
"bump-minor-pre-major": true
"bump-minor-pre-major": true,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am going to try this out and publish on a npm tag that is not latest.

"prerelease": true,
"prerelease-type": "beta",
"extra-files": [
"src/client/LDVueClient.ts"
]
Comment thread
joker23 marked this conversation as resolved.
}
},
"plugins": [
Expand Down
Loading