Compare commits
10 Commits
be863af0fe
...
00e83b1220
| Author | SHA1 | Date | |
|---|---|---|---|
| 00e83b1220 | |||
|
|
bd872ecf4d | ||
|
|
1fedca5309 | ||
|
|
3707a57149 | ||
|
|
010a8a5bf8 | ||
|
|
0e2d395819 | ||
|
|
ddec12e5c1 | ||
|
|
6c639699d0 | ||
|
|
0009dcb6f0 | ||
|
|
8aeb22ca9d |
130
.gitignore
vendored
@@ -1,63 +1,113 @@
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
# how to include another gitignore?
|
||||
# https://stackoverflow.com/questions/7005142/can-i-include-other-gitignore-file-in-a-gitignore-file-like-include-in-c-li
|
||||
# https://github.com/github/gitignore
|
||||
# https://github.com/SlideWave/gitignore-include?tab=readme-ov-file#examples
|
||||
# https://gitignore.io
|
||||
|
||||
node_modules/
|
||||
/test/unit/coverage/
|
||||
/test/e2e/reports/
|
||||
### .gitignore.global.txt ###
|
||||
|
||||
# Self defined pattern to ignore
|
||||
?*.gitignore
|
||||
?*.gitignore/
|
||||
?*.gitignore.*
|
||||
?*.gitignore.*/
|
||||
*.gitomit
|
||||
*.gitomit.*
|
||||
*.gitomit/
|
||||
*.gitomit.*/
|
||||
*.nogit
|
||||
*.nogit.*
|
||||
*.nogit/
|
||||
*.nogit.*/
|
||||
# 保留
|
||||
!.gitignore
|
||||
!.gitignore.*
|
||||
!.gitkeep
|
||||
|
||||
# 通用
|
||||
.svn/
|
||||
.deploy_git/
|
||||
.idea/
|
||||
.sass-cache/
|
||||
.deploy_git/
|
||||
.wrangler
|
||||
/test/unit/coverage/
|
||||
/test/e2e/reports/
|
||||
node_modules/
|
||||
*.aab
|
||||
*.apk
|
||||
*.ipa
|
||||
*.min.js
|
||||
*.min.css
|
||||
*.min.html
|
||||
*.iml
|
||||
*.njsproj
|
||||
*.ntvs*
|
||||
*.sw*
|
||||
*.sln
|
||||
*.suo
|
||||
.gitattributes
|
||||
_desktop.ini
|
||||
.DS_Store
|
||||
.thumbnails
|
||||
Thumbs.db
|
||||
thumbs.db
|
||||
.umi
|
||||
.umi-production
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
yarn.lock
|
||||
selenium-debug.log
|
||||
package-lock.json
|
||||
*.iml
|
||||
*.njsproj
|
||||
*.ntvs*
|
||||
*.sln
|
||||
*.suo
|
||||
._*
|
||||
.$*
|
||||
~$*
|
||||
Thumbs.db
|
||||
thumbs.db
|
||||
_desktop.ini
|
||||
|
||||
.bashrc_custom
|
||||
# vue-cli 项目
|
||||
/dist/
|
||||
|
||||
# 来自 vue-cli 创建项目的 .gitignore
|
||||
.project
|
||||
|
||||
# hexo
|
||||
db.json
|
||||
/public/
|
||||
|
||||
# 客户端 uniapp 项目
|
||||
/unpackage/*
|
||||
!/unpackage/res/
|
||||
# Hardhat
|
||||
/artifacts/
|
||||
/cache/
|
||||
|
||||
# seafile 临时文件
|
||||
._*
|
||||
|
||||
.$*
|
||||
|
||||
# office 暂存文件
|
||||
~$*
|
||||
|
||||
# 用户shell配置脚本
|
||||
.bashrc_custom
|
||||
|
||||
# 苹果系统临时文件
|
||||
.DS_Store
|
||||
|
||||
# 安卓缓存文件夹
|
||||
.thumbnails
|
||||
|
||||
# local env files
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# hexo
|
||||
/db.json
|
||||
|
||||
# wo
|
||||
# 服务端
|
||||
/_archive/*
|
||||
/_datastore/*
|
||||
/_logstore/*
|
||||
/_filestore/*
|
||||
/_logstore/*
|
||||
/_webroot/*
|
||||
/dist/
|
||||
*.apk
|
||||
*.min.js
|
||||
*.min.css
|
||||
*.min.html
|
||||
/pages4loader.json5
|
||||
envar-web-custom.js
|
||||
envar-deploy-secret.js
|
||||
/_ssl/*
|
||||
# uniapp 客户端
|
||||
/unpackage/*
|
||||
!/unpackage/res/
|
||||
package-lock.json
|
||||
pages4loader.json5
|
||||
|
||||
# hexo 项目
|
||||
public/
|
||||
### .gitignore.local.txt ###
|
||||
|
||||
# 服务端(server or uniapp-uniCloud)项目
|
||||
envar-base-custom.js
|
||||
envar-base-dynamic.js
|
||||
envar-base-secret.js
|
||||
|
||||
!.gitkeep
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
导航路径 [Organizations](https://git.faronear.org/explore/organizations)
|
||||
|
||||
- 应用链总入口 [tuc/_tuc](https://git.faronear.org/tuc/_tuc)
|
||||
- 个性价值 [tuc-vic/vic](https://git.faronear.org/tuc-vic/vic)
|
||||
- **<font size=5>用户端.react [tuc-vic/vic.user.react](https://git.faronear.org/tuc-vic/vic.user.react)</font>**
|
||||
- 个性价值 [vic/vic](https://git.faronear.org/vic/vic)
|
||||
- **<font size=5>用户端.react [vic/vic.user.react](https://git.faronear.org/vic/vic.user.react)</font>**
|
||||
|
||||
@@ -4,7 +4,7 @@ module.exports = {
|
||||
gotoTarget: 'github',
|
||||
github: {
|
||||
targetType: 'git',
|
||||
repo: 'https://github.com/tuc-vic/vic-user.bittic.org',
|
||||
repo: 'https://github.com/vic/vic-user.bittic.org',
|
||||
branch: 'main',
|
||||
gitname: 'vic-team',
|
||||
gitemail: 'vic-team@outlook.com',
|
||||
@@ -13,7 +13,7 @@ module.exports = {
|
||||
vultr: {
|
||||
targetType: 'ssh',
|
||||
host: 'vic-user.bittic.org',
|
||||
targetPath: '/faronear/tuc-vic/vic.user.react',
|
||||
targetPath: '/faronear/vic/vic.user.react',
|
||||
targetDir: 'dist',
|
||||
user: 'adot',
|
||||
password: '',
|
||||
|
||||
|
Before Width: | Height: | Size: 254 KiB |
|
Before Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 827 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
10
package.json
@@ -4,10 +4,10 @@
|
||||
"scripts": {
|
||||
"allinone": "npm run boot && npm run create && npm run deploy",
|
||||
"boot": "npx rimraf node_modules package-lock.json & npm i",
|
||||
"check": "umi dev",
|
||||
"create": "umi build",
|
||||
"deploy": "node ./node_modules/wo-base-deployer/deploy.js",
|
||||
"serve.pm2": "cross-env NODE_ENV=production pm2 start ./node_modules/wo-base-webserver/webserver.js --name vic.user.react",
|
||||
"serving-dev": "umi dev",
|
||||
"serving-prod": "cross-env NODE_ENV=production pm2 start ./node_modules/wo-base-webserver/webserver.js --name=vic.user.react",
|
||||
"lint:es": "eslint --ext .js src mock tests",
|
||||
"lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\"",
|
||||
"test": "umi test"
|
||||
@@ -47,8 +47,6 @@
|
||||
"eslint-plugin-import": "^2.14.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.2.3",
|
||||
"eslint-plugin-react": "^7.11.1",
|
||||
"hexo-fs": "^2.0.0",
|
||||
"hexo-util": "^1.0.0",
|
||||
"lint-staged": "^9.2.3",
|
||||
"moment": "^2.24.0",
|
||||
"nodemon": "^2.0.2",
|
||||
@@ -62,8 +60,8 @@
|
||||
"umi": "^2.8.20",
|
||||
"umi-plugin-react": "^1.9.19",
|
||||
"umi-types": "^0.3.17",
|
||||
"wo-base-deployer": "git+https://git.faronear.org/npm/wo-base-deployer",
|
||||
"wo-base-webserver": "git+https://git.faronear.org/npm/wo-base-webserver"
|
||||
"wo-base-deployer": "git+https://git.tic.cc/opx/wo-base-deployer",
|
||||
"wo-base-webserver": "git+https://git.tic.cc/opx/wo-base-webserver"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx}": ["git add"]
|
||||
|
||||
|
Before Width: | Height: | Size: 254 KiB |
|
Before Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 827 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |