@ng-doc/builder 17.6.9 → 17.6.10
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.
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildFileAsset = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const builder_1 = require("@ng-doc/builder");
|
|
6
5
|
const fs = tslib_1.__importStar(require("fs"));
|
|
6
|
+
const variables_1 = require("../engine/variables");
|
|
7
7
|
const code_type_from_ext_1 = require("./code-type-from-ext");
|
|
8
8
|
/**
|
|
9
9
|
* Builds an asset from a file.
|
|
@@ -16,7 +16,7 @@ function buildFileAsset(filePath) {
|
|
|
16
16
|
title: codeType,
|
|
17
17
|
code: fileContent,
|
|
18
18
|
isEmpty: !fileContent,
|
|
19
|
-
filePath:
|
|
19
|
+
filePath: variables_1.GLOBALS.relative(filePath),
|
|
20
20
|
lang: codeType,
|
|
21
21
|
};
|
|
22
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-file-assets.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/build-file-assets.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"build-file-assets.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/build-file-assets.ts"],"names":[],"mappings":";;;;AACA,+CAAyB;AAEzB,mDAA8C;AAE9C,6DAAuD;AAEvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,QAAgB;IAC9C,MAAM,WAAW,GAAW,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;IACrE,MAAM,QAAQ,GAAkB,IAAA,oCAAe,EAAC,QAAQ,CAAC,CAAC;IAE1D,OAAO;QACN,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,CAAC,WAAW;QACrB,QAAQ,EAAE,mBAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACpC,IAAI,EAAE,QAAQ;KACd,CAAC;AACH,CAAC;AAXD,wCAWC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-doc/builder",
|
|
3
|
-
"version": "17.6.
|
|
3
|
+
"version": "17.6.10",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"builders": "./builders.json",
|
|
6
6
|
"schematics": "./schematics/collection.json",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@ng-doc/core": "17.6.
|
|
15
|
-
"@ng-doc/utils": "17.6.
|
|
14
|
+
"@ng-doc/core": "17.6.10",
|
|
15
|
+
"@ng-doc/utils": "17.6.10",
|
|
16
16
|
"@angular-devkit/architect": ">=0.1700.0",
|
|
17
17
|
"@angular-devkit/build-angular": ">=17.0.0",
|
|
18
18
|
"chokidar": "3.5.3",
|