Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
chore: deprecate package (phrase#37)
Browse files Browse the repository at this point in the history
package deprecation in favor of i18next-phrase-in-context-editor-post-processor
add deprecation notice to README.md
add deprecation console.log notification
add deprecation notice to package.json description
  • Loading branch information
FRSgit authored Aug 18, 2020
1 parent ae0870a commit a20c492
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# react-i18next-phraseapp
# DEPRECATED react-i18next-phraseapp

![Build status](https://github.com/phrase/react-i18next-phraseapp/workflows/Test/badge.svg)
[![No Maintenance Intended](https://unmaintained.tech/badge.svg)](http://unmaintained.tech/)

> This package has been deprecated in favor of [I18next Phrase In-Context Editor Post Processor](https://www.npmjs.com/package/i18next-phrase-in-context-editor-post-processor). Please have a look at [the documentation](https://phrase.github.io/i18next-phrase-in-context-editor-post-processor/examples/#react-i18next) for examples on how it can be used with React applications.
## Original Readme

This library lets you integrate the [PhraseApp In-Context Editor](https://help.phraseapp.com/translate-website-and-app-content/use-in-context-editor-to-translate/translate-directly-on-your-website) easily with your React apps localized with [react-i18next](https://github.com/i18next/react-i18next).

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-i18next-phraseapp",
"version": "2.0.2",
"description": "Connect react-i18next with the Phrase In-Context Editor",
"version": "2.0.3",
"description": "DEPRECATED ⛔️ Connect react-i18next with the Phrase In-Context Editor",
"homepage": "https://phrase.com",
"main": "./dist/react-i18next-phraseapp.js",
"typings": "./dist/index.d.ts",
Expand All @@ -18,6 +18,7 @@
"url": "https://github.com/phrase/react-i18next-phraseapp.git"
},
"keywords": [
"deprecated",
"phrase",
"phraseapp",
"i18n",
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ import withNamespaces from './with_namespaces';

export { withNamespaces, PhraseAppInitializer, PhraseAppProvider, };

console?.log?.('This package has been deprecated. Consider migrating to i18next-phrase-in-context-editor-post-processor instead (https://www.npmjs.com/package/i18next-phrase-in-context-editor-post-processor).');

0 comments on commit a20c492

Please sign in to comment.