@o3r/schematics 11.4.0-prerelease.9 → 11.4.0-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/environment.js.map +1 -0
- package/package.json +6 -6
- package/schematics/ng-add/index.js.map +1 -0
- package/schematics/ng-add/schema.js.map +1 -0
- package/src/public_api.d.ts +0 -1
- package/src/public_api.d.ts.map +1 -1
- package/src/public_api.js +0 -1
- package/src/public_api.js.map +1 -1
- package/src/tasks/package-manager/index.d.ts +0 -1
- package/src/tasks/package-manager/index.d.ts.map +1 -1
- package/src/tasks/package-manager/index.js +0 -1
- package/src/tasks/package-manager/index.js.map +1 -1
- package/src/utility/loaders.d.ts +0 -6
- package/src/utility/loaders.d.ts.map +1 -1
- package/src/utility/loaders.js +0 -9
- package/src/utility/loaders.js.map +1 -1
- package/src/rules/index.d.ts +0 -2
- package/src/rules/index.d.ts.map +0 -1
- package/src/rules/index.js +0 -5
- package/src/rules/index.js.map +0 -1
- package/src/rules/install.d.ts +0 -12
- package/src/rules/install.d.ts.map +0 -1
- package/src/rules/install.js +0 -21
- package/src/rules/install.js.map +0 -1
- package/src/tasks/package-manager/add-dev-dependency.d.ts +0 -26
- package/src/tasks/package-manager/add-dev-dependency.d.ts.map +0 -1
- package/src/tasks/package-manager/add-dev-dependency.js +0 -37
- package/src/tasks/package-manager/add-dev-dependency.js.map +0 -1
@@ -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.4.0-
|
3
|
+
"version": "11.4.0-rc.1",
|
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.4.0-
|
33
|
+
"@o3r/telemetry": "^11.4.0-rc.1",
|
34
34
|
"@schematics/angular": "~18.2.0",
|
35
35
|
"eslint": "^8.57.0",
|
36
36
|
"rxjs": "^7.8.1",
|
@@ -79,15 +79,15 @@
|
|
79
79
|
"@angular/platform-browser": "~18.2.0",
|
80
80
|
"@angular/platform-browser-dynamic": "~18.2.0",
|
81
81
|
"@babel/core": "~7.25.0",
|
82
|
-
"@babel/preset-typescript": "~7.
|
82
|
+
"@babel/preset-typescript": "~7.25.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.4.0-
|
89
|
-
"@o3r/eslint-plugin": "^11.4.0-
|
90
|
-
"@o3r/telemetry": "^11.4.0-
|
88
|
+
"@o3r/build-helpers": "^11.4.0-rc.1",
|
89
|
+
"@o3r/eslint-plugin": "^11.4.0-rc.1",
|
90
|
+
"@o3r/telemetry": "^11.4.0-rc.1",
|
91
91
|
"@schematics/angular": "~18.2.0",
|
92
92
|
"@stylistic/eslint-plugin-ts": "~2.4.0",
|
93
93
|
"@types/inquirer": "~8.2.10",
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;;AAEA,2EAA8E;AAC9E,kCAAkC;AAGlC;;;GAGG;AACH,SAAS,OAAO,CAAC,OAA8B;IAC7C,MAAM,sBAAsB,GAAG,CAAC,2BAA2B,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,QAAQ,CAAC,CAAC;IACpJ,OAAO,KAAK,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AG,2CAAa,iBAAiB,EAAC,CAAC;IAClF,OAAO,qCAAqC,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;AACjE,CAAC,CAAC;AAHW,QAAA,KAAK,SAGhB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../schematics/ng-add/schema.ts"],"names":[],"mappings":""}
|
package/src/public_api.d.ts
CHANGED
package/src/public_api.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../src/public_api.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,
|
1
|
+
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../src/public_api.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
|
package/src/public_api.js
CHANGED
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
4
4
|
tslib_1.__exportStar(require("./interfaces/index"), exports);
|
5
5
|
tslib_1.__exportStar(require("./rule-factories/index"), exports);
|
6
|
-
tslib_1.__exportStar(require("./rules/index"), exports);
|
7
6
|
tslib_1.__exportStar(require("./tasks/index"), exports);
|
8
7
|
tslib_1.__exportStar(require("./utility/index"), exports);
|
9
8
|
tslib_1.__exportStar(require("./modules/index"), exports);
|
package/src/public_api.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"public_api.js","sourceRoot":"","sources":["../../src/public_api.ts"],"names":[],"mappings":";;;AAAA,6DAAmC;AACnC,iEAAuC;AACvC,wDAA8B;AAC9B,
|
1
|
+
{"version":3,"file":"public_api.js","sourceRoot":"","sources":["../../src/public_api.ts"],"names":[],"mappings":";;;AAAA,6DAAmC;AACnC,iEAAuC;AACvC,wDAA8B;AAC9B,0DAAgC;AAChC,0DAAgC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tasks/package-manager/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tasks/package-manager/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./add-dev-dependency"), exports);
|
5
4
|
tslib_1.__exportStar(require("./interfaces"), exports);
|
6
5
|
tslib_1.__exportStar(require("./npm-exec"), exports);
|
7
6
|
tslib_1.__exportStar(require("./npm-install"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tasks/package-manager/index.ts"],"names":[],"mappings":";;;AAAA
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tasks/package-manager/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,qDAA2B;AAC3B,wDAA8B;AAC9B,oDAA0B"}
|
package/src/utility/loaders.d.ts
CHANGED
@@ -32,12 +32,6 @@ export declare function writeAngularJson(tree: Tree, workspace: WorkspaceSchema,
|
|
32
32
|
* @throws Package JSON invalid or non exist
|
33
33
|
*/
|
34
34
|
export declare function readPackageJson(tree: Tree, workspaceProject: WorkspaceProject): PackageJson;
|
35
|
-
/**
|
36
|
-
* Return the type of install to run depending on the project type (Peer or default)
|
37
|
-
* @deprecated use {@link getProjectNewDependenciesTypes instead}, will be removed in V11
|
38
|
-
* @param project
|
39
|
-
*/
|
40
|
-
export declare function getProjectNewDependenciesType(project?: WorkspaceProject): NodeDependencyType.Default | NodeDependencyType.Peer;
|
41
35
|
/**
|
42
36
|
* Return the types of install to run depending on the project type
|
43
37
|
* @param project
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"loaders.d.ts","sourceRoot":"","sources":["../../../src/utility/loaders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAuB,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAG9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAiB7E;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,EAAE,iBAAiB,GAAE,MAAM,EAAsC,eAInK;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,eAAe,GAAG,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,mBAAmB,SAAkB,GAAG,eAAe,GAAG,IAAI,CAKzJ;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,eAAe,SAAkB,gEAGzG;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,GAOlD,WAAW,CACtC;AAED
|
1
|
+
{"version":3,"file":"loaders.d.ts","sourceRoot":"","sources":["../../../src/utility/loaders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE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,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAGnE;AAED;;;;;GAKG;AACH,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,YAOjH;AAGD;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,YAK1E;AAED;;;;GAIG;AACH,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,YAEhF;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,YAE1E;AAGD;;;GAGG;AACH,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,IAAI,YAE7D"}
|
package/src/utility/loaders.js
CHANGED
@@ -4,7 +4,6 @@ exports.findFilesInTree = findFilesInTree;
|
|
4
4
|
exports.getWorkspaceConfig = getWorkspaceConfig;
|
5
5
|
exports.writeAngularJson = writeAngularJson;
|
6
6
|
exports.readPackageJson = readPackageJson;
|
7
|
-
exports.getProjectNewDependenciesType = getProjectNewDependenciesType;
|
8
7
|
exports.getProjectNewDependenciesTypes = getProjectNewDependenciesTypes;
|
9
8
|
exports.getTemplateFolder = getTemplateFolder;
|
10
9
|
exports.getAllFilesInTree = getAllFilesInTree;
|
@@ -77,14 +76,6 @@ function readPackageJson(tree, workspaceProject) {
|
|
77
76
|
const workspaceConfig = tree.readJson(packageJsonPath);
|
78
77
|
return workspaceConfig;
|
79
78
|
}
|
80
|
-
/**
|
81
|
-
* Return the type of install to run depending on the project type (Peer or default)
|
82
|
-
* @deprecated use {@link getProjectNewDependenciesTypes instead}, will be removed in V11
|
83
|
-
* @param project
|
84
|
-
*/
|
85
|
-
function getProjectNewDependenciesType(project) {
|
86
|
-
return project?.projectType === 'library' ? dependencies_1.NodeDependencyType.Peer : dependencies_1.NodeDependencyType.Default;
|
87
|
-
}
|
88
79
|
/**
|
89
80
|
* Return the types of install to run depending on the project type
|
90
81
|
* @param project
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"loaders.js","sourceRoot":"","sources":["../../../src/utility/loaders.ts"],"names":[],"mappings":";;AA8BA,0CAIC;AAQD,gDAKC;AAQD,4CAGC;AAQD,0CAQC;
|
1
|
+
{"version":3,"file":"loaders.js","sourceRoot":"","sources":["../../../src/utility/loaders.ts"],"names":[],"mappings":";;AA8BA,0CAIC;AAQD,gDAKC;AAQD,4CAGC;AAQD,0CAQC;AAMD,wEAEC;AAQD,8CAGC;AASD,8CAQC;AAOD,gCAGC;AAQD,kGAOC;AAQD,sEAKC;AAOD,kFAEC;AAOD,sEAEC;AAOD,kFAEC;AA9KD,2DAAuE;AACvE,2EAA8E;AAC9E,yCAAsC;AACtC,kCAAkC;AAIlC,SAAS,kBAAkB,CAAC,MAAsB,EAAE,SAAmB,EAAE,mBAA8C,EAAE,iBAA2B;IAClJ,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAClF,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,SAAS,CAAC,QAAQ;SACf,MAAM,CAAC,mBAAmB,CAAC;SAC3B,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAE,CAAC,CAAC,CAAC;IAExD,SAAS,CAAC,OAAO;SACd,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,kBAAkB,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,mBAAmB,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAE5G,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;;;GAMG;A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AG,IAAI,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC;IACxD,OAAO,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,CAAC;SAC1C,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC3D,CAAC;AAED;;;;GAIG;AACH,SAAgB,mCAAmC,CAAC,IAAU,EAAE,SAAiB;IAC/E,OAAO,2CAA2C,CAAC,IAAI,EAAE,EAAE,EAAE,SAAS,CAAC,CAAC;AAC1E,CAAC;AAED;;;;GAIG;AACH,SAAgB,6BAA6B,CAAC,IAAU,EAAE,SAAiB;IACzE,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;AAC7E,CAAC;AAGD;;;GAGG;AACH,SAAgB,mCAAmC,CAAC,IAAU;IAC5D,OAAO,6BAA6B,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACnD,CAAC"}
|
package/src/rules/index.d.ts
DELETED
package/src/rules/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
package/src/rules/index.js
DELETED
package/src/rules/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/index.ts"],"names":[],"mappings":";;;AAAA,oDAA0B"}
|
package/src/rules/install.d.ts
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
import type { Rule } from '@angular-devkit/schematics';
|
2
|
-
import { type SupportedPackageManagers } from '../utility/package-manager-runner';
|
3
|
-
/**
|
4
|
-
* Install the Otter packages
|
5
|
-
* @deprecated use {@link setupDependencies} instead, will be removed in V11
|
6
|
-
* @param options
|
7
|
-
* @param options.packageManager
|
8
|
-
*/
|
9
|
-
export declare function install(options?: {
|
10
|
-
packageManager?: SupportedPackageManagers;
|
11
|
-
}): Rule;
|
12
|
-
//# sourceMappingURL=install.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/rules/install.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAGvD,OAAO,EAAqB,KAAK,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAErG;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,OAAO,CAAC,EAAE;IAAC,cAAc,CAAC,EAAE,wBAAwB,CAAA;CAAC,GAAG,IAAI,CAOnF"}
|
package/src/rules/install.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.install = install;
|
4
|
-
const tasks_1 = require("@angular-devkit/schematics/tasks");
|
5
|
-
const rxjs_1 = require("rxjs");
|
6
|
-
const package_manager_runner_1 = require("../utility/package-manager-runner");
|
7
|
-
/**
|
8
|
-
* Install the Otter packages
|
9
|
-
* @deprecated use {@link setupDependencies} instead, will be removed in V11
|
10
|
-
* @param options
|
11
|
-
* @param options.packageManager
|
12
|
-
*/
|
13
|
-
function install(options) {
|
14
|
-
return async (_, context) => {
|
15
|
-
const packageManager = options?.packageManager || (0, package_manager_runner_1.getPackageManager)();
|
16
|
-
context.logger.info('Running application install');
|
17
|
-
context.addTask(new tasks_1.NodePackageInstallTask({ packageManager }));
|
18
|
-
await (0, rxjs_1.lastValueFrom)(context.engine.executePostTasks());
|
19
|
-
};
|
20
|
-
}
|
21
|
-
//# sourceMappingURL=install.js.map
|
package/src/rules/install.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"install.js","sourceRoot":"","sources":["../../../src/rules/install.ts"],"names":[],"mappings":";;AAWA,0BAOC;AAjBD,4DAA0E;AAC1E,+BAAqC;AACrC,8EAAqG;AAErG;;;;;GAKG;AACH,SAAgB,OAAO,CAAC,OAAqD;IAC3E,OAAO,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE;QAC1B,MAAM,cAAc,GAAG,OAAO,EAAE,cAAc,IAAI,IAAA,0CAAiB,GAAE,CAAC;QACtE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;QACnD,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,CAAC,EAAC,cAAc,EAAC,CAAC,CAAC,CAAC;QAC9D,MAAM,IAAA,oBAAa,EAAC,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACzD,CAAC,CAAC;AACJ,CAAC"}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { NodePackageInstallTask } from '@angular-devkit/schematics/tasks';
|
2
|
-
import { NodePackageInstallTaskOptions } from './interfaces';
|
3
|
-
/**
|
4
|
-
* Install new dev dependency on your package
|
5
|
-
* @deprecated use {@link setupDependencies} instead, will be removed in V11
|
6
|
-
*/
|
7
|
-
export declare class AddDevInstall extends NodePackageInstallTask {
|
8
|
-
quiet: boolean;
|
9
|
-
force: boolean;
|
10
|
-
constructor(options?: NodePackageInstallTaskOptions);
|
11
|
-
/** @inheritdoc */
|
12
|
-
toConfiguration(): {
|
13
|
-
name: string;
|
14
|
-
options: {
|
15
|
-
command: string;
|
16
|
-
packageName: string;
|
17
|
-
quiet?: boolean;
|
18
|
-
hideOutput?: boolean;
|
19
|
-
workingDirectory?: string;
|
20
|
-
packageManager?: string;
|
21
|
-
allowScripts?: boolean;
|
22
|
-
};
|
23
|
-
dependencies?: Array<import("@angular-devkit/schematics").TaskId>;
|
24
|
-
};
|
25
|
-
}
|
26
|
-
//# sourceMappingURL=add-dev-dependency.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"add-dev-dependency.d.ts","sourceRoot":"","sources":["../../../../src/tasks/package-manager/add-dev-dependency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAG1E,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAC;AAE7D;;;GAGG;AACH,qBAAa,aAAc,SAAQ,sBAAsB;IAChD,KAAK,UAAS;IACd,KAAK,UAAS;gBAET,OAAO,CAAC,EAAE,6BAA6B;IAUnD,kBAAkB;IACX,eAAe;;;;;;;;;;;;;CAYvB"}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AddDevInstall = void 0;
|
4
|
-
const tasks_1 = require("@angular-devkit/schematics/tasks");
|
5
|
-
const options_1 = require("@angular-devkit/schematics/tasks/package-manager/options");
|
6
|
-
const index_1 = require("../../utility/index");
|
7
|
-
/**
|
8
|
-
* Install new dev dependency on your package
|
9
|
-
* @deprecated use {@link setupDependencies} instead, will be removed in V11
|
10
|
-
*/
|
11
|
-
class AddDevInstall extends tasks_1.NodePackageInstallTask {
|
12
|
-
constructor(options) {
|
13
|
-
super(options);
|
14
|
-
this.quiet = false;
|
15
|
-
this.force = false;
|
16
|
-
this.packageManager = (0, index_1.getPackageManager)({
|
17
|
-
workspaceConfig: options?.tree && (0, index_1.getWorkspaceConfig)(options.tree),
|
18
|
-
enforcedNpmManager: options?.packageName
|
19
|
-
});
|
20
|
-
this.force = !!options?.force;
|
21
|
-
}
|
22
|
-
/** @inheritdoc */
|
23
|
-
toConfiguration() {
|
24
|
-
const defaultConfig = super.toConfiguration();
|
25
|
-
return {
|
26
|
-
...defaultConfig,
|
27
|
-
name: options_1.NodePackageName,
|
28
|
-
options: {
|
29
|
-
...defaultConfig.options,
|
30
|
-
command: 'install',
|
31
|
-
packageName: `${this.packageName} ${this.packageManager === 'yarn' ? '--prefer-dev' : '--save-dev'}${this.force && this.packageManager === 'npm' ? ' --force' : ''}`
|
32
|
-
}
|
33
|
-
};
|
34
|
-
}
|
35
|
-
}
|
36
|
-
exports.AddDevInstall = AddDevInstall;
|
37
|
-
//# sourceMappingURL=add-dev-dependency.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"add-dev-dependency.js","sourceRoot":"","sources":["../../../../src/tasks/package-manager/add-dev-dependency.ts"],"names":[],"mappings":";;;AAAA,4DAA0E;AAC1E,sFAA2F;AAC3F,+CAA4E;AAG5E;;;GAGG;AACH,MAAa,aAAc,SAAQ,8BAAsB;IAIvD,YAAY,OAAuC;QACjD,KAAK,CAAC,OAAc,CAAC,CAAC;QAJjB,UAAK,GAAG,KAAK,CAAC;QACd,UAAK,GAAG,KAAK,CAAC;QAInB,IAAI,CAAC,cAAc,GAAG,IAAA,yBAAiB,EAAC;YACtC,eAAe,EAAE,OAAO,EAAE,IAAI,IAAI,IAAA,0BAAkB,EAAC,OAAO,CAAC,IAAI,CAAC;YAClE,kBAAkB,EAAE,OAAO,EAAE,WAAW;SACzC,CAAC,CAAC;QACH,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC;IAChC,CAAC;IAGD,kBAAkB;IACX,eAAe;QACpB,MAAM,aAAa,GAAG,KAAK,CAAC,eAAe,EAAE,CAAC;QAC9C,OAAO;YACL,GAAG,aAAa;YAChB,IAAI,EAAE,yBAAe;YACrB,OAAO,EAAE;gBACP,GAAG,aAAa,CAAC,OAAO;gBACxB,OAAO,EAAE,SAAS;gBAClB,WAAW,EAAE,GAAG,IAAI,CAAC,WAAY,IAAI,IAAI,CAAC,cAAc,KAAK,MAAM,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,KAAK,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE;aACtK;SACF,CAAC;IACJ,CAAC;CACF;AA3BD,sCA2BC"}
|