@o3r/schematics 11.5.0-prerelease.9 → 11.5.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../cli/environment.ts"],"names":[],"mappings":";;AAAA,gDAAmE;AAEnE,OAAO,CAAC,IAAI,CAAC,4BAA4B,IAAA,mCAA2B,GAAE,EAAE,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@o3r/schematics",
|
3
|
-
"version": "11.5.0-
|
3
|
+
"version": "11.5.0-rc.0",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"@angular-devkit/core": "~18.2.0",
|
31
31
|
"@angular-devkit/schematics": "~18.2.0",
|
32
32
|
"@angular/cli": "~18.2.0",
|
33
|
-
"@o3r/telemetry": "^11.5.0-
|
33
|
+
"@o3r/telemetry": "^11.5.0-rc.0",
|
34
34
|
"@schematics/angular": "~18.2.0",
|
35
35
|
"eslint": "^8.57.0",
|
36
36
|
"rxjs": "^7.8.1",
|
@@ -78,16 +78,16 @@
|
|
78
78
|
"@angular/core": "~18.2.0",
|
79
79
|
"@angular/platform-browser": "~18.2.0",
|
80
80
|
"@angular/platform-browser-dynamic": "~18.2.0",
|
81
|
-
"@babel/core": "~7.
|
82
|
-
"@babel/preset-typescript": "~7.
|
81
|
+
"@babel/core": "~7.26.0",
|
82
|
+
"@babel/preset-typescript": "~7.26.0",
|
83
83
|
"@compodoc/compodoc": "^1.1.19",
|
84
84
|
"@nx/eslint": "~19.5.0",
|
85
85
|
"@nx/eslint-plugin": "~19.5.0",
|
86
86
|
"@nx/jest": "~19.5.0",
|
87
87
|
"@nx/js": "~19.5.0",
|
88
|
-
"@o3r/build-helpers": "^11.5.0-
|
89
|
-
"@o3r/eslint-plugin": "^11.5.0-
|
90
|
-
"@o3r/telemetry": "^11.5.0-
|
88
|
+
"@o3r/build-helpers": "^11.5.0-rc.0",
|
89
|
+
"@o3r/eslint-plugin": "^11.5.0-rc.0",
|
90
|
+
"@o3r/telemetry": "^11.5.0-rc.0",
|
91
91
|
"@schematics/angular": "~18.2.0",
|
92
92
|
"@stylistic/eslint-plugin-ts": "~2.4.0",
|
93
93
|
"@types/inquirer": "~8.2.10",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAIvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAIvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAoCtD;;;GAGG;AACH,eAAO,MAAM,KAAK,YAAa,qBAAqB,KAAG,IAEtD,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ngAdd = void 0;
|
4
|
+
const public_api_1 = require("../../src/public_api");
|
4
5
|
const dependencies_1 = require("@schematics/angular/utility/dependencies");
|
5
6
|
const path = require("node:path");
|
6
7
|
/**
|
@@ -9,10 +10,9 @@ const path = require("node:path");
|
|
9
10
|
*/
|
10
11
|
function ngAddFn(options) {
|
11
12
|
const schematicsDependencies = ['@angular-devkit/architect', '@angular-devkit/schematics', '@angular-devkit/core', '@schematics/angular', 'globby'];
|
12
|
-
return
|
13
|
+
return (_, context) => {
|
13
14
|
const packageJsonPath = path.resolve(__dirname, '..', '..', 'package.json');
|
14
|
-
const
|
15
|
-
const dependencies = Object.entries(getExternalDependenciesVersionRange(schematicsDependencies, packageJsonPath, context.logger)).reduce((acc, [dep, range]) => {
|
15
|
+
const dependencies = Object.entries((0, public_api_1.getExternalDependenciesVersionRange)(schematicsDependencies, packageJsonPath, context.logger)).reduce((acc, [dep, range]) => {
|
16
16
|
acc[dep] = {
|
17
17
|
inManifest: [{
|
18
18
|
range,
|
@@ -21,7 +21,7 @@ function ngAddFn(options) {
|
|
21
21
|
};
|
22
22
|
return acc;
|
23
23
|
}, {});
|
24
|
-
Object.entries(getExternalDependenciesVersionRange(schematicsDependencies, packageJsonPath, context.logger))
|
24
|
+
Object.entries((0, public_api_1.getExternalDependenciesVersionRange)(schematicsDependencies, packageJsonPath, context.logger))
|
25
25
|
.forEach(([dep, range]) => {
|
26
26
|
dependencies[dep] = {
|
27
27
|
inManifest: [{
|
@@ -30,7 +30,7 @@ function ngAddFn(options) {
|
|
30
30
|
}]
|
31
31
|
};
|
32
32
|
});
|
33
|
-
return setupDependencies({
|
33
|
+
return (0, public_api_1.setupDependencies)({
|
34
34
|
projectName: options.projectName,
|
35
35
|
dependencies,
|
36
36
|
skipInstall: false
|
@@ -41,9 +41,8 @@ function ngAddFn(options) {
|
|
41
41
|
* Add Otter schematics to an Angular Project
|
42
42
|
* @param options
|
43
43
|
*/
|
44
|
-
const ngAdd = (options) =>
|
45
|
-
|
46
|
-
return createSchematicWithMetricsIfInstalled(ngAddFn)(options);
|
44
|
+
const ngAdd = (options) => () => {
|
45
|
+
return (0, public_api_1.createSchematicWithMetricsIfInstalled)(ngAddFn)(options);
|
47
46
|
};
|
48
47
|
exports.ngAdd = ngAdd;
|
49
48
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;;AACA,qDAA2J;AAC3J,2EAA8E;AAC9E,kCAAkC;AAGlC;;;GAGG;AACH,SAAS,OAAO,CAAC,OAA8B;IAC7C,MAAM,sBAAsB,GAAG,CAAC,2BA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