Skip to content

Commit

Permalink
fixup! added comments, updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
natterstefan committed Aug 5, 2021
1 parent 81a1862 commit 6f95bee
Show file tree
Hide file tree
Showing 3 changed files with 400 additions and 2,341 deletions.
7 changes: 4 additions & 3 deletions .storybook/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ const ns = ['common']
const supportedLngs = ['en', 'de']

/**
* Examples
* - @see https://github.com/i18next/react-i18next/blob/c383abdb8d0f874a64bea3147a3dd3b9e1853f5e/example/storybook/src/i18n.js#L6-L24
* - @see https://github.com/i18next/react-i18next/blob/7cfab9746b3ccc6f833cd9c892e7c3c804944a5e/example/react-typescript4.1/namespaces/src/i18n/config.ts#L13
* Inspired by and uses:
* - @see https://github.com/stevensacks/storybook-react-i18next
*
* Other Examples:
* - @see https://github.com/i18next/react-i18next/blob/c383abdb8d0f874a64bea3147a3dd3b9e1853f5e/example/storybook/src/i18n.js#L6-L24
*/
i18n
// load translation using http -> see /public/locales
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"lint:css": "stylelint --cache './**/*.{ts,tsx,scss}'",
"prepare": "node scripts/setup && is-ci || husky install",
"start": "next start",
"storybook": "start-storybook -p 6006 -s ./public",
"storybook": "start-storybook -p 6006 -s public",
"test": "jest",
"test:cypress": "start-server-and-test dev 3000 cypress:open",
"test:cypress:ci": "yarn build && start-server-and-test start 3000 cypress:run"
Expand Down Expand Up @@ -68,7 +68,7 @@
"autoprefixer": "^10.3.1",
"babel-loader": "^8.2.2",
"css-loader": "^6.2.0",
"cypress": "^8.1.0",
"cypress": "^8.2.0",
"enzyme": "^3.11.0",
"eslint": "^7.25.0",
"eslint-config-airbnb": "^18.2.1",
Expand All @@ -92,13 +92,13 @@
"postcss-loader": "^6.1.1",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.2.1",
"sass": "^1.37.2",
"sass": "^1.37.5",
"sass-loader": "^12.1.0",
"semantic-release": "^17.4.4",
"start-server-and-test": "^1.13.1",
"storybook-addon-i18next": "^1.3.0",
"storybook-addon-next-router": "^3.0.5",
"storybook-react-i18next": "^1.0.3",
"storybook-react-i18next": "^1.0.6",
"style-loader": "^3.2.1",
"stylelint": "^13.13.1",
"stylelint-config-recommended": "^5.0.0",
Expand Down
Loading

0 comments on commit 6f95bee

Please sign in to comment.