Commit Graph

216 Commits

Author SHA1 Message Date
Pan Qiancheng 93d8a7c852 disable时不开启静态资源 2025-05-08 16:15:07 +08:00
Pan Qiancheng 398a35477d 通过serverConfig传入ui的用户名密码,未传入时提供默认值 2025-05-08 15:58:18 +08:00
Pan Qiancheng d176a09d7c 新增socketio-admin依赖,koa静态资源映射,启动成功后自动启动admin-ui 2025-05-08 15:32:00 +08:00
wkj 8870e77b84 socket订阅url, 支持返回不同的url 2025-04-15 20:06:16 +08:00
Pan Qiancheng 9824e48fae free的endpoint支持自定义statuscode 2025-04-15 15:45:11 +08:00
Xu Chang 541a34595b 微调了endpoint处理 2025-04-15 11:49:08 +08:00
Pan Qiancheng 330af05144 覆盖 2025-04-15 11:11:48 +08:00
Xu Chang cf72a2c302 merge 2025-04-15 11:10:44 +08:00
Pan Qiancheng 0300b7070b build 2025-04-15 11:09:50 +08:00
Pan Qiancheng 51cb5d36fd 支持自定义的endpoint 2025-04-15 09:27:56 +08:00
Xu Chang 7d465f87c3 调整了template中的内容 2025-04-12 18:00:01 +08:00
Xu Chang 1d4c5af807 修正小bug 2025-04-12 14:40:34 +08:00
Xu Chang 324dfddb27 增加了rename命令 2025-04-12 14:37:49 +08:00
pqcqaq 8b9ff083b9 修复了一处template编译错误 2025-02-20 17:48:42 +08:00
Xu Chang 6483083938 调整了make:dep的参数,模板初始化过程的initFeatures改到初始化成功后再引用 2025-02-20 12:01:53 +08:00
pqcqaq 7dad4c6f74 还有检查configuration、data、ports 2025-01-25 21:04:57 +08:00
pqcqaq d6def1487e watch之前还要检查endpoints目录 2025-01-25 20:58:57 +08:00
pqcqaq 35b3ff3694 watch不再需要提前build 2025-01-25 13:43:10 +08:00
pqcqaq dc5ab0953d 新增分析和最小化打包后端功能 2025-01-24 20:33:41 +08:00
pqcqaq 9a5b453d5c 模板中移除module-alias部分 2025-01-24 19:39:52 +08:00
pqcqaq 1d1f9bb8b2 watch不再需要单独配置module-alias,直接从tsconfig读取,并使用队列来维护待编译文件,如果发现import的文件不存在,现在会尝试编译 2025-01-24 15:53:36 +08:00
pqcqaq 145820d5d0 修复模板创建时缺少文件夹和添加alias 2025-01-17 22:47:14 +08:00
pqcqaq cd62fc9690 build 2025-01-16 14:07:05 +08:00
pqcqaq 34350be702 适配redis adapter 2025-01-16 14:05:17 +08:00
Xu Chang 5a9afd6477 增加了创建时根据deps去修正tsconfig.path.json和compiler.js 2025-01-11 21:34:46 +08:00
wkj 71fbc88306 增加koa-logger 日志中间件 2024-12-10 12:09:56 +08:00
Pan Qiancheng 53c3ec35a3 一处笔误 2024-12-09 21:18:25 +08:00
Pan Qiancheng 919783a28a watch 功能提供了更加丰富的配置项和生命周期钩子 2024-12-09 20:56:05 +08:00
pqcqaq ac37c9d79e watch函数返回dispose方法,支持优雅停机 2024-12-09 20:14:08 +08:00
Pan Qiancheng 5434fe0429 支持传入watchOptions 2024-12-08 13:30:16 +08:00
Pan Qiancheng 7afe4f9583 支持module.rules 2024-12-08 13:21:58 +08:00
pqcqaq 165fba6628 plugins允许函数 2024-12-08 01:23:09 +08:00
pqcqaq dd03257367 config中添加插件类型支持 2024-12-08 01:19:18 +08:00
pqcqaq 6e211b447c CompilerConfiguration提供更加完善的类型信息 2024-12-08 01:10:27 +08:00
pqcqaq a5bd91754f 为项目中的compiler.js创建配置时提供类型支持 2024-12-08 00:20:56 +08:00
pqcqaq 9ea3535b12 取消默认自动打开浏览器,oak-cli添加--open参数,在服务启动后自动打开 2024-12-08 00:08:59 +08:00
Pan Qiancheng 3cf3ae4ee9 watch命令直接替换start 2024-12-05 11:57:52 +08:00
Pan Qiancheng 6fc13e5a17 忽略xml 2024-12-04 16:50:24 +08:00
Pan Qiancheng 712964f288 server watch移至cli中 2024-12-04 16:47:08 +08:00
Pan Qiancheng d74152ffa8 一处类型错误 2024-12-04 16:46:14 +08:00
pqcqaq 7ebe0c3eea fixed 2024-11-30 10:38:10 +08:00
pqcqaq f2f6c7e0e8 在watchServer中允许trace日志输出调用位置 2024-11-29 18:52:52 +08:00
pqcqaq a88cb606b7 测试,修复了几处问题 2024-11-29 13:46:47 +08:00
pqcqaq 17e074a06c 模板中添加server:start:watch和build:watch命令 2024-11-29 13:29:33 +08:00
pqcqaq e40639fad7 startup 函数在服务器模式可返回shutdown方法,用于编程式重启服务器,并在后端热重载的脚本中使用了新的shutdown方式 2024-11-29 13:19:33 +08:00
Pan Qiancheng 48bdd6631f cli的build支持了stackSize参数设置node最大栈大小 2024-11-28 14:24:23 +08:00
pqcqaq f13e953692 对编译后的module alias提供支持 2024-11-28 12:04:26 +08:00
pqcqaq 8c82b16e79 Merge branch 'dev' of https://gitea.51mars.com/Oak-Team/oak-cli into dev 2024-11-27 21:28:32 +08:00
pqcqaq c748434354 在模板中新增前后端模式的watch相关功能 2024-11-27 21:28:25 +08:00
wkj 886a9e612e oak-cli 创建模板项目 node版本需不小于16 2024-11-25 11:42:42 +08:00