@o3r/schematics 11.0.0-prerelease.44 → 11.0.0-prerelease.46
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@o3r/schematics",
|
3
|
-
"version": "11.0.0-prerelease.
|
3
|
+
"version": "11.0.0-prerelease.46",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -30,9 +30,9 @@
|
|
30
30
|
"@angular-devkit/core": "~18.0.0",
|
31
31
|
"@angular-devkit/schematics": "~18.0.0",
|
32
32
|
"@angular/cli": "~18.0.0",
|
33
|
-
"@o3r/telemetry": "^11.0.0-prerelease.
|
33
|
+
"@o3r/telemetry": "^11.0.0-prerelease.46",
|
34
34
|
"@schematics/angular": "~18.0.0",
|
35
|
-
"eslint": "^8.
|
35
|
+
"eslint": "^8.57.0",
|
36
36
|
"rxjs": "^7.8.1",
|
37
37
|
"type-fest": "^4.10.2",
|
38
38
|
"typescript": "~5.4.2"
|
@@ -85,25 +85,25 @@
|
|
85
85
|
"@nx/eslint-plugin": "~19.3.0",
|
86
86
|
"@nx/jest": "~19.3.0",
|
87
87
|
"@nx/js": "~19.3.0",
|
88
|
-
"@o3r/build-helpers": "^11.0.0-prerelease.
|
89
|
-
"@o3r/eslint-plugin": "^11.0.0-prerelease.
|
90
|
-
"@o3r/telemetry": "^11.0.0-prerelease.
|
88
|
+
"@o3r/build-helpers": "^11.0.0-prerelease.46",
|
89
|
+
"@o3r/eslint-plugin": "^11.0.0-prerelease.46",
|
90
|
+
"@o3r/telemetry": "^11.0.0-prerelease.46",
|
91
91
|
"@schematics/angular": "~18.0.0",
|
92
|
-
"@stylistic/eslint-plugin-ts": "^
|
92
|
+
"@stylistic/eslint-plugin-ts": "^2.0.0",
|
93
93
|
"@types/inquirer": "~8.2.10",
|
94
94
|
"@types/jest": "~29.5.2",
|
95
95
|
"@types/node": "^20.0.0",
|
96
96
|
"@types/semver": "^7.3.13",
|
97
97
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
98
98
|
"@typescript-eslint/parser": "^7.2.0",
|
99
|
-
"@typescript-eslint/utils": "~7.
|
99
|
+
"@typescript-eslint/utils": "~7.14.1",
|
100
100
|
"cpy-cli": "^5.0.0",
|
101
101
|
"eslint": "^8.57.0",
|
102
102
|
"eslint-import-resolver-node": "^0.3.9",
|
103
|
-
"eslint-plugin-jest": "~
|
103
|
+
"eslint-plugin-jest": "~28.6.0",
|
104
104
|
"eslint-plugin-jsdoc": "~48.2.1",
|
105
105
|
"eslint-plugin-prefer-arrow": "~1.2.3",
|
106
|
-
"eslint-plugin-unicorn": "^
|
106
|
+
"eslint-plugin-unicorn": "^54.0.0",
|
107
107
|
"jest": "~29.7.0",
|
108
108
|
"jest-junit": "~16.0.0",
|
109
109
|
"jsonc-eslint-parser": "~2.4.0",
|
@@ -1,5 +1,3 @@
|
|
1
|
-
import { TaskConfiguration, TaskConfigurationGenerator } from '@angular-devkit/schematics';
|
2
|
-
import { NodePackageTaskOptions } from '@angular-devkit/schematics/tasks/package-manager/options';
|
3
1
|
import type { NodeDependencyType } from '@schematics/angular/utility/dependencies';
|
4
2
|
/**
|
5
3
|
* Options to be passed to the ng add task
|
@@ -22,12 +20,4 @@ export interface NgAddPackageOptions {
|
|
22
20
|
/** Flag to skip the execution of ng add and only install the package. Used mostly for external packages */
|
23
21
|
skipNgAddSchematicRun?: boolean;
|
24
22
|
}
|
25
|
-
/** @deprecated use {@link setupDependencies} instead, will be removed in V11 */
|
26
|
-
export declare class NodePackageNgAddTask implements TaskConfigurationGenerator<NodePackageTaskOptions> {
|
27
|
-
packageName: string;
|
28
|
-
options?: NgAddPackageOptions | undefined;
|
29
|
-
quiet: boolean;
|
30
|
-
constructor(packageName: string, options?: NgAddPackageOptions | undefined);
|
31
|
-
toConfiguration(): TaskConfiguration<NodePackageTaskOptions>;
|
32
|
-
}
|
33
23
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tasks/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tasks/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAEnF;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,kBAAkB;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,0BAA0B;IAC1B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAC;IAEpC,2GAA2G;IAC3G,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC"}
|
@@ -1,31 +1,3 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NodePackageNgAddTask = void 0;
|
4
|
-
const options_1 = require("@angular-devkit/schematics/tasks/package-manager/options");
|
5
|
-
const package_manager_runner_1 = require("../../utility/package-manager-runner");
|
6
|
-
/** @deprecated use {@link setupDependencies} instead, will be removed in V11 */
|
7
|
-
class NodePackageNgAddTask {
|
8
|
-
constructor(packageName, options) {
|
9
|
-
this.packageName = packageName;
|
10
|
-
this.options = options;
|
11
|
-
this.quiet = false;
|
12
|
-
}
|
13
|
-
toConfiguration() {
|
14
|
-
const cmdArguments = [
|
15
|
-
this.options?.skipConfirmation ? '--skip-confirmation' : '',
|
16
|
-
this.options?.projectName ? `--projectName=${this.options.projectName}` : ''
|
17
|
-
];
|
18
|
-
return {
|
19
|
-
name: options_1.NodePackageName,
|
20
|
-
options: {
|
21
|
-
command: 'ng add',
|
22
|
-
quiet: this.quiet,
|
23
|
-
workingDirectory: this.options?.workingDirectory,
|
24
|
-
packageName: `ng add ${this.packageName}${this.options?.version ? '@' + this.options.version : ''} ${cmdArguments.join(' ')}`,
|
25
|
-
packageManager: (0, package_manager_runner_1.getPackageManager)()
|
26
|
-
}
|
27
|
-
};
|
28
|
-
}
|
29
|
-
}
|
30
|
-
exports.NodePackageNgAddTask = NodePackageNgAddTask;
|
31
3
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tasks/ng-add/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tasks/ng-add/index.ts"],"names":[],"mappings":""}
|