Skip to content

Commit

Permalink
chore: Deprecate flagsmith-es (#281)
Browse files Browse the repository at this point in the history
* Deprecate flagsmith-es

* Don't exit postinstall
  • Loading branch information
kyle-ssg authored Jan 15, 2025
1 parent 84c1618 commit ffa499d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
5 changes: 5 additions & 0 deletions lib/flagsmith-es/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<img width="100%" src="https://github.com/Flagsmith/flagsmith/raw/main/static-files/hero.png"/>

# Flagsmith ESM Javascript Client

This module is now deprecated and bundled into the [Flagsmith JS Client](https://www.npmjs.com/package/flagsmith).
5 changes: 3 additions & 2 deletions lib/flagsmith-es/package-lock.json

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

5 changes: 4 additions & 1 deletion lib/flagsmith-es/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"name": "flagsmith-es",
"version": "8.0.2",
"version": "8.0.3",
"description": "Feature flagging to support continuous development. This is an esm equivalent of the standard flagsmith npm module.",
"main": "./index.js",
"type": "module",
"scripts": {
"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'"
},
"repository": {
"type": "git",
"url": "https://github.com/Flagsmith/flagsmith-js-client"
Expand Down
2 changes: 1 addition & 1 deletion lib/flagsmith/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flagsmith",
"version": "8.0.2",
"version": "8.0.3",
"description": "Feature flagging to support continuous development",
"main": "./index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion lib/react-native-flagsmith/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-flagsmith",
"version": "8.0.2",
"version": "8.0.3",
"description": "Feature flagging to support continuous development",
"main": "./index.js",
"repository": {
Expand Down

0 comments on commit ffa499d

Please sign in to comment.