-
Notifications
You must be signed in to change notification settings - Fork 632
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: refactor with monorep architecture
- Loading branch information
Showing
598 changed files
with
34,957 additions
and
31,740 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
# http://editorconfig.org | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab | ||
indent_size = 1 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"arrowParens": "always" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import '@storybook/addon-actions/register'; | ||
import '@storybook/addon-notes/register'; | ||
import '@storybook/addon-storysource/register'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { configure, addParameters } from '@storybook/react'; | ||
import '@storybook/addon-console'; | ||
import { create } from '@storybook/theming'; | ||
import '!style-loader!css-loader!sass-loader!./iframe.scss'; | ||
|
||
addParameters({ | ||
options: { | ||
isFullscreen: false, | ||
showAddonsPanel: true, | ||
showSearchBox: false, | ||
panelPosition: 'bottom', | ||
hierarchySeparator: /\./, | ||
hierarchyRootSeparator: /\|/, | ||
enableShortcuts: true, | ||
theme: create({ | ||
base: 'light', | ||
brandTitle: 'L7 POC for new architecture', | ||
brandUrl: 'https://github.com/xiaoiver/L7-POC', | ||
gridCellSize: 12, | ||
}) | ||
}, | ||
}); | ||
|
||
// automatically import all files ending in *.stories.tsx | ||
const req = require.context('../stories', true, /\.stories\.tsx$/); | ||
|
||
function loadStories() { | ||
req.keys().forEach(req); | ||
} | ||
|
||
configure(loadStories, module); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
html, body { | ||
margin: 0; | ||
} | ||
|
||
.dg.ac { | ||
z-index: 999 !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module.exports = ({ config }) => { | ||
|
||
// config.module.rules.push({ | ||
// test: /\.glsl$/, | ||
// loader: 'raw-loader' | ||
// }); | ||
|
||
// config.module.rules.push({ | ||
// test: /\.worker\.(js|ts)$/, | ||
// use: { | ||
// loader: 'worker-loader', | ||
// options: { inline: true, fallback: false } | ||
// } | ||
// }); | ||
|
||
config.module.rules.push({ | ||
test: /\.(ts|tsx)$/, | ||
loader: require.resolve('awesome-typescript-loader'), | ||
}); | ||
|
||
config.module.rules.push({ | ||
test: /\.stories\.tsx?$/, | ||
loaders: [ | ||
{ | ||
loader: require.resolve('@storybook/addon-storysource/loader'), | ||
options: { parser: 'typescript' }, | ||
}, | ||
], | ||
enforce: 'pre', | ||
}); | ||
|
||
config.resolve.extensions.push('.ts', '.tsx', '.js', '.glsl'); | ||
|
||
return config; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"processors": ["stylelint-processor-styled-components"], | ||
"extends": [ | ||
"stylelint-config-standard", | ||
"stylelint-config-styled-components" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.