@o3r/core 11.1.0-prerelease.5 → 11.1.0-prerelease.51
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/core/metadata/component.decorator.d.ts.map +1 -1
- package/messages/message.helpers.d.ts +4 -4
- package/messages/message.helpers.d.ts.map +1 -1
- package/package.json +24 -24
- package/schematics/context-to-component/index.js +2 -2
- package/schematics/ng-add/updates-for-v8/cms-adapters/update-builders-names.js +1 -2
- package/schematics/ng-add/updates-for-v8/generators/update-generators-names.js +1 -2
- package/schematics/ng-add/utils/linter/index.d.ts.map +1 -1
- package/schematics/page/index.d.ts.map +1 -1
- package/schematics/page/index.js +23 -1
- package/schematics/page/schema.d.ts +1 -1
- package/schematics/page/schema.d.ts.map +1 -1
- package/schematics/page/schema.json +2 -5
- package/schematics/rule-factories/additional-modules/index.js +1 -2
- package/schematics/rule-factories/component/common.d.ts.map +1 -1
- package/schematics/rule-factories/component/common.js +0 -3
- package/schematics/rule-factories/component/configuration.d.ts +1 -1
- package/schematics/rule-factories/component/configuration.d.ts.map +1 -1
- package/schematics/rule-factories/component/context.d.ts +1 -1
- package/schematics/rule-factories/component/context.d.ts.map +1 -1
- package/schematics/rule-factories/component/design-token.d.ts +1 -1
- package/schematics/rule-factories/component/design-token.d.ts.map +1 -1
- package/schematics/rule-factories/component/fixture.d.ts +1 -1
- package/schematics/rule-factories/component/fixture.d.ts.map +1 -1
- package/schematics/rule-factories/component/localization.d.ts +1 -1
- package/schematics/rule-factories/component/localization.d.ts.map +1 -1
- package/schematics/rule-factories/component/rules-engine.d.ts +1 -1
- package/schematics/rule-factories/component/rules-engine.d.ts.map +1 -1
- package/schematics/rule-factories/component/theming.d.ts +1 -1
- package/schematics/rule-factories/component/theming.d.ts.map +1 -1
- package/schematics/rule-factories/customization-environment/index.js +1 -2
- package/schematics/rule-factories/o3r-basic-updates/index.js +1 -2
- package/schematics/rule-factories/otter-environment/index.d.ts.map +1 -1
- package/schematics/rule-factories/otter-environment/index.js +4 -12
- package/schematics/rule-factories/store/index.js +1 -2
- package/schematics/shared/presets/all.preset.js +1 -2
- package/schematics/shared/presets/basic.preset.js +1 -2
- package/schematics/shared/presets/cms.preset.js +1 -2
- package/schematics/shared/presets/external.preset.js +1 -2
- package/schematics/shared/presets/helpers.js +1 -2
- package/store/async/async.props.d.ts.map +1 -1
- package/store/async/async.serializer.d.ts +1 -1
- package/store/async/async.serializer.d.ts.map +1 -1
- package/utils/rendering/rendering.helpers.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.decorator.d.ts","sourceRoot":"","sources":["../../../src/core/metadata/component.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAE/C,wBAAwB;AACxB,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,kBAAkB,GAAG,WAAW,CAAC;AAEhF;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,wBAAwB;IACxB,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,2BAA2B;IACrE,uBAAuB;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uBAAuB;IACvB,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,qBAAqB;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,8BAA8B,mBAAmB,CAAC;AAE/D;;;;GAIG;AAEH,wBAAgB,YAAY,CAAC,IAAI,EAAE,2BAA2B,
|
|
1
|
+
{"version":3,"file":"component.decorator.d.ts","sourceRoot":"","sources":["../../../src/core/metadata/component.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAE/C,wBAAwB;AACxB,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,kBAAkB,GAAG,WAAW,CAAC;AAEhF;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,wBAAwB;IACxB,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,2BAA2B;IACrE,uBAAuB;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uBAAuB;IACvB,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,qBAAqB;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,8BAA8B,mBAAmB,CAAC;AAE/D;;;;GAIG;AAEH,wBAAgB,YAAY,CAAC,IAAI,EAAE,2BAA2B,IACpD,CAAC,SAAS,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,eAAe,CAAC,OAKjE"}
|
|
@@ -4,21 +4,21 @@ import { ContentMessageData, FilterMessageToApplication, OtterMessage, OtterMess
|
|
|
4
4
|
* Determine if a message should be handle by the application
|
|
5
5
|
* @param message Message to analyze
|
|
6
6
|
*/
|
|
7
|
-
export declare const isToAppOtterMessage: <T extends OtterMessage
|
|
8
|
-
to:
|
|
7
|
+
export declare const isToAppOtterMessage: <T extends OtterMessage>(message?: T) => message is FilterMessageToApplication<T & {
|
|
8
|
+
to: "app";
|
|
9
9
|
}>;
|
|
10
10
|
/**
|
|
11
11
|
* Determine if a message is emitted by an Otter tool
|
|
12
12
|
* @param message Message to analyze
|
|
13
13
|
*/
|
|
14
|
-
export declare const isOtterMessage: <T extends OtterMessageContent
|
|
14
|
+
export declare const isOtterMessage: <T extends OtterMessageContent>(message: any) => message is OtterMessage<T>;
|
|
15
15
|
/**
|
|
16
16
|
* Send an Otter Message
|
|
17
17
|
* @param dataType Type of the message
|
|
18
18
|
* @param content content of the message
|
|
19
19
|
* @param preStringify determine if the message should JSON.stringify before being send (will use the default mechanism otherwise)
|
|
20
20
|
*/
|
|
21
|
-
export declare const sendOtterMessage: <T extends OtterMessageContent
|
|
21
|
+
export declare const sendOtterMessage: <T extends OtterMessageContent>(dataType: T["dataType"], content: ContentMessageData<T>, preStringify?: boolean) => void;
|
|
22
22
|
export declare function filterMessageContent<T extends Event | MessageEvent>(): (source$: Observable<T>) => Observable<OtterMessageContent<string>>;
|
|
23
23
|
export declare function filterMessageContent<T extends Event | MessageEvent, S extends OtterMessageContent>(predicate: (message: any) => message is S): (source$: Observable<T>) => Observable<S>;
|
|
24
24
|
//# sourceMappingURL=message.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.helpers.d.ts","sourceRoot":"","sources":["../../src/messages/message.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,UAAU,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,EAA4B,kBAAkB,EAAE,0BAA0B,EAAE,YAAY,EAAE,mBAAmB,EAAoB,MAAM,sBAAsB,CAAC;AAErK;;;GAGG;AACH,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"message.helpers.d.ts","sourceRoot":"","sources":["../../src/messages/message.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,UAAU,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,EAA4B,kBAAkB,EAAE,0BAA0B,EAAE,YAAY,EAAE,mBAAmB,EAAoB,MAAM,sBAAsB,CAAC;AAErK;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,YAAY,YAAY,CAAC,KAAG,OAAO,IAAI,0BAA0B,CAAC,CAAC,GAAG;IAAC,EAAE,EAAE,KAAK,CAAA;CAAC,CAE9H,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,mBAAmB,WAAW,GAAG,KAAG,OAAO,IAAI,YAAY,CAAC,CAAC,CAErG,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,mBAAmB,YAAY,CAAC,CAAC,UAAU,CAAC,WAAW,kBAAkB,CAAC,CAAC,CAAC,iCAStH,CAAC;AAGF,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,KAAK,GAAG,YAAY,KAAK,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC;AAC5I,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,KAAK,GAAG,YAAY,EAAE,CAAC,SAAS,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/core",
|
|
3
|
-
"version": "11.1.0-prerelease.
|
|
3
|
+
"version": "11.1.0-prerelease.51",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,25 +12,25 @@
|
|
|
12
12
|
"default": "./src/public_api.js",
|
|
13
13
|
"types": "./src/public_api.d.ts",
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@angular-devkit/architect": "~0.
|
|
16
|
-
"@angular-devkit/core": "~18.
|
|
17
|
-
"@angular-devkit/schematics": "~18.
|
|
18
|
-
"@angular/cli": "~18.
|
|
19
|
-
"@angular/common": "~18.
|
|
20
|
-
"@angular/compiler-cli": "~18.
|
|
21
|
-
"@angular/core": "~18.
|
|
22
|
-
"@angular/forms": "~18.
|
|
23
|
-
"@angular/platform-browser-dynamic": "~18.
|
|
24
|
-
"@angular/router": "~18.
|
|
15
|
+
"@angular-devkit/architect": "~0.1801.0",
|
|
16
|
+
"@angular-devkit/core": "~18.1.0",
|
|
17
|
+
"@angular-devkit/schematics": "~18.1.0",
|
|
18
|
+
"@angular/cli": "~18.1.0",
|
|
19
|
+
"@angular/common": "~18.1.0",
|
|
20
|
+
"@angular/compiler-cli": "~18.1.0",
|
|
21
|
+
"@angular/core": "~18.1.0",
|
|
22
|
+
"@angular/forms": "~18.1.0",
|
|
23
|
+
"@angular/platform-browser-dynamic": "~18.1.0",
|
|
24
|
+
"@angular/router": "~18.1.0",
|
|
25
25
|
"@ngrx/entity": "~18.0.0",
|
|
26
26
|
"@ngrx/store": "~18.0.0",
|
|
27
|
-
"@nx/angular": "~19.
|
|
28
|
-
"@o3r/telemetry": "^11.1.0-prerelease.
|
|
29
|
-
"@schematics/angular": "~18.
|
|
27
|
+
"@nx/angular": "~19.5.0",
|
|
28
|
+
"@o3r/telemetry": "^11.1.0-prerelease.51",
|
|
29
|
+
"@schematics/angular": "~18.1.0",
|
|
30
30
|
"chokidar": "^3.5.2",
|
|
31
31
|
"globby": "^11.1.0",
|
|
32
32
|
"rxjs": "^7.8.1",
|
|
33
|
-
"typescript": "~5.4
|
|
33
|
+
"typescript": "~5.5.4"
|
|
34
34
|
},
|
|
35
35
|
"peerDependenciesMeta": {
|
|
36
36
|
"@angular/cli": {
|
|
@@ -59,33 +59,33 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@o3r/schematics": "^11.1.0-prerelease.
|
|
62
|
+
"@o3r/schematics": "^11.1.0-prerelease.51",
|
|
63
63
|
"tslib": "^2.6.2",
|
|
64
64
|
"uuid": "^10.0.0"
|
|
65
65
|
},
|
|
66
66
|
"generatorDependencies": {
|
|
67
|
-
"@angular-eslint/eslint-plugin": "~18.
|
|
68
|
-
"@angular/material": "~18.
|
|
67
|
+
"@angular-eslint/eslint-plugin": "~18.1.0",
|
|
68
|
+
"@angular/material": "~18.1.0",
|
|
69
69
|
"@ngrx/router-store": "~18.0.0",
|
|
70
70
|
"@ngrx/effects": "~18.0.0",
|
|
71
71
|
"@ngrx/store-devtools": "~18.0.0",
|
|
72
|
-
"@o3r/store-sync": "^11.1.0-prerelease.
|
|
72
|
+
"@o3r/store-sync": "^11.1.0-prerelease.51",
|
|
73
73
|
"@types/jest": "~29.5.2",
|
|
74
|
-
"nx": "~19.
|
|
74
|
+
"nx": "~19.5.0",
|
|
75
75
|
"@typescript-eslint/parser": "^7.14.1",
|
|
76
|
-
"@stylistic/eslint-plugin-ts": "
|
|
76
|
+
"@stylistic/eslint-plugin-ts": "~2.4.0",
|
|
77
77
|
"cpy-cli": "^5.0.0",
|
|
78
78
|
"eslint": "^8.57.0",
|
|
79
|
-
"@nx/eslint-plugin": "~19.
|
|
79
|
+
"@nx/eslint-plugin": "~19.5.0",
|
|
80
80
|
"jsonc-eslint-parser": "~2.4.0",
|
|
81
81
|
"eslint-import-resolver-node": "^0.3.9",
|
|
82
82
|
"eslint-plugin-jest": "~28.6.0",
|
|
83
|
-
"eslint-plugin-jsdoc": "~48.
|
|
83
|
+
"eslint-plugin-jsdoc": "~48.10.0",
|
|
84
84
|
"eslint-plugin-prefer-arrow": "~1.2.3",
|
|
85
85
|
"eslint-plugin-unicorn": "^54.0.0",
|
|
86
86
|
"jest": "~29.7.0",
|
|
87
87
|
"jest-junit": "~16.0.0",
|
|
88
|
-
"jest-preset-angular": "~14.
|
|
88
|
+
"jest-preset-angular": "~14.2.0",
|
|
89
89
|
"zone.js": "~0.14.2"
|
|
90
90
|
},
|
|
91
91
|
"engines": {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ngAddContext =
|
|
3
|
+
exports.ngAddContext = void 0;
|
|
4
|
+
exports.ngAddContextFn = ngAddContextFn;
|
|
4
5
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
6
|
const schematics_2 = require("@o3r/schematics");
|
|
6
7
|
const node_path_1 = require("node:path");
|
|
@@ -77,6 +78,5 @@ function ngAddContextFn(options) {
|
|
|
77
78
|
}
|
|
78
79
|
};
|
|
79
80
|
}
|
|
80
|
-
exports.ngAddContextFn = ngAddContextFn;
|
|
81
81
|
exports.ngAddContext = (0, schematics_2.createSchematicWithMetricsIfInstalled)(ngAddContextFn);
|
|
82
82
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateBuildersNames =
|
|
3
|
+
exports.updateBuildersNames = updateBuildersNames;
|
|
4
4
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
5
5
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
6
6
|
const schematics_2 = require("@o3r/schematics");
|
|
@@ -52,5 +52,4 @@ function updateBuildersNames() {
|
|
|
52
52
|
updateAngularJson
|
|
53
53
|
]);
|
|
54
54
|
}
|
|
55
|
-
exports.updateBuildersNames = updateBuildersNames;
|
|
56
55
|
//# sourceMappingURL=update-builders-names.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateOtterGeneratorsNames =
|
|
3
|
+
exports.updateOtterGeneratorsNames = updateOtterGeneratorsNames;
|
|
4
4
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
5
5
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
6
6
|
const schematics_2 = require("@o3r/schematics");
|
|
@@ -67,5 +67,4 @@ function updateOtterGeneratorsNames() {
|
|
|
67
67
|
updateAngularJson
|
|
68
68
|
]);
|
|
69
69
|
}
|
|
70
|
-
exports.updateOtterGeneratorsNames = updateOtterGeneratorsNames;
|
|
71
70
|
//# sourceMappingURL=update-generators-names.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../schematics/ng-add/utils/linter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAG9D;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../schematics/ng-add/utils/linter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAG9D;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B,YAAmB,gBAAgB,KAAG,OAAO,CAAC,OAAO,CAe7F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/page/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA8F,IAAI,EAAoD,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/page/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA8F,IAAI,EAAoD,MAAM,4BAA4B,CAAC;AAehM,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AA6O1D;;;GAGG;AACH,eAAO,MAAM,cAAc,mDAA0D,CAAC"}
|
package/schematics/page/index.js
CHANGED
|
@@ -134,7 +134,29 @@ function ngGeneratePageFn(options) {
|
|
|
134
134
|
import: `./${indexFilePath.replace(/[\\/]/g, '/')}`,
|
|
135
135
|
module: `${pageName}${options.standalone ? 'Component' : 'Module'}`
|
|
136
136
|
};
|
|
137
|
-
|
|
137
|
+
if (options.appRoutingModulePath) {
|
|
138
|
+
return (0, schematics_2.insertRoute)(tree, context, options.appRoutingModulePath, route, options.standalone);
|
|
139
|
+
}
|
|
140
|
+
const appModuleFilePath = (0, schematics_2.getAppModuleFilePath)(tree, context, options.projectName);
|
|
141
|
+
if (appModuleFilePath) {
|
|
142
|
+
const text = tree.readText(appModuleFilePath);
|
|
143
|
+
const match = text.match(/(provideRouter|RouterModule\.forRoot)\((\s*)?(?<routeVarName>[^,\s)]*)/);
|
|
144
|
+
const routeVariableName = match?.groups?.routeVarName;
|
|
145
|
+
if (routeVariableName) {
|
|
146
|
+
const sourceFile = ts.createSourceFile(appModuleFilePath, text, ts.ScriptTarget.ES2015, true);
|
|
147
|
+
const importStatement = sourceFile.statements.find((statement) => ts.isImportDeclaration(statement)
|
|
148
|
+
&& !!statement?.moduleSpecifier
|
|
149
|
+
&& ts.isStringLiteral(statement.moduleSpecifier)
|
|
150
|
+
&& !!statement.importClause?.namedBindings
|
|
151
|
+
&& ts.isNamedImports(statement.importClause.namedBindings)
|
|
152
|
+
&& statement.importClause.namedBindings.elements.some((element) => element.name.escapedText === routeVariableName));
|
|
153
|
+
const importRouteVariablePath = importStatement?.moduleSpecifier?.text;
|
|
154
|
+
// If importRouteVariablePath is undefined it is because the variable is defined in this file
|
|
155
|
+
const appRoutingModulePath = importRouteVariablePath ? path.join(path.dirname(appModuleFilePath), `${importRouteVariablePath}.ts`) : appModuleFilePath;
|
|
156
|
+
return (0, schematics_2.insertRoute)(tree, context, appRoutingModulePath, route, options.standalone);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
throw new schematics_2.O3rCliError('No routes definition found. Please use the option `appRoutingModulePath` to specify the path of the routes definition.');
|
|
138
160
|
};
|
|
139
161
|
return (0, schematics_1.chain)([
|
|
140
162
|
isApplication,
|
|
@@ -7,7 +7,7 @@ export interface NgGeneratePageSchematicsSchema extends SchematicOptionObject {
|
|
|
7
7
|
/** Page scope */
|
|
8
8
|
scope: string;
|
|
9
9
|
/** Application routing module path */
|
|
10
|
-
appRoutingModulePath
|
|
10
|
+
appRoutingModulePath?: string | undefined;
|
|
11
11
|
/** Selector prefix */
|
|
12
12
|
prefix?: string | undefined;
|
|
13
13
|
/** Directory containing the pages */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../schematics/page/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE7D,MAAM,WAAW,8BAA+B,SAAQ,qBAAqB;IAC3E,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEjC,gBAAgB;IAChB,IAAI,EAAE,MAAM,CAAC;IAEb,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IAEd,sCAAsC;IACtC,oBAAoB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../schematics/page/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE7D,MAAM,WAAW,8BAA+B,SAAQ,qBAAqB;IAC3E,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEjC,gBAAgB;IAChB,IAAI,EAAE,MAAM,CAAC;IAEb,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IAEd,sCAAsC;IACtC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1C,sBAAsB;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE5B,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B,8BAA8B;IAC9B,UAAU,EAAE,OAAO,CAAC;IAEpB,kEAAkE;IAClE,eAAe,EAAE,OAAO,CAAC;IAEzB,2DAA2D;IAC3D,cAAc,EAAE,OAAO,CAAC;IAExB,oDAAoD;IACpD,eAAe,EAAE,OAAO,CAAC;IAEzB,oDAAoD;IACpD,UAAU,EAAE,OAAO,CAAC;IAEpB,uCAAuC;IACvC,eAAe,EAAE,OAAO,CAAC;IAEzB,4BAA4B;IAC5B,aAAa,EAAE,OAAO,CAAC;CACxB"}
|
|
@@ -28,9 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"appRoutingModulePath": {
|
|
30
30
|
"type": "string",
|
|
31
|
-
"description": "Application routing module path"
|
|
32
|
-
"default": "./src/app/app-routing.module.ts",
|
|
33
|
-
"x-prompt": "Application routing module path?"
|
|
31
|
+
"description": "Application routing module path"
|
|
34
32
|
},
|
|
35
33
|
"prefix": {
|
|
36
34
|
"type": "string",
|
|
@@ -74,7 +72,6 @@
|
|
|
74
72
|
},
|
|
75
73
|
"additionalProperties": true,
|
|
76
74
|
"required": [
|
|
77
|
-
"name"
|
|
78
|
-
"appRoutingModulePath"
|
|
75
|
+
"name"
|
|
79
76
|
]
|
|
80
77
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateAdditionalModules =
|
|
3
|
+
exports.updateAdditionalModules = updateAdditionalModules;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
const schematics_2 = require("@o3r/schematics");
|
|
6
6
|
const ts = require("typescript");
|
|
@@ -160,5 +160,4 @@ function updateAdditionalModules(options, dependenciesSetupConfig) {
|
|
|
160
160
|
registerProdAdditionalModules
|
|
161
161
|
]);
|
|
162
162
|
}
|
|
163
|
-
exports.updateAdditionalModules = updateAdditionalModules;
|
|
164
163
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,IAAI,EAAqC,MAAM,4BAA4B,CAAC;AAKrH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,kDAAkD,SACvD,MAAM,cACA,MAAM,oBACA,OAAO,GAAG,IAAI,GAAG,SAAS,gBAC9B,MAAM,0BACI,MAAM,EAAE,eACnB,MAAM,iBACJ,MAAM,qBACH,GAAG,KACpB,
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,IAAI,EAAqC,MAAM,4BAA4B,CAAC;AAKrH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,kDAAkD,SACvD,MAAM,cACA,MAAM,oBACA,OAAO,GAAG,IAAI,GAAG,SAAS,gBAC9B,MAAM,0BACI,MAAM,EAAE,eACnB,MAAM,iBACJ,MAAM,qBACH,GAAG,KACpB,IA6DF,CAAC"}
|
|
@@ -36,17 +36,14 @@ const askQuestionsToGetRulesOrThrowIfPackageNotAvailable = (path, optionName, de
|
|
|
36
36
|
if (applyRule) {
|
|
37
37
|
alwaysApplyRule = await (0, prompt_1.askQuestion)(`Generate future components with ${optionName} by default?`, [
|
|
38
38
|
{
|
|
39
|
-
type: 'choice',
|
|
40
39
|
name: 'Yes, always',
|
|
41
40
|
value: 'yes'
|
|
42
41
|
},
|
|
43
42
|
{
|
|
44
|
-
type: 'choice',
|
|
45
43
|
name: 'Ask me again next time',
|
|
46
44
|
value: 'ask-again'
|
|
47
45
|
},
|
|
48
46
|
{
|
|
49
|
-
type: 'choice',
|
|
50
47
|
name: `No, don't apply ${optionName} by default`,
|
|
51
48
|
value: 'no'
|
|
52
49
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Rule } from '@angular-devkit/schematics';
|
|
2
2
|
import type { NgGenerateComponentSchematicsSchema } from '../../component/schema';
|
|
3
|
-
export declare const getAddConfigurationRules: (componentPath: string, options: Pick<NgGenerateComponentSchematicsSchema,
|
|
3
|
+
export declare const getAddConfigurationRules: (componentPath: string, options: Pick<NgGenerateComponentSchematicsSchema, "useOtterConfig" | "skipLinter" | "projectName"> & Partial<Pick<NgGenerateComponentSchematicsSchema, "componentStructure">>) => Rule;
|
|
4
4
|
//# sourceMappingURL=configuration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,wBAAwB,kBACpB,MAAM,WACZ,
|
|
1
|
+
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,wBAAwB,kBACpB,MAAM,WACZ,IAAI,CAAC,mCAAmC,EAAE,gBAAgB,GAAG,YAAY,GAAG,aAAa,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,mCAAmC,EAAE,oBAAoB,CAAC,CAAC,KAC7K,IAcF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Rule } from '@angular-devkit/schematics';
|
|
2
2
|
import type { NgGenerateComponentSchematicsSchema } from '../../component/schema';
|
|
3
|
-
export declare const getAddContextRules: (componentPath: string, options: Pick<NgGenerateComponentSchematicsSchema,
|
|
3
|
+
export declare const getAddContextRules: (componentPath: string, options: Pick<NgGenerateComponentSchematicsSchema, "useContext" | "skipLinter">) => Rule;
|
|
4
4
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,kBAAkB,kBACd,MAAM,WACZ,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,kBAAkB,kBACd,MAAM,WACZ,IAAI,CAAC,mCAAmC,EAAE,YAAY,GAAG,YAAY,CAAC,KAC9E,IAYF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Rule } from '@angular-devkit/schematics';
|
|
2
2
|
import type { NgGenerateComponentSchematicsSchema } from '../../component/schema';
|
|
3
|
-
export declare const getAddDesignTokenRules: (designTokenPath: string, stylePath: string, options: Pick<NgGenerateComponentSchematicsSchema,
|
|
3
|
+
export declare const getAddDesignTokenRules: (designTokenPath: string, stylePath: string, options: Pick<NgGenerateComponentSchematicsSchema, "useOtterDesignToken">) => Rule;
|
|
4
4
|
//# sourceMappingURL=design-token.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-token.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/design-token.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,sBAAsB,oBAChB,MAAM,aACZ,MAAM,WACR,
|
|
1
|
+
{"version":3,"file":"design-token.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/design-token.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,sBAAsB,oBAChB,MAAM,aACZ,MAAM,WACR,IAAI,CAAC,mCAAmC,EAAE,qBAAqB,CAAC,KACxE,IAYF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Rule } from '@angular-devkit/schematics';
|
|
2
2
|
import type { NgGenerateComponentSchematicsSchema } from '../../component/schema';
|
|
3
|
-
export declare const getAddFixtureRules: (componentPath: string, options: Pick<NgGenerateComponentSchematicsSchema,
|
|
3
|
+
export declare const getAddFixtureRules: (componentPath: string, options: Pick<NgGenerateComponentSchematicsSchema, "useComponentFixtures" | "skipLinter">, isPage?: boolean) => Rule;
|
|
4
4
|
//# sourceMappingURL=fixture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixture.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/fixture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,kBAAkB,kBACd,MAAM,WACZ,
|
|
1
|
+
{"version":3,"file":"fixture.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/fixture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,kBAAkB,kBACd,MAAM,WACZ,IAAI,CAAC,mCAAmC,EAAE,sBAAsB,GAAG,YAAY,CAAC,uBAExF,IAaF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Rule } from '@angular-devkit/schematics';
|
|
2
2
|
import type { NgGenerateComponentSchematicsSchema } from '../../component/schema';
|
|
3
|
-
export declare const getAddLocalizationRules: (componentPath: string, options: Pick<NgGenerateComponentSchematicsSchema,
|
|
3
|
+
export declare const getAddLocalizationRules: (componentPath: string, options: Pick<NgGenerateComponentSchematicsSchema, "useLocalization" | "skipLinter" | "activateDummy">) => Rule;
|
|
4
4
|
//# sourceMappingURL=localization.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/localization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,uBAAuB,kBACnB,MAAM,WACZ,
|
|
1
|
+
{"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/localization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,uBAAuB,kBACnB,MAAM,WACZ,IAAI,CAAC,mCAAmC,EAAE,iBAAiB,GAAG,YAAY,GAAG,eAAe,CAAC,KACrG,IAaF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Rule } from '@angular-devkit/schematics';
|
|
2
2
|
import type { NgGenerateComponentSchematicsSchema } from '../../component/schema';
|
|
3
|
-
export declare const getAddRulesEngineRules: (componentPath: string, options: Pick<NgGenerateComponentSchematicsSchema,
|
|
3
|
+
export declare const getAddRulesEngineRules: (componentPath: string, options: Pick<NgGenerateComponentSchematicsSchema, "useRulesEngine" | "skipLinter" | "projectName" | "componentStructure">) => Rule;
|
|
4
4
|
//# sourceMappingURL=rules-engine.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules-engine.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/rules-engine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,sBAAsB,kBAClB,MAAM,WACZ,
|
|
1
|
+
{"version":3,"file":"rules-engine.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/rules-engine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,sBAAsB,kBAClB,MAAM,WACZ,IAAI,CAAC,mCAAmC,EAAE,gBAAgB,GAAG,YAAY,GAAG,aAAa,GAAG,oBAAoB,CAAC,KACzH,IAaF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Rule } from '@angular-devkit/schematics';
|
|
2
2
|
import type { NgGenerateComponentSchematicsSchema } from '../../component/schema';
|
|
3
|
-
export declare const getAddThemingRules: (stylePath: string, options: Pick<NgGenerateComponentSchematicsSchema,
|
|
3
|
+
export declare const getAddThemingRules: (stylePath: string, options: Pick<NgGenerateComponentSchematicsSchema, "useOtterTheming">) => Rule;
|
|
4
4
|
//# sourceMappingURL=theming.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theming.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/theming.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,kBAAkB,cAClB,MAAM,WACR,
|
|
1
|
+
{"version":3,"file":"theming.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/theming.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,kBAAkB,cAClB,MAAM,WACR,IAAI,CAAC,mCAAmC,EAAE,iBAAiB,CAAC,KACpE,IAQF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateCustomizationEnvironment =
|
|
3
|
+
exports.updateCustomizationEnvironment = updateCustomizationEnvironment;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
const schematics_2 = require("@o3r/schematics");
|
|
6
6
|
const utility_1 = require("@schematics/angular/utility");
|
|
@@ -95,5 +95,4 @@ function updateCustomizationEnvironment(rootPath, o3rCoreVersion, options, isLib
|
|
|
95
95
|
]);
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
exports.updateCustomizationEnvironment = updateCustomizationEnvironment;
|
|
99
98
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.o3rBasicUpdates =
|
|
3
|
+
exports.o3rBasicUpdates = o3rBasicUpdates;
|
|
4
4
|
const schematics_1 = require("@o3r/schematics");
|
|
5
5
|
/**
|
|
6
6
|
* Package.json updates to include o3r ng update script
|
|
@@ -39,5 +39,4 @@ function o3rBasicUpdates(pName, _o3rCoreVersion, projectType) {
|
|
|
39
39
|
return tree;
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
exports.o3rBasicUpdates = o3rBasicUpdates;
|
|
43
42
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/otter-environment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAA0B,MAAM,4BAA4B,CAAC;AAOjF;;;;;;;;;;GAUG;AACH,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE;IACP,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,EACD,SAAS,EAAE,MAAM,GAChB,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/otter-environment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAA0B,MAAM,4BAA4B,CAAC;AAOjF;;;;;;;;;;GAUG;AACH,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE;IACP,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,EACD,SAAS,EAAE,MAAM,GAChB,IAAI,CAqIN"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateOtterEnvironmentAdapter =
|
|
3
|
+
exports.updateOtterEnvironmentAdapter = updateOtterEnvironmentAdapter;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
const index_1 = require("@schematics/angular/environments/index");
|
|
6
6
|
const ts = require("typescript");
|
|
@@ -43,16 +43,9 @@ function updateOtterEnvironmentAdapter(options, _rootPath) {
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
//
|
|
47
|
-
if (workspaceProject.architect
|
|
48
|
-
workspaceProject.architect.build.
|
|
49
|
-
workspaceProject.architect.build.configurations.production ||= {};
|
|
50
|
-
workspaceProject.architect.build.configurations.production.outputPath ||= (0, node_path_1.join)(workspaceProject.root, 'dist');
|
|
51
|
-
if (workspaceProject.architect.build.configurations.options &&
|
|
52
|
-
workspaceProject.architect.build.configurations.options.outputPath &&
|
|
53
|
-
/^dist([/].+)?/i.test(workspaceProject.architect.build.configurations.options.outputPath)) {
|
|
54
|
-
workspaceProject.architect.build.configurations.options.outputPath ||= (0, node_path_1.join)(workspaceProject.root, 'dist-dev');
|
|
55
|
-
}
|
|
46
|
+
// override angular's dist/webapp output path with apps/webapp/dist
|
|
47
|
+
if (workspaceProject.architect?.build?.options?.outputPath) {
|
|
48
|
+
workspaceProject.architect.build.options.outputPath = (0, node_path_1.join)(workspaceProject.root, 'dist');
|
|
56
49
|
}
|
|
57
50
|
workspace.projects[options.projectName] = workspaceProject;
|
|
58
51
|
}
|
|
@@ -140,5 +133,4 @@ function updateOtterEnvironmentAdapter(options, _rootPath) {
|
|
|
140
133
|
editEnvironmentFiles
|
|
141
134
|
]);
|
|
142
135
|
}
|
|
143
|
-
exports.updateOtterEnvironmentAdapter = updateOtterEnvironmentAdapter;
|
|
144
136
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateStore =
|
|
3
|
+
exports.updateStore = updateStore;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
const schematics_2 = require("@o3r/schematics");
|
|
6
6
|
const utility_1 = require("@schematics/angular/utility");
|
|
@@ -120,5 +120,4 @@ const runtimeChecks: Partial<RuntimeChecks> = {
|
|
|
120
120
|
updatePackageJson
|
|
121
121
|
]);
|
|
122
122
|
}
|
|
123
|
-
exports.updateStore = updateStore;
|
|
124
123
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.allPreset =
|
|
3
|
+
exports.allPreset = allPreset;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
const helpers_1 = require("./helpers");
|
|
6
6
|
const schematics_2 = require("@o3r/schematics");
|
|
@@ -37,5 +37,4 @@ function allPreset(options) {
|
|
|
37
37
|
])
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
exports.allPreset = allPreset;
|
|
41
40
|
//# sourceMappingURL=all.preset.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.basicPreset =
|
|
3
|
+
exports.basicPreset = basicPreset;
|
|
4
4
|
const helpers_1 = require("./helpers");
|
|
5
5
|
/**
|
|
6
6
|
* Default preset with the basic of Otter Framework (no additional modules)
|
|
@@ -10,5 +10,4 @@ function basicPreset() {
|
|
|
10
10
|
rule: (0, helpers_1.defaultPresetRuleFactory)([])
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
exports.basicPreset = basicPreset;
|
|
14
13
|
//# sourceMappingURL=basic.preset.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cmsPreset =
|
|
3
|
+
exports.cmsPreset = cmsPreset;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
const helpers_1 = require("./helpers");
|
|
6
6
|
const schematics_2 = require("@o3r/schematics");
|
|
@@ -28,5 +28,4 @@ function cmsPreset(options) {
|
|
|
28
28
|
])
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
exports.cmsPreset = cmsPreset;
|
|
32
31
|
//# sourceMappingURL=cms.preset.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getExternalPreset =
|
|
3
|
+
exports.getExternalPreset = getExternalPreset;
|
|
4
4
|
const helpers_1 = require("./helpers");
|
|
5
5
|
const schematics_1 = require("@o3r/schematics");
|
|
6
6
|
/**
|
|
@@ -21,5 +21,4 @@ function getExternalPreset(externalPresetLabel, tree, context) {
|
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
exports.getExternalPreset = getExternalPreset;
|
|
25
24
|
//# sourceMappingURL=external.preset.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultPresetRuleFactory =
|
|
3
|
+
exports.defaultPresetRuleFactory = defaultPresetRuleFactory;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
const schematics_2 = require("@o3r/schematics");
|
|
6
6
|
const fs = require("node:fs");
|
|
@@ -40,5 +40,4 @@ function defaultPresetRuleFactory(moduleToInstall, options = {}) {
|
|
|
40
40
|
});
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
exports.defaultPresetRuleFactory = defaultPresetRuleFactory;
|
|
44
43
|
//# sourceMappingURL=helpers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async.props.d.ts","sourceRoot":"","sources":["../../../src/store/async/async.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAIhD;;;GAGG;AAEH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"async.props.d.ts","sourceRoot":"","sources":["../../../src/store/async/async.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAIhD;;;GAGG;AAEH,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,OAAK,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,YAEjE,CAAC"}
|
|
@@ -23,7 +23,7 @@ export declare function asyncEntityWithStatusSerializer<T extends AsyncStoreItem
|
|
|
23
23
|
status: EntityStatus<T['entities']['status']>;
|
|
24
24
|
}>>(state: T): T & {
|
|
25
25
|
entities: import("@ngrx/entity").Dictionary<AsyncStoreItem & {
|
|
26
|
-
status: EntityStatus<T[
|
|
26
|
+
status: EntityStatus<T["entities"]["status"]>;
|
|
27
27
|
}>;
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=async.serializer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async.serializer.d.ts","sourceRoot":"","sources":["../../../src/store/async/async.serializer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElE;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,cAAc,EAAE,KAAK,EAAE,CAAC,KAEjE;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,cAAc,GAAG,WAAW,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,CAAC;;EAOrG;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,cAAc,GAAG,WAAW,CAAC,cAAc,GAAG;IAAE,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAA;CAAE,CAAC,EAAE,KAAK,EAAE,CAAC;;gBAAlD,
|
|
1
|
+
{"version":3,"file":"async.serializer.d.ts","sourceRoot":"","sources":["../../../src/store/async/async.serializer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElE;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,cAAc,EAAE,KAAK,EAAE,CAAC,KAEjE;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,cAAc,GAAG,WAAW,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,CAAC;;EAOrG;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,cAAc,GAAG,WAAW,CAAC,cAAc,GAAG;IAAE,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAA;CAAE,CAAC,EAAE,KAAK,EAAE,CAAC;;gBAAlD,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAC;;EAOtJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rendering.helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/rendering/rendering.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,UAAU,EAAiB,MAAM,MAAM,CAAC;AAUhF;;;;;;;GAOG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,OAAO,SAAI,EAAE,WAAW,SAAI,aAEtC,
|
|
1
|
+
{"version":3,"file":"rendering.helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/rendering/rendering.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,UAAU,EAAiB,MAAM,MAAM,CAAC;AAUhF;;;;;;;GAOG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,OAAO,SAAI,EAAE,WAAW,SAAI,aAEtC,UAAU,CAAC,CAAC,EAAE,CAAC,qBA+BjC"}
|