@powerlines/plugin-hey-api 0.1.75 → 0.1.76
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/create-operation-id-CdT_cWku.mjs +15 -0
- package/dist/create-operation-id-Cw-sRmUe.cjs +21 -0
- package/dist/create-operation-id-DDMlsM4b.d.cts +10 -0
- package/dist/create-operation-id-_82tqUNg.d.mts +10 -0
- package/dist/helpers/create-operation-id.cjs +2 -15
- package/dist/helpers/create-operation-id.d.cts +1 -9
- package/dist/helpers/create-operation-id.d.mts +1 -9
- package/dist/helpers/create-operation-id.mjs +1 -13
- package/dist/helpers/index.cjs +3 -2
- package/dist/helpers/index.d.cts +2 -1
- package/dist/helpers/index.d.mts +2 -1
- package/dist/helpers/index.mjs +2 -1
- package/dist/helpers-B15z10jN.mjs +1 -0
- package/dist/helpers-LF26RHol.cjs +0 -0
- package/dist/index-9iG2qHLe.d.mts +1 -0
- package/dist/index-D-CYNcT9.d.mts +1 -0
- package/dist/index-D4ELpJXS.d.cts +1 -0
- package/dist/index-DLoAMD9J.d.cts +1 -0
- package/dist/index.cjs +69 -8
- package/dist/index.d.cts +4 -3
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +37 -3
- package/dist/plugin-CvDSqVdO.d.mts +1792 -0
- package/dist/plugin-YQ0jGDB7.d.cts +1792 -0
- package/dist/plugin-ifZVa20V.mjs +1 -0
- package/dist/plugin-pBKbb5K9.cjs +0 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +2 -1
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.mjs +3 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +1 -47
- package/dist/types/plugin.d.mts +1 -47
- package/dist/types/plugin.mjs +2 -0
- package/dist/types-U3zd8PTP.mjs +1 -0
- package/dist/types-o3zWarRp.cjs +0 -0
- package/package.json +3 -3
- package/dist/_virtual/rolldown_runtime.cjs +0 -29
- package/dist/powerlines/src/plugin-utils/paths.cjs +0 -36
- package/dist/powerlines/src/plugin-utils/paths.mjs +0 -35
- package/dist/powerlines/src/types/build.d.cts +0 -145
- package/dist/powerlines/src/types/build.d.mts +0 -145
- package/dist/powerlines/src/types/commands.d.cts +0 -8
- package/dist/powerlines/src/types/commands.d.mts +0 -8
- package/dist/powerlines/src/types/config.d.cts +0 -369
- package/dist/powerlines/src/types/config.d.mts +0 -369
- package/dist/powerlines/src/types/context.d.cts +0 -403
- package/dist/powerlines/src/types/context.d.mts +0 -403
- package/dist/powerlines/src/types/fs.d.cts +0 -486
- package/dist/powerlines/src/types/fs.d.mts +0 -486
- package/dist/powerlines/src/types/plugin.d.cts +0 -231
- package/dist/powerlines/src/types/plugin.d.mts +0 -231
- package/dist/powerlines/src/types/resolved.d.cts +0 -81
- package/dist/powerlines/src/types/resolved.d.mts +0 -81
- package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
- package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { camelCase } from "@stryke/string-format/camel-case";
|
|
2
|
+
|
|
3
|
+
//#region src/helpers/create-operation-id.ts
|
|
4
|
+
/**
|
|
5
|
+
* Create an Operation Id from a summary string
|
|
6
|
+
*
|
|
7
|
+
* @param summary - The summary string from the specification
|
|
8
|
+
* @returns The generated operation ID
|
|
9
|
+
*/
|
|
10
|
+
function createOperationId(summary) {
|
|
11
|
+
return camelCase(summary.replace(/\b(?:a|from|to|the|given|of|an)\b/gi, "").replace("Get list", "list"));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { createOperationId as t };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_index = require('./index.cjs');
|
|
2
|
+
let __stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
3
|
+
|
|
4
|
+
//#region src/helpers/create-operation-id.ts
|
|
5
|
+
/**
|
|
6
|
+
* Create an Operation Id from a summary string
|
|
7
|
+
*
|
|
8
|
+
* @param summary - The summary string from the specification
|
|
9
|
+
* @returns The generated operation ID
|
|
10
|
+
*/
|
|
11
|
+
function createOperationId(summary) {
|
|
12
|
+
return (0, __stryke_string_format_camel_case.camelCase)(summary.replace(/\b(?:a|from|to|the|given|of|an)\b/gi, "").replace("Get list", "list"));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
Object.defineProperty(exports, 'createOperationId', {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () {
|
|
19
|
+
return createOperationId;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/helpers/create-operation-id.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Create an Operation Id from a summary string
|
|
4
|
+
*
|
|
5
|
+
* @param summary - The summary string from the specification
|
|
6
|
+
* @returns The generated operation ID
|
|
7
|
+
*/
|
|
8
|
+
declare function createOperationId(summary: string): string;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { createOperationId as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/helpers/create-operation-id.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Create an Operation Id from a summary string
|
|
4
|
+
*
|
|
5
|
+
* @param summary - The summary string from the specification
|
|
6
|
+
* @returns The generated operation ID
|
|
7
|
+
*/
|
|
8
|
+
declare function createOperationId(summary: string): string;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { createOperationId as t };
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
const
|
|
2
|
-
let __stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
1
|
+
const require_create_operation_id = require('../create-operation-id-Cw-sRmUe.cjs');
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Create an Operation Id from a summary string
|
|
7
|
-
*
|
|
8
|
-
* @param summary - The summary string from the specification
|
|
9
|
-
* @returns The generated operation ID
|
|
10
|
-
*/
|
|
11
|
-
function createOperationId(summary) {
|
|
12
|
-
return (0, __stryke_string_format_camel_case.camelCase)(summary.replace(/\b(?:a|from|to|the|given|of|an)\b/gi, "").replace("Get list", "list"));
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
exports.createOperationId = createOperationId;
|
|
3
|
+
exports.createOperationId = require_create_operation_id.createOperationId;
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Create an Operation Id from a summary string
|
|
4
|
-
*
|
|
5
|
-
* @param summary - The summary string from the specification
|
|
6
|
-
* @returns The generated operation ID
|
|
7
|
-
*/
|
|
8
|
-
declare function createOperationId(summary: string): string;
|
|
9
|
-
//#endregion
|
|
1
|
+
import { t as createOperationId } from "../create-operation-id-DDMlsM4b.cjs";
|
|
10
2
|
export { createOperationId };
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Create an Operation Id from a summary string
|
|
4
|
-
*
|
|
5
|
-
* @param summary - The summary string from the specification
|
|
6
|
-
* @returns The generated operation ID
|
|
7
|
-
*/
|
|
8
|
-
declare function createOperationId(summary: string): string;
|
|
9
|
-
//#endregion
|
|
1
|
+
import { t as createOperationId } from "../create-operation-id-_82tqUNg.mjs";
|
|
10
2
|
export { createOperationId };
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as createOperationId } from "../create-operation-id-CdT_cWku.mjs";
|
|
2
2
|
|
|
3
|
-
//#region src/helpers/create-operation-id.ts
|
|
4
|
-
/**
|
|
5
|
-
* Create an Operation Id from a summary string
|
|
6
|
-
*
|
|
7
|
-
* @param summary - The summary string from the specification
|
|
8
|
-
* @returns The generated operation ID
|
|
9
|
-
*/
|
|
10
|
-
function createOperationId(summary) {
|
|
11
|
-
return camelCase(summary.replace(/\b(?:a|from|to|the|given|of|an)\b/gi, "").replace("Get list", "list"));
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
//#endregion
|
|
15
3
|
export { createOperationId };
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_create_operation_id = require('../create-operation-id-Cw-sRmUe.cjs');
|
|
2
|
+
require('../helpers-LF26RHol.cjs');
|
|
2
3
|
|
|
3
|
-
exports.createOperationId =
|
|
4
|
+
exports.createOperationId = require_create_operation_id.createOperationId;
|
package/dist/helpers/index.d.cts
CHANGED
package/dist/helpers/index.d.mts
CHANGED
package/dist/helpers/index.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/index.cjs
CHANGED
|
@@ -1,15 +1,75 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
//#region rolldown:runtime
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
|
+
key = keys[i];
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
14
|
+
__defProp(to, key, {
|
|
15
|
+
get: ((k) => from[k]).bind(null, key),
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
24
|
+
value: mod,
|
|
25
|
+
enumerable: true
|
|
26
|
+
}) : target, mod));
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
const require_create_operation_id = require('./create-operation-id-Cw-sRmUe.cjs');
|
|
30
|
+
require('./helpers-LF26RHol.cjs');
|
|
31
|
+
require('./plugin-pBKbb5K9.cjs');
|
|
32
|
+
require('./types-o3zWarRp.cjs');
|
|
6
33
|
let __hey_api_openapi_ts = require("@hey-api/openapi-ts");
|
|
7
34
|
let __stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
8
35
|
let __stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
9
36
|
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
10
37
|
let defu = require("defu");
|
|
11
|
-
defu =
|
|
38
|
+
defu = __toESM(defu);
|
|
39
|
+
let __stryke_path_replace = require("@stryke/path/replace");
|
|
12
40
|
|
|
41
|
+
//#region ../powerlines/src/plugin-utils/paths.ts
|
|
42
|
+
/**
|
|
43
|
+
* Replaces tokens in the given path string with their corresponding values from the context.
|
|
44
|
+
*
|
|
45
|
+
* @remarks
|
|
46
|
+
* The following tokens are supported:
|
|
47
|
+
* - `{workspaceRoot}` - The root directory of the workspace.
|
|
48
|
+
* - `{root}` - The root directory of the project (same as `{projectRoot}`).
|
|
49
|
+
* - `{projectRoot}` - The root directory of the project (same as `{root}`).
|
|
50
|
+
* - `{sourceRoot}` - The source root directory of the project (usually `./src`).
|
|
51
|
+
* - `{powerlinesPath}` - The directory where Powerlines is installed.
|
|
52
|
+
* - `{cachePath}` - The environment's directory for cached files.
|
|
53
|
+
* - `{dataPath}` - The environment's directory for data files.
|
|
54
|
+
* - `{logPath}` - The environment's directory for log files.
|
|
55
|
+
* - `{tempPath}` - The environment's directory for temporary files.
|
|
56
|
+
* - `{configPath}` - The environment's directory for configuration files.
|
|
57
|
+
* - `{outputPath}` - The configured output directory for the project.
|
|
58
|
+
* - `{buildPath}` - The configured distribution directory for the project.
|
|
59
|
+
* - `{artifactsPath}` - The configured directory for build artifacts.
|
|
60
|
+
* - `{builtinPath}` - The configured directory for generated built-in plugins.
|
|
61
|
+
* - `{entryPath}` - The configured directory for generated entry files.
|
|
62
|
+
*
|
|
63
|
+
* @param context - The context containing the values for the path tokens.
|
|
64
|
+
* @param path - The path string with tokens to replace.
|
|
65
|
+
* @returns The path string with tokens replaced by their corresponding values from the context.
|
|
66
|
+
*/
|
|
67
|
+
function replacePathTokens(context, path) {
|
|
68
|
+
if (!path) return path;
|
|
69
|
+
return path.replaceAll("{workspaceRoot}", context.workspaceConfig.workspaceRoot).replaceAll("{root}", context.config.projectRoot).replaceAll("{projectRoot}", context.config.projectRoot).replaceAll("{sourceRoot}", context.config.sourceRoot).replaceAll("{powerlinesPath}", context.powerlinesPath).replaceAll("{cachePath}", context.cachePath).replaceAll("{dataPath}", context.dataPath).replaceAll("{logPath}", context.envPaths.log).replaceAll("{tempPath}", context.envPaths.temp).replaceAll("{configPath}", context.envPaths.config).replaceAll("{outputPath}", context.config.output.outputPath).replaceAll("{buildPath}", context.config.output.buildPath).replaceAll("{artifactsPath}", (0, __stryke_path_replace.replacePath)(context.artifactsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{builtinPath}", (0, __stryke_path_replace.replacePath)(context.builtinsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{entryPath}", (0, __stryke_path_replace.replacePath)(context.entryPath, context.workspaceConfig.workspaceRoot));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
//#endregion
|
|
13
73
|
//#region src/index.ts
|
|
14
74
|
/**
|
|
15
75
|
* A Powerlines plugin to integrate Hey API for code generation.
|
|
@@ -49,7 +109,7 @@ const plugin = (options = {}) => {
|
|
|
49
109
|
},
|
|
50
110
|
async configResolved() {
|
|
51
111
|
this.config.heyApi.output ??= {};
|
|
52
|
-
this.config.heyApi.output.path =
|
|
112
|
+
this.config.heyApi.output.path = replacePathTokens(this, this.config.heyApi.output.path);
|
|
53
113
|
if (!this.config.heyApi.schema) throw new Error("The `schema` option is required by the Hey API plugin.");
|
|
54
114
|
if ((0, __stryke_type_checks_is_set_string.isSetString)(this.config.heyApi.schema)) {
|
|
55
115
|
const result = await this.fetch(this.config.heyApi.schema);
|
|
@@ -71,7 +131,7 @@ const plugin = (options = {}) => {
|
|
|
71
131
|
]) {
|
|
72
132
|
const operation = pathItem[method];
|
|
73
133
|
if (!(0, __stryke_type_checks_is_set_string.isSetString)(operation?.summary)) continue;
|
|
74
|
-
operation.operationId =
|
|
134
|
+
operation.operationId = require_create_operation_id.createOperationId(operation.summary);
|
|
75
135
|
}
|
|
76
136
|
}
|
|
77
137
|
}
|
|
@@ -87,6 +147,7 @@ const plugin = (options = {}) => {
|
|
|
87
147
|
var src_default = plugin;
|
|
88
148
|
|
|
89
149
|
//#endregion
|
|
90
|
-
exports.
|
|
150
|
+
exports.__toESM = __toESM;
|
|
151
|
+
exports.createOperationId = require_create_operation_id.createOperationId;
|
|
91
152
|
exports.default = src_default;
|
|
92
153
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { createOperationId } from "./
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { t as createOperationId } from "./create-operation-id-DDMlsM4b.cjs";
|
|
2
|
+
import "./index-DLoAMD9J.cjs";
|
|
3
|
+
import { a as HeyAPIPluginUserConfig, c as __ΩHeyAPIPluginOutputOptions, d as Plugin, i as HeyAPIPluginResolvedConfig, l as __ΩHeyAPIPluginResolvedConfig, n as HeyAPIPluginOptions, o as __ΩHeyAPIPluginContext, r as HeyAPIPluginOutputOptions, s as __ΩHeyAPIPluginOptions, t as HeyAPIPluginContext, u as __ΩHeyAPIPluginUserConfig } from "./plugin-YQ0jGDB7.cjs";
|
|
4
|
+
import "./index-D4ELpJXS.cjs";
|
|
4
5
|
|
|
5
6
|
//#region src/index.d.ts
|
|
6
7
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createOperationId } from "./
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
1
|
+
import { t as createOperationId } from "./create-operation-id-_82tqUNg.mjs";
|
|
2
|
+
import "./index-D-CYNcT9.mjs";
|
|
3
|
+
import { a as HeyAPIPluginUserConfig, c as __ΩHeyAPIPluginOutputOptions, d as Plugin, i as HeyAPIPluginResolvedConfig, l as __ΩHeyAPIPluginResolvedConfig, n as HeyAPIPluginOptions, o as __ΩHeyAPIPluginContext, r as HeyAPIPluginOutputOptions, s as __ΩHeyAPIPluginOptions, t as HeyAPIPluginContext, u as __ΩHeyAPIPluginUserConfig } from "./plugin-CvDSqVdO.mjs";
|
|
4
|
+
import "./index-9iG2qHLe.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/index.d.ts
|
|
7
7
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
1
|
+
import { t as createOperationId } from "./create-operation-id-CdT_cWku.mjs";
|
|
2
|
+
import "./helpers-B15z10jN.mjs";
|
|
3
|
+
import "./plugin-ifZVa20V.mjs";
|
|
4
|
+
import "./types-U3zd8PTP.mjs";
|
|
4
5
|
import { createClient } from "@hey-api/openapi-ts";
|
|
5
6
|
import { joinPaths } from "@stryke/path/join-paths";
|
|
6
7
|
import { isSetObject } from "@stryke/type-checks/is-set-object";
|
|
7
8
|
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
8
9
|
import defu from "defu";
|
|
10
|
+
import { replacePath } from "@stryke/path/replace";
|
|
9
11
|
|
|
12
|
+
//#region ../powerlines/src/plugin-utils/paths.ts
|
|
13
|
+
/**
|
|
14
|
+
* Replaces tokens in the given path string with their corresponding values from the context.
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* The following tokens are supported:
|
|
18
|
+
* - `{workspaceRoot}` - The root directory of the workspace.
|
|
19
|
+
* - `{root}` - The root directory of the project (same as `{projectRoot}`).
|
|
20
|
+
* - `{projectRoot}` - The root directory of the project (same as `{root}`).
|
|
21
|
+
* - `{sourceRoot}` - The source root directory of the project (usually `./src`).
|
|
22
|
+
* - `{powerlinesPath}` - The directory where Powerlines is installed.
|
|
23
|
+
* - `{cachePath}` - The environment's directory for cached files.
|
|
24
|
+
* - `{dataPath}` - The environment's directory for data files.
|
|
25
|
+
* - `{logPath}` - The environment's directory for log files.
|
|
26
|
+
* - `{tempPath}` - The environment's directory for temporary files.
|
|
27
|
+
* - `{configPath}` - The environment's directory for configuration files.
|
|
28
|
+
* - `{outputPath}` - The configured output directory for the project.
|
|
29
|
+
* - `{buildPath}` - The configured distribution directory for the project.
|
|
30
|
+
* - `{artifactsPath}` - The configured directory for build artifacts.
|
|
31
|
+
* - `{builtinPath}` - The configured directory for generated built-in plugins.
|
|
32
|
+
* - `{entryPath}` - The configured directory for generated entry files.
|
|
33
|
+
*
|
|
34
|
+
* @param context - The context containing the values for the path tokens.
|
|
35
|
+
* @param path - The path string with tokens to replace.
|
|
36
|
+
* @returns The path string with tokens replaced by their corresponding values from the context.
|
|
37
|
+
*/
|
|
38
|
+
function replacePathTokens(context, path) {
|
|
39
|
+
if (!path) return path;
|
|
40
|
+
return path.replaceAll("{workspaceRoot}", context.workspaceConfig.workspaceRoot).replaceAll("{root}", context.config.projectRoot).replaceAll("{projectRoot}", context.config.projectRoot).replaceAll("{sourceRoot}", context.config.sourceRoot).replaceAll("{powerlinesPath}", context.powerlinesPath).replaceAll("{cachePath}", context.cachePath).replaceAll("{dataPath}", context.dataPath).replaceAll("{logPath}", context.envPaths.log).replaceAll("{tempPath}", context.envPaths.temp).replaceAll("{configPath}", context.envPaths.config).replaceAll("{outputPath}", context.config.output.outputPath).replaceAll("{buildPath}", context.config.output.buildPath).replaceAll("{artifactsPath}", replacePath(context.artifactsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{builtinPath}", replacePath(context.builtinsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{entryPath}", replacePath(context.entryPath, context.workspaceConfig.workspaceRoot));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
//#endregion
|
|
10
44
|
//#region src/index.ts
|
|
11
45
|
/**
|
|
12
46
|
* A Powerlines plugin to integrate Hey API for code generation.
|