@boundaries/eslint-plugin 6.0.0-beta.1 → 6.0.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.
@@ -19,12 +19,7 @@ const config = {
19
19
  [RULE_ENTRY_POINT]: [2],
20
20
  [RULE_EXTERNAL]: [2],
21
21
  [RULE_NO_IGNORED]: 0,
22
- [RULE_NO_PRIVATE]: [
23
- 2,
24
- {
25
- allowUncles: true,
26
- },
27
- ],
22
+ [RULE_NO_PRIVATE]: 0,
28
23
  [RULE_NO_UNKNOWN_FILES]: 0,
29
24
  [RULE_NO_UNKNOWN]: 0,
30
25
  },
@@ -7,7 +7,6 @@ const node_path_1 = require("node:path");
7
7
  const Settings_types_1 = require("../Shared/Settings.types");
8
8
  const Helpers_1 = require("./Helpers");
9
9
  const { VALID_MODES, ROOT_PATH, ENV_ROOT_PATH } = Settings_types_1.SETTINGS;
10
- // TODO, remove in next major version
11
10
  /**
12
11
  * Converts legacy string element descriptors into object descriptors.
13
12
  *
package/dist/index.js CHANGED
@@ -17,8 +17,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- const fs_1 = require("fs");
21
- const path_1 = require("path");
20
+ const node_fs_1 = require("node:fs");
21
+ const node_path_1 = require("node:path");
22
22
  const Recommended_1 = __importDefault(require("./Config/Recommended"));
23
23
  const Strict_1 = __importDefault(require("./Config/Strict"));
24
24
  const Dependencies_1 = __importDefault(require("./Rules/Dependencies"));
@@ -34,11 +34,11 @@ __exportStar(require("./Public"), exports);
34
34
  /**
35
35
  * The path to the plugin package.json file
36
36
  */
37
- const packageJsonPath = (0, path_1.join)(__dirname, "..", "package.json");
37
+ const packageJsonPath = (0, node_path_1.join)(__dirname, "..", "package.json");
38
38
  /**
39
39
  * The content of the package.json file
40
40
  */
41
- const packageJson = JSON.parse((0, fs_1.readFileSync)(packageJsonPath, "utf-8"));
41
+ const packageJson = JSON.parse((0, node_fs_1.readFileSync)(packageJsonPath, "utf-8"));
42
42
  // TODO: Enable this warning in the next major release
43
43
  /* if (packageJson.name !== "@boundaries/eslint-plugin") {
44
44
  warn(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boundaries/eslint-plugin",
3
- "version": "6.0.0-beta.1",
3
+ "version": "6.0.0",
4
4
  "description": "Eslint plugin checking architecture boundaries between elements",
5
5
  "keywords": [
6
6
  "eslint",
@@ -54,7 +54,7 @@
54
54
  "eslint-module-utils": "2.12.1",
55
55
  "handlebars": "4.7.8",
56
56
  "micromatch": "4.0.8",
57
- "@boundaries/elements": "2.0.0-beta.1"
57
+ "@boundaries/elements": "2.0.0"
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=18.18"