@skyux-sdk/eslint-schematics 12.12.0 → 12.13.0
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/migrations.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@skyux-sdk/eslint-schematics",
|
3
|
-
"version": "12.
|
3
|
+
"version": "12.13.0",
|
4
4
|
"author": "Blackbaud, Inc.",
|
5
5
|
"description": "SKY UX ESLint schematics for Angular CLI projects",
|
6
6
|
"keywords": [
|
@@ -25,10 +25,10 @@
|
|
25
25
|
"migrations": "./migrations.json",
|
26
26
|
"packageGroup": {
|
27
27
|
"@eslint/js": "^9.26.0",
|
28
|
-
"@skyux-sdk/eslint-schematics": "12.
|
29
|
-
"eslint-config-skyux": "12.
|
28
|
+
"@skyux-sdk/eslint-schematics": "12.13.0",
|
29
|
+
"eslint-config-skyux": "12.13.0",
|
30
30
|
"eslint": "^9.24.0",
|
31
|
-
"skyux-eslint": "12.
|
31
|
+
"skyux-eslint": "12.13.0",
|
32
32
|
"typescript-eslint": "^8.32.0"
|
33
33
|
}
|
34
34
|
},
|
@@ -8,7 +8,6 @@ const cli_1 = require("@angular/cli");
|
|
8
8
|
const dependencies_1 = require("@schematics/angular/utility/dependencies");
|
9
9
|
const node_fs_1 = tslib_1.__importDefault(require("node:fs"));
|
10
10
|
const node_path_1 = tslib_1.__importDefault(require("node:path"));
|
11
|
-
const json_file_1 = require("../utility/json-file");
|
12
11
|
function installDependencies() {
|
13
12
|
return (tree, context) => {
|
14
13
|
// Get the currently installed version of SKY UX.
|
@@ -29,16 +28,6 @@ function installDependencies() {
|
|
29
28
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
30
29
|
};
|
31
30
|
}
|
32
|
-
function modifyTsConfig() {
|
33
|
-
return (tree) => {
|
34
|
-
const tsconfig = new json_file_1.JsonFile(tree, '/tsconfig.json');
|
35
|
-
// Strict null checks are needed for the '@typescript/eslint:prefer-nullish-coalescing' rule.
|
36
|
-
// The `strict` option also sets `strictNullChecks` so we can abort if it's set to true.
|
37
|
-
if (tsconfig.get(['compilerOptions', 'strict']) !== true) {
|
38
|
-
tsconfig.modify(['compilerOptions', 'strictNullChecks'], true);
|
39
|
-
}
|
40
|
-
};
|
41
|
-
}
|
42
31
|
/**
|
43
32
|
* Installs and sets up the `eslint-config-skyux` package.
|
44
33
|
*/
|
@@ -49,7 +38,7 @@ function ngAdd() {
|
|
49
38
|
`Run 'ng add angular-eslint@${cli_1.VERSION.major}' and try this command again.\n` +
|
50
39
|
'See: https://github.com/angular-eslint/angular-eslint#quick-start');
|
51
40
|
}
|
52
|
-
return (0, schematics_1.chain)([installDependencies()
|
41
|
+
return (0, schematics_1.chain)([installDependencies()]);
|
53
42
|
};
|
54
43
|
}
|
55
44
|
//# sourceMappingURL=ng-add.schematic.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ng-add.schematic.js","sourceRoot":"","sources":["../../../../../../../libs/sdk/eslint-schematics/src/schematics/ng-add/ng-add.schematic.ts"],"names":[],"mappings":";;
|
1
|
+
{"version":3,"file":"ng-add.schematic.js","sourceRoot":"","sources":["../../../../../../../libs/sdk/eslint-schematics/src/schematics/ng-add/ng-add.schematic.ts"],"names":[],"mappings":";;AAyCA,wBAYC;;AArDD,2DAAyD;AACzD,4DAA0E;AAC1E,sCAAuC;AACvC,2EAIkD;AAElD,8DAAyB;AACzB,kEAA6B;AAE7B,SAAS,mBAAmB;IAC1B,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE;QACvB,iDAAiD;QACjD,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC,KAAK,CAC1C,iBAAE,CAAC,YAAY,CAAC,mBAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC,EAAE;YAChE,QAAQ,EAAE,OAAO;SAClB,CAAC,CACH,CAAC;QAEF,MAAM,YAAY,GAA2B;Y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