@breadstone-infrastructure/nx-tasks 0.0.69 → 0.0.70
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/executors/copy2/executor.d.ts +13 -0
- package/executors/copy2/executor.d.ts.map +1 -0
- package/executors/copy2/executor.js +58 -0
- package/executors/copy2/executor.js.map +1 -0
- package/executors/copy2/executor.task.d.ts +45 -0
- package/executors/copy2/executor.task.d.ts.map +1 -0
- package/executors/copy2/executor.task.js +58 -0
- package/executors/copy2/executor.task.js.map +1 -0
- package/executors/copy2/schema.json +1 -0
- package/executors/docs/executor.task.d.ts.map +1 -1
- package/executors/docs/executor.task.js +12 -0
- package/executors/docs/executor.task.js.map +1 -1
- package/executors.json +5 -0
- package/package.json +9 -9
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ExecutorContext } from '@nx/devkit';
|
|
2
|
+
import type { Copy2Task } from './executor.task';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type Copy2ExecutorOptions = Omit<Copy2Task.ICopy2TaskOptions, 'cwd' | 'tsConfigJson' | 'packageJson'>;
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export default function runExecutor(options: Copy2ExecutorOptions, context: ExecutorContext): Promise<{
|
|
11
|
+
success: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
//# sourceMappingURL=executor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.d.ts","sourceRoot":"","sources":["../../../src/executors/copy2/executor.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAIjD;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,KAAK,GAAG,cAAc,GAAG,aAAa,CAAC,CAAC;AAE7G;;GAEG;AACH,wBAA8B,WAAW,CAAC,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CAehI"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// #region Imports
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.default = runExecutor;
|
|
38
|
+
const getProjectRoot_1 = require("../../utils/getProjectRoot");
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
async function runExecutor(options, context) {
|
|
43
|
+
try {
|
|
44
|
+
const task = (await Promise.resolve().then(() => __importStar(require('./executor.task')))).Copy2Task;
|
|
45
|
+
await task.run({
|
|
46
|
+
cwd: (0, getProjectRoot_1.getProjectRoot)(context),
|
|
47
|
+
copies: options.copies,
|
|
48
|
+
dryRun: options.dryRun,
|
|
49
|
+
verbose: context.isVerbose || options.verbose
|
|
50
|
+
});
|
|
51
|
+
return { success: true };
|
|
52
|
+
}
|
|
53
|
+
catch (error) {
|
|
54
|
+
console.error(error);
|
|
55
|
+
return { success: false };
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=executor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../src/executors/copy2/executor.ts"],"names":[],"mappings":";AAAA,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBlB,8BAeC;AA5BD,+DAA4D;AAU5D;;GAEG;AACY,KAAK,UAAU,WAAW,CAAC,OAA6B,EAAE,OAAwB;IAC7F,IAAI,CAAC;QACD,MAAM,IAAI,GAAG,CAAC,wDAAa,iBAAiB,GAAC,CAAC,CAAC,SAAS,CAAC;QAEzD,MAAM,IAAI,CAAC,GAAG,CAAC;YACX,GAAG,EAAE,IAAA,+BAAc,EAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,OAAO,EAAE,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,OAAO;SAChD,CAAC,CAAC;QACH,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC7B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACrB,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC9B,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A task to make a simple copy of a file or directory.
|
|
3
|
+
*
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare namespace Copy2Task {
|
|
7
|
+
/**
|
|
8
|
+
* Describes a single copy operation.
|
|
9
|
+
*/
|
|
10
|
+
interface CopyEntry {
|
|
11
|
+
/**
|
|
12
|
+
* The source path to copy from.
|
|
13
|
+
* It is also possible to provide an array of paths or a glob pattern.
|
|
14
|
+
*/
|
|
15
|
+
from: string | Array<string>;
|
|
16
|
+
/**
|
|
17
|
+
* The destination path.
|
|
18
|
+
*/
|
|
19
|
+
to: string;
|
|
20
|
+
/**
|
|
21
|
+
* A flag to indicate if the copy should be clean.
|
|
22
|
+
*/
|
|
23
|
+
cleanCopy?: boolean;
|
|
24
|
+
}
|
|
25
|
+
interface ICopy2TaskOptions {
|
|
26
|
+
/**
|
|
27
|
+
* The current working directory.
|
|
28
|
+
*/
|
|
29
|
+
cwd: string;
|
|
30
|
+
/**
|
|
31
|
+
* A flag to indicate if the copy should be dry.
|
|
32
|
+
*/
|
|
33
|
+
dryRun?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* A flag to indicate if the copy should be verbose.
|
|
36
|
+
*/
|
|
37
|
+
verbose?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* One or multiple copy operations to perform.
|
|
40
|
+
*/
|
|
41
|
+
copies: CopyEntry | Array<CopyEntry>;
|
|
42
|
+
}
|
|
43
|
+
function run(options: ICopy2TaskOptions): Promise<void>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=executor.task.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.task.d.ts","sourceRoot":"","sources":["../../../src/executors/copy2/executor.task.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,yBAAiB,SAAS,CAAC;IAEvB;;OAEG;IACH,UAAiB,SAAS;QAEtB;;;WAGG;QACH,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;QAE7B;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;KACvB;IAED,UAAiB,iBAAiB;QAE9B;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ;;WAEG;QACH,MAAM,CAAC,EAAE,OAAO,CAAC;QAEjB;;WAEG;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;QAElB;;WAEG;QACH,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;KACxC;IAED,SAAsB,GAAG,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAuDnE;CACJ"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// #region Imports
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Copy2Task = void 0;
|
|
5
|
+
const utilities_1 = require("@breadstone-infrastructure/utilities");
|
|
6
|
+
// #endregion
|
|
7
|
+
/**
|
|
8
|
+
* A task to make a simple copy of a file or directory.
|
|
9
|
+
*
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
var Copy2Task;
|
|
13
|
+
(function (Copy2Task) {
|
|
14
|
+
async function run(options) {
|
|
15
|
+
const logger = new utilities_1.ConsoleLogger();
|
|
16
|
+
(0, utilities_1.logSeparator)(logger, 'Copy');
|
|
17
|
+
return new Promise((resolve, _reject) => {
|
|
18
|
+
const copyEntries = utilities_1.ArrayExtensions.arrayify(options.copies);
|
|
19
|
+
let totalCopied = 0;
|
|
20
|
+
copyEntries.forEach((copy) => {
|
|
21
|
+
const to = utilities_1.Path.combine(options.cwd, copy.to);
|
|
22
|
+
const from = utilities_1.ArrayExtensions.arrayify(copy.from).map((path) => utilities_1.Path.combine(options.cwd, path));
|
|
23
|
+
const fromFiles = utilities_1.File.glob(from);
|
|
24
|
+
if (copy.cleanCopy) {
|
|
25
|
+
if (utilities_1.Directory.exists(to)) {
|
|
26
|
+
logger.log(` > Deleting ${copy.to}`);
|
|
27
|
+
if (!options.dryRun) {
|
|
28
|
+
utilities_1.Directory.delete(to);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if (utilities_1.File.exists(to)) {
|
|
32
|
+
logger.log(` > Deleting ${copy.to}`);
|
|
33
|
+
if (!options.dryRun) {
|
|
34
|
+
utilities_1.File.delete(to);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
fromFiles.forEach((path) => {
|
|
39
|
+
const toFile = utilities_1.Path.combine(to, utilities_1.Path.getFileName(path));
|
|
40
|
+
if (options.verbose) {
|
|
41
|
+
logger.log((0, utilities_1.gray)(` Copying ${path}${utilities_1.StringExtensions.newLine} to ${toFile}`));
|
|
42
|
+
}
|
|
43
|
+
if (!options.dryRun) {
|
|
44
|
+
utilities_1.File.copy(path, toFile);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
totalCopied += fromFiles.length;
|
|
48
|
+
});
|
|
49
|
+
(0, utilities_1.logSummary)(logger, {
|
|
50
|
+
success: [`${totalCopied} files copied`, true]
|
|
51
|
+
});
|
|
52
|
+
(0, utilities_1.logSeparator)(logger);
|
|
53
|
+
resolve();
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
Copy2Task.run = run;
|
|
57
|
+
})(Copy2Task || (exports.Copy2Task = Copy2Task = {}));
|
|
58
|
+
//# sourceMappingURL=executor.task.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1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version":3,"file":"executor.task.d.ts","sourceRoot":"","sources":["../../../src/executors/docs/executor.task.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"executor.task.d.ts","sourceRoot":"","sources":["../../../src/executors/docs/executor.task.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAI3D;;;GAGG;AACH,yBAAiB,QAAQ,CAAC;IAEtB,UAAiB,gBAAgB;QAC7B,GAAG,EAAE,MAAM,CAAC;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,YAAY,CAAC;QAC3B,WAAW,EAAE,WAAW,CAAC;QACzB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,SAAS,CAAC,EAAE;YACR,UAAU,EAAE,MAAM,CAAC;SACtB,CAAC;QACF,UAAU,CAAC,EAAE;YACT,YAAY,EAAE,MAAM,CAAC;SACxB,CAAC;KACL;IAED,SAAsB,GAAG,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAwElE;CAEJ"}
|
|
@@ -36,6 +36,8 @@ var DocsTask;
|
|
|
36
36
|
process.exitCode = 1;
|
|
37
37
|
reject();
|
|
38
38
|
}
|
|
39
|
+
// TODO: maybe this help:https://github.com/microsoft/rushstack-websites/blob/main/tools/api-documenter-docusaurus-plugin/src/DocusaurusMarkdownFeature.ts
|
|
40
|
+
// new ApiModel().loadPackage()
|
|
39
41
|
resolve();
|
|
40
42
|
});
|
|
41
43
|
}
|
|
@@ -71,4 +73,14 @@ var DocsTask;
|
|
|
71
73
|
}
|
|
72
74
|
DocsTask.run = run;
|
|
73
75
|
})(DocsTask || (exports.DocsTask = DocsTask = {}));
|
|
76
|
+
// export const apiDocumenterPluginManifest: IApiDocumenterPluginManifest = {
|
|
77
|
+
// manifestVersion: 1000,
|
|
78
|
+
// features: [
|
|
79
|
+
// {
|
|
80
|
+
// featureName: 'docusaurus-markdown-documenter',
|
|
81
|
+
// kind: 'MarkdownDocumenterFeature',
|
|
82
|
+
// // subclass: DocusaurusMarkdownFeature
|
|
83
|
+
// }
|
|
84
|
+
// ]
|
|
85
|
+
// };
|
|
74
86
|
//# sourceMappingURL=executor.task.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.task.js","sourceRoot":"","sources":["../../../src/executors/docs/executor.task.ts"],"names":[],"mappings":";AAAA,kBAAkB;;;AAElB,oEAA0I;AAC1I,4DAAsE;
|
|
1
|
+
{"version":3,"file":"executor.task.js","sourceRoot":"","sources":["../../../src/executors/docs/executor.task.ts"],"names":[],"mappings":";AAAA,kBAAkB;;;AAElB,oEAA0I;AAC1I,4DAAsE;AAItE,aAAa;AAEb;;;GAGG;AACH,IAAiB,QAAQ,CA2FxB;AA3FD,WAAiB,QAAQ;IAiBd,KAAK,UAAU,GAAG,CAAC,OAAyB;QAC/C,MAAM,MAAM,GAAG,IAAI,yBAAa,EAAE,CAAC;QAEnC,IAAA,wBAAY,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAE7B,MAAM,CAAC,GAAG,CAAC,IAAA,mBAAO,EAAC,mCAAmC,CAAC,CAAC,CAAC;QAEzD,MAAM,OAAO,GAAG,KAAK,CAAC;QAEtB,uEAAuE;QACvE,IAAI,OAAO,EAAE,CAAC;YACV,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBACzC,MAAM,oBAAoB,GAAG,gBAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,SAAS,EAAE,UAAU,IAAI,EAAE,CAAC,CAAC;gBAE5F,MAAM,CAAC,GAAG,CAAC,IAAA,gBAAI,EAAC,eAAe,oBAAoB,EAAE,CAAC,CAAC,CAAC;gBAExD,MAAM,eAAe,GAAG,+BAAe,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAC;gBACjF,MAAM,eAAe,GA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DAAiD;AACjD,qDAAqD;AACrD,YAAY;AACZ,QAAQ;AACR,KAAK"}
|
package/executors.json
CHANGED
|
@@ -15,6 +15,11 @@
|
|
|
15
15
|
"implementation": "./executors/copy/executor",
|
|
16
16
|
"schema": "./executors/copy/schema.json"
|
|
17
17
|
},
|
|
18
|
+
"copy2": {
|
|
19
|
+
"description": "copy2 task executor",
|
|
20
|
+
"implementation": "./executors/copy2/executor",
|
|
21
|
+
"schema": "./executors/copy2/schema.json"
|
|
22
|
+
},
|
|
18
23
|
"docs": {
|
|
19
24
|
"description": "docs task executor",
|
|
20
25
|
"implementation": "./executors/docs/executor",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone-infrastructure/nx-tasks",
|
|
3
3
|
"description": "Common nx tasks",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.70",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
|
|
7
7
|
"repository": {
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"types": "./Index.d.ts",
|
|
15
15
|
"executors": "./executors.json",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@breadstone-infrastructure/utilities": "^0.0.
|
|
18
|
-
"@breadstone-tools/cem-app": "^0.0.
|
|
19
|
-
"@breadstone-tools/cem-plugins-custom-js-doc-tags": "^0.0.
|
|
20
|
-
"@breadstone-tools/cem-plugins-expand-types": "^0.0.
|
|
21
|
-
"@breadstone-tools/localizator-app": "^0.0.
|
|
22
|
-
"@breadstone-tools/localizator-core": "^0.0.
|
|
23
|
-
"@breadstone-tools/openapi-app": "^0.0.
|
|
24
|
-
"@breadstone-tools/openapi-core": "^0.0.
|
|
17
|
+
"@breadstone-infrastructure/utilities": "^0.0.70",
|
|
18
|
+
"@breadstone-tools/cem-app": "^0.0.70",
|
|
19
|
+
"@breadstone-tools/cem-plugins-custom-js-doc-tags": "^0.0.70",
|
|
20
|
+
"@breadstone-tools/cem-plugins-expand-types": "^0.0.70",
|
|
21
|
+
"@breadstone-tools/localizator-app": "^0.0.70",
|
|
22
|
+
"@breadstone-tools/localizator-core": "^0.0.70",
|
|
23
|
+
"@breadstone-tools/openapi-app": "^0.0.70",
|
|
24
|
+
"@breadstone-tools/openapi-core": "^0.0.70",
|
|
25
25
|
"@microsoft/api-extractor": "^7.52.8",
|
|
26
26
|
"@nx/devkit": "^21.2.1",
|
|
27
27
|
"autoprefixer": "^10.4.21",
|