Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @inquirer/input from 0.0.13-alpha.0 to 1.2.14 #405

Open
wants to merge 355 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
355 commits
Select commit Hold shift + click to select a range
492ab55
feat: lc
MuYunyun Sep 21, 2020
f18f2de
feat: support transform leetcode table
MuYunyun Sep 23, 2020
a7f4644
feat: auto generate lc table
MuYunyun Sep 24, 2020
21056b3
feat: get question type
MuYunyun Sep 24, 2020
524a7eb
feat: support fetch lc tag
MuYunyun Sep 25, 2020
86e9003
chore: publish
MuYunyun Sep 25, 2020
54f81d5
feat: update package name
MuYunyun Sep 26, 2020
7f54bf0
feat: update package
MuYunyun Sep 26, 2020
e00fe37
feat: update package
MuYunyun Sep 27, 2020
b7961e7
feat: update crd-leetcode-cli
MuYunyun Sep 30, 2020
c80141e
chore: publish
MuYunyun Sep 30, 2020
132f710
fix: 修复解析工具路径错误, 调整引用包文件
MuYunyun Oct 8, 2020
63e48d6
chore: publish
MuYunyun Oct 10, 2020
2c0db88
feat: dynamic theme
MuYunyun Oct 9, 2020
042d010
feat: custom theme
MuYunyun Oct 10, 2020
f2c66bb
docs: support pick theme
MuYunyun Oct 12, 2020
f8d8234
fix: script dependency
MuYunyun Oct 13, 2020
d250ca2
chore: publish
MuYunyun Oct 13, 2020
79ddc8c
fix: script dependency
MuYunyun Oct 13, 2020
6bc8ab9
chore: publish
MuYunyun Oct 13, 2020
72a9cf6
fix: script dependency
MuYunyun Oct 13, 2020
e9643a4
chore: publish
MuYunyun Oct 13, 2020
78aea4a
fix: remove_search_templately
MuYunyun Oct 19, 2020
5e1bb84
chore: publish
MuYunyun Oct 20, 2020
c812822
chore: update github action
MuYunyun Oct 26, 2020
a0e48e3
docs: add funding
MuYunyun Oct 27, 2020
30d89a0
feat: update ci
MuYunyun Nov 8, 2020
219a2e3
chore: publish
MuYunyun Nov 8, 2020
902d0c1
fix: enhance init create project
MuYunyun Nov 9, 2020
36bd246
chore: publish
MuYunyun Nov 9, 2020
f19b335
fix: 修复复制模板文件时, workflow 文件中的 {{}} 丢失
MuYunyun Nov 10, 2020
1dc99a1
chore: publish
MuYunyun Nov 10, 2020
c53a4eb
docs: update doc
MuYunyun Nov 11, 2020
1c780c0
chore: publish
MuYunyun Nov 11, 2020
1b95fa3
docs: 补充快速上手文档
MuYunyun Nov 11, 2020
941cdd0
docs: update quick-start
MuYunyun Nov 12, 2020
94ffda9
feat: support github ribbons
MuYunyun Nov 13, 2020
977f0c8
chore: publish
MuYunyun Nov 13, 2020
d222373
docs: update
MuYunyun Nov 13, 2020
15082ee
feat: support for inject custom logic
MuYunyun Jan 6, 2021
3dd2cc4
feat: support math jax
MuYunyun Jan 7, 2021
6c7f62e
feat: support usage for MathJax
MuYunyun Jan 7, 2021
57e0ce6
chore: publish
MuYunyun Jan 7, 2021
3c25d69
fix: pathname for injectLogic
MuYunyun Jan 8, 2021
91836af
fix: update actions/setup-node
MuYunyun Jan 8, 2021
f73d1fc
feat: update webpack 5
MuYunyun Jan 10, 2021
e1835d8
chore: publish
MuYunyun Jan 10, 2021
5af7360
fix: update usage
MuYunyun Jan 14, 2021
7f9e670
docs: update doc
MuYunyun Jan 16, 2021
9df896e
feat: update React 17
MuYunyun Jan 22, 2021
d8fb46e
chore: publish
MuYunyun Jan 22, 2021
5192d43
feat: dynamic theme
MuYunyun Jan 25, 2021
8cca0db
feat: dynamic theme
MuYunyun Jan 25, 2021
c62df62
chore: publish
MuYunyun Jan 25, 2021
c310f97
feat: support custom theme
MuYunyun Jan 27, 2021
26d5062
chore: publish
MuYunyun Jan 27, 2021
4945b5f
fix: update theme autoly
MuYunyun Jan 27, 2021
c7eadf8
chore: publish
MuYunyun Jan 27, 2021
dd7f01f
feat: support custom theme
MuYunyun Jan 28, 2021
f9e5a00
chore: publish
MuYunyun Jan 28, 2021
bf6c88b
fix: https://github.com/MuYunyun/create-react-doc/issues/76
MuYunyun Jan 29, 2021
d8c3837
chore: publish
MuYunyun Jan 29, 2021
35e8c1a
feat: support custom theme ci
MuYunyun Jan 30, 2021
812c5f1
feat: support custom theme ci
MuYunyun Jan 31, 2021
2d9b72b
feat: support custom theme ci
MuYunyun Jan 31, 2021
7290015
docs: support custom theme
MuYunyun Feb 1, 2021
85a92ce
docs: support theme cli
MuYunyun Feb 2, 2021
85e5379
chore: publish
MuYunyun Feb 2, 2021
2bc506b
feat: update theme ci
MuYunyun Feb 2, 2021
7b43da5
chore: publish
MuYunyun Feb 2, 2021
8f531dd
feat: update theme ci
MuYunyun Feb 2, 2021
acc8dd8
chore: publish
MuYunyun Feb 2, 2021
ffbd6f9
feat: update theme ci
MuYunyun Feb 2, 2021
18e4cc4
chore: publish
MuYunyun Feb 2, 2021
528ff8b
docs: update
MuYunyun Feb 2, 2021
e42de71
fix: https://github.com/MuYunyun/create-react-doc/issues/78
MuYunyun Feb 3, 2021
56789ce
chore: publish
MuYunyun Feb 3, 2021
a7914a8
feat: support pv、uv
MuYunyun Feb 8, 2021
d3bac74
chore(deps): bump highlight.js from 9.18.3 to 10.5.0
dependabot[bot] Jan 14, 2021
4642b48
chore(deps): bump ini from 1.3.5 to 1.3.8
dependabot[bot] Feb 2, 2021
973d973
chore(deps): bump highlight.js in /packages/create-react-doc
dependabot[bot] Jan 10, 2021
914e11c
chore(deps): bump postcss-flexbugs-fixes from 3.3.1 to 5.0.1
dependabot[bot] Jan 10, 2021
72eb0ef
chore(deps): bump actions/setup-node from v2.1.0 to v2.1.4
dependabot[bot] Jan 8, 2021
87ae674
chore(deps): bump axios from 0.18.1 to 0.21.1
dependabot[bot] Jan 22, 2021
3a36ba3
chore(deps): bump yi-Xu-0100/traffic-to-badge from v1.2.0 to v1.4.0
dependabot[bot] Jan 25, 2021
5ead2d3
fix: update correct package
MuYunyun Feb 8, 2021
fc847cb
chore: publish
MuYunyun Feb 8, 2021
3dd8659
docs: support SEO for chrome search
MuYunyun Feb 9, 2021
b294767
docs: update
MuYunyun Feb 14, 2021
6746c11
feat: prerender for router
MuYunyun Feb 19, 2021
b0b8baf
feat: prerender for router
MuYunyun Feb 19, 2021
4181978
feat: prerender for router
MuYunyun Feb 19, 2021
af16c6b
feat: prerender for router
MuYunyun Feb 19, 2021
2487ebf
feat: prerender for router
MuYunyun Feb 20, 2021
57ef77d
feat: prerender for router
MuYunyun Feb 20, 2021
cac68c5
feat: prepare for seo
MuYunyun Feb 21, 2021
25cb7d5
feat: prepare for seo
MuYunyun Feb 23, 2021
eec48af
feat: update
MuYunyun Feb 23, 2021
39fe150
feat: prepare for seo
MuYunyun Feb 24, 2021
b142fe7
feat: prepare for seo
MuYunyun Feb 25, 2021
609625a
feat: prepare for seo
MuYunyun Feb 25, 2021
66a25ed
feat: prepare for seo
MuYunyun Feb 25, 2021
ed1df04
feat: prepare for seo
MuYunyun Feb 25, 2021
c3ff8f2
feat: take README file as root index.html
MuYunyun Feb 26, 2021
cb382e7
docs: support prerender
MuYunyun Mar 1, 2021
528bd67
chore: publish
MuYunyun Mar 1, 2021
2be2819
feat: update 1.0.0
MuYunyun Mar 2, 2021
3d37095
chore: publish
MuYunyun Mar 2, 2021
11e3c49
feat: extract common path
MuYunyun Mar 3, 2021
c47f202
feat: seo
MuYunyun Mar 4, 2021
cd9e07e
feat: support seo
MuYunyun Mar 4, 2021
d061c77
docs: support seo
MuYunyun Mar 6, 2021
96e1931
feat: update
MuYunyun Mar 7, 2021
a280497
chore: publish
MuYunyun Mar 7, 2021
04c2762
docs: update README
MuYunyun Mar 8, 2021
2cc0fcb
fix: jump edit github
MuYunyun Mar 11, 2021
b7d4a11
docs: update en
MuYunyun Mar 16, 2021
2cd1ac0
fix: leetcode-cli usage in mac
MuYunyun Mar 31, 2021
5c2b6a7
chore: publish
MuYunyun Mar 31, 2021
95498d2
fix: 修复路由数量过多, puppeteer 运行超时的问题
MuYunyun May 30, 2021
e242bd0
chore: publish
MuYunyun May 30, 2021
d880ee9
chore: add scripts for install quickly
MuYunyun May 30, 2021
b910b48
feat: support React cp in markdown
MuYunyun Jun 3, 2021
ba08221
feat: support jsx in md
MuYunyun Jun 4, 2021
926d47e
feat: support write cp in md
MuYunyun Jun 5, 2021
c95ec56
feat: support write react in markdown
MuYunyun Jun 6, 2021
e935b95
feat: support write react component in .md
MuYunyun Jun 8, 2021
396e3a1
feat: support math in markdown
MuYunyun Jun 9, 2021
348a0aa
feat: create-react-doc 集成 MDX
MuYunyun Jun 9, 2021
427c31d
feat: create-react-doc support MDX
MuYunyun Jun 9, 2021
d3892aa
feat: create-react-doc support MDX
MuYunyun Jun 10, 2021
c2e60a2
chore: publish
MuYunyun Jun 10, 2021
44345f1
feat: create-react-doc support MDX
MuYunyun Jun 10, 2021
7aecc19
feat: update
MuYunyun Jun 11, 2021
51409fa
chore: publish
MuYunyun Jun 12, 2021
3b83b09
feat: optimize build output with webpack
MuYunyun Jun 17, 2021
b4c003e
fix: https://github.com/MuYunyun/create-react-doc/issues/147
MuYunyun Jun 18, 2021
c1937cb
fix: build loss file
MuYunyun Jun 20, 2021
55b27db
fix: build loss file
MuYunyun Jun 20, 2021
e73b646
fix: build loss file
MuYunyun Jun 21, 2021
574e9b1
fix: build loss file
MuYunyun Jun 22, 2021
c813a60
fix: build loss file
MuYunyun Jun 23, 2021
8cc8674
fix: https://github.com/MuYunyun/create-react-doc/issues/147
MuYunyun Jun 24, 2021
f817c4e
chore: publish
MuYunyun Jun 26, 2021
7fc320b
fix: https://github.com/MuYunyun/create-react-doc/issues/157
MuYunyun Jun 27, 2021
013b68e
chore: publish
MuYunyun Jun 27, 2021
a4a3941
fix: template
MuYunyun Sep 24, 2021
b42c020
fix: https://github.com/MuYunyun/create-react-doc/issues/182
MuYunyun Sep 24, 2021
4dc59cf
chore: publish
MuYunyun Sep 24, 2021
954f7cd
feat: support frontmatter
MuYunyun Oct 6, 2021
28538ad
feat: run short link in dev
MuYunyun Oct 6, 2021
0790fb6
feat: support frontmatter
MuYunyun Oct 7, 2021
0abfe0d
feat: support frontmatter
MuYunyun Oct 7, 2021
a1b81ce
feat: support attrlink in Front-matter
MuYunyun Oct 8, 2021
7b366a6
chore: publish
MuYunyun Oct 9, 2021
ea8842c
feat: update dir
MuYunyun Oct 10, 2021
f1464e3
feat: support generate uuid
MuYunyun Oct 10, 2021
66e1b2b
feat: support generate uuid
MuYunyun Oct 11, 2021
a2d4f75
feat: support generate uuid
MuYunyun Oct 11, 2021
0ce529a
docs: update abbrlink
MuYunyun Oct 12, 2021
986a95a
feat: support default path for README
MuYunyun Oct 13, 2021
90b0333
feat: code review
MuYunyun Oct 13, 2021
a106448
chore: publish
MuYunyun Oct 14, 2021
fee697f
fix: init menu selected
MuYunyun Oct 15, 2021
b37018b
fix: menu init selected
MuYunyun Oct 17, 2021
7f2d9a7
fix: menu init selected
MuYunyun Oct 17, 2021
1033b7a
fix: menu init selected
MuYunyun Oct 18, 2021
93cea8d
docs: update 1.5.1
MuYunyun Oct 18, 2021
c251565
chore: publish
MuYunyun Oct 18, 2021
0becb1d
fix: edit in github
MuYunyun Oct 19, 2021
528105c
fix: https://github.com/MuYunyun/create-react-doc/issues/205
MuYunyun Oct 19, 2021
e14403e
chore: publish
MuYunyun Oct 19, 2021
49230f0
fix: https://github.com/MuYunyun/create-react-doc/issues/206
MuYunyun Oct 20, 2021
933d72e
fix: update generate sitemap
MuYunyun Oct 21, 2021
54291d5
fix: update generate sitemap
MuYunyun Oct 24, 2021
436182c
fix: generate sitemap
MuYunyun Oct 25, 2021
c078156
docs: update changelog
MuYunyun Oct 25, 2021
2c45337
Merge branch 'main' of https://github.com/MuYunyun/create-react-doc
MuYunyun Oct 25, 2021
6bcbe6e
chore: publish
MuYunyun Oct 25, 2021
45ac438
feat: optimize seo title
MuYunyun Oct 26, 2021
0d2d8e7
feat: optimize seo title
MuYunyun Oct 27, 2021
6490e36
feat: optimize seo title
MuYunyun Oct 28, 2021
c8f0792
feat: optimize seo title
MuYunyun Oct 29, 2021
d421a6f
docs: update 1.6.0
MuYunyun Oct 29, 2021
893f3ea
chore: publish
MuYunyun Oct 29, 2021
7312d42
fix: menu init open
MuYunyun Dec 19, 2021
9360178
fix: menu init open
MuYunyun Dec 20, 2021
3bb1ba2
fix: menu init open
MuYunyun Dec 21, 2021
d75c225
fix: menu init open
MuYunyun Dec 22, 2021
ed67182
docs: update
MuYunyun Dec 22, 2021
52462d8
fix: code review、update changelog
MuYunyun Dec 24, 2021
0692ec7
fix: menu init
MuYunyun Dec 27, 2021
e419f0b
fix: menu init
MuYunyun Dec 27, 2021
9fea4cc
chore: publish
MuYunyun Dec 28, 2021
9116de0
feat: support menu scroll into view
MuYunyun Dec 31, 2021
becec9f
feat: update menu scrollIntoView
MuYunyun Jan 2, 2022
54a0d7a
docs: update Changelog
MuYunyun Jan 2, 2022
7fbe6a6
chore: publish
MuYunyun Jan 2, 2022
107ce3c
feat: combile SSR in prerender to prevent shake problem
MuYunyun Jan 13, 2022
7020947
feat: code review & changelog
MuYunyun Jan 13, 2022
5fbd068
docs: update README
MuYunyun Jan 16, 2022
2f99e45
chore: publish
MuYunyun Jan 16, 2022
40bde6f
fix: 修复 crd-scripts、crd-seed 遗漏指定安装 crd-client-utils
MuYunyun Jan 16, 2022
79a910b
chore: publish
MuYunyun Jan 16, 2022
2d6b51a
chore: update env
MuYunyun Feb 2, 2022
328ede5
chore: publish
MuYunyun Feb 2, 2022
6c9744c
feat: support custom tags
MuYunyun Mar 21, 2022
dd3d726
feat: remove extra logic
MuYunyun Mar 22, 2022
2b2b50a
feat: update tags
MuYunyun Mar 24, 2022
9a70701
feat: collect tags
MuYunyun Mar 25, 2022
2663510
feat: generate tagname with mapArticle
MuYunyun Mar 26, 2022
d76a0ad
feat: generate tagname with mapArticle
MuYunyun Mar 27, 2022
e2863b2
feat: update tags
MuYunyun Mar 28, 2022
0a0acc1
feat: update tags
MuYunyun Mar 29, 2022
5f31d24
feat: support config tags
MuYunyun Mar 30, 2022
0e651c9
feat: optimize cr
MuYunyun Mar 31, 2022
d486b82
docs: update readme
MuYunyun Apr 1, 2022
75ab5b4
chore: publish
MuYunyun Apr 1, 2022
e02f0fe
docs: update README
MuYunyun Apr 1, 2022
b97bf3c
docs: update react version
MuYunyun Apr 2, 2022
ebb0d03
chore: upgrade react@18 & [email protected]
MuYunyun Apr 3, 2022
e3e0e5c
fix: tag jump fail
MuYunyun Apr 4, 2022
0e95119
fix: using hydrate instead of hydrateRoot temporarily
MuYunyun Apr 4, 2022
ff6e869
chore: upgrade react-router-dom to v6
MuYunyun Apr 5, 2022
8b3190e
chore: code review upgrade react-router-dom to v6
MuYunyun Apr 5, 2022
aa94a8e
chore: publish
MuYunyun Apr 5, 2022
ef67aa2
fix: duplication tags temp
MuYunyun Apr 5, 2022
0bd35cf
fix: duplication tags
MuYunyun Apr 6, 2022
d72d7c3
fix: optimize duplication tags
MuYunyun Apr 7, 2022
56f04ed
fix: solve duplaction tags problem
MuYunyun Apr 8, 2022
444a90b
fix: solve duplaction tags problem
MuYunyun Apr 9, 2022
314b96e
chore: publish
MuYunyun Apr 9, 2022
c112b7f
docs: update link
MuYunyun Apr 9, 2022
d3530f4
try use StackBlitz
MuYunyun Nov 6, 2022
09ae79d
try stackblitz
MuYunyun Nov 6, 2022
bde4e78
feat: support comments module
MuYunyun Nov 9, 2022
69692c6
fix: adjust config for giscus
MuYunyun Nov 10, 2022
6e3578e
docs: update changelog
MuYunyun Nov 10, 2022
b1d4bd3
chore: publish
MuYunyun Nov 10, 2022
c0c6613
chore: update gh-pages.yml
MuYunyun Nov 10, 2022
8453c72
fix: update config.yml
MuYunyun Nov 10, 2022
f181ae0
fix: https://github.com/giscus/giscus-component/issues/783
MuYunyun Nov 18, 2022
e3f7e00
chore: publish
MuYunyun Nov 18, 2022
c6cfff0
chore: use esbuild instead of babel
MuYunyun Nov 19, 2022
78834e8
chore: use esbuild instead of babel
MuYunyun Nov 19, 2022
321923b
docs: update changelog
MuYunyun Nov 19, 2022
e703c35
chore: publish
MuYunyun Nov 19, 2022
c0aefd6
chore: update font style
MuYunyun Nov 25, 2022
64e22ad
chore: publish
MuYunyun Nov 25, 2022
29bdb6b
chore(deps): bump @inquirer/input from 0.0.13-alpha.0 to 1.2.14
dependabot[bot] Nov 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[*.less]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab
94 changes: 94 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
const eslintrc = {
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true,
"jest": true,
"jasmine": true
},
"plugins": [
"react",
"import"
],
"parserOptions": {
parser: 'babel-eslint',
},
"rules": {
"linebreak-style": 0,
"func-names": 0,
"sort-imports": 0,
"arrow-body-style": 0,
"prefer-destructuring": 0,
"max-len": 0,
"consistent-return": 0,
"comma-dangle": [
"error",
"always-multiline"
],
"function-paren-newline": 0,
"class-methods-use-this": 0,
"react/sort-comp": 0,
"react/prop-types": 0,
"react/jsx-first-prop-new-line": 0,
"react/require-extension": 0,
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"import/extensions": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/anchor-has-content": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"jsx-a11y/mouse-events-have-key-events": 0,
"react/no-danger": 0,
"react/jsx-no-bind": 0,
"react/forbid-prop-types": 0,
"react/require-default-props": 0,
"react/no-did-mount-set-state": 0,
"react/no-array-index-key": 0,
"react/no-find-dom-node": 0,
"react/no-unused-state": 0,
"react/no-unused-prop-types": 0,
"react/default-props-match-prop-types": 0,
"react/jsx-curly-spacing": 0,
"react/no-render-return-value": 0,
'react/jsx-uses-react': 0,
'react/react-in-jsx-scope': 0,
"object-curly-newline": 0,
"no-param-reassign": 0,
"no-return-assign": 0,
"no-redeclare": 0,
"no-restricted-globals": 0,
"no-restricted-syntax": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-use-before-define": 0,
"semi": ["error", "never"],
"quotes": 0,
"no-plusplus": 0
}
}

if (process.env.NODE_ENV === 'development') {
Object.assign(eslintrc.rules,
{
'no-console': 0,
'no-unused-vars': 0,
});
}

module.exports = eslintrc
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
# Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
custom: ['http://muyunyun.cn/sponsor/']
2 changes: 2 additions & 0 deletions .github/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
todo:
keyword: "@makeAnIssue"
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# see https://github.com/yi-Xu-0100/traffic-to-badge/blob/main/.github/dependabot.yml
version: 2
updates:
# Enable version updates for npm
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'
# Maintain dependencies for GitHub Actions
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
61 changes: 61 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 60

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 7

# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels: []

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- pinned
- security
- "[Status] Maybe Later"

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: false

# Label to use when marking as stale
staleLabel: wontfix

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.

# Comment to post when closing a stale Issue or Pull Request.
# closeComment: >
# Your comment here.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30

# Limit to only `issues` or `pulls`
# only: issues

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
# pulls:
# daysUntilStale: 30
# markComment: >
# This pull request has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.

# issues:
# exemptLabels:
# - confirmed
44 changes: 44 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: GitHub Pages

on:
push:
branches:
- main
pull_request:

jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '14'

- name: Get yarn cache
id: yarn-cache
run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> "${GITHUB_OUTPUT}"

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- run: yarn install --frozen-lockfile
- run: yarn build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .crd-dist
13 changes: 13 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Greetings

on: [pull_request, issues]

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Welcome your first issue here, thanks'
pr-message: 'Welcome your first pr here, thanks'
59 changes: 59 additions & 0 deletions .github/workflows/traffic2badge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: traffic2badge
on:
push:
branches:
- main
schedule:
- cron: '1 0 * * *' #UTC

jobs:
run:
name: Make GitHub Traffic to Badge
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/[email protected]

- name: Get Commit Message
id: message
uses: actions/[email protected]
env:
FULL_COMMIT_MESSAGE: '${{ github.event.head_commit.message }}'
with:
result-encoding: string
script: |
var message = `${process.env.FULL_COMMIT_MESSAGE}`;
core.info(message);
if (message != '') return message;
var time = new Date(Date.now()).toISOString();
core.info(time);
return `Get traffic data at ${time}`;

- name: Set Traffic
id: traffic
uses: yi-Xu-0100/[email protected]
with:
my_token: ${{ secrets.TRAFFIC_TOKEN }}
#(default) static_list: ${{ github.repository }}
#(default) traffic_branch: traffic
#(default) views_color: brightgreen
#(default) clones_color: brightgreen
#(default) logo: github
#(default) year:

- name: Deploy
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: ${{ steps.traffic.outputs.traffic_branch }}
publish_dir: ${{ steps.traffic.outputs.traffic_path }}
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
full_commit_message: ${{ steps.message.outputs.result }}

- name: Show Traffic Data
run: |
echo ${{ steps.traffic.outputs.traffic_branch }}
echo ${{ steps.traffic.outputs.traffic_path }}
cd ${{ steps.traffic.outputs.traffic_path }}
ls -a
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
node_modules
.create-react-doc-dist
package-lock.json
.cache
.DS_Store
.crd-dist/

*.bak
*.tem
*.log
*.temp
#.swp
*.*~
~*.*

docs/忽略文件.md
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.cache
.gitignore
.editorconfig
.create-react-doc-dist
node_modules
package-lock.json
dist
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# .npmrc

registry=https://registry.npmjs.org/
2 changes: 2 additions & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# .yarnrc
registry "https://registry.npmjs.org/"
24 changes: 24 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# HOW TO CONTRIBUTE

1. Welcome your pr! Before pr, talk about situations in the [issue](https://github.com/MuYunyun/create-react-doc/issues/new) firstly. If the situation is reasonable, go to the next step;
2. Switch to the new branch based main, submit the pr to branch `qa/latest` after finishing development.

## DEV

Run these bash command firstly.

```bash
$ git clone https://github.com/MuYunyun/create-react-doc
$ cd create-react-doc
$ yarn && yarn bootstrap && yarn start
```

And now you can see the document is running at http://localhost:3000.

## Test

After merging pr to qa/latest and publish beta package. You should verify the feature/bugfix with following bash:

```js
yarn add create-react-doc@beta
```
Loading