Skip to content

Commit ffa499d

Browse files
authored
chore: Deprecate flagsmith-es (#281)
* Deprecate flagsmith-es * Don't exit postinstall
1 parent 84c1618 commit ffa499d

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

lib/flagsmith-es/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<img width="100%" src="https://github.com/Flagsmith/flagsmith/raw/main/static-files/hero.png"/>
2+
3+
# Flagsmith ESM Javascript Client
4+
5+
This module is now deprecated and bundled into the [Flagsmith JS Client](https://www.npmjs.com/package/flagsmith).

lib/flagsmith-es/package-lock.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/flagsmith-es/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"name": "flagsmith-es",
3-
"version": "8.0.2",
3+
"version": "8.0.3",
44
"description": "Feature flagging to support continuous development. This is an esm equivalent of the standard flagsmith npm module.",
55
"main": "./index.js",
66
"type": "module",
7+
"scripts": {
8+
"postinstall": "echo '\u001b[31m\u001b[1mimportant: flagsmith-es is deprecated\u001b[0m\n\nplease install the official flagsmith package instead:\n\n \u001b[32m\u001b[1mnpm install flagsmith\u001b[0m\n\nfor more details, visit: https://github.com/Flagsmith/flagsmith-js-client\n'"
9+
},
710
"repository": {
811
"type": "git",
912
"url": "https://github.com/Flagsmith/flagsmith-js-client"

lib/flagsmith/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flagsmith",
3-
"version": "8.0.2",
3+
"version": "8.0.3",
44
"description": "Feature flagging to support continuous development",
55
"main": "./index.js",
66
"repository": {

lib/react-native-flagsmith/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-flagsmith",
3-
"version": "8.0.2",
3+
"version": "8.0.3",
44
"description": "Feature flagging to support continuous development",
55
"main": "./index.js",
66
"repository": {

0 commit comments

Comments
 (0)