@ng-doc/add 15.0.0-beta.11 → 15.0.0-beta.13
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-doc/add",
|
|
3
|
-
"version": "15.0.0-beta.
|
|
3
|
+
"version": "15.0.0-beta.13",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"schematics": "./schematics/collection.json",
|
|
6
6
|
"ng-add": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@angular/cdk": ">=13.3.0",
|
|
14
|
-
"@angular-devkit/schematics": "
|
|
14
|
+
"@angular-devkit/schematics": ">=13.0.0",
|
|
15
15
|
"ng-morph": "^2.1.1"
|
|
16
16
|
},
|
|
17
17
|
"main": "./schematics/index.js",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.addLayout = void 0;
|
|
4
4
|
const schematics_1 = require("@angular/cdk/schematics");
|
|
5
|
-
const workspace_1 = require("@
|
|
5
|
+
const workspace_1 = require("@schematics/angular/utility/workspace");
|
|
6
6
|
const app_component_content_1 = require("../constants/app-component-content");
|
|
7
7
|
const get_app_template_path_1 = require("../utils/get-app-template-path");
|
|
8
8
|
const get_project_1 = require("../utils/get-project");
|
|
@@ -12,7 +12,7 @@ const get_project_1 = require("../utils/get-project");
|
|
|
12
12
|
*/
|
|
13
13
|
function addLayout(options) {
|
|
14
14
|
return async (tree, context) => {
|
|
15
|
-
context.logger.info(`[INFO]: Adding
|
|
15
|
+
context.logger.info(`[INFO]: Adding NgDoc layout to the root component...`);
|
|
16
16
|
const workspace = await (0, workspace_1.getWorkspace)(tree);
|
|
17
17
|
const project = (0, get_project_1.getProject)(options, workspace);
|
|
18
18
|
if (!project) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-layout.js","sourceRoot":"","sources":["../../../../../../libs/add/schematics/ng-add/steps/add-layout.ts"],"names":[],"mappings":";;;AAAA,wDAAgE;AAIhE
|
|
1
|
+
{"version":3,"file":"add-layout.js","sourceRoot":"","sources":["../../../../../../libs/add/schematics/ng-add/steps/add-layout.ts"],"names":[],"mappings":";;;AAAA,wDAAgE;AAIhE,qEAAmE;AAEnE,8EAAyE;AAEzE,0EAAkE;AAClE,sDAAgD;AAEhD;;;GAGG;AACH,SAAgB,SAAS,CAAC,OAAe;IACxC,OAAO,KAAK,EAAE,IAAU,EAAE,OAAyB,EAAE,EAAE;QACtD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,sDAAsD,CAAC,CAAC;QAE5E,MAAM,SAAS,GAAwB,MAAM,IAAA,wBAAY,EAAC,IAAI,CAAC,CAAC;QAChE,MAAM,OAAO,GAAkC,IAAA,wBAAU,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAE9E,IAAI,CAAC,OAAO,EAAE;YACb,OAAO;SACP;QAED,MAAM,YAAY,GAA8B,IAAA,oCAAuB,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAE1F,MAAM,eAAe,GAAuB,IAAA,0CAAkB,EAAC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAW,CAAC,CAAC;QAErG,IAAI,CAAC,eAAe,EAAE;YACrB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAC;YAExF,OAAO;SACP;QAED,MAAM,IAAI,GAAkB,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,IAAI,IAAI,EAAE;YACT,MAAM,QAAQ,GAAmB,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;YAEnE,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAChC,QAAQ,CAAC,UAAU,CAAC,CAAC,EAAE,6CAAqB,CAAC,CAAC;YAC9C,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;YAE5B,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,+DAA+D,CAAC,CAAC;SACrF;IACF,CAAC,CAAC;AACH,CAAC;AAjCD,8BAiCC"}
|