@darraghor/nest-backend-libs 1.33.0 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts
CHANGED
|
@@ -21,4 +21,5 @@ import { CoreModule } from "./root-app/core-app.module";
|
|
|
21
21
|
import { SwaggerGen } from "./root-app/SwaggerGen";
|
|
22
22
|
import { TwitterClientService } from "./twitter-client/services/twitter-client.service";
|
|
23
23
|
import { CoreConfigModule } from "./core-config/CoreConfig.module";
|
|
24
|
-
|
|
24
|
+
import { execAsPromised } from "./runningCommandLine/execAsPromised";
|
|
25
|
+
export { CoreLoggerService, CoreConfigurationService, SmtpEmailClientModule, CoreModule, CoreConfigModule, SwaggerGen, DefaultAuthGuard, PostgresDatabaseModule as DatabaseModule, JwtStrategy, AuthzModule, Person, PostgresTypeOrmConfigurationProvider as TypeOrmConfigurationProvider, SmtpEmailClient, ValidatedConfigurationService, RequestWithUser, PersonModule, OrganisationModule, PersonService, SqliteDatabaseModule, SqliteDatabaseConfigurationService, TwitterClientService, TwitterAccountModule, EUploadMimeType, execAsPromised, };
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.EUploadMimeType = exports.TwitterAccountModule = exports.TwitterClientService = exports.SqliteDatabaseConfigurationService = exports.SqliteDatabaseModule = exports.PersonService = exports.OrganisationModule = exports.PersonModule = exports.ValidatedConfigurationService = exports.SmtpEmailClient = exports.TypeOrmConfigurationProvider = exports.Person = exports.AuthzModule = exports.JwtStrategy = exports.DatabaseModule = exports.DefaultAuthGuard = exports.SwaggerGen = exports.CoreConfigModule = exports.CoreModule = exports.SmtpEmailClientModule = exports.CoreConfigurationService = exports.CoreLoggerService = void 0;
|
|
6
|
+
exports.execAsPromised = exports.EUploadMimeType = exports.TwitterAccountModule = exports.TwitterClientService = exports.SqliteDatabaseConfigurationService = exports.SqliteDatabaseModule = exports.PersonService = exports.OrganisationModule = exports.PersonModule = exports.ValidatedConfigurationService = exports.SmtpEmailClient = exports.TypeOrmConfigurationProvider = exports.Person = exports.AuthzModule = exports.JwtStrategy = exports.DatabaseModule = exports.DefaultAuthGuard = exports.SwaggerGen = exports.CoreConfigModule = exports.CoreModule = exports.SmtpEmailClientModule = exports.CoreConfigurationService = exports.CoreLoggerService = void 0;
|
|
7
7
|
/* eslint-disable unicorn/prefer-export-from */
|
|
8
8
|
const twitter_account_module_1 = require("./twitter-client/twitter-account.module");
|
|
9
9
|
Object.defineProperty(exports, "TwitterAccountModule", { enumerable: true, get: function () { return twitter_account_module_1.TwitterAccountModule; } });
|
|
@@ -49,4 +49,6 @@ const twitter_client_service_1 = require("./twitter-client/services/twitter-clie
|
|
|
49
49
|
Object.defineProperty(exports, "TwitterClientService", { enumerable: true, get: function () { return twitter_client_service_1.TwitterClientService; } });
|
|
50
50
|
const CoreConfig_module_1 = require("./core-config/CoreConfig.module");
|
|
51
51
|
Object.defineProperty(exports, "CoreConfigModule", { enumerable: true, get: function () { return CoreConfig_module_1.CoreConfigModule; } });
|
|
52
|
+
const execAsPromised_1 = require("./runningCommandLine/execAsPromised");
|
|
53
|
+
Object.defineProperty(exports, "execAsPromised", { enumerable: true, get: function () { return execAsPromised_1.execAsPromised; } });
|
|
52
54
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,+CAA+C;AAC/C,oFAA6E;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,+CAA+C;AAC/C,oFAA6E;AA+CzE,qGA/CI,6CAAoB,OA+CJ;AA9CxB,2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importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.execAsPromised = void 0;
|
|
7
|
+
const child_process_1 = require("child_process");
|
|
8
|
+
// eslint-disable-next-line unicorn/import-style
|
|
9
|
+
const util_1 = __importDefault(require("util"));
|
|
10
|
+
const execPromise = util_1.default.promisify(child_process_1.exec);
|
|
11
|
+
const execAsPromised = async (command, commandArguments, cwd, shell) => {
|
|
12
|
+
const result = await execPromise(`${command} ${commandArguments.join(" ")}`, {
|
|
13
|
+
shell: shell || "/bin/bash",
|
|
14
|
+
cwd,
|
|
15
|
+
});
|
|
16
|
+
return result.stdout;
|
|
17
|
+
};
|
|
18
|
+
exports.execAsPromised = execAsPromised;
|
|
19
|
+
//# sourceMappingURL=execAsPromised.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execAsPromised.js","sourceRoot":"","sources":["../../src/runningCommandLine/execAsPromised.ts"],"names":[],"mappings":";;;;;;AAAA,iDAAmC;AACnC,gDAAgD;AAChD,gDAAwB;AAExB,MAAM,WAAW,GAAG,cAAI,CAAC,SAAS,CAAC,oBAAI,CAAC,CAAC;AAElC,MAAM,cAAc,GAAG,KAAK,EAC/B,OAAe,EACf,gBAA0B,EAC1B,GAAW,EACX,KAAc,EACC,EAAE;IACjB,MAAM,MAAM,GAAG,MAAM,WAAW,CAC5B,GAAG,OAAO,IAAI,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAC1C;QACI,KAAK,EAAE,KAAK,IAAI,WAAW;QAC3B,GAAG;KACN,CACJ,CAAC;IAEF,OAAO,MAAM,CAAC,MAAM,CAAC;AACzB,CAAC,CAAC;AAfW,QAAA,cAAc,kBAezB"}
|
package/package.json
CHANGED