Skip to content
Draft
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
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ jobs:

- run: npm i
- run: npm run deploy

- name: Deprecate old packages
run: |
npm deprecate flagsmith "This package has moved to @flagsmith/flagsmith. Please update your dependencies."
npm deprecate react-native-flagsmith "This package has moved to @flagsmith/react-native. Please update your dependencies."
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{".":"10.0.0"}
{".":"11.0.0"}
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,28 @@

# Flagsmith Javascript Client

[![npm version](https://badge.fury.io/js/flagsmith.svg)](https://badge.fury.io/js/flagsmith)
[![](https://data.jsdelivr.com/v1/package/npm/flagsmith/badge)](https://www.jsdelivr.com/package/npm/flagsmith)
[![npm version](https://badge.fury.io/js/@flagsmith/flagsmith.svg)](https://badge.fury.io/js/@flagsmith/flagsmith)
[![](https://data.jsdelivr.com/v1/package/npm/@flagsmith/flagsmith/badge)](https://www.jsdelivr.com/package/npm/@flagsmith/flagsmith)

The SDK clients for web and React Native for [https://www.flagsmith.com/](https://www.flagsmith.com/). Flagsmith allows you to manage feature flags and remote config across multiple projects, environments and organisations.

## Packages

| Package | Description |
|---------|-------------|
| [@flagsmith/flagsmith](https://www.npmjs.com/package/@flagsmith/flagsmith) | Web and SSR SDK |
| [@flagsmith/react-native](https://www.npmjs.com/package/@flagsmith/react-native) | React Native SDK |

## Installation

```bash
# For web/SSR
npm install @flagsmith/flagsmith

# For React Native
npm install @flagsmith/react-native
```

## Adding to your project

For full documentation visit [https://docs.flagsmith.com/clients/javascript/](https://docs.flagsmith.com/clients/javascript/)
Expand Down
12 changes: 10 additions & 2 deletions lib/flagsmith/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@

# Flagsmith Javascript Client

[![npm version](https://badge.fury.io/js/flagsmith.svg)](https://badge.fury.io/js/flagsmith)
[![](https://data.jsdelivr.com/v1/package/npm/flagsmith/badge)](https://www.jsdelivr.com/package/npm/flagsmith)
[![npm version](https://badge.fury.io/js/@flagsmith/flagsmith.svg)](https://badge.fury.io/js/@flagsmith/flagsmith)
[![](https://data.jsdelivr.com/v1/package/npm/@flagsmith/flagsmith/badge)](https://www.jsdelivr.com/package/npm/@flagsmith/flagsmith)

The web and SSR SDK clients for [https://www.flagsmith.com/](https://www.flagsmith.com/). Flagsmith allows you to manage feature flags and remote config across multiple projects, environments and organisations.

## Installation

```bash
npm install @flagsmith/flagsmith
# or
yarn add @flagsmith/flagsmith
```

## Adding to your project

For full documentation visit [https://docs.flagsmith.com/clients/javascript/](https://docs.flagsmith.com/clients/javascript/)
Expand Down
10 changes: 5 additions & 5 deletions lib/flagsmith/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions lib/flagsmith/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flagsmith",
"version": "10.0.0",
"name": "@flagsmith/flagsmith",
"version": "11.0.0",
"description": "Feature flagging to support continuous development",
"main": "./index.js",
"module": "./index.mjs",
Expand Down Expand Up @@ -50,5 +50,8 @@
"bugs": {
"url": "https://github.com/Flagsmith/flagsmith-js-client/issues"
},
"homepage": "https://flagsmith.com"
"homepage": "https://flagsmith.com",
"publishConfig": {
"access": "public"
}
}
12 changes: 10 additions & 2 deletions lib/react-native-flagsmith/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@

# Flagsmith React Native Client

[![npm version](https://badge.fury.io/js/flagsmith.svg)](https://badge.fury.io/js/react-native-flagsmith)
[![](https://data.jsdelivr.com/v1/package/npm/flagsmith/badge)](https://www.jsdelivr.com/package/npm/flagsmith)
[![npm version](https://badge.fury.io/js/@flagsmith/react-native.svg)](https://badge.fury.io/js/@flagsmith/react-native)
[![](https://data.jsdelivr.com/v1/package/npm/@flagsmith/react-native/badge)](https://www.jsdelivr.com/package/npm/@flagsmith/react-native)

The React Native SDK client for [https://www.flagsmith.com/](https://www.flagsmith.com/). Flagsmith allows you to manage feature flags and remote config across multiple projects, environments and organisations.

## Installation

```bash
npm install @flagsmith/react-native
# or
yarn add @flagsmith/react-native
```

## Adding to your project

For full documentation visit [https://docs.flagsmith.com/clients/javascript/#npm-for-react-native](https://docs.flagsmith.com/clients/javascript/#npm-for-react-native)
Expand Down
Loading