@skyux-sdk/eslint-config 12.22.0 → 12.23.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux-sdk/eslint-config",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.23.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"description": "Angular CLI schematics to implement recommended ESLint configuration",
|
|
6
6
|
"keywords": [
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"ng-update": {
|
|
24
24
|
"migrations": "./src/schematics/migrations/migration-collection.json",
|
|
25
25
|
"packageGroup": {
|
|
26
|
-
"@skyux-sdk/eslint-config": "12.
|
|
26
|
+
"@skyux-sdk/eslint-config": "12.23.0"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@angular/cli": "^19.2.
|
|
30
|
+
"@angular/cli": "^19.2.15"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"comment-json": "4.2.5",
|
|
@@ -5,18 +5,17 @@ exports.readJsonFile = readJsonFile;
|
|
|
5
5
|
exports.writeTextFile = writeTextFile;
|
|
6
6
|
exports.writeJsonFile = writeJsonFile;
|
|
7
7
|
const tslib_1 = require("tslib");
|
|
8
|
-
const core_1 = require("@angular-devkit/core");
|
|
9
8
|
const comment_json_1 = tslib_1.__importDefault(require("comment-json"));
|
|
10
9
|
/**
|
|
11
10
|
* Returns the contents of a required file or throws an error if it doesn't exist.
|
|
12
11
|
*/
|
|
13
12
|
function readRequiredFile(tree, filePath) {
|
|
14
|
-
const data = tree.
|
|
13
|
+
const data = tree.exists(filePath) && tree.readText(filePath);
|
|
15
14
|
/* istanbul ignore next */
|
|
16
15
|
if (!data) {
|
|
17
16
|
throw new Error(`The file '${filePath}' was expected to exist but was not found.`);
|
|
18
17
|
}
|
|
19
|
-
return
|
|
18
|
+
return data;
|
|
20
19
|
}
|
|
21
20
|
function readJsonFile(tree, path) {
|
|
22
21
|
if (tree.exists(path)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../../../../../../libs/sdk/eslint-config/src/schematics/shared/utility/tree.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../../../../../../libs/sdk/eslint-config/src/schematics/shared/utility/tree.ts"],"names":[],"mappings":";;AAOA,4CAUC;AAED,oCAMC;AAED,sCAUC;AAED,sCAEC;;AAvCD,wEAAuC;AAEvC;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAAU,EAAE,QAAgB;IAC3D,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC9D,0BAA0B;IAC1B,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,MAAM,IAAI,KAAK,CACb,aAAa,QAAQ,4CAA4C,CAClE,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAgB,YAAY,CAAI,IAAU,EAAE,IAAY;IACtD,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;QACtB,OAAO,sBAAW,CAAC,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAM,CAAC;IAC9D,CAAC;IAED,OAAO,EAAO,CAAC;AACjB,CAAC;AAED,SAAgB,aAAa,CAC3B,IAAU,EACV,IAAY,EACZ,QAAgB;IAEhB,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;QACtB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACjC,CAAC;SAAM,CAAC;QACN,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC9B,CAAC;AACH,CAAC;AAED,SAAgB,aAAa,CAAI,IAAU,EAAE,IAAY,EAAE,QAAW;IACpE,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,sBAAW,CAAC,SAAS,CAAC,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;AAC3E,CAAC"}
|