nodebbs 0.3.0-beta.1 → 0.3.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ name: nodebbs
2
+
1
3
  services:
2
4
  # PostgreSQL 数据库
3
5
  postgres:
@@ -94,6 +96,11 @@ services:
94
96
  PORT: 3100
95
97
  SERVER_API_URL: ${SERVER_API_URL:-http://api:7100}
96
98
  TZ: Asia/Shanghai
99
+ # volumes:
100
+ # 自定义资源挂载(如有需要,请取消注释并在同级目录下创建 web 文件夹及对应文件)
101
+ # - ./web/favicon.ico:/app/apps/web/public/favicon.ico
102
+ # - ./web/logo.svg:/app/apps/web/public/logo.svg
103
+ # - ./web/apple-touch-icon.png:/app/apps/web/public/apple-touch-icon.png
97
104
  ports:
98
105
  - "${WEB_PORT:-3100}:3100"
99
106
  depends_on:
@@ -245,6 +245,37 @@
245
245
  "seed.js"
246
246
  ]
247
247
  },
248
+ "pack": {
249
+ "aliases": [],
250
+ "args": {},
251
+ "description": "生成离线部署包",
252
+ "flags": {
253
+ "output": {
254
+ "char": "o",
255
+ "description": "输出文件名",
256
+ "name": "output",
257
+ "default": "nodebbs-offline.tar.gz",
258
+ "hasDynamicHelp": false,
259
+ "multiple": false,
260
+ "type": "option"
261
+ }
262
+ },
263
+ "hasDynamicHelp": false,
264
+ "hiddenAliases": [],
265
+ "id": "pack",
266
+ "pluginAlias": "nodebbs",
267
+ "pluginName": "nodebbs",
268
+ "pluginType": "core",
269
+ "strict": true,
270
+ "enableJsonFlag": false,
271
+ "isESM": true,
272
+ "relativePath": [
273
+ "dist",
274
+ "commands",
275
+ "pack",
276
+ "index.js"
277
+ ]
278
+ },
248
279
  "logs:all": {
249
280
  "aliases": [],
250
281
  "args": {},
@@ -420,37 +451,6 @@
420
451
  "web.js"
421
452
  ]
422
453
  },
423
- "pack": {
424
- "aliases": [],
425
- "args": {},
426
- "description": "生成离线部署包",
427
- "flags": {
428
- "output": {
429
- "char": "o",
430
- "description": "输出文件名",
431
- "name": "output",
432
- "default": "nodebbs-offline.tar.gz",
433
- "hasDynamicHelp": false,
434
- "multiple": false,
435
- "type": "option"
436
- }
437
- },
438
- "hasDynamicHelp": false,
439
- "hiddenAliases": [],
440
- "id": "pack",
441
- "pluginAlias": "nodebbs",
442
- "pluginName": "nodebbs",
443
- "pluginType": "core",
444
- "strict": true,
445
- "enableJsonFlag": false,
446
- "isESM": true,
447
- "relativePath": [
448
- "dist",
449
- "commands",
450
- "pack",
451
- "index.js"
452
- ]
453
- },
454
454
  "restart": {
455
455
  "aliases": [],
456
456
  "args": {},
@@ -781,5 +781,5 @@
781
781
  ]
782
782
  }
783
783
  },
784
- "version": "0.3.0-beta.1"
784
+ "version": "0.3.0-beta.3"
785
785
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nodebbs",
3
3
  "description": "NodeBBS 论坛系统专业运维工具",
4
- "version": "0.3.0-beta.1",
4
+ "version": "0.3.0-beta.3",
5
5
  "author": "wengqianshan",
6
6
  "bin": {
7
7
  "nodebbs": "./bin/run.js"