Skip to content

Commit

Permalink
feat: support react-i18next 14.x
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensacks committed Dec 22, 2023
1 parent 06c3602 commit 291a4ad
Show file tree
Hide file tree
Showing 16 changed files with 16,101 additions and 9,870 deletions.
19 changes: 0 additions & 19 deletions .babelrc.js

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
- name: Prepare repository
run: git fetch --unshallow --tags

- name: Use Node.js 18.x
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 16.x

- name: Install dependencies
run: yarn install --ignore-scripts
run: npm install --ignore-scripts

- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn release
npm run release
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ build-storybook.log
.env
.idea
.yarn
.npmrc
1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
"singleQuote": true,
"tabWidth": 4
}

2 changes: 1 addition & 1 deletion .storybook/local-preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ function managerEntries(entry = []) {
module.exports = {
managerEntries,
previewAnnotations,
};
};
18 changes: 8 additions & 10 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
import type {StorybookConfig} from '@storybook/react-vite';

import type { StorybookConfig } from "@storybook/react-vite";
const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'./local-preset.js',
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"./local-preset.js",
],
framework: {
name: '@storybook/react-vite',
name: "@storybook/react-vite",
options: {},
},
docs: {
autodocs: 'tag',
autodocs: "tag",
},
};

export default config;
1 change: 0 additions & 1 deletion .yarnrc.yml

This file was deleted.

Loading

0 comments on commit 291a4ad

Please sign in to comment.