fis-kernel
fis-kernel copied to clipboard
This is fis kernel.
Bumps [tar](https://github.com/isaacs/node-tar) from 2.2.1 to 6.2.1. Release notes Sourced from tar's releases. v6.1.13 6.1.13 (2022-12-07) Dependencies cc4e0dd #343 bump minipass from 3.3.6 to 4.0.0 v6.1.12 6.1.12 (2022-10-31) Bug Fixes 57493ee...
``` [2023-07-17 20:12:49] TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined [2023-07-17 20:12:49] at Object.writeFileSync (node:fs:2239:5) [2023-07-17 20:12:49]...
Hey there! I'd like to report a security issue but cannot find contact instructions on your repository. If not a hassle, might you kindly add a `SECURITY.md` file with an...
- node version: 6.7.0 - platform: macOS 10.12 - errors: 老的项目,在使用fis开发的时候,使用build.sh -s的时候,偶尔会提示如下错误: ```shell [ERROR] unable to load plugin [fis-optimizer-php-template-compress] ``` 此时需要全局安装相应的包才能解决(旧的工程目录下没有package.json, package.json 存放于_build文件夹中)。 - fixed: 对`fis.require`添加判断,如果当前文件目录不存在node_modules,会扫描当前文件夹的目录,免去全局安装,只需在项目中具有package.json的目录下npm i [package]即可。require默认不会去_build文件夹下面搜索node_modules,通过klaw实现工程目录下的全局搜索。
[_.find](https://github.com/fex-team/fis-kernel/blob/master/lib/util.js#L520) 中存在一个问题,即便 设定了 exclude 某目录,但如果有 include 规则,那么会递归扫描目录下的所有文件。扫描完成后才把所有的文件按照 include、exclude 规则来过滤。 ```js _.find = function(rPath, include, exclude, root){ var list = [], path = _.realpath(rPath), filterPath = root ? path.substring(root.length) : path;...
`upload` 和 `download` 会使用 `var http = opt.protocol === 'https:' ? require('https') : require('http');` 这样的语法判断引入的库 但是 `opt = _.parseUrl(url, opt);` 返回的没没有 `protocol`
这里能不能做成配置,现在项目里面有自己的配置文件,不会自动拷贝过去,希望可以通过配置是否忽略某些文件 谢谢 https://github.com/fex-team/fis-kernel/blob/master/lib/util.js#L522-L524
Ref: https://github.com/fex-team/fis/issues/518
把chai放在依赖里面