Skip to content

Commit 6f95bee

Browse files
committed
fixup! added comments, updated deps
1 parent 81a1862 commit 6f95bee

File tree

3 files changed

+400
-2341
lines changed

3 files changed

+400
-2341
lines changed

.storybook/i18n.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ const ns = ['common']
77
const supportedLngs = ['en', 'de']
88

99
/**
10-
* Examples
11-
* - @see https://github.com/i18next/react-i18next/blob/c383abdb8d0f874a64bea3147a3dd3b9e1853f5e/example/storybook/src/i18n.js#L6-L24
12-
* - @see https://github.com/i18next/react-i18next/blob/7cfab9746b3ccc6f833cd9c892e7c3c804944a5e/example/react-typescript4.1/namespaces/src/i18n/config.ts#L13
10+
* Inspired by and uses:
1311
* - @see https://github.com/stevensacks/storybook-react-i18next
12+
*
13+
* Other Examples:
14+
* - @see https://github.com/i18next/react-i18next/blob/c383abdb8d0f874a64bea3147a3dd3b9e1853f5e/example/storybook/src/i18n.js#L6-L24
1415
*/
1516
i18n
1617
// load translation using http -> see /public/locales

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"lint:css": "stylelint --cache './**/*.{ts,tsx,scss}'",
2323
"prepare": "node scripts/setup && is-ci || husky install",
2424
"start": "next start",
25-
"storybook": "start-storybook -p 6006 -s ./public",
25+
"storybook": "start-storybook -p 6006 -s public",
2626
"test": "jest",
2727
"test:cypress": "start-server-and-test dev 3000 cypress:open",
2828
"test:cypress:ci": "yarn build && start-server-and-test start 3000 cypress:run"
@@ -68,7 +68,7 @@
6868
"autoprefixer": "^10.3.1",
6969
"babel-loader": "^8.2.2",
7070
"css-loader": "^6.2.0",
71-
"cypress": "^8.1.0",
71+
"cypress": "^8.2.0",
7272
"enzyme": "^3.11.0",
7373
"eslint": "^7.25.0",
7474
"eslint-config-airbnb": "^18.2.1",
@@ -92,13 +92,13 @@
9292
"postcss-loader": "^6.1.1",
9393
"postcss-preset-env": "^6.7.0",
9494
"prettier": "^2.2.1",
95-
"sass": "^1.37.2",
95+
"sass": "^1.37.5",
9696
"sass-loader": "^12.1.0",
9797
"semantic-release": "^17.4.4",
9898
"start-server-and-test": "^1.13.1",
9999
"storybook-addon-i18next": "^1.3.0",
100100
"storybook-addon-next-router": "^3.0.5",
101-
"storybook-react-i18next": "^1.0.3",
101+
"storybook-react-i18next": "^1.0.6",
102102
"style-loader": "^3.2.1",
103103
"stylelint": "^13.13.1",
104104
"stylelint-config-recommended": "^5.0.0",

0 commit comments

Comments
 (0)