Compare commits

...

16 Commits

Author SHA1 Message Date
luk
0a3c7f9c0a update .gitignore.local.txt 2026-06-23 11:14:48 +08:00
Luk
2cd22f2d3f ignore *nogit* and *nosf* 2024-09-22 15:51:14 +08:00
Luk
07ff0f3480 improve gitignore and seafile-ignore 2024-04-24 14:17:53 +08:00
Luk
576058e67d updated .gitignore and seafile-ignore.txt using npm/sysconfig/*-ignore-find2merge.sh 2024-01-28 12:17:34 +08:00
Luk Lu
106213c664 standardize: read user input with [key] instead of <key>; pm2 --name=* -e * -o * 2023-10-10 19:27:31 +08:00
Luk Lu
9c417e1aa9 rename deving/preping/proding to serving-* 2023-10-07 11:25:26 +08:00
Luk Lu
99e3908d02 Merge branch 'main' of https://git.faronear.org/tuc-vic/vic.team.vue 2023-09-12 14:21:36 +08:00
Luk Lu
9fdd606245 update seafile-ignore.txt 2023-09-12 14:18:39 +08:00
Luk Lu
d0b7fbf8f0 update seafile-ignore.txt 2023-09-12 14:18:36 +08:00
Luk Lu
bfef5116e7 Merge branch 'main' of https://git.faronear.org/tuc-vic/vic.admin.vue 2023-06-05 20:15:40 +08:00
Luk Lu
5e1aeada96 update .gitignore to ignore *.gitignore.* instead of envar-*.gitignore.js 2023-03-11 08:25:44 +08:00
Luk Lu
063a7432d1 Merge branch 'main' of https://git.faronear.org/tuc-vic/vic.team.vue 2023-03-08 21:12:04 +08:00
Luk Lu
3327811b5b rename serve-dev to deving or preping, serve-prod to proding 2023-03-08 21:12:00 +08:00
Luk Lu
bf6b436ff9 'add seafile-ignore.txt to every git repo' 2023-01-12 20:08:06 +08:00
Luk Lu
b2bb6fcaea rename "demo" to "serve-dev", "serve" to "serve-prod" 2023-01-04 19:48:41 +08:00
Luk Lu
302696f3a2 update to standard .gitignore 2022-12-10 19:14:42 +08:00
4 changed files with 125 additions and 72 deletions

33
.gitignore vendored
View File

@@ -1,16 +1,42 @@
# 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
### 目录 #################################################################
### .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/
.wrangler
/test/unit/coverage/
/test/e2e/reports/
node_modules/
*.aab
*.apk
*.ipa
*.min.js
*.min.css
*.min.html
@@ -70,7 +96,6 @@ _desktop.ini
/db.json
# wo
*.gitignore.*
# 服务端
/_archive/*
/_datastore/*
@@ -84,5 +109,5 @@ _desktop.ini
package-lock.json
pages4loader.json5
# 保留
!.gitkeep
### .gitignore.local.txt ###

5
.gitignore.local.txt Normal file
View File

@@ -0,0 +1,5 @@
# vue-cli 项目
/dist/
# 来自 vue-cli 创建项目的 .gitignore
.project

View File

@@ -3,12 +3,12 @@
"version": "0.1.0",
"private": true,
"scripts": {
"deving": "vue-cli-service serve",
"make": "vue-cli-service build",
"create": "vue-cli-service build",
"deploy": "node ./node_modules/deployer/deploy.js",
"proding": "cross-env NODE_ENV=production node server.js",
"proding-pm2": "cross-env NODE_ENV=production pm2 start server.js --name vic.admin",
"proding-sup": "cross-env NODE_ENV=production supervisor -i data.log,node_modules,dist -- server.js",
"serving-dev": "vue-cli-service serve",
"serving-prod-node": "cross-env NODE_ENV=production node server.js",
"serving-prod-pm2": "cross-env NODE_ENV=production pm2 start server.js --name=vic.admin",
"serving-prod-sup": "cross-env NODE_ENV=production supervisor -i data.log,node_modules,dist -- server.js",
"lint": "vue-cli-service lint",
"test-unit": "vue-cli-service test:unit"
},
@@ -29,8 +29,8 @@
"morgan": "^1.9.0",
"serve-favicon": "^2.4.5",
"socket.io": "^2.1.1",
"tic.action": "git+https://git.faronear.org/tic/tic.action#20190714_release_passtoken",
"tic-crypto": "git+https://git.faronear.org/tic/tic-crypto#20190109_preview",
"tic.action": "git+https://git.tic.cc/tic/tic.action#20190714_release_passtoken",
"tic-crypto": "git+https://git.tic.cc/tic/tic-crypto#20190109_preview",
"vue": "^2.5.17",
"vue-axios": "^2.1.3",
"vue-i18n": "^8.1.0",
@@ -49,7 +49,7 @@
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^23.0.1",
"babel-plugin-transform-imports": "^1.5.1",
"deployer": "git+https://git.faronear.org/npm/deployer",
"deployer": "git+https://git.tic.cc/opx/deployer",
"node-sass": "^4.9.0",
"sass-loader": "^7.0.1",
"stylus": "^0.54.5",

View File

@@ -1,60 +1,83 @@
# https://help.seafile.com/syncing_client/excluding_files/
# 注释。通配符:* 匹配0到若干个字符包括代表目录的/。? 匹配1个字符包括/。
# seafile-ignore.txt 只能控制在客户端需要忽略哪些文件。你依然可以在 seahub 的 web 界面创建这些被客户端忽略的文件。
# 在这种情况下,
# 这些文件会被同步到客户端,但是用户在客户端对这些文件的后续修改会被忽略,不会被同步回服务器。
# 文件在服务器端的后续更改会被同步到客户端,如果客户端也同时修改了这些文件,系统会生成冲突文件。
# seafile-ignore.txt 只能忽略还没有被同步的文件。对于已经被同步的文件,如果后来把它添加到 seafile-ignore.txt 中,系统只会忽略后续更改,已经上传的版本不会受影响。
# 自定义的后缀名,凡有 sfignore 后缀的都不进行同步
*.sfignore
*.sfignore.*
*.sfignore/
*.sfignore.*/
.DS_Store
*/.DS_Store
.thumbnails
*/.thumbnails
Thumbs.db
*/Thumbs.db
thumbs.db
*/thumbs.db
_desktop.ini
*/_desktop.ini
._*
*/._*
.$*
*/.$*
~$*
*/~$*
node_modules/
*/node_modules/
package-lock.json
pages4loader.json5
.svn/
*/.svn/
.deploy_git/
*/.deploy_git/
unpackage/dist/
*/unpackage/dist/
unpackage/release/
*/unpackage/release/
unpackage/cache/
*/unpackage/cache/
Icon
OneDrive/Icon
# https://help.seafile.com/syncing_client/excluding_files/
# 注释。通配符:* 匹配0到若干个字符包括代表目录的/。? 匹配1个字符包括/。
# seafile-ignore.txt 只能控制在客户端需要忽略哪些文件。你依然可以在 seahub 的 web 界面创建这些被客户端忽略的文件。
# 在这种情况下,
# 这些文件会被同步到客户端,但是用户在客户端对这些文件的后续修改会被忽略,不会被同步回服务器。
# 文件在服务器端的后续更改会被同步到客户端,如果客户端也同时修改了这些文件,系统会生成冲突文件。
# seafile-ignore.txt 只能忽略还没有被同步的文件。对于已经被同步的文件,如果后来把它添加到 seafile-ignore.txt 中,系统只会忽略后续更改,已经上传的版本不会受影响。
### seafile-ignore.global.txt ###
# 自定义的后缀名,凡有 sfignore 后缀的都不进行同步
*.sfignore
*.sfignore/
*.sfignore.*
*.sfignore.*/
*.sfomit
*.sfomit.*
*.sfomit/
*.sfomit.*/
*.nosf
*.nosf.*
*.nosf/
*.nosf.*/
FETCH_HEAD
*/FETCH_HEAD
.Trash/
.DS_Store
*/.DS_Store
.thumbnails
*/.thumbnails
Thumbs.db
*/Thumbs.db
thumbs.db
*/thumbs.db
_desktop.ini
*/_desktop.ini
._*
*/._*
.$*
*/.$*
~$*
*/~$*
node_modules/
*/node_modules/
package-lock.json
*/package-lock.json
pages4loader.json5
*/pages4loader.json5
.deploy_git/
*/.deploy_git/
# next.js 项目
.next/
*/.next/
# HBuilder 目录
unpackage/
*/unpackage/
Icon
OneDrive/Icon
# wrangler project
.dev.vars*
*/.dev.vars*
.wrangler/
*/.wrangler/
### seafile-ignore.local.txt ###