@o3r/eslint-plugin 11.2.0-prerelease.50 → 11.2.0-prerelease.52

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": "@o3r/eslint-plugin",
3
- "version": "11.2.0-prerelease.50",
3
+ "version": "11.2.0-prerelease.52",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -66,8 +66,8 @@
66
66
  "@eslint/eslintrc": "^3.0.0",
67
67
  "@nx/eslint-plugin": "~19.5.0",
68
68
  "@nx/jest": "~19.5.0",
69
- "@o3r/build-helpers": "^11.2.0-prerelease.50",
70
- "@o3r/test-helpers": "^11.2.0-prerelease.50",
69
+ "@o3r/build-helpers": "^11.2.0-prerelease.52",
70
+ "@o3r/test-helpers": "^11.2.0-prerelease.52",
71
71
  "@stylistic/eslint-plugin-ts": "~2.4.0",
72
72
  "@types/eslint": "~9.6.0",
73
73
  "@types/jest": "~29.5.2",
@@ -18,7 +18,7 @@ const findWorkspacePackageJsons = (directory, rootDir) => {
18
18
  return undefined;
19
19
  }
20
20
  const packageJsonPath = (0, node_path_1.resolve)(directory, 'package.json');
21
- const content = (0, node_fs_1.existsSync)(packageJsonPath) && JSON.parse((0, node_fs_1.readFileSync)(packageJsonPath, { encoding: 'utf-8' }));
21
+ const content = (0, node_fs_1.existsSync)(packageJsonPath) && JSON.parse((0, node_fs_1.readFileSync)(packageJsonPath, { encoding: 'utf8' }));
22
22
  if (!content || !content.workspaces) {
23
23
  return (0, exports.findWorkspacePackageJsons)(parentFolder, rootDir);
24
24
  }
@@ -26,7 +26,7 @@ const findWorkspacePackageJsons = (directory, rootDir) => {
26
26
  const isPackageWorkspace = packagePaths.some((workspacePath) => (0, node_path_1.normalize)(workspacePath) === rootDir);
27
27
  const getPackages = () => ([
28
28
  { content, path: packageJsonPath, isWorkspace: true },
29
- ...packagePaths.map((subPackageJsonPath) => ({ content: JSON.parse((0, node_fs_1.readFileSync)(subPackageJsonPath, { encoding: 'utf-8' })), path: subPackageJsonPath }))
29
+ ...packagePaths.map((subPackageJsonPath) => ({ content: JSON.parse((0, node_fs_1.readFileSync)(subPackageJsonPath, { encoding: 'utf8' })), path: subPackageJsonPath }))
30
30
  ]);
31
31
  if (isPackageWorkspace) {
32
32
  return {
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;AAMA,sBAGC;AATD,2DAAkD;AAGlD;;GAEG;AACH,SAAgB,KAAK;IACnB,kBAAkB;IAClB,OAAO,IAAA,iBAAI,GAAE,CAAC;AAChB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../schematics/ng-add/schema.ts"],"names":[],"mappings":""}