joyexpr

Results 19 issues of joyexpr

我们目前的项目流程是:启动时首先从配置中心(如apollo、zk)获取项目的配置(配置中心连接配置由启动参数传入,根据环境传入不同的配置中心地址),然后覆盖本地代码中的配置(因为我们禁止把密码信息直接写在代码中),然后才开始创建各个模块(如连接mongo、redis等等)和http server 请问thinkjs是否有现存方案?我看到一个是只在httpserver启动前有一个修改的机会(think.beforeStartServer),但我们需要在所有使用配置的操作之前就修改 如果我需要自己修改源码支持,有没有什么建议实现思路?谢谢

apollo 1.6.0版本后,终于增加支持了对获取应用配置时启用密钥鉴权,希望node-apollo可以尽快支持

浏览了一遍文档,没看到相关内容 请问Uma对于常用的数据库(如mongodb、mysql、redis)和socket.io等有没有推荐的集成使用方法和规范?有没有相关的demo工程可以参考?

question

apollo 1.6.0版本后,终于增加支持了对获取应用配置时启用密钥鉴权,希望ctrip-apollo可以尽快支持

### Describe the bug 在webstorm下main进程无法断点调试,已经参考该链接 https://github.com/vitejs/vite/discussions/6511 配置了Attach,相同的配置使用electron-vite-vue模板( https://github.com/electron-vite/electron-vite-vue)可以正常调试 另外在debug模式下会打印出日志,可能与上述问题无关,仅供参考。 ### Electron-Vite Version 1.0.8 ### Electron Version 19.0.16 ### Vite Version 3.0.9 ### Validations - [X] Follow the [Code of Conduct](https://github.com/alex8088/electron-vite/blob/master/CODE_OF_CONDUCT.md)....

bug

### Clear and concise description of the problem 目前貌似只支持正常的asar打包,有没有考虑过提供打包加密的能力?如混淆、字节码,对企业应用比较刚需。 类似:https://www.yuque.com/u34495/mivcfg/mmr6mu ### Suggested solution 参考: https://github.com/wallace5303/ee-core ### Alternative _No response_ ### Additional context _No response_ ### Validations - [X] Follow the...

enhancement

### Describe the bug 蛮尝试了下升级electron到20.1.2,发现模板(vue, ts) 跑不起来(下图),是目前还不支持20吗?还是有其它相关依赖需要同时升级? 另外我也蛮试了下降级electron到18,是正常的,请问目前支持的electron有明确的版本范围吗? ### Electron-Vite Version 1.0.7 ### Electron Version 20.1.2 ### Vite Version 3.0.9 ### Validations - [X] Follow the [Code of Conduct](https://github.com/alex8088/electron-vite/blob/master/CODE_OF_CONDUCT.md). -...

good first issue
question

### Describe the bug yarn create @quick-start/electron,选择vue typescript,在renderer中的vue组件中(如Versions.vue),window.electron 无法识别,在env.d.ts中添加以下声明也无效: import { ElectronAPI } from '@electron-toolkit/preload' declare global { interface Window { electron: ElectronAPI api: unknown } } ![WX20220907-144258@2x](https://user-images.githubusercontent.com/4078122/188807567-21bef2b3-78a5-406f-86e9-0298213356fa.png) ### Used...

bug

### Describe the bug yarn create @quick-start/electron,选择vue typescript,typescript版本为:4.8.3(4.7.4也试过) ts文件(如main/index.ts)中随便写一句非法语句,如a = b,执行npm run typecheck,无法检出该错误 是否是tsconfig配置有些问题?我随便拷了一个服务端项目的tsconfig配置执行tsc可以检出错误 ### Used Scaffolding create-electron ### Used Package Manager yarn ### Validations - [X] Follow the [Code...

bug

when new a keepaliveAgent in electron main process, unexpected regard as browser env and return noop