@o3r/eslint-plugin 10.0.0-prerelease.8 → 10.0.0-prerelease.80
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,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/eslint-plugin",
|
|
3
|
-
"version": "10.0.0-prerelease.
|
|
3
|
+
"version": "10.0.0-prerelease.80",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
4
7
|
"description": "The module provides in-house eslint plugins to use in your own eslint configuration.",
|
|
5
8
|
"main": "./src/public_api.js",
|
|
6
9
|
"keywords": [
|
|
@@ -24,7 +27,8 @@
|
|
|
24
27
|
"@typescript-eslint/experimental-utils": "^5.3.0",
|
|
25
28
|
"globby": "^11.1.0",
|
|
26
29
|
"semver": "^7.5.2",
|
|
27
|
-
"tslib": "^2.5.3"
|
|
30
|
+
"tslib": "^2.5.3",
|
|
31
|
+
"type-fest": "^4.10.2"
|
|
28
32
|
},
|
|
29
33
|
"peerDependenciesMeta": {
|
|
30
34
|
"@angular-eslint/template-parser": {
|
|
@@ -41,8 +45,9 @@
|
|
|
41
45
|
"@angular-eslint/template-parser": "~17.2.0",
|
|
42
46
|
"@angular-eslint/utils": "~17.2.0",
|
|
43
47
|
"@angular/compiler": "~17.0.2",
|
|
44
|
-
"@
|
|
45
|
-
"@typescript-eslint/
|
|
48
|
+
"@stylistic/eslint-plugin-ts": "^1.5.4",
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
50
|
+
"@typescript-eslint/parser": "^7.0.1",
|
|
46
51
|
"eslint": "^8.22.0",
|
|
47
52
|
"jsonc-eslint-parser": "~2.4.0",
|
|
48
53
|
"yaml-eslint-parser": "^1.2.2"
|
|
@@ -57,27 +62,29 @@
|
|
|
57
62
|
"@babel/core": "~7.23.0",
|
|
58
63
|
"@babel/preset-typescript": "~7.23.0",
|
|
59
64
|
"@compodoc/compodoc": "^1.1.19",
|
|
60
|
-
"@nx/eslint-plugin": "~
|
|
61
|
-
"@nx/jest": "~
|
|
62
|
-
"@o3r/build-helpers": "^10.0.0-prerelease.
|
|
65
|
+
"@nx/eslint-plugin": "~18.0.2",
|
|
66
|
+
"@nx/jest": "~18.0.2",
|
|
67
|
+
"@o3r/build-helpers": "^10.0.0-prerelease.80",
|
|
68
|
+
"@o3r/test-helpers": "^10.0.0-prerelease.80",
|
|
69
|
+
"@stylistic/eslint-plugin-ts": "^1.5.4",
|
|
63
70
|
"@types/jest": "~29.5.2",
|
|
64
71
|
"@types/node": "^20.0.0",
|
|
65
72
|
"@types/semver": "^7.3.13",
|
|
66
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
67
|
-
"@typescript-eslint/parser": "^
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
74
|
+
"@typescript-eslint/parser": "^7.0.1",
|
|
68
75
|
"cpy-cli": "^5.0.0",
|
|
69
76
|
"eslint": "^8.42.0",
|
|
70
77
|
"eslint-plugin-jest": "~27.6.0",
|
|
71
78
|
"eslint-plugin-jsdoc": "~48.0.0",
|
|
72
79
|
"eslint-plugin-prefer-arrow": "~1.2.3",
|
|
73
|
-
"eslint-plugin-unicorn": "^
|
|
80
|
+
"eslint-plugin-unicorn": "^51.0.0",
|
|
74
81
|
"jest": "~29.7.0",
|
|
75
82
|
"jest-junit": "~16.0.0",
|
|
76
83
|
"jsonc-eslint-parser": "~2.4.0",
|
|
77
|
-
"nx": "~
|
|
84
|
+
"nx": "~18.0.2",
|
|
78
85
|
"rimraf": "^5.0.1",
|
|
79
86
|
"ts-jest": "~29.1.1",
|
|
80
|
-
"type-fest": "^4.
|
|
87
|
+
"type-fest": "^4.10.2",
|
|
81
88
|
"typescript": "~5.2.2",
|
|
82
89
|
"yaml-eslint-parser": "^1.2.2"
|
|
83
90
|
},
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getBestRanges = exports.getBestRange = exports.findWorkspacePackageJsons = void 0;
|
|
4
4
|
const semver = require("semver");
|
|
5
|
+
const fs = require("node:fs");
|
|
5
6
|
const node_fs_1 = require("node:fs");
|
|
6
7
|
const node_path_1 = require("node:path");
|
|
7
8
|
const globby_1 = require("globby");
|
|
@@ -21,7 +22,7 @@ const findWorkspacePackageJsons = (directory, rootDir) => {
|
|
|
21
22
|
if (!content || !content.workspaces) {
|
|
22
23
|
return (0, exports.findWorkspacePackageJsons)(parentFolder, rootDir);
|
|
23
24
|
}
|
|
24
|
-
const packagePaths = (0, globby_1.sync)((Array.isArray(content.workspaces) ? content.workspaces : content.workspaces.packages || []).map((f) => node_path_1.posix.join(f, 'package.json')), { cwd: directory, onlyFiles: false, absolute: true });
|
|
25
|
+
const packagePaths = (0, globby_1.sync)((Array.isArray(content.workspaces) ? content.workspaces : content.workspaces.packages || []).map((f) => node_path_1.posix.join(f, 'package.json')), { cwd: directory, onlyFiles: false, absolute: true, fs });
|
|
25
26
|
const isPackageWorkspace = packagePaths.some((workspacePath) => (0, node_path_1.normalize)(workspacePath) === rootDir);
|
|
26
27
|
const getPackages = () => ([
|
|
27
28
|
{ content, path: packageJsonPath, isWorkspace: true },
|