Commit Graph

770 Commits

Author SHA1 Message Date
pqcqaq 6e211b447c CompilerConfiguration提供更加完善的类型信息 2024-12-08 01:10:27 +08:00
pqcqaq ffe98e1710 修改示例模板中的compiler.js 2024-12-08 00:22:45 +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
pqcqaq d58dadbdd1 为webpack添加编译进度条 2024-12-08 00:08:21 +08:00
pqcqaq 702d72a54c 4.0.18-dev 2024-12-08 00:07:08 +08:00
Xu Chang 55cbc61f08 4.0.17-pub 2024-12-05 12:08:38 +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
Pan Qiancheng 6fc13e5a17 忽略xml 2024-12-04 16:50:24 +08:00
Pan Qiancheng 3f4c86783e 编译 2024-12-04 16:48:03 +08:00
Pan Qiancheng 712964f288 server watch移至cli中 2024-12-04 16:47:08 +08:00
Pan Qiancheng 84993373d7 添加lodash的类型依赖 2024-12-04 16:46:27 +08:00
Pan Qiancheng d74152ffa8 一处类型错误 2024-12-04 16:46:14 +08:00
Pan Qiancheng e77abce3f0 Merge branch 'dev' of https://gitea.51mars.com/Oak-Team/oak-cli into dev 2024-12-04 16:21:13 +08:00
Pan Qiancheng 9d33e3ce7b watchServer现在支持copyjson和xml等文件 2024-12-04 16:21:00 +08:00
Xu Chang 43f6003401 4.0.17-dev 2024-12-04 10:27:15 +08:00
Xu Chang 1d55517fd0 4.0.16-pub 2024-12-04 10:25:16 +08:00
Pan Qiancheng f58d22cb24 完善watch的逻辑,如果一个文件未被后端使用,现在只进行编译 2024-12-03 16:55:39 +08:00
Pan Qiancheng cceea8dd5e 优化了一下watchServer,在编译前先判断这个文件是否被appLoader使用,如果没有使用,则说明不被后端依赖,直接跳过 2024-12-01 13:44:52 +08:00
pqcqaq 7ebe0c3eea fixed 2024-11-30 10:38:10 +08:00
pqcqaq 6217b72652 热重载在编译前先检查语法错误,若存在语法错误,输出后直接返回 2024-11-29 23:58:01 +08:00
pqcqaq cf209f37c2 热重载需要在停机后清空lib以下目录的缓存,以便之后重新require导入 2024-11-29 23:30:48 +08:00
pqcqaq 9acec82bd6 build 2024-11-29 22:58:20 +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 0b2c18b363 修改了模板文件,将通用的内容直接放在模板中 2024-11-28 13:26:57 +08:00
pqcqaq f13e953692 对编译后的module alias提供支持 2024-11-28 12:04:26 +08:00
pqcqaq 88df72c589 watch时忽略必定是前端的目录 2024-11-27 21:34:33 +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
Xu Chang 83e05359e9 4.0.16-pub 2024-11-27 19:29:07 +08:00
Xu Chang 3fc377ba13 4.0.15-pub 2024-11-27 19:24:39 +08:00
wkj 886a9e612e oak-cli 创建模板项目 node版本需不小于16 2024-11-25 11:42:42 +08:00
wkj ddc419bd7c 移除echarts和wangeditor5的cdn 2024-11-25 11:08:57 +08:00
wkj 9b7321d6b2 endpoints 接收文件 2024-11-21 19:45:40 +08:00
Xu Chang 4ef3693cec 4.0.15-dev 2024-11-19 09:12:29 +08:00
Xu Chang 567abc4aac 4.0.14-pub 2024-11-19 09:10:53 +08:00
pqcqaq b416d67904 Merge branch 'dev' of https://gitea.51mars.com/Oak-Team/oak-cli into dev 2024-11-16 22:44:50 +08:00
pqcqaq e85246b9dc 由箭头函数改为function 2024-11-16 22:42:11 +08:00
Xu Chang 4ba40cb8ad templateFile中的字符非法 2024-11-16 12:08:37 +08:00
pqcqaq 784f5433d6 新增复用OakComponent的插件支持 2024-11-16 09:53:59 +08:00
Xu Chang 61f5a2c1c1 template中的compiler配置 2024-11-14 11:48:14 +08:00
wkj 6db1e82043 cors origin支持数组和字符串 2024-11-12 12:16:47 +08:00
Xu Chang 5644e13742 build 2024-11-12 11:00:51 +08:00
Xu Chang 6018e9895b Merge branch 'dev' of gitea.51mars.com:Oak-Team/oak-cli into dev 2024-11-08 14:51:13 +08:00
Xu Chang 34b0a85ffd 重新命名了一些变量,增加了socket的namespace 2024-11-08 14:51:06 +08:00