@ng-doc/builder 20.0.0-beta.2 → 20.0.1
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/engine/builders/helpers/create-import-path.js.map +1 -1
- package/engine/builders/helpers/get-entry-relative-path.js.map +1 -1
- package/engine/core/operators/distinct-pending.js.map +1 -1
- package/engine/core/operators/when-builders-done.js.map +1 -1
- package/helpers/import-fresh-esm.js.map +1 -1
- package/helpers/typescript/property/get-property-assignment.js.map +1 -1
- package/package.json +3 -3
- package/templates/routes.ts.nunj +6 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-import-path.js","sourceRoot":"","sources":["../../../../../../libs/builder/engine/builders/helpers/create-import-path.ts"],"names":[],"mappings":";;AAUA,4CAKC;;AAfD,wDAAwB;AAExB,8CAAyC;AAEzC;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,UAAkB,EAAE,eAAuB;
|
|
1
|
+
{"version":3,"file":"create-import-path.js","sourceRoot":"","sources":["../../../../../../libs/builder/engine/builders/helpers/create-import-path.ts"],"names":[],"mappings":";;AAUA,4CAKC;;AAfD,wDAAwB;AAExB,8CAAyC;AAEzC;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,UAAkB,EAAE,eAAuB;IAC3E,wFAAwF;IACxF,kIAAkI;IAClI,mDAAmD;IACnD,OAAO,IAAA,eAAK,EAAC,cAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;AAC/E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-entry-relative-path.js","sourceRoot":"","sources":["../../../../../../libs/builder/engine/builders/helpers/get-entry-relative-path.ts"],"names":[],"mappings":";;AAKA,oDAQC;AAbD;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,SAAmB,EAAE,SAAiB;
|
|
1
|
+
{"version":3,"file":"get-entry-relative-path.js","sourceRoot":"","sources":["../../../../../../libs/builder/engine/builders/helpers/get-entry-relative-path.ts"],"names":[],"mappings":";;AAKA,oDAQC;AAbD;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,SAAmB,EAAE,SAAiB;IAC1E,MAAM,QAAQ,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC;IAEtE,IAAI,CAAC,QAAQ,EAAE,CAAC;QACf,MAAM,IAAI,KAAK,CAAC,eAAe,SAAS,8BAA8B,CAAC,CAAC;IACzE,CAAC;IAED,OAAO,QAAQ,CAAC;AACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distinct-pending.js","sourceRoot":"","sources":["../../../../../../libs/builder/engine/core/operators/distinct-pending.ts"],"names":[],"mappings":";;AAOA,0CAGC;AAVD,+BAA8D;AAE9D,oCAA0D;AAE1D;;GAEG;AACH,SAAgB,eAAe;
|
|
1
|
+
{"version":3,"file":"distinct-pending.js","sourceRoot":"","sources":["../../../../../../libs/builder/engine/core/operators/distinct-pending.ts"],"names":[],"mappings":";;AAOA,0CAGC;AAVD,+BAA8D;AAE9D,oCAA0D;AAE1D;;GAEG;AACH,SAAgB,eAAe;IAC9B,OAAO,CAAC,MAAM,EAAE,EAAE,CACjB,MAAM,CAAC,IAAI,CAAC,IAAA,2BAAoB,EAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK,IAAI,IAAA,wBAAgB,EAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"when-builders-done.js","sourceRoot":"","sources":["../../../../../../libs/builder/engine/core/operators/when-builders-done.ts"],"names":[],"mappings":";;AAUA,4CASC;AAnBD,+BAAqD;AAErD,oCAAqD;AAErD;;;;;GAKG;AACH,SAAgB,gBAAgB;
|
|
1
|
+
{"version":3,"file":"when-builders-done.js","sourceRoot":"","sources":["../../../../../../libs/builder/engine/core/operators/when-builders-done.ts"],"names":[],"mappings":";;AAUA,4CASC;AAnBD,+BAAqD;AAErD,oCAAqD;AAErD;;;;;GAKG;AACH,SAAgB,gBAAgB;IAC/B,OAAO,CAAC,MAAM,EAAE,EAAE;QACjB,OAAO,MAAM,CAAC,IAAI;QACjB,uCAAuC;QACvC,IAAA,aAAM,EAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,YAAY,mBAAW,CAAC,CAAC;QACzE,wCAAwC;QACxC,IAAA,UAAG,EAAC,CAAC,MAAM,EAAE,EAAE,CAAE,MAAgC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAC/E,CAAC;IACH,CAAC,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-fresh-esm.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/import-fresh-esm.ts"],"names":[],"mappings":";;AAaA,wCAcC;;AA3BD,+CAAyB;AACzB,mDAA6B;AAE7B,6CAAyC;AACzC,mCAAgC;AAEhC;;;;;;GAMG;AACI,KAAK,UAAU,cAAc,CAAI,UAAkB;
|
|
1
|
+
{"version":3,"file":"import-fresh-esm.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/import-fresh-esm.ts"],"names":[],"mappings":";;AAaA,wCAcC;;AA3BD,+CAAyB;AACzB,mDAA6B;AAE7B,6CAAyC;AACzC,mCAAgC;AAEhC;;;;;;GAMG;AACI,KAAK,UAAU,cAAc,CAAI,UAAkB;IACzD,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC1C,MAAM,WAAW,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACjE,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACnC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,KAAK,GAAG,GAAG,CAAC,CAAC;IACzC,MAAM,WAAW,GAAG,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,GAAG,EAAE,CAAC;IAE3E,MAAM,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAEtD,MAAM,MAAM,GAAG,MAAM,IAAA,sBAAS,EAAI,IAAA,aAAK,EAAC,WAAW,CAAC,CAAC,CAAC;IAEtD,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAErC,OAAO,MAAM,CAAC;AACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-property-assignment.js","sourceRoot":"","sources":["../../../../../../libs/builder/helpers/typescript/property/get-property-assignment.ts"],"names":[],"mappings":";;AAOA,sDAIC;AAXD,uCAA0D;AAE1D;;;;GAIG;AACH,SAAgB,qBAAqB,CAAC,wBAAmD;
|
|
1
|
+
{"version":3,"file":"get-property-assignment.js","sourceRoot":"","sources":["../../../../../../libs/builder/helpers/typescript/property/get-property-assignment.ts"],"names":[],"mappings":";;AAOA,sDAIC;AAXD,uCAA0D;AAE1D;;;;GAIG;AACH,SAAgB,qBAAqB,CAAC,wBAAmD;IACxF,OAAO,eAAI,CAAC,oBAAoB,CAAC,wBAAwB,CAAC;QACzD,CAAC,CAAC,wBAAwB,EAAE,cAAc,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;QAC7D,CAAC,CAAC,EAAE,CAAC;AACP,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-doc/builder",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.1",
|
|
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": "20.0.
|
|
15
|
-
"@ng-doc/utils": "20.0.
|
|
14
|
+
"@ng-doc/core": "20.0.1",
|
|
15
|
+
"@ng-doc/utils": "20.0.1",
|
|
16
16
|
"@angular-devkit/architect": ">=0.2000.0 < 0.2100.0",
|
|
17
17
|
"@angular-devkit/build-angular": ">=20.0.0 < 21.0.0",
|
|
18
18
|
"minimatch": "9.0.1",
|
package/templates/routes.ts.nunj
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import {Routes} from '@angular/router';
|
|
3
3
|
{%- macro categoryImport(entry) -%}
|
|
4
|
-
{%- if entry.isCategory %}
|
|
5
|
-
import {{ entry.id }} from '{{ curDir | createImportPath(entry.path) }}';
|
|
4
|
+
{%- if entry.item.isCategory %}
|
|
5
|
+
import {{ entry.item.id }} from '{{ curDir | createImportPath(entry.item.path) }}';
|
|
6
6
|
{%- endif -%}
|
|
7
|
+
{%- for child in entry.children -%}
|
|
8
|
+
{{ categoryImport(child) }}
|
|
9
|
+
{%- endfor -%}
|
|
7
10
|
{%- endmacro -%}
|
|
8
11
|
|
|
9
12
|
{%- for entry in entries -%}
|
|
10
|
-
{{ categoryImport(entry
|
|
13
|
+
{{ categoryImport(entry) }}
|
|
11
14
|
{%- endfor %}
|
|
12
15
|
|
|
13
16
|
export const NG_DOC_ROUTING: Routes = [
|