update
This commit is contained in:
19
APP/nexus-remote/node_modules/app-builder-lib/out/util/packageDependencies.js
generated
vendored
Normal file
19
APP/nexus-remote/node_modules/app-builder-lib/out/util/packageDependencies.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.createLazyProductionDeps = createLazyProductionDeps;
|
||||
const lazy_val_1 = require("lazy-val");
|
||||
const appBuilder_1 = require("./appBuilder");
|
||||
function createLazyProductionDeps(projectDir, excludedDependencies, flatten) {
|
||||
return new lazy_val_1.Lazy(async () => {
|
||||
const args = ["node-dep-tree", "--dir", projectDir];
|
||||
if (flatten)
|
||||
args.push("--flatten");
|
||||
if (excludedDependencies != null) {
|
||||
for (const name of excludedDependencies) {
|
||||
args.push("--exclude-dep", name);
|
||||
}
|
||||
}
|
||||
return (0, appBuilder_1.executeAppBuilderAsJson)(args);
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=packageDependencies.js.map
|
||||
Reference in New Issue
Block a user