Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit fdc177a

Browse files
committed
chore: rebrand
0 parents  commit fdc177a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+16564
-0
lines changed

.commitlintrc.cjs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
};

.czrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"path": "@commitlint/prompt"
3+
}

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.eslintrc.cjs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
root: true,
3+
extends: [require.resolve('@modyqyw/fabric/eslint/vanilla')],
4+
overrides: [
5+
{
6+
files: ['*.ts', '**/*.ts'],
7+
extends: [require.resolve('@modyqyw/fabric/eslint/typescript')],
8+
},
9+
],
10+
};

.github/workflows/stale.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: stale
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
11+
jobs:
12+
stale:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/stale@v6
16+
with:
17+
days-before-stale: 90
18+
stale-issue-message: '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.'
19+
stale-pr-message: 'This PR 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.'
20+
stale-issue-label: stale
21+
stale-pr-label: stale

.github/workflows/sync.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: sync
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
docs:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Sync to Gitee
13+
uses: wearerequired/git-mirror-action@master
14+
with:
15+
source-repo: [email protected]:uni-helper/uni-ui-types.git
16+
destination-repo: [email protected]:uni-helper/uni-ui-types.git
17+
env:
18+
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

.gitignore

+177
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
pnpm-debug.log*
9+
run
10+
11+
# Diagnostic reports (https://nodejs.org/api/report.html)
12+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
13+
14+
# Runtime data
15+
pids
16+
*.pid
17+
*.seed
18+
*.pid.lock
19+
20+
# Directory for instrumented libs generated by jscoverage/JSCover
21+
lib-cov
22+
23+
# Coverage directory used by tools like istanbul
24+
coverage
25+
*.lcov
26+
27+
# nyc test coverage
28+
.nyc_output
29+
30+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
31+
.grunt
32+
33+
# Bower dependency directory (https://bower.io/)
34+
bower_components
35+
36+
# node-waf configuration
37+
.lock-wscript
38+
39+
# Compiled binary addons (https://nodejs.org/api/addons.html)
40+
build/Release
41+
42+
# Dependency directories
43+
node_modules
44+
jspm_packages
45+
46+
# Snowpack dependency directory (https://snowpack.dev/)
47+
web_modules
48+
49+
# Temp directory
50+
.temp
51+
.tmp
52+
53+
# TypeScript cache
54+
*.tsbuildinfo
55+
56+
# Optional npm cache directory
57+
.npm
58+
59+
# Optional eslint cache
60+
.eslintcache
61+
62+
# Microbundle cache
63+
.rpt2_cache
64+
.rts2_cache_cjs
65+
.rts2_cache_es
66+
.rts2_cache_umd
67+
68+
# Optional REPL history
69+
.node_repl_history
70+
71+
# Output of 'npm pack'
72+
*.tgz
73+
74+
# Yarn Integrity file
75+
.yarn-integrity
76+
77+
# dotenv environment variables file
78+
.env
79+
.env.test
80+
.env.*.test
81+
.env.local
82+
.env.*.local
83+
*.local
84+
85+
# parcel-bundler cache (https://parceljs.org/)
86+
.cache
87+
.parcel-cache
88+
89+
# Electron
90+
dist-electron
91+
dist_electron
92+
93+
# Tauri
94+
dist-tauri
95+
dist_tauri
96+
97+
# Cordova
98+
dist-cordova
99+
dist_cordova
100+
101+
# Capacitor
102+
dist-capacitor
103+
dist_capacitor
104+
105+
# Next.js build output
106+
.next
107+
out
108+
109+
# Umi.js build output
110+
.umi
111+
.umi-production
112+
.umi-test
113+
114+
# Nuxt.js build / generate output
115+
.nuxt
116+
dist
117+
118+
# Rax.js build
119+
.rax
120+
121+
# Vuepress build output
122+
.vuepress/dist
123+
124+
# SSR
125+
dist-ssr
126+
dist_ssr
127+
128+
# SSG
129+
dist-ssg
130+
dist_ssg
131+
132+
# Serverless
133+
.serverless
134+
.dynamodb
135+
.s3
136+
.buckets
137+
.seeds
138+
139+
# FuseBox cache
140+
.fusebox
141+
142+
# TernJS port file
143+
.tern-port
144+
145+
# Cypress
146+
/cypress/videos/
147+
/cypress/screenshots/
148+
149+
# Editor
150+
.vscode-test
151+
.vscode/**
152+
!.vscode/extensions.json
153+
!.vscode/settings.json
154+
*.vsix
155+
.idea
156+
.hbuilder
157+
.hbuilderx
158+
*.suo
159+
*.ntvs*
160+
*.njsproj
161+
*.sln
162+
*.sw?
163+
164+
# yarn v2
165+
.yarn/cache
166+
.yarn/unplugged
167+
.yarn/build-state.yml
168+
.yarn/install-state.gz
169+
.pnp.*
170+
171+
# Apple
172+
.DS_Store
173+
*.p12
174+
*.mobileprovision
175+
176+
# Android
177+
*.keystore

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit $1

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install lint-staged

.lintstagedrc.cjs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
'*.md': 'markdownlint --fix',
3+
'*.{js,cjs,mjs,jsx,ts,cts,mts,tsx,vue}': 'eslint --fix',
4+
};

.markdownlint.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"MD001": false,
3+
"MD003": false,
4+
"MD013": false,
5+
"MD022": false,
6+
"MD024": false,
7+
"MD025": false,
8+
"MD033": false,
9+
"MD036": false,
10+
"MD050": false
11+
}

.npmrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
legacy-peer-deps=true
2+
shamefully-hoist=true
3+
registry=https://registry.npmjs.org/

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

.prettierrc.cjs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
...require('@modyqyw/fabric/prettier'),
3+
};

.release-it.cjs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
git: {
3+
commitMessage: 'chore(release): v${version}',
4+
tagName: 'v${version}',
5+
},
6+
hooks: {
7+
'before:init': 'pnpm install && pnpm run lint',
8+
},
9+
};

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022-present uni-helper
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.

0 commit comments

Comments
 (0)