Commit 5f82f835447151c2922649e1eacbb7a61cadccaf

Authored by qiang.tian
0 parents

init

Too many changes to show.

To preserve performance only 14 of 20 files are displayed.

  1 +import { defineConfig } from 'dumi';
  2 +
  3 +export default defineConfig({
  4 + outputPath: 'docs-dist',
  5 + themeConfig: {
  6 + name: '@qx/common ',
  7 + },
  8 +});
... ...
  1 +# http://editorconfig.org
  2 +root = true
  3 +
  4 +[*]
  5 +indent_style = space
  6 +indent_size = 2
  7 +end_of_line = lf
  8 +charset = utf-8
  9 +trim_trailing_whitespace = true
  10 +insert_final_newline = true
  11 +
  12 +[*.md]
  13 +trim_trailing_whitespace = false
... ...
  1 +module.exports = {
  2 + extends: require.resolve('@umijs/lint/dist/config/eslint'),
  3 +};
... ...
  1 +import { defineConfig } from 'father';
  2 +
  3 +export default defineConfig({
  4 + // more father config: https://github.com/umijs/father/blob/master/docs/config.md
  5 + esm: { output: 'dist' },
  6 +});
... ...
  1 +node_modules
  2 +/dist
  3 +.dumi/tmp
  4 +.dumi/tmp-test
  5 +.dumi/tmp-production
  6 +.DS_Store
... ...
  1 +#!/usr/bin/env sh
  2 +. "$(dirname -- "$0")/_/husky.sh"
  3 +
  4 +npx commitlint --edit "${1}"
... ...
  1 +#!/usr/bin/env sh
  2 +. "$(dirname -- "$0")/_/husky.sh"
  3 +
  4 +npx lint-staged
... ...
  1 +/dist
  2 +*.yaml
... ...
  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 +};
... ...
  1 +{
  2 + "extends": "@umijs/lint/dist/config/stylelint"
  3 +}
... ...
  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.
... ...
  1 +# @qx/common
  2 +
  3 +[![NPM version](https://img.shields.io/npm/v/@qx/common .svg?style=flat)](https://npmjs.org/package/@qx/common )
  4 +[![NPM downloads](http://img.shields.io/npm/dm/@qx/common .svg?style=flat)](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
... ...
  1 +This is a guide example.
... ...
  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
... ...