From 45eb0559dbccc3a997e23d75614d28cc65520388 Mon Sep 17 00:00:00 2001 From: zhuifenghero Date: Sun, 3 May 2026 18:54:41 +0000 Subject: [PATCH] =?UTF-8?q?nodebb=20=E5=88=9D=E5=A7=8B=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 + config.json | 12 +++ package.json | 208 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 222 insertions(+) create mode 100644 .gitignore create mode 100644 config.json create mode 100644 package.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..984cf8f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +install_hash.md5 +package-lock.json diff --git a/config.json b/config.json new file mode 100644 index 0000000..fd5ea58 --- /dev/null +++ b/config.json @@ -0,0 +1,12 @@ +{ + "url": "https://forum.yaobai.org", + "secret": "my-secret-token", + "database": "postgres", + "postgres": { + "host": "nodebb_db", + "port": "5432", + "username": "nodebb", + "password": "nodebb_pass_change_me", + "database": "nodebb" + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..1f86c86 --- /dev/null +++ b/package.json @@ -0,0 +1,208 @@ +{ + "name": "nodebb", + "license": "GPL-3.0", + "description": "NodeBB Forum", + "version": "4.10.3", + "homepage": "https://www.nodebb.org", + "repository": { + "type": "git", + "url": "https://github.com/NodeBB/NodeBB/" + }, + "main": "app.js", + "scripts": { + "start": "node loader.js", + "lint": "eslint --cache ./nodebb .", + "test": "nyc --reporter=html --reporter=text-summary mocha", + "coverage": "nyc report --reporter=text-lcov > ./coverage/lcov.info", + "coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage" + }, + "nyc": { + "exclude": [ + "src/upgrades/*", + "test/*" + ] + }, + "lint-staged": { + "*.js": [ + "eslint --fix" + ] + }, + "dependencies": { + "@adactive/bootstrap-tagsinput": "0.8.2", + "@fontsource-utils/scss": "0.2.2", + "@fontsource/inter": "5.2.8", + "@fontsource/poppins": "5.2.7", + "@fortawesome/fontawesome-free": "6.7.2", + "@isaacs/ttlcache": "2.1.4", + "@nodebb/spider-detector": "2.0.3", + "@popperjs/core": "2.11.8", + "@socket.io/redis-adapter": "8.3.0", + "@textcomplete/contenteditable": "0.1.13", + "@textcomplete/core": "0.1.13", + "@textcomplete/textarea": "0.1.13", + "ace-builds": "1.43.6", + "archiver": "7.0.1", + "async": "3.2.6", + "autoprefixer": "10.4.27", + "bcryptjs": "3.0.3", + "benchpressjs": "2.5.5", + "body-parser": "2.2.2", + "bootbox": "6.0.4", + "bootstrap": "5.3.8", + "bootswatch": "5.3.8", + "chalk": "4.1.2", + "chart.js": "4.5.1", + "cli-graph": "3.2.2", + "clipboard": "2.0.11", + "commander": "14.0.3", + "compare-versions": "6.1.1", + "compression": "1.8.1", + "connect-flash": "0.1.1", + "connect-mongo": "6.0.0", + "connect-pg-simple": "10.0.0", + "connect-redis": "9.0.0", + "cookie-parser": "1.4.7", + "cron": "4.4.0", + "cronstrue": "3.14.0", + "cropperjs": "1.6.2", + "csrf-sync": "4.2.1", + "daemon": "1.1.0", + "diff": "8.0.3", + "esbuild": "0.27.4", + "express": "4.22.1", + "express-session": "1.19.0", + "express-useragent": "2.1.0", + "fetch-cookie": "3.2.0", + "file-loader": "6.2.0", + "fs-extra": "11.3.4", + "graceful-fs": "4.2.11", + "helmet": "7.2.0", + "html-to-text": "9.0.5", + "imagesloaded": "5.0.0", + "ipaddr.js": "2.3.0", + "jquery": "3.7.1", + "jquery-deserialize": "2.0.0", + "jquery-form": "4.3.0", + "jquery-serializeobject": "1.0.0", + "jquery-ui": "1.14.1", + "jsesc": "3.1.0", + "json2csv": "5.0.7", + "jsonwebtoken": "9.0.3", + "lodash": "4.17.23", + "logrotate-stream": "0.2.9", + "lru-cache": "11.2.7", + "mime": "3.0.0", + "mkdirp": "3.0.1", + "mongodb": "7.1.0", + "morgan": "1.10.1", + "mousetrap": "1.6.5", + "multer": "2.1.1", + "nconf": "0.13.0", + "nodebb-plugin-2factor": "7.6.1", + "nodebb-plugin-composer-default": "10.3.28", + "nodebb-plugin-dbsearch": "6.4.1", + "nodebb-plugin-emoji": "6.0.6", + "nodebb-plugin-emoji-android": "4.1.1", + "nodebb-plugin-link-preview": "2.2.3", + "nodebb-plugin-markdown": "13.2.4", + "nodebb-plugin-mentions": "4.8.18", + "nodebb-plugin-spam-be-gone": "2.3.2", + "nodebb-plugin-sso-oauth2-multiple": "^1.5.2", + "nodebb-plugin-web-push": "0.7.7", + "nodebb-rewards-essentials": "1.0.2", + "nodebb-theme-harmony": "2.2.63", + "nodebb-theme-lavender": "7.1.21", + "nodebb-theme-peace": "2.2.58", + "nodebb-theme-persona": "14.2.35", + "nodebb-widget-essentials": "7.0.43", + "nodemailer": "8.0.3", + "nprogress": "0.2.0", + "passport": "0.7.0", + "passport-http-bearer": "1.0.1", + "passport-local": "1.0.0", + "pg": "8.20.0", + "pg-cursor": "2.19.0", + "postcss": "8.5.8", + "postcss-clean": "1.2.0", + "pretty": "^2.0.0", + "progress-webpack-plugin": "1.0.16", + "prompt": "1.3.0", + "qs": "6.15.0", + "redis": "5.11.0", + "rimraf": "6.1.3", + "rss": "1.2.2", + "rtlcss": "4.3.0", + "sanitize-html": "2.17.1", + "sass": "1.98.0", + "satori": "0.25.0", + "sbd": "^1.0.19", + "semver": "7.7.4", + "serve-favicon": "2.5.1", + "sharp": "0.34.5", + "sitemap": "9.0.1", + "socket.io": "4.8.3", + "socket.io-client": "4.8.3", + "sortablejs": "1.15.7", + "spdx-license-list": "6.11.0", + "terser-webpack-plugin": "5.4.0", + "textcomplete": "0.18.2", + "textcomplete.contenteditable": "0.1.1", + "timeago": "1.6.7", + "tinycon": "0.6.8", + "toobusy-js": "0.5.1", + "tough-cookie": "6.0.1", + "undici": "^7.10.0", + "validator": "13.15.26", + "webpack": "5.105.4", + "webpack-merge": "6.0.1", + "winston": "3.19.0", + "workerpool": "10.0.1", + "xml": "1.0.1", + "yargs": "17.7.2", + "zxcvbn": "4.4.2" + }, + "devDependencies": { + "@apidevtools/swagger-parser": "10.1.0", + "@commitlint/cli": "20.5.0", + "@commitlint/config-angular": "20.5.0", + "@eslint/js": "10.0.1", + "@stylistic/eslint-plugin": "5.10.0", + "coveralls": "3.1.1", + "eslint-config-nodebb": "2.0.1", + "globals": "17.4.0", + "grunt": "1.6.1", + "grunt-contrib-watch": "1.1.0", + "husky": "8.0.3", + "jsdom": "29.0.0", + "lint-staged": "16.4.0", + "mocha": "11.7.5", + "mocha-lcov-reporter": "1.3.0", + "mockdate": "3.0.5", + "nyc": "18.0.0", + "smtp-server": "3.18.1" + }, + "optionalDependencies": { + "sass-embedded": "1.98.0" + }, + "resolutions": { + "*/jquery": "3.7.1" + }, + "bugs": { + "url": "https://github.com/NodeBB/NodeBB/issues" + }, + "engines": { + "node": ">=20" + }, + "maintainers": [ + { + "name": "Julian Lam", + "email": "julian@nodebb.org", + "url": "https://github.com/julianlam" + }, + { + "name": "Barış Soner Uşaklı", + "email": "baris@nodebb.org", + "url": "https://github.com/barisusakli" + } + ] +}