@ng-doc/builder 15.3.1 → 15.4.0

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.
@@ -1,5 +1,5 @@
1
+ import { NgDocDemoActionOptions } from '@ng-doc/core';
1
2
  import { NgDocAction } from '../../types';
2
- import { NgDocDemoActionOptions } from '../interfaces';
3
3
  /**
4
4
  * Render demo point on the page, it will be rendered by the application
5
5
  *
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.demoAction = void 0;
4
+ const core_1 = require("@ng-doc/core");
4
5
  /**
5
6
  * Render demo point on the page, it will be rendered by the application
6
7
  *
@@ -10,9 +11,10 @@ exports.demoAction = void 0;
10
11
  */
11
12
  function demoAction(componentName, options) {
12
13
  return () => {
13
- var _a;
14
14
  return {
15
- output: `<ng-doc-demo componentName="${componentName}" container="${(_a = options === null || options === void 0 ? void 0 : options.container) !== null && _a !== void 0 ? _a : true}"></ng-doc-demo>`,
15
+ output: `<ng-doc-demo componentName="${componentName}">
16
+ <div id="options">${(0, core_1.escapeHtml)(JSON.stringify(options !== null && options !== void 0 ? options : {}))}</div>
17
+ </ng-doc-demo>`,
16
18
  };
17
19
  };
18
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"demo.action.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/actions/demo.action.ts"],"names":[],"mappings":";;;AAIA;;;;;;GAMG;AACH,SAAgB,UAAU,CAAC,aAAqB,EAAE,OAAgC;IACjF,OAAO,GAAsB,EAAE;;QAC9B,OAAO;YACN,MAAM,EAAE,+BAA+B,aAAa,gBACnD,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,mCAAI,IACvB,kBAAkB;SAClB,CAAC;IACH,CAAC,CAAC;AACH,CAAC;AARD,gCAQC"}
1
+ {"version":3,"file":"demo.action.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/actions/demo.action.ts"],"names":[],"mappings":";;;AAAA,uCAAgE;AAKhE;;;;;;GAMG;AACH,SAAgB,UAAU,CAAC,aAAqB,EAAE,OAAgC;IACjF,OAAO,GAAsB,EAAE;QAC9B,OAAO;YACN,MAAM,EAAE,+BAA+B,aAAa;0BAC7B,IAAA,iBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC,CAAC;oBAC/C;SACjB,CAAC;IACH,CAAC,CAAC;AACH,CAAC;AARD,gCAQC"}
@@ -1,5 +1,5 @@
1
+ import { NgDocDemoActionOptions } from '@ng-doc/core';
1
2
  import { NgDocPageEntity } from './entities/page.entity';
2
- import { NgDocDemoActionOptions } from './interfaces';
3
3
  export declare class NgDocActions {
4
4
  private readonly page;
5
5
  constructor(page: NgDocPageEntity);
@@ -1 +1 @@
1
- {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../../libs/builder/engine/actions.ts"],"names":[],"mappings":";;;AAEA,uDAAiD;AACjD,mEAA6D;AAI7D,MAAa,YAAY;IACxB,YAA6B,IAAqB;QAArB,SAAI,GAAJ,IAAI,CAAiB;IAAG,CAAC;IAEtD,IAAI,CAAC,SAAiB,EAAE,OAAgC;QACvD,OAAO,IAAI,CAAC,aAAa,CAAC,IAAA,wBAAU,EAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;IAClE,CAAC;IAED,UAAU,CAAC,YAAoB;QAC9B,MAAM,MAAM,GAAsB,IAAI,CAAC,aAAa,CAAC,IAAA,oCAAgB,EAAC,YAAY,CAAC,CAAC,CAAC;QAErF,OAAO,MAAM,CAAC,MAAM,CAAC;IACtB,CAAC;IAEO,aAAa,CAAC,MAAmB;;QACxC,MAAM,MAAM,GAAsB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAEvF,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,MAAA,MAAM,CAAC,YAAY,mCAAI,EAAE,CAAC,CAAC,CAAC;QAE3D,OAAO,MAAM,CAAC;IACf,CAAC;CACD;AApBD,oCAoBC"}
1
+ {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../../libs/builder/engine/actions.ts"],"names":[],"mappings":";;;AAIA,uDAAiD;AACjD,mEAA6D;AAG7D,MAAa,YAAY;IACxB,YAA6B,IAAqB;QAArB,SAAI,GAAJ,IAAI,CAAiB;IAAG,CAAC;IAEtD,IAAI,CAAC,SAAiB,EAAE,OAAgC;QACvD,OAAO,IAAI,CAAC,aAAa,CAAC,IAAA,wBAAU,EAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;IAClE,CAAC;IAED,UAAU,CAAC,YAAoB;QAC9B,MAAM,MAAM,GAAsB,IAAI,CAAC,aAAa,CAAC,IAAA,oCAAgB,EAAC,YAAY,CAAC,CAAC,CAAC;QAErF,OAAO,MAAM,CAAC,MAAM,CAAC;IACtB,CAAC;IAEO,aAAa,CAAC,MAAmB;;QACxC,MAAM,MAAM,GAAsB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAEvF,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,MAAA,MAAM,CAAC,YAAY,mCAAI,EAAE,CAAC,CAAC,CAAC;QAE3D,OAAO,MAAM,CAAC;IACf,CAAC;CACD;AApBD,oCAoBC"}
package/engine/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  export * from './actions';
2
2
  export * from './builder';
3
3
  export * from './entities';
4
- export * from './interfaces';
5
4
  export * from './post-processors';
6
5
  export * from './renderer';
7
6
  export * from './ts-doc-formatter';
package/engine/index.js CHANGED
@@ -4,7 +4,6 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./actions"), exports);
5
5
  tslib_1.__exportStar(require("./builder"), exports);
6
6
  tslib_1.__exportStar(require("./entities"), exports);
7
- tslib_1.__exportStar(require("./interfaces"), exports);
8
7
  tslib_1.__exportStar(require("./post-processors"), exports);
9
8
  tslib_1.__exportStar(require("./renderer"), exports);
10
9
  tslib_1.__exportStar(require("./ts-doc-formatter"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/builder/engine/index.ts"],"names":[],"mappings":";;;AAAA,oDAA0B;AAC1B,oDAA0B;AAC1B,qDAA2B;AAC3B,uDAA6B;AAC7B,4DAAkC;AAClC,qDAA2B;AAC3B,6DAAmC;AACnC,sDAA4B;AAC5B,oDAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/builder/engine/index.ts"],"names":[],"mappings":";;;AAAA,oDAA0B;AAC1B,oDAA0B;AAC1B,qDAA2B;AAC3B,4DAAkC;AAClC,qDAA2B;AAC3B,6DAAmC;AACnC,sDAA4B;AAC5B,oDAA0B"}
@@ -27,8 +27,8 @@ function createProject(options) {
27
27
  ...options === null || options === void 0 ? void 0 : options.compilerOptions,
28
28
  },
29
29
  skipAddingFilesFromTsConfig: true,
30
- skipFileDependencyResolution: true,
31
- skipLoadingLibFiles: true,
30
+ skipFileDependencyResolution: false,
31
+ skipLoadingLibFiles: false,
32
32
  });
33
33
  }
34
34
  exports.createProject = createProject;
@@ -1 +1 @@
1
- {"version":3,"file":"create-project.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/typescript/create-project.ts"],"names":[],"mappings":";;;;AAAA,mDAA6B;AAC7B,uCAAmF;AAEnF,sDAAkD;AAElD;;;;;GAKG;AACH,SAAgB,aAAa,CAAC,OAAwB;IACrD,OAAO,IAAI,kBAAO,CAAC;QAClB,GAAG,OAAO;QACV,eAAe,EAAE;YAChB,MAAM,EAAE,qBAAU,CAAC,QAAQ;YAC3B,SAAS,EAAE,KAAK;YAChB,WAAW,EAAE,IAAI;YACjB,WAAW,EAAE,KAAK;YAClB,YAAY,EAAE,IAAI;YAClB,eAAe,EAAE,IAAI,CAAC,IAAI,CAAC,sBAAU,EAAE,uBAAuB,CAAC;YAC/D,gBAAgB,EAAE,+BAAoB,CAAC,MAAM;YAC7C,eAAe,EAAE,IAAI;YACrB,KAAK,EAAE,EAAE;YACT,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe;SAC3B;QACD,2BAA2B,EAAE,IAAI;QACjC,4BAA4B,EAAE,IAAI;QAClC,mBAAmB,EAAE,IAAI;KACzB,CAAC,CAAC;AACJ,CAAC;AAnBD,sCAmBC"}
1
+ {"version":3,"file":"create-project.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/typescript/create-project.ts"],"names":[],"mappings":";;;;AAAA,mDAA6B;AAC7B,uCAAmF;AAEnF,sDAAkD;AAElD;;;;;GAKG;AACH,SAAgB,aAAa,CAAC,OAAwB;IACrD,OAAO,IAAI,kBAAO,CAAC;QAClB,GAAG,OAAO;QACV,eAAe,EAAE;YAChB,MAAM,EAAE,qBAAU,CAAC,QAAQ;YAC3B,SAAS,EAAE,KAAK;YAChB,WAAW,EAAE,IAAI;YACjB,WAAW,EAAE,KAAK;YAClB,YAAY,EAAE,IAAI;YAClB,eAAe,EAAE,IAAI,CAAC,IAAI,CAAC,sBAAU,EAAE,uBAAuB,CAAC;YAC/D,gBAAgB,EAAE,+BAAoB,CAAC,MAAM;YAC7C,eAAe,EAAE,IAAI;YACrB,KAAK,EAAE,EAAE;YACT,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe;SAC3B;QACD,2BAA2B,EAAE,IAAI;QACjC,4BAA4B,EAAE,KAAK;QACnC,mBAAmB,EAAE,KAAK;KAC1B,CAAC,CAAC;AACJ,CAAC;AAnBD,sCAmBC"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@ng-doc/builder",
3
- "version": "15.3.1",
3
+ "version": "15.4.0",
4
4
  "type": "commonjs",
5
5
  "builders": "./builders.json",
6
6
  "schematics": "./schematics/collection.json",
7
7
  "dependencies": {
8
- "@ng-doc/core": "15.3.1",
8
+ "@ng-doc/core": "15.4.0",
9
9
  "@angular-devkit/architect": ">=0.1500.0",
10
10
  "chokidar": "^3.5.3",
11
11
  "minimatch": "^5.1.0",
@@ -1,7 +0,0 @@
1
- /**
2
- * Possible options for `demo` action
3
- */
4
- export interface NgDocDemoActionOptions {
5
- /** Display demo in the container (true by default) */
6
- container?: boolean;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=demo-options.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"demo-options.js","sourceRoot":"","sources":["../../../../../../libs/builder/engine/interfaces/actions/demo-options.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export * from './demo-options';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./demo-options"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/builder/engine/interfaces/actions/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B"}
@@ -1,5 +0,0 @@
1
- import { NgDocEntity } from '../entities/abstractions/entity';
2
- export interface NgDocEntityOutput {
3
- type: 'insert' | 'remove' | 'empty';
4
- entities: NgDocEntity[];
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=entity-output.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity-output.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/interfaces/entity-output.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export * from './actions';
2
- export * from './entity-output';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./actions"), exports);
5
- tslib_1.__exportStar(require("./entity-output"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/interfaces/index.ts"],"names":[],"mappings":";;;AAAA,oDAA0B;AAC1B,0DAAgC"}