Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
yuheiy committed Jul 31, 2024
0 parents commit 09c4ef0
Show file tree
Hide file tree
Showing 30 changed files with 4,893 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Auto update

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
auto-update:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Update submodules
run: git submodule update --remote
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
run: |
npm ci
npm update antd
- name: Build
run: npm run build
- name: Commit changes
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add --all
git commit -m "Automated build"
git push
130 changes: 130 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "user-repositories/internal-library-reference-stats-user-a"]
path = user-repositories/internal-library-reference-stats-user-a
url = https://github.com/yuheiy/internal-library-reference-stats-user-a
[submodule "user-repositories/internal-library-reference-stats-user-b"]
path = user-repositories/internal-library-reference-stats-user-b
url = https://github.com/yuheiy/internal-library-reference-stats-user-b
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
engine-strict=true
save-exact=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
data/
user-repositories/
7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('prettier').Config} */
export default {
plugins: ['prettier-plugin-organize-imports'],
printWidth: 100,
singleQuote: true,
organizeImportsSkipDestructiveCodeActions: true,
};
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["esbenp.prettier-vscode"],
"unwantedRecommendations": []
}
19 changes: 19 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
/* Text Editor */
"editor.codeActionsOnSave": {
"source.organizeImports": "never"
},
// https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode#default-formatter
"editor.defaultFormatter": "esbenp.prettier-vscode",

/* Text Editor > Formatting */
"editor.formatOnSave": true,

/* Features > Search */
"search.exclude": {
"user-repositories": true
},

/* Extensions > TypeScript */
"typescript.tsdk": "node_modules/typescript/lib"
}
88 changes: 88 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# internal-library-reference-stats

[Ant Design](https://github.com/ant-design/ant-design)から提供されているモジュールの参照箇所を自動解析して掲載しています。

- 対象データ
- [yuheiy/internal-library-reference-stats-user-a](https://github.com/yuheiy/internal-library-reference-stats-user-a): [e3543db9077d8a2c6d7effde8d50c7583c7812f4](https://github.com/yuheiy/internal-library-reference-stats-user-a/commit/e3543db9077d8a2c6d7effde8d50c7583c7812f4)
- [yuheiy/internal-library-reference-stats-user-b](https://github.com/yuheiy/internal-library-reference-stats-user-b): [5d14c5bc29b52361a7302856b04cfa9da58d4e12](https://github.com/yuheiy/internal-library-reference-stats-user-b/commit/5d14c5bc29b52361a7302856b04cfa9da58d4e12)
- データ取得日時: 2024年8月1日 4:58:08 JST

<!-- prettier-ignore -->
| | [](by-user-package.md#梅-56) | [白玉](by-user-package.md#白玉-43) | [](by-user-package.md#酢-46) | [User B](by-user-package.md#user-b-73) | 合計 |
| - | -: | -: | -: | -: | -: |
| [Affix](by-provided-module.md#affix-0) | 0 | 0 | 0 | 0 | 0 |
| [Alert](by-provided-module.md#alert-0) | 0 | 0 | 0 | 0 | 0 |
| [Anchor](by-provided-module.md#anchor-0) | 0 | 0 | 0 | 0 | 0 |
| [App](by-provided-module.md#app-0) | 0 | 0 | 0 | 0 | 0 |
| [AutoComplete](by-provided-module.md#autocomplete-0) | 0 | 0 | 0 | 0 | 0 |
| [Avatar](by-provided-module.md#avatar-3) | 0 | 1 | 1 | 1 | 3 |
| [BackTop](by-provided-module.md#backtop-0) | 0 | 0 | 0 | 0 | 0 |
| [Badge](by-provided-module.md#badge-2) | 1 | 0 | 0 | 1 | 2 |
| [Breadcrumb](by-provided-module.md#breadcrumb-0) | 0 | 0 | 0 | 0 | 0 |
| [Button](by-provided-module.md#button-22) | 2 | 6 | 4 | 10 | 22 |
| [Calendar](by-provided-module.md#calendar-1) | 1 | 0 | 0 | 0 | 1 |
| [Card](by-provided-module.md#card-18) | 9 | 3 | 4 | 2 | 18 |
| [Carousel](by-provided-module.md#carousel-3) | 0 | 1 | 1 | 1 | 3 |
| [Cascader](by-provided-module.md#cascader-0) | 0 | 0 | 0 | 0 | 0 |
| [Checkbox](by-provided-module.md#checkbox-3) | 0 | 1 | 0 | 2 | 3 |
| [Col](by-provided-module.md#col-23) | 9 | 2 | 3 | 9 | 23 |
| [Collapse](by-provided-module.md#collapse-4) | 0 | 1 | 2 | 1 | 4 |
| [ColorPicker](by-provided-module.md#colorpicker-0) | 0 | 0 | 0 | 0 | 0 |
| [ConfigProvider](by-provided-module.md#configprovider-0) | 0 | 0 | 0 | 0 | 0 |
| [DatePicker](by-provided-module.md#datepicker-0) | 0 | 0 | 0 | 0 | 0 |
| [Descriptions](by-provided-module.md#descriptions-0) | 0 | 0 | 0 | 0 | 0 |
| [Divider](by-provided-module.md#divider-1) | 0 | 0 | 0 | 1 | 1 |
| [Drawer](by-provided-module.md#drawer-0) | 0 | 0 | 0 | 0 | 0 |
| [Dropdown](by-provided-module.md#dropdown-0) | 0 | 0 | 0 | 0 | 0 |
| [Empty](by-provided-module.md#empty-0) | 0 | 0 | 0 | 0 | 0 |
| [Flex](by-provided-module.md#flex-0) | 0 | 0 | 0 | 0 | 0 |
| [FloatButton](by-provided-module.md#floatbutton-0) | 0 | 0 | 0 | 0 | 0 |
| [Form](by-provided-module.md#form-11) | 1 | 3 | 2 | 5 | 11 |
| [Grid](by-provided-module.md#grid-0) | 0 | 0 | 0 | 0 | 0 |
| [Image](by-provided-module.md#image-3) | 0 | 1 | 1 | 1 | 3 |
| [Input](by-provided-module.md#input-13) | 1 | 3 | 3 | 6 | 13 |
| [InputNumber](by-provided-module.md#inputnumber-2) | 0 | 0 | 1 | 1 | 2 |
| [Layout](by-provided-module.md#layout-4) | 2 | 1 | 0 | 1 | 4 |
| [List](by-provided-module.md#list-6) | 2 | 2 | 2 | 0 | 6 |
| [Mentions](by-provided-module.md#mentions-0) | 0 | 0 | 0 | 0 | 0 |
| [Menu](by-provided-module.md#menu-4) | 2 | 1 | 0 | 1 | 4 |
| [message](by-provided-module.md#message-2) | 1 | 0 | 0 | 1 | 2 |
| [Modal](by-provided-module.md#modal-2) | 1 | 0 | 1 | 0 | 2 |
| [notification](by-provided-module.md#notification-0) | 0 | 0 | 0 | 0 | 0 |
| [Pagination](by-provided-module.md#pagination-2) | 0 | 0 | 1 | 1 | 2 |
| [Popconfirm](by-provided-module.md#popconfirm-0) | 0 | 0 | 0 | 0 | 0 |
| [Popover](by-provided-module.md#popover-0) | 0 | 0 | 0 | 0 | 0 |
| [Progress](by-provided-module.md#progress-0) | 0 | 0 | 0 | 0 | 0 |
| [QRCode](by-provided-module.md#qrcode-0) | 0 | 0 | 0 | 0 | 0 |
| [Radio](by-provided-module.md#radio-0) | 0 | 0 | 0 | 0 | 0 |
| [Rate](by-provided-module.md#rate-3) | 0 | 1 | 1 | 1 | 3 |
| [Result](by-provided-module.md#result-0) | 0 | 0 | 0 | 0 | 0 |
| [Row](by-provided-module.md#row-23) | 9 | 2 | 3 | 9 | 23 |
| [Segmented](by-provided-module.md#segmented-0) | 0 | 0 | 0 | 0 | 0 |
| [Select](by-provided-module.md#select-2) | 0 | 1 | 0 | 1 | 2 |
| [Skeleton](by-provided-module.md#skeleton-0) | 0 | 0 | 0 | 0 | 0 |
| [Slider](by-provided-module.md#slider-0) | 0 | 0 | 0 | 0 | 0 |
| [Space](by-provided-module.md#space-2) | 0 | 0 | 1 | 1 | 2 |
| [Spin](by-provided-module.md#spin-0) | 0 | 0 | 0 | 0 | 0 |
| [Statistic](by-provided-module.md#statistic-1) | 1 | 0 | 0 | 0 | 1 |
| [Steps](by-provided-module.md#steps-2) | 1 | 0 | 1 | 0 | 2 |
| [Switch](by-provided-module.md#switch-1) | 0 | 1 | 0 | 0 | 1 |
| [Table](by-provided-module.md#table-5) | 0 | 1 | 2 | 2 | 5 |
| [Tabs](by-provided-module.md#tabs-2) | 0 | 0 | 1 | 1 | 2 |
| [Tag](by-provided-module.md#tag-2) | 0 | 0 | 1 | 1 | 2 |
| [theme](by-provided-module.md#theme-0) | 0 | 0 | 0 | 0 | 0 |
| [Timeline](by-provided-module.md#timeline-5) | 3 | 1 | 1 | 0 | 5 |
| [TimePicker](by-provided-module.md#timepicker-0) | 0 | 0 | 0 | 0 | 0 |
| [Tooltip](by-provided-module.md#tooltip-0) | 0 | 0 | 0 | 0 | 0 |
| [Tour](by-provided-module.md#tour-0) | 0 | 0 | 0 | 0 | 0 |
| [Transfer](by-provided-module.md#transfer-0) | 0 | 0 | 0 | 0 | 0 |
| [Tree](by-provided-module.md#tree-0) | 0 | 0 | 0 | 0 | 0 |
| [TreeSelect](by-provided-module.md#treeselect-0) | 0 | 0 | 0 | 0 | 0 |
| [Typography](by-provided-module.md#typography-40) | 10 | 10 | 9 | 11 | 40 |
| [Upload](by-provided-module.md#upload-1) | 0 | 0 | 0 | 1 | 1 |
| [version](by-provided-module.md#version-0) | 0 | 0 | 0 | 0 | 0 |
| [Watermark](by-provided-module.md#watermark-0) | 0 | 0 | 0 | 0 | 0 |
| 合計 | 56 | 43 | 46 | 73 | 218 |

- [提供モジュールごとの集計](by-provided-module.md)
- [ユーザーのパッケージごとの集計](by-user-package.md)
Loading

0 comments on commit 09c4ef0

Please sign in to comment.