Commit Graph

207 Commits

Author SHA1 Message Date
Pan Qiancheng df8426d102 fix: 处理require errors.js不存在的情况 2025-10-16 11:18:42 +08:00
Pan Qiancheng 8c642d79c2 fix: 添加一层catch处理 2025-10-16 11:08:33 +08:00
Pan Qiancheng be24825206 build 2025-10-16 10:59:19 +08:00
Xu Chang 2bbc326934 Merge branch 'dev' of gitea.51mars.com:Oak-Team/oak-cli into dev 2025-10-07 18:10:20 +08:00
Xu Chang 747c40eabe 规范了initialize时的行为 2025-10-07 18:10:15 +08:00
pqcqaq 61705bf9e1 feat: 完全重构并优化了server watch,通过编译链与事件机制解决多文件修改的情况,并且支持了在i18n文件更新的情况下,自动同步到数据库(利用了routine) 2025-08-18 16:21:14 +08:00
Xu Chang e90f29aac9 template中增加了upgrade:locale脚本 2025-08-18 15:12:53 +08:00
Xu Chang 79ca5322c5 Merge branch 'dev' of gitea.51mars.com:Oak-Team/oak-cli into dev 2025-08-18 14:39:07 +08:00
Xu Chang 17f2a9c109 在带routine的情况下要unmount 2025-08-18 14:39:04 +08:00
pqcqaq bbda55851b feat: 添加版本限制与检查 2025-08-18 14:08:45 +08:00
pqcqaq 342ad61fc0 fix: 使用bcryptjs替换bcrypt,移除了本地C++相关的依赖性 2025-08-18 13:40:00 +08:00
Xu Chang 1fe6f4409c makeDep修正了强制模式 2025-07-09 11:02:27 +08:00
wkj 946eda334e build 2025-06-16 10:30:14 +08:00
wkj 8c49d42f60 移除一处log打印 2025-05-09 15:12:44 +08:00
Pan Qiancheng ef86006fae build 2025-05-09 11:10:54 +08:00
Pan Qiancheng 0b375696f2 支持了手动配置ui的path 2025-05-09 11:09:35 +08:00
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
Pan Qiancheng 662910a2b7 build 2025-04-15 11:49:37 +08:00
Xu Chang 541a34595b 微调了endpoint处理 2025-04-15 11:49:08 +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 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 1d1f9bb8b2 watch不再需要单独配置module-alias,直接从tsconfig读取,并使用队列来维护待编译文件,如果发现import的文件不存在,现在会尝试编译 2025-01-24 15:53:36 +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 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 4a064afcc5 编译 2024-12-04 17:04:51 +08:00