Skip to content

Commit

Permalink
Keep React V1.0.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Arifulislam5577 committed Nov 6, 2023
0 parents commit 60d6892
Show file tree
Hide file tree
Showing 709 changed files with 62,079 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "next",
"rules": {
"react/no-unescaped-entities": "off",
"@next/next/no-page-custom-font": "off",
"@next/next/no-img-element": "off"
}
}
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.next
.vercel
build
coverage
cypress/screenshots
cypress/videos
lib
node_modules
storybook-static
.DS_Store
npm-debug.log*
tsconfig.tsbuildinfo
yarn-debug.log*
yarn-error.log*
yarn.lock
vercel.json
31 changes: 31 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import type { StorybookConfig } from "@storybook/nextjs";
import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin";

const config: StorybookConfig = {
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
{
name: "@storybook/addon-styling",
options: {
postCss: true,
},
},
],
framework: {
name: "@storybook/nextjs",
options: {},
},
docs: {
autodocs: "tag",
},
webpackFinal: (config) => {
config.resolve!.plugins = [new TsconfigPathsPlugin()];
return config;
},
staticDirs: ["../public"],
};

export default config;
16 changes: 16 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { Preview } from "@storybook/react";
import "./style.css";

const preview: Preview = {
parameters: {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
},
};

export default preview;
Loading

0 comments on commit 60d6892

Please sign in to comment.