Showing
14 changed files
with
152 additions
and
0 deletions
Too many changes to show.
To preserve performance only 14 of 20 files are displayed.
.dumirc.ts
0 → 100644
.editorconfig
0 → 100644
.eslintrc.js
0 → 100644
.fatherrc.ts
0 → 100644
.gitignore
0 → 100644
.husky/commit-msg
0 → 100755
.husky/pre-commit
0 → 100755
.prettierignore
0 → 100644
.prettierrc.js
0 → 100644
| 1 | +module.exports = { | |
| 2 | + pluginSearchDirs: false, | |
| 3 | + plugins: [ | |
| 4 | + require.resolve('prettier-plugin-organize-imports'), | |
| 5 | + require.resolve('prettier-plugin-packagejson'), | |
| 6 | + ], | |
| 7 | + printWidth: 80, | |
| 8 | + proseWrap: 'never', | |
| 9 | + singleQuote: true, | |
| 10 | + trailingComma: 'all', | |
| 11 | + overrides: [ | |
| 12 | + { | |
| 13 | + files: '*.md', | |
| 14 | + options: { | |
| 15 | + proseWrap: 'preserve', | |
| 16 | + }, | |
| 17 | + }, | |
| 18 | + ], | |
| 19 | +}; | ... | ... |
.stylelintrc
0 → 100644
LICENSE
0 → 100644
| 1 | +MIT License | |
| 2 | + | |
| 3 | +Copyright (c) | |
| 4 | + | |
| 5 | +Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 6 | +of this software and associated documentation files (the "Software"), to deal | |
| 7 | +in the Software without restriction, including without limitation the rights | |
| 8 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 9 | +copies of the Software, and to permit persons to whom the Software is | |
| 10 | +furnished to do so, subject to the following conditions: | |
| 11 | + | |
| 12 | +The above copyright notice and this permission notice shall be included in all | |
| 13 | +copies or substantial portions of the Software. | |
| 14 | + | |
| 15 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 16 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 17 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 18 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 19 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 20 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 21 | +SOFTWARE. | ... | ... |
README.md
0 → 100644
| 1 | +# @qx/common | |
| 2 | + | |
| 3 | +[](https://npmjs.org/package/@qx/common ) | |
| 4 | +[](https://npmjs.org/package/@qx/common ) | |
| 5 | + | |
| 6 | +A react library developed with dumi | |
| 7 | + | |
| 8 | +## Usage | |
| 9 | + | |
| 10 | +TODO | |
| 11 | + | |
| 12 | +## Options | |
| 13 | + | |
| 14 | +TODO | |
| 15 | + | |
| 16 | +## Development | |
| 17 | + | |
| 18 | +```bash | |
| 19 | +# install dependencies | |
| 20 | +$ npm install | |
| 21 | + | |
| 22 | +# develop library by docs demo | |
| 23 | +$ npm start | |
| 24 | + | |
| 25 | +# build library source code | |
| 26 | +$ npm run build | |
| 27 | + | |
| 28 | +# build library source code in watch mode | |
| 29 | +$ npm run build:watch | |
| 30 | + | |
| 31 | +# build docs | |
| 32 | +$ npm run docs:build | |
| 33 | + | |
| 34 | +# check your project for potential problems | |
| 35 | +$ npm run doctor | |
| 36 | +``` | |
| 37 | + | |
| 38 | +## LICENSE | |
| 39 | + | |
| 40 | +MIT | ... | ... |
docs/guide.md
0 → 100644
| 1 | +This is a guide example. | ... | ... |
docs/index.md
0 → 100644
| 1 | +--- | |
| 2 | +hero: | |
| 3 | + title: library | |
| 4 | + description: A react library developed with dumi | |
| 5 | + actions: | |
| 6 | + - text: Hello | |
| 7 | + link: / | |
| 8 | + - text: World | |
| 9 | + link: / | |
| 10 | +features: | |
| 11 | + - title: Hello | |
| 12 | + emoji: 💎 | |
| 13 | + description: Put hello description here | |
| 14 | + - title: World | |
| 15 | + emoji: 🌈 | |
| 16 | + description: Put world description here | |
| 17 | + - title: '!' | |
| 18 | + emoji: 🚀 | |
| 19 | + description: Put ! description here | |
| 20 | +--- | |
| 21 | + | |
| 22 | +@qx/common | ... | ... |