@ng-doc/builder 15.7.0 → 15.7.2
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.
|
@@ -13,7 +13,7 @@ const load_config_1 = require("./load-config");
|
|
|
13
13
|
* @param project
|
|
14
14
|
*/
|
|
15
15
|
function createBuilderContext(targetOptions, options, context) {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f
|
|
16
|
+
var _a, _b, _c, _d, _e, _f;
|
|
17
17
|
const buildPath = path.join(context.workspaceRoot, '.ng-doc', (_b = (_a = context.target) === null || _a === void 0 ? void 0 : _a.project) !== null && _b !== void 0 ? _b : 'app');
|
|
18
18
|
const projectRoot = path.join(context.workspaceRoot, path.dirname(targetOptions['main']));
|
|
19
19
|
if (Object.keys((_c = options.ngDoc) !== null && _c !== void 0 ? _c : {}).length) {
|
|
@@ -22,11 +22,11 @@ function createBuilderContext(targetOptions, options, context) {
|
|
|
22
22
|
}
|
|
23
23
|
const config = { ...options.ngDoc, ...(0, load_config_1.loadConfig)(projectRoot) };
|
|
24
24
|
return {
|
|
25
|
-
tsConfig: (
|
|
25
|
+
tsConfig: (_d = config === null || config === void 0 ? void 0 : config.tsConfig) !== null && _d !== void 0 ? _d : String(targetOptions['tsConfig']),
|
|
26
26
|
config,
|
|
27
27
|
context,
|
|
28
|
-
inlineStyleLanguage: (
|
|
29
|
-
pagesPaths: ((
|
|
28
|
+
inlineStyleLanguage: (_e = targetOptions === null || targetOptions === void 0 ? void 0 : targetOptions['inlineStyleLanguage']) !== null && _e !== void 0 ? _e : 'CSS',
|
|
29
|
+
pagesPaths: ((_f = config.pages) === null || _f === void 0 ? void 0 : _f.length) ? (0, core_1.asArray)(config.pages) : [path.dirname(options.main)],
|
|
30
30
|
assetsPath: path.join(buildPath, 'assets'),
|
|
31
31
|
buildPath,
|
|
32
32
|
apiPath: path.join(buildPath, 'api'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-builder-context.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/create-builder-context.ts"],"names":[],"mappings":";;;;AAEA,uCAAqD;AACrD,mDAA6B;AAG7B,+CAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,oBAAoB,CACnC,aAA8B,EAC9B,OAAoB,EACpB,OAAuB;;IAEvB,MAAM,SAAS,GAAW,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,SAAS,EAAE,MAAA,MAAA,OAAO,CAAC,MAAM,0CAAE,OAAO,mCAAI,KAAK,CAAC,CAAC;IACxG,MAAM,WAAW,GAAW,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAW,CAAC,CAAC,CAAC;IAE5G,IAAI,MAAM,CAAC,IAAI,CAAC,MAAA,OAAO,CAAC,KAAK,mCAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAC5C,OAAO,CAAC,MAAM,CAAC,IAAI,CAClB,qGAAqG;YACpG,oJAAoJ,CACrJ,CAAC;KACF;IAED,MAAM,MAAM,GAAuB,EAAC,GAAG,OAAO,CAAC,KAAK,EAAE,GAAG,IAAA,wBAAU,EAAC,WAAW,CAAC,EAAC,CAAC;IAElF,OAAO;QACN,QAAQ,EAAE,MAAA,
|
|
1
|
+
{"version":3,"file":"create-builder-context.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/create-builder-context.ts"],"names":[],"mappings":";;;;AAEA,uCAAqD;AACrD,mDAA6B;AAG7B,+CAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,oBAAoB,CACnC,aAA8B,EAC9B,OAAoB,EACpB,OAAuB;;IAEvB,MAAM,SAAS,GAAW,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,SAAS,EAAE,MAAA,MAAA,OAAO,CAAC,MAAM,0CAAE,OAAO,mCAAI,KAAK,CAAC,CAAC;IACxG,MAAM,WAAW,GAAW,IAAI,CAAC,IAAI,C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|
"type": "commonjs",
|
|
5
5
|
"builders": "./builders.json",
|
|
6
6
|
"schematics": "./schematics/collection.json",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@ng-doc/core": "15.7.
|
|
8
|
+
"@ng-doc/core": "15.7.2",
|
|
9
9
|
"@angular-devkit/architect": ">=0.1500.0",
|
|
10
10
|
"chokidar": "^3.5.3",
|
|
11
11
|
"minimatch": "^5.1.0",
|
|
@@ -22,8 +22,10 @@
|
|
|
22
22
|
"rehype-format": "^3.1.0",
|
|
23
23
|
"rehype-highlight": "^4.1.0",
|
|
24
24
|
"hast-util-to-string": "^1.0.4",
|
|
25
|
+
"unist-util-visit": "^2.0.1",
|
|
25
26
|
"github-slugger": "^1.5.0",
|
|
26
27
|
"hast-util-heading-rank": "^1.0.1",
|
|
28
|
+
"hast-util-has-property": "^1.0.4",
|
|
27
29
|
"highlight.js": "^11.5.1",
|
|
28
30
|
"raw-loader": "^4.0.2",
|
|
29
31
|
"esbuild": "^0.17.8",
|