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