@openfly/cli
Advanced tools
+4
-12
@@ -114,9 +114,5 @@ #!/usr/bin/env node | ||
| data = _a.sent(); | ||
| return [4 /*yield*/, (0, recursive_readdir_1.default)(tmpDir.path, [ | ||
| function (file, stats) { | ||
| return stats.isDirectory() || file.indexOf('.ejs.') < 0; | ||
| }, | ||
| ])]; | ||
| return [4 /*yield*/, (0, recursive_readdir_1.default)(tmpDir.path)]; | ||
| case 3: | ||
| files = _a.sent(); | ||
| files = (_a.sent()).filter(function (file) { return file.indexOf('.ejs.') > -1; }); | ||
| files.forEach(function (file) { | ||
@@ -221,9 +217,5 @@ var fileTemplate = fs_extra_1.default.readFileSync(file).toString(); | ||
| fs_extra_1.default.copySync("".concat(templateDirPath, "/template"), tmpDir.path); | ||
| return [4 /*yield*/, (0, recursive_readdir_1.default)(tmpDir.path, [ | ||
| function (file, stats) { | ||
| return stats.isDirectory() || file.indexOf('.ejs.') < 0; | ||
| }, | ||
| ])]; | ||
| return [4 /*yield*/, (0, recursive_readdir_1.default)(tmpDir.path)]; | ||
| case 11: | ||
| files = _c.sent(); | ||
| files = (_c.sent()).filter(function (file) { return file.indexOf('.ejs.') > -1; }); | ||
| files.forEach(function (file) { | ||
@@ -230,0 +222,0 @@ var fileTemplate = fs_extra_1.default.readFileSync(file).toString(); |
+1
-1
| { | ||
| "name": "@openfly/cli", | ||
| "version": "1.2.1", | ||
| "version": "1.2.2", | ||
| "description": "Common Frontend Scaffold", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
-40
| # Changelog | ||
| All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
| ### [1.2.1](https://github.com/openflying/cli/compare/v1.2.0...v1.2.1) (2023-07-15) | ||
| ## [1.2.0](https://github.com/openflying/cli/compare/v1.1.1...v1.2.0) (2023-07-13) | ||
| ### Features | ||
| * 支持 npm 模版源 ([0906863](https://github.com/openflying/cli/commit/0906863)) | ||
| ### [1.1.1](https://github.com/openflying/cli/compare/v1.1.0...v1.1.1) (2023-07-12) | ||
| ### Bug Fixes | ||
| - 修复 npm 类型的错误 ([51e3d53](https://github.com/openflying/cli/commit/51e3d53)) | ||
| ## [1.1.0](https://github.com/openflying/cli/compare/v1.0.1...v1.1.0) (2023-07-12) | ||
| ### Bug Fixes | ||
| - remove rollup ([2616b2b](https://github.com/openflying/cli/commit/2616b2b)) | ||
| ### Features | ||
| - 支持 github 模版和 npm 模版 ([47dc9a8](https://github.com/openflying/cli/commit/47dc9a8)) | ||
| ### [1.0.1](https://github.com/openflying/cli/compare/v1.0.0...v1.0.1) (2023-07-10) | ||
| ### Bug Fixes | ||
| - add index.js ([8a7bcb7](https://github.com/openflying/cli/commit/8a7bcb7)) | ||
| ## 1.0.0 (2023-07-10) |
| .history | ||
| .DS_Store |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
17615
-7.4%9
-18.18%267
-2.91%