From 7ebe25ab7954479f3474fec3eb7fb8363926851c Mon Sep 17 00:00:00 2001 From: Luk Date: Wed, 12 Jun 2024 10:26:29 +0800 Subject: [PATCH] init --- .gitignore | 109 +++++++++++++++++++++++++++++++++++++++++++++ .prettierrc.js | 14 ++++++ domains.js | 15 +++++++ index.js | 1 + package.json | 12 +++++ seafile-ignore.txt | 68 ++++++++++++++++++++++++++++ 6 files changed, 219 insertions(+) create mode 100755 .gitignore create mode 100755 .prettierrc.js create mode 100755 domains.js create mode 100644 index.js create mode 100755 package.json create mode 100644 seafile-ignore.txt diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..36e9cc0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,109 @@ +# 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.*/ +# 保留 +!.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 +*.iml +*.njsproj +*.ntvs* +*.sw* +*.sln +*.suo +.gitattributes +.umi +.umi-production +npm-debug.log* +yarn-debug.log* +yarn-error.log* +yarn.lock +selenium-debug.log +Thumbs.db +thumbs.db +_desktop.ini + +# vue-cli 项目 +/dist/ + +# 来自 vue-cli 创建项目的 .gitignore +.project + +# hexo +/public/ + +# Hardhat +/artifacts/ +/cache/ + +# seafile 临时文件 +._* + +.$* + +# office 暂存文件 +~$* + +# 用户shell配置脚本 +.bashrc_custom + +# 苹果系统临时文件 +.DS_Store + +# 安卓缓存文件夹 +.thumbnails + +# local env files +.env.local +.env.*.local + +# hexo +/db.json + +# wo +# 服务端 +/_archive/* +/_datastore/* +/_filestore/* +/_logstore/* +/_webroot/* +/_ssl/* +# uniapp 客户端 +/unpackage/* +!/unpackage/res/ +package-lock.json +pages4loader.json5 + +### .gitignore.local.txt ### + diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100755 index 0000000..0eba6fc --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,14 @@ +/* 对 VSCode Prettier 有效;建议一直要有本配置文件,否则不同版本的 Prettier 的默认配置会不同,例如 TrailingComma +对 VSCode Prettier Standard 无效,似乎是集成了不能修改的配置。 */ +module.exports = { + printWidth: 160, // default 80 + tabWidth: 2, // default 2 + useTabs: false, + semi: false, // default true + singleQuote: true, // default false + trailingComma: "es5", // none (default in v 1.*), es5 (default in v2.0.0), all + bracketSpacing: true, // default true + bracketSameLine: true, // default false + arrowParens: "always", // avoid (default in v1.9.0), always (default since v2.0.0) + quoteProps: "as-needed" // as-needed (default), consistent, preserve +}; diff --git a/domains.js b/domains.js new file mode 100755 index 0000000..620204a --- /dev/null +++ b/domains.js @@ -0,0 +1,15 @@ +module.exports = { + 'farinear.cn': { domain: 'farinear.cn', title: '无锡远近科技有限公司', icpCode: '苏ICP备2021054423号-1', wangan: '32021402002312' }, + 'bittic.cn': { domain: 'bittic.cn', title: '时光云', icpCode: '苏ICP备2021054423号-2', wangan: '32021402002242', onsale: true }, + //'yuanjin.cc': { domain: 'yuanjin.cc', title: '远近官网', icpCode: '苏ICP备2021054423号-3', wangan: '32021402002319', onsale: true }, + //'tic.cc': { domain: 'tic.cc', title: '时光链官网', icpCode: '苏ICP备2021054423号-4' }, + //'aizoi.cc': { domain: 'aizoi.cc', title: '远近智能', icpCode: '苏ICP备2021054423号-5' }, + //'aicz.cc': { domain: 'aicz.cc', title: '远近爱创造', icpCode: '苏ICP备2021054423号-6', onsale: true }, + //'babely.cc': { domain: 'babely.cc', title: '巴贝历', icpCode: '苏ICP备2021054423号-7' }, + 'aippia.com': { domain: 'aippia.com', title: '爱奇点', icpCode: '苏ICP备2021054423号-10' }, + 'babelyx.com': { domain: 'babelyx.com', title: '巴贝历', icpCode: '苏ICP备2021054423号-11' }, + 'yuanjinx.com': { domain: 'yuanjinx.com', title: '远近星辰', icpCode: '苏ICP备2021054423号-12' }, + 'xn--mtso95cg6a.com': { domain: 'xn--mtso95cg6a.com', title: '爱奇点' }, + 'aippic.com': { domain: 'aippic.com', onsale: true }, + 'yuanjin.net': { domain: 'yuanjin.net', onsale: true }, +} diff --git a/index.js b/index.js new file mode 100644 index 0000000..7c6d6c7 --- /dev/null +++ b/index.js @@ -0,0 +1 @@ +module.exports = {} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100755 index 0000000..a622738 --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "wo-core-data", + "version": "0.1.0", + "main": "index.js", + "private": true, + "dependencies": {}, + "devDependencies": {}, + "scripts": { + "setup": "npm install" + }, + "author": "" +} diff --git a/seafile-ignore.txt b/seafile-ignore.txt new file mode 100644 index 0000000..6795407 --- /dev/null +++ b/seafile-ignore.txt @@ -0,0 +1,68 @@ +# 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.*/ + +.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 + +.deploy_git/ +*/.deploy_git/ + +# HBuilder 目录 +unpackage/ +*/unpackage/ + +Icon +OneDrive/Icon + +# wrangler project + +.dev.vars* +*/.dev.vars* +.wrangler/ +*/.wrangler/ + +### seafile-ignore.local.txt ### +