Skip to content

Commit 60d6892

Browse files
Keep React V1.0.0 Release
0 parents  commit 60d6892

File tree

709 files changed

+62079
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

709 files changed

+62079
-0
lines changed

.eslintrc.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "next",
3+
"rules": {
4+
"react/no-unescaped-entities": "off",
5+
"@next/next/no-page-custom-font": "off",
6+
"@next/next/no-img-element": "off"
7+
}
8+
}

.gitignore

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.next
2+
.vercel
3+
build
4+
coverage
5+
cypress/screenshots
6+
cypress/videos
7+
lib
8+
node_modules
9+
storybook-static
10+
.DS_Store
11+
npm-debug.log*
12+
tsconfig.tsbuildinfo
13+
yarn-debug.log*
14+
yarn-error.log*
15+
yarn.lock
16+
vercel.json

.storybook/main.ts

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import type { StorybookConfig } from "@storybook/nextjs";
2+
import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin";
3+
4+
const config: StorybookConfig = {
5+
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
6+
addons: [
7+
"@storybook/addon-links",
8+
"@storybook/addon-essentials",
9+
"@storybook/addon-interactions",
10+
{
11+
name: "@storybook/addon-styling",
12+
options: {
13+
postCss: true,
14+
},
15+
},
16+
],
17+
framework: {
18+
name: "@storybook/nextjs",
19+
options: {},
20+
},
21+
docs: {
22+
autodocs: "tag",
23+
},
24+
webpackFinal: (config) => {
25+
config.resolve!.plugins = [new TsconfigPathsPlugin()];
26+
return config;
27+
},
28+
staticDirs: ["../public"],
29+
};
30+
31+
export default config;

.storybook/preview.ts

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import type { Preview } from "@storybook/react";
2+
import "./style.css";
3+
4+
const preview: Preview = {
5+
parameters: {
6+
actions: { argTypesRegex: "^on[A-Z].*" },
7+
controls: {
8+
matchers: {
9+
color: /(background|color)$/i,
10+
date: /Date$/,
11+
},
12+
},
13+
},
14+
};
15+
16+
export default preview;

0 commit comments

Comments
 (0)