Skip to content

Commit

Permalink
update next example
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Nov 19, 2022
1 parent 8616dc5 commit 68ae518
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions example/next/README.md
Expand Up @@ -48,12 +48,12 @@ The config specifies that on the server we use the default load methods specifie

Yarn
```
yarn add next-i18next i18next-chained-backend i18next-http-backend i18next-localstorage-backend
yarn add next-i18next react-i18next i18next i18next-chained-backend i18next-http-backend i18next-localstorage-backend
```

npm
```
npm i --save next-i18next i18next-chained-backend i18next-http-backend i18next-localstorage-backend
npm i --save next-i18next react-i18next i18next i18next-chained-backend i18next-http-backend i18next-localstorage-backend
```

### 2. Setup next-i18next
Expand Down
12 changes: 7 additions & 5 deletions example/next/package.json
Expand Up @@ -9,11 +9,13 @@
"start": "next start -p ${PORT:=3000}"
},
"dependencies": {
"i18next-chained-backend": "3.0.2",
"i18next-http-backend": "1.4.1",
"i18next-localstorage-backend": "3.1.3",
"next": "12.2.2",
"next-i18next": "11.2.2"
"i18next": "22.0.6",
"react-i18next": "12.0.0",
"i18next-chained-backend": "4.0.0",
"i18next-http-backend": "2.0.1",
"i18next-localstorage-backend": "4.0.0",
"next": "13.0.4",
"next-i18next": "13.0.0"
},
"devDependencies": {
"prop-types": "15.8.1"
Expand Down
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -27,26 +27,26 @@
"types": "./index.d.ts",
"devDependencies": {
"@babel/cli": "7.19.3",
"@babel/core": "7.19.6",
"@babel/preset-env": "7.19.4",
"@babel/core": "7.20.2",
"@babel/preset-env": "7.20.2",
"babel-plugin-add-module-exports": "1.0.4",
"browserify": "17.0.0",
"dtslint": "4.2.1",
"eslint": "8.26.0",
"eslint": "8.28.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-n": "15.3.0",
"eslint-plugin-n": "15.5.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-require-path-exists": "1.1.9",
"eslint-plugin-standard": "5.0.0",
"expect.js": "0.3.1",
"i18next": "22.0.2",
"json-server": "0.17.0",
"i18next": "22.0.6",
"json-server": "0.17.1",
"json5": "2.2.1",
"mocha": "10.1.0",
"tslint": "5.20.1",
"tsd": "0.24.1",
"typescript": "4.8.4",
"typescript": "4.9.3",
"uglify-js": "3.17.4",
"xmlhttprequest": "1.8.0"
},
Expand Down

0 comments on commit 68ae518

Please sign in to comment.