Skip to content

Commit 9fb9036

Browse files
Commit to eject React application
0 parents  commit 9fb9036

File tree

194 files changed

+288515
-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.

194 files changed

+288515
-0
lines changed

.eslintignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
public
2+
dist
3+
lib
4+
src
5+
tsconfig.json
6+
yarn.lock
7+
webpack.config.js
8+
MANIFEST.txt
9+
npm-debug.log*
10+
yarn-debug.log*
11+
yarn-error.log*
12+
/node_modules

.eslintrc.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
plugins: [
5+
'@typescript-eslint',
6+
],
7+
extends: [
8+
'eslint:recommended',
9+
'plugin:@typescript-eslint/recommended',
10+
],
11+
env: {
12+
"node": true
13+
}
14+
};

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/lib
13+
/dist
14+
15+
# misc
16+
.DS_Store
17+
.env.local
18+
.env.development.local
19+
.env.test.local
20+
.env.production.local
21+
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*

.npmignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
public
2+
dist
3+
src
4+
.vscode/
5+
tsconfig.json
6+
.eslintrc.js
7+
.eslintignore
8+
yarn.lock
9+
webpack.config.js
10+
.storybook/
11+
MANIFEST.txt
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
npm-debug.log*
18+
yarn-debug.log*
19+
yarn-error.log*
20+
/node_modules

.storybook/main.js

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
stories: [
5+
'../src/**/*.stories.mdx',
6+
'../src/**/*.stories.@(js|jsx|ts|tsx)'
7+
],
8+
addons: [
9+
'@storybook/addon-actions',
10+
'@storybook/addon-docs',
11+
'@storybook/addon-essentials',
12+
'@storybook/addon-interactions',
13+
'@storybook/addon-links',
14+
''
15+
],
16+
staticDirs: ['../public/assets'],
17+
framework: "@storybook/react",
18+
core: {
19+
"builder": "webpack5"
20+
},
21+
typescript: {
22+
check: false,
23+
checkOptions: {},
24+
reactDocgen: "react-docgen-typescript",
25+
reactDocgenTypescriptOptions: {
26+
shouldExtractLiteralValuesFromEnum: true,
27+
propFilter: (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true),
28+
},
29+
},
30+
webpackFinal: async (config, { configType }) => {
31+
// `configType` has a value of 'DEVELOPMENT' or 'PRODUCTION'
32+
// You can change the configuration based on that.
33+
// 'PRODUCTION' is used when building the static version of storybook.
34+
35+
const fileLoaderRule = config.module.rules.find(rule => rule.test && rule.test.test('.svg'));
36+
fileLoaderRule.exclude = /\.svg$/;
37+
38+
config.module.rules.push(
39+
{
40+
test: /\.s[ca]ss|css$/,
41+
use: ['style-loader', 'css-loader', 'resolve-url-loader', 'sass-loader'],
42+
include: path.resolve(__dirname, '../')
43+
},
44+
{
45+
test: /\.svg$/,
46+
use: ['@svgr/webpack', 'file-loader', 'url-loader'],
47+
include: path.resolve(__dirname, '../')
48+
}
49+
);
50+
51+
config.resolve.fallback = {
52+
http: false
53+
}
54+
55+
return config;
56+
},
57+
};

.storybook/manager-head.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<title>Octuple Design System</title>
2+
3+
<link rel="apple-touch-icon" sizes="57x57" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/apple-icon-57x57.png">
4+
<link rel="apple-touch-icon" sizes="60x60" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/apple-icon-60x60.png">
5+
<link rel="apple-touch-icon" sizes="72x72" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/apple-icon-72x72.png">
6+
<link rel="apple-touch-icon" sizes="76x76" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/apple-icon-76x76.png">
7+
<link rel="apple-touch-icon" sizes="114x114" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/apple-icon-114x114.png">
8+
<link rel="apple-touch-icon" sizes="120x120" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/apple-icon-120x120.png">
9+
<link rel="apple-touch-icon" sizes="144x144" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/apple-icon-144x144.png">
10+
<link rel="apple-touch-icon" sizes="152x152" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/apple-icon-152x152.png">
11+
<link rel="apple-touch-icon" sizes="180x180" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/apple-icon-180x180.png">
12+
<link rel="icon" type="image/png" sizes="192x192" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/android-icon-192x192.png">
13+
<link rel="icon" type="image/png" sizes="32x32" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/favicon-32x32.png">
14+
<link rel="icon" type="image/png" sizes="96x96" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/favicon-96x96.png">
15+
<link rel="icon" type="image/png" sizes="16x16" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/favicon-16x16.png">
16+
<link rel="manifest" href="https://raw.githubusercontent.com/dylankilgore/static/main/images/manifest.json">
17+
<meta name="msapplication-TileColor" content="#ffffff">
18+
<meta name="msapplication-TileImage" content="https://raw.githubusercontent.com/dylankilgore/static/main/images/ms-icon-144x144.png">
19+
<meta name="theme-color" content="#ffffff">

.storybook/manager.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { addons } from '@storybook/addons';
2+
import { themes } from '@storybook/theming';
3+
import octupleTheme from './octupleTheme';
4+
5+
addons.setConfig({
6+
theme: octupleTheme
7+
});

.storybook/octupleTheme.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { create } from '@storybook/theming';
2+
3+
export default create({
4+
base: 'light',
5+
brandTitle: 'Octuple',
6+
brandUrl: 'https://developer.eightfold.ai/octuple',
7+
//brandImage: '',
8+
});

0 commit comments

Comments
 (0)