@voiceflow/dependency-cruiser-config 1.3.1 → 1.5.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.
Files changed (66) hide show
  1. package/build/config.d.ts +4 -3
  2. package/build/config.d.ts.map +1 -0
  3. package/build/config.js +8 -7
  4. package/build/index.d.ts +1 -0
  5. package/build/index.d.ts.map +1 -0
  6. package/build/index.js +5 -2
  7. package/build/rules/index.d.ts +13 -12
  8. package/build/rules/index.d.ts.map +1 -0
  9. package/build/rules/index.js +12 -16
  10. package/build/rules/noCircular.d.ts +3 -3
  11. package/build/rules/noCircular.d.ts.map +1 -0
  12. package/build/rules/noCircular.js +2 -2
  13. package/build/rules/noDeprecatedCore.d.ts +3 -3
  14. package/build/rules/noDeprecatedCore.d.ts.map +1 -0
  15. package/build/rules/noDeprecatedCore.js +2 -2
  16. package/build/rules/noDuplicateDepTypes.d.ts +3 -3
  17. package/build/rules/noDuplicateDepTypes.d.ts.map +1 -0
  18. package/build/rules/noDuplicateDepTypes.js +3 -2
  19. package/build/rules/noNonPackage.d.ts +3 -3
  20. package/build/rules/noNonPackage.d.ts.map +1 -0
  21. package/build/rules/noNonPackage.js +2 -2
  22. package/build/rules/noOrphans.d.ts +3 -3
  23. package/build/rules/noOrphans.d.ts.map +1 -0
  24. package/build/rules/noOrphans.js +6 -6
  25. package/build/rules/notToDeprecated.d.ts +3 -3
  26. package/build/rules/notToDeprecated.d.ts.map +1 -0
  27. package/build/rules/notToDeprecated.js +2 -2
  28. package/build/rules/notToDevDep.d.ts +3 -3
  29. package/build/rules/notToDevDep.d.ts.map +1 -0
  30. package/build/rules/notToDevDep.js +2 -2
  31. package/build/rules/notToSpec.d.ts +3 -3
  32. package/build/rules/notToSpec.d.ts.map +1 -0
  33. package/build/rules/notToSpec.js +2 -2
  34. package/build/rules/notToTest.d.ts +3 -3
  35. package/build/rules/notToTest.d.ts.map +1 -0
  36. package/build/rules/notToTest.js +2 -2
  37. package/build/rules/notToUnresolvable.d.ts +3 -3
  38. package/build/rules/notToUnresolvable.d.ts.map +1 -0
  39. package/build/rules/notToUnresolvable.js +2 -2
  40. package/build/rules/warnOptionalDeps.d.ts +3 -3
  41. package/build/rules/warnOptionalDeps.d.ts.map +1 -0
  42. package/build/rules/warnOptionalDeps.js +2 -2
  43. package/build/rules/warnPeerDeps.d.ts +3 -3
  44. package/build/rules/warnPeerDeps.d.ts.map +1 -0
  45. package/build/rules/warnPeerDeps.js +2 -2
  46. package/build/types.d.ts +2 -1
  47. package/build/types.d.ts.map +1 -0
  48. package/build/types.js +0 -1
  49. package/package.json +26 -68
  50. package/README.md +0 -7
  51. package/build/config.js.map +0 -1
  52. package/build/index.js.map +0 -1
  53. package/build/rules/index.js.map +0 -1
  54. package/build/rules/noCircular.js.map +0 -1
  55. package/build/rules/noDeprecatedCore.js.map +0 -1
  56. package/build/rules/noDuplicateDepTypes.js.map +0 -1
  57. package/build/rules/noNonPackage.js.map +0 -1
  58. package/build/rules/noOrphans.js.map +0 -1
  59. package/build/rules/notToDeprecated.js.map +0 -1
  60. package/build/rules/notToDevDep.js.map +0 -1
  61. package/build/rules/notToSpec.js.map +0 -1
  62. package/build/rules/notToTest.js.map +0 -1
  63. package/build/rules/notToUnresolvable.js.map +0 -1
  64. package/build/rules/warnOptionalDeps.js.map +0 -1
  65. package/build/rules/warnPeerDeps.js.map +0 -1
  66. package/build/types.js.map +0 -1
package/build/config.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { IConfiguration } from 'dependency-cruiser';
2
- import { Options } from './types';
3
- declare const createConfig: ({ tsconfig, sourceDir, allowTypeCycles, ignore }?: Options) => IConfiguration;
1
+ import type { IConfiguration } from 'dependency-cruiser';
2
+ import type { Options } from './types';
3
+ declare const createConfig: ({ tsconfig, sourceDir, allowTypeCycles, ignore, }?: Options) => IConfiguration;
4
4
  export default createConfig;
5
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAgBzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,YAAY,uDAKf,OAAO,KAAQ,cAmOhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
package/build/config.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const rules_1 = require("./rules");
4
- const createConfig = ({ tsconfig = 'tsconfig.json', sourceDir = 'src', allowTypeCycles = false, ignore = [] } = {}) => ({
4
+ const createConfig = ({ tsconfig = 'tsconfig.json', sourceDir = 'src', allowTypeCycles = false, ignore = [], } = {}) => ({
5
5
  forbidden: [
6
6
  /* rules from the 'recommended' preset: */
7
7
  (0, rules_1.noCircularRule)(),
@@ -25,7 +25,7 @@ const createConfig = ({ tsconfig = 'tsconfig.json', sourceDir = 'src', allowType
25
25
  for a complete list
26
26
  */
27
27
  doNotFollow: {
28
- path: 'node_modules',
28
+ path: ['node_modules', 'build', 'sonar'],
29
29
  dependencyTypes: ['npm', 'npm-dev', 'npm-optional', 'npm-peer', 'npm-bundled', 'npm-no-pkg'],
30
30
  },
31
31
  /* conditions specifying which dependencies to exclude
@@ -38,7 +38,7 @@ const createConfig = ({ tsconfig = 'tsconfig.json', sourceDir = 'src', allowType
38
38
  path: `(${ignore.join('|')})`,
39
39
  // dynamic: true
40
40
  }
41
- : undefined,
41
+ : [],
42
42
  /* pattern specifying which files to include (regular expression)
43
43
  dependency-cruiser will skip everything not matching this pattern
44
44
  */
@@ -77,9 +77,11 @@ const createConfig = ({ tsconfig = 'tsconfig.json', sourceDir = 'src', allowType
77
77
  dependency-cruiser's current working directory). When not provided
78
78
  defaults to './tsconfig.json'.
79
79
  */
80
- tsConfig: {
81
- fileName: tsconfig,
82
- },
80
+ ...(tsconfig && {
81
+ tsConfig: {
82
+ fileName: tsconfig,
83
+ },
84
+ }),
83
85
  /* Webpack configuration to use to get resolve options from.
84
86
 
85
87
  The (optional) fileName attribute specifies which file to take (relative
@@ -212,4 +214,3 @@ const createConfig = ({ tsconfig = 'tsconfig.json', sourceDir = 'src', allowType
212
214
  },
213
215
  });
214
216
  exports.default = createConfig;
215
- //# sourceMappingURL=config.js.map
package/build/index.d.ts CHANGED
@@ -3,3 +3,4 @@ export { createConfig };
3
3
  export * from './rules';
4
4
  declare const defaultConfig: import("dependency-cruiser").IConfiguration;
5
5
  export default defaultConfig;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,UAAU,CAAC;AAEpC,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,QAAA,MAAM,aAAa,6CAAiB,CAAC;AAErC,eAAe,aAAa,CAAC"}
package/build/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -19,4 +23,3 @@ exports.createConfig = config_1.default;
19
23
  __exportStar(require("./rules"), exports);
20
24
  const defaultConfig = (0, config_1.default)();
21
25
  exports.default = defaultConfig;
22
- //# sourceMappingURL=index.js.map
@@ -1,12 +1,13 @@
1
- export { default as noCircularRule } from './noCircular';
2
- export { default as noDeprecatedCoreRule } from './noDeprecatedCore';
3
- export { default as noDuplicateDepTypesRule } from './noDuplicateDepTypes';
4
- export { default as noNonPackageRule } from './noNonPackage';
5
- export { default as noOrphansRule } from './noOrphans';
6
- export { default as notToDeprecatedRule } from './notToDeprecated';
7
- export { default as notToDevDepRule } from './notToDevDep';
8
- export { default as notToSpecRule } from './notToSpec';
9
- export { default as notToTestRule } from './notToTest';
10
- export { default as notToUnresolvableRule } from './notToUnresolvable';
11
- export { default as warnOptionalDepsRule } from './warnOptionalDeps';
12
- export { default as warnPeerDepsRule } from './warnPeerDeps';
1
+ export { noCircularRule } from './noCircular';
2
+ export { noDeprecatedCoreRule } from './noDeprecatedCore';
3
+ export { noDuplicateDepTypesRule } from './noDuplicateDepTypes';
4
+ export { noNonPackageRule } from './noNonPackage';
5
+ export { noOrphansRule } from './noOrphans';
6
+ export { notToDeprecatedRule } from './notToDeprecated';
7
+ export { notToDevDepRule } from './notToDevDep';
8
+ export { notToSpecRule } from './notToSpec';
9
+ export { notToTestRule } from './notToTest';
10
+ export { notToUnresolvableRule } from './notToUnresolvable';
11
+ export { warnOptionalDepsRule } from './warnOptionalDeps';
12
+ export { warnPeerDepsRule } from './warnPeerDeps';
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,31 +1,27 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.warnPeerDepsRule = exports.warnOptionalDepsRule = exports.notToUnresolvableRule = exports.notToTestRule = exports.notToSpecRule = exports.notToDevDepRule = exports.notToDeprecatedRule = exports.noOrphansRule = exports.noNonPackageRule = exports.noDuplicateDepTypesRule = exports.noDeprecatedCoreRule = exports.noCircularRule = void 0;
7
4
  var noCircular_1 = require("./noCircular");
8
- Object.defineProperty(exports, "noCircularRule", { enumerable: true, get: function () { return __importDefault(noCircular_1).default; } });
5
+ Object.defineProperty(exports, "noCircularRule", { enumerable: true, get: function () { return noCircular_1.noCircularRule; } });
9
6
  var noDeprecatedCore_1 = require("./noDeprecatedCore");
10
- Object.defineProperty(exports, "noDeprecatedCoreRule", { enumerable: true, get: function () { return __importDefault(noDeprecatedCore_1).default; } });
7
+ Object.defineProperty(exports, "noDeprecatedCoreRule", { enumerable: true, get: function () { return noDeprecatedCore_1.noDeprecatedCoreRule; } });
11
8
  var noDuplicateDepTypes_1 = require("./noDuplicateDepTypes");
12
- Object.defineProperty(exports, "noDuplicateDepTypesRule", { enumerable: true, get: function () { return __importDefault(noDuplicateDepTypes_1).default; } });
9
+ Object.defineProperty(exports, "noDuplicateDepTypesRule", { enumerable: true, get: function () { return noDuplicateDepTypes_1.noDuplicateDepTypesRule; } });
13
10
  var noNonPackage_1 = require("./noNonPackage");
14
- Object.defineProperty(exports, "noNonPackageRule", { enumerable: true, get: function () { return __importDefault(noNonPackage_1).default; } });
11
+ Object.defineProperty(exports, "noNonPackageRule", { enumerable: true, get: function () { return noNonPackage_1.noNonPackageRule; } });
15
12
  var noOrphans_1 = require("./noOrphans");
16
- Object.defineProperty(exports, "noOrphansRule", { enumerable: true, get: function () { return __importDefault(noOrphans_1).default; } });
13
+ Object.defineProperty(exports, "noOrphansRule", { enumerable: true, get: function () { return noOrphans_1.noOrphansRule; } });
17
14
  var notToDeprecated_1 = require("./notToDeprecated");
18
- Object.defineProperty(exports, "notToDeprecatedRule", { enumerable: true, get: function () { return __importDefault(notToDeprecated_1).default; } });
15
+ Object.defineProperty(exports, "notToDeprecatedRule", { enumerable: true, get: function () { return notToDeprecated_1.notToDeprecatedRule; } });
19
16
  var notToDevDep_1 = require("./notToDevDep");
20
- Object.defineProperty(exports, "notToDevDepRule", { enumerable: true, get: function () { return __importDefault(notToDevDep_1).default; } });
17
+ Object.defineProperty(exports, "notToDevDepRule", { enumerable: true, get: function () { return notToDevDep_1.notToDevDepRule; } });
21
18
  var notToSpec_1 = require("./notToSpec");
22
- Object.defineProperty(exports, "notToSpecRule", { enumerable: true, get: function () { return __importDefault(notToSpec_1).default; } });
19
+ Object.defineProperty(exports, "notToSpecRule", { enumerable: true, get: function () { return notToSpec_1.notToSpecRule; } });
23
20
  var notToTest_1 = require("./notToTest");
24
- Object.defineProperty(exports, "notToTestRule", { enumerable: true, get: function () { return __importDefault(notToTest_1).default; } });
21
+ Object.defineProperty(exports, "notToTestRule", { enumerable: true, get: function () { return notToTest_1.notToTestRule; } });
25
22
  var notToUnresolvable_1 = require("./notToUnresolvable");
26
- Object.defineProperty(exports, "notToUnresolvableRule", { enumerable: true, get: function () { return __importDefault(notToUnresolvable_1).default; } });
23
+ Object.defineProperty(exports, "notToUnresolvableRule", { enumerable: true, get: function () { return notToUnresolvable_1.notToUnresolvableRule; } });
27
24
  var warnOptionalDeps_1 = require("./warnOptionalDeps");
28
- Object.defineProperty(exports, "warnOptionalDepsRule", { enumerable: true, get: function () { return __importDefault(warnOptionalDeps_1).default; } });
25
+ Object.defineProperty(exports, "warnOptionalDepsRule", { enumerable: true, get: function () { return warnOptionalDeps_1.warnOptionalDepsRule; } });
29
26
  var warnPeerDeps_1 = require("./warnPeerDeps");
30
- Object.defineProperty(exports, "warnPeerDepsRule", { enumerable: true, get: function () { return __importDefault(warnPeerDeps_1).default; } });
31
- //# sourceMappingURL=index.js.map
27
+ Object.defineProperty(exports, "warnPeerDepsRule", { enumerable: true, get: function () { return warnPeerDeps_1.warnPeerDepsRule; } });
@@ -1,3 +1,3 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
- declare const noCircularRule: () => IRegularForbiddenRuleType;
3
- export default noCircularRule;
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
+ export declare const noCircularRule: () => IRegularForbiddenRuleType;
3
+ //# sourceMappingURL=noCircular.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"noCircular.d.ts","sourceRoot":"","sources":["../../src/rules/noCircular.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,eAAO,MAAM,cAAc,QAAO,yBAUhC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.noCircularRule = void 0;
3
4
  const noCircularRule = () => ({
4
5
  name: 'no-circular',
5
6
  severity: 'error',
@@ -10,5 +11,4 @@ const noCircularRule = () => ({
10
11
  circular: true,
11
12
  },
12
13
  });
13
- exports.default = noCircularRule;
14
- //# sourceMappingURL=noCircular.js.map
14
+ exports.noCircularRule = noCircularRule;
@@ -1,3 +1,3 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
- declare const noDeprecatedCoreRule: () => IRegularForbiddenRuleType;
3
- export default noDeprecatedCoreRule;
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
+ export declare const noDeprecatedCoreRule: () => IRegularForbiddenRuleType;
3
+ //# sourceMappingURL=noDeprecatedCore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"noDeprecatedCore.d.ts","sourceRoot":"","sources":["../../src/rules/noDeprecatedCore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,eAAO,MAAM,oBAAoB,QAAO,yBAiCtC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.noDeprecatedCoreRule = void 0;
3
4
  const noDeprecatedCoreRule = () => ({
4
5
  name: 'no-deprecated-core',
5
6
  comment: 'A module depends on a node core module that has been deprecated. Find an alternative - these are ' +
@@ -33,5 +34,4 @@ const noDeprecatedCoreRule = () => ({
33
34
  ],
34
35
  },
35
36
  });
36
- exports.default = noDeprecatedCoreRule;
37
- //# sourceMappingURL=noDeprecatedCore.js.map
37
+ exports.noDeprecatedCoreRule = noDeprecatedCoreRule;
@@ -1,3 +1,3 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
- declare const noDuplicateDepTypesRule: () => IRegularForbiddenRuleType;
3
- export default noDuplicateDepTypesRule;
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
+ export declare const noDuplicateDepTypesRule: () => IRegularForbiddenRuleType;
3
+ //# sourceMappingURL=noDuplicateDepTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"noDuplicateDepTypes.d.ts","sourceRoot":"","sources":["../../src/rules/noDuplicateDepTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,eAAO,MAAM,uBAAuB,QAAO,yBAYzC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.noDuplicateDepTypesRule = void 0;
3
4
  const noDuplicateDepTypesRule = () => ({
4
5
  name: 'no-duplicate-dep-types',
5
6
  comment: "Likely this module depends on an external ('npm') package that occurs more than once " +
@@ -9,7 +10,7 @@ const noDuplicateDepTypesRule = () => ({
9
10
  from: {},
10
11
  to: {
11
12
  moreThanOneDependencyType: true,
13
+ dependencyTypesNot: ['type-only'],
12
14
  },
13
15
  });
14
- exports.default = noDuplicateDepTypesRule;
15
- //# sourceMappingURL=noDuplicateDepTypes.js.map
16
+ exports.noDuplicateDepTypesRule = noDuplicateDepTypesRule;
@@ -1,3 +1,3 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
- declare const noNonPackageRule: () => IRegularForbiddenRuleType;
3
- export default noNonPackageRule;
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
+ export declare const noNonPackageRule: () => IRegularForbiddenRuleType;
3
+ //# sourceMappingURL=noNonPackage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"noNonPackage.d.ts","sourceRoot":"","sources":["../../src/rules/noNonPackage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,eAAO,MAAM,gBAAgB,QAAO,yBAYlC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.noNonPackageRule = void 0;
3
4
  const noNonPackageRule = () => ({
4
5
  name: 'no-non-package-json',
5
6
  severity: 'error',
@@ -12,5 +13,4 @@ const noNonPackageRule = () => ({
12
13
  dependencyTypes: ['npm-no-pkg', 'npm-unknown'],
13
14
  },
14
15
  });
15
- exports.default = noNonPackageRule;
16
- //# sourceMappingURL=noNonPackage.js.map
16
+ exports.noNonPackageRule = noNonPackageRule;
@@ -1,6 +1,6 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
2
  export interface NoOrphansOptions {
3
3
  ignoreTypes?: boolean;
4
4
  }
5
- declare const noOrphansRule: ({ ignoreTypes }?: NoOrphansOptions) => IRegularForbiddenRuleType;
6
- export default noOrphansRule;
5
+ export declare const noOrphansRule: ({ ignoreTypes }?: NoOrphansOptions) => IRegularForbiddenRuleType;
6
+ //# sourceMappingURL=noOrphans.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"noOrphans.d.ts","sourceRoot":"","sources":["../../src/rules/noOrphans.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,qBAA6B,gBAAgB,KAAQ,yBAoB7E,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.noOrphansRule = void 0;
3
4
  const noOrphansRule = ({ ignoreTypes = false } = {}) => ({
4
5
  name: 'no-orphans',
5
6
  comment: "This is an orphan module - it's likely not used (anymore?). Either use it or " +
@@ -11,14 +12,13 @@ const noOrphansRule = ({ ignoreTypes = false } = {}) => ({
11
12
  from: {
12
13
  orphan: true,
13
14
  pathNot: [
14
- '(^|/)\\.[^/]+\\.(js|cjs|mjs|ts|json)$',
15
- '\\.d\\.ts$',
16
- '(^|/)tsconfig\\.json$',
17
- '(^|/)(babel|webpack)\\.config\\.(js|cjs|mjs|ts|json)$',
15
+ '(^|/)\\.[^/]+\\.(js|cjs|mjs|ts|json)$', // dot files
16
+ '\\.d\\.ts$', // TypeScript declaration files
17
+ '(^|/)tsconfig\\.json$', // TypeScript config
18
+ '(^|/)(babel|webpack)\\.config\\.(js|cjs|mjs|ts|json)$', // other configs
18
19
  ...(ignoreTypes ? ['(^|/)types\\.ts$', '\\.interface\\.ts$'] : []),
19
20
  ],
20
21
  },
21
22
  to: {},
22
23
  });
23
- exports.default = noOrphansRule;
24
- //# sourceMappingURL=noOrphans.js.map
24
+ exports.noOrphansRule = noOrphansRule;
@@ -1,3 +1,3 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
- declare const notToDeprecatedRule: () => IRegularForbiddenRuleType;
3
- export default notToDeprecatedRule;
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
+ export declare const notToDeprecatedRule: () => IRegularForbiddenRuleType;
3
+ //# sourceMappingURL=notToDeprecated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notToDeprecated.d.ts","sourceRoot":"","sources":["../../src/rules/notToDeprecated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,eAAO,MAAM,mBAAmB,QAAO,yBAUrC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.notToDeprecatedRule = void 0;
3
4
  const notToDeprecatedRule = () => ({
4
5
  name: 'not-to-deprecated',
5
6
  comment: 'This module uses a (version of an) npm module that has been deprecated. Either upgrade to a later ' +
@@ -10,5 +11,4 @@ const notToDeprecatedRule = () => ({
10
11
  dependencyTypes: ['deprecated'],
11
12
  },
12
13
  });
13
- exports.default = notToDeprecatedRule;
14
- //# sourceMappingURL=notToDeprecated.js.map
14
+ exports.notToDeprecatedRule = notToDeprecatedRule;
@@ -1,3 +1,3 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
- declare const notToDevDepRule: () => IRegularForbiddenRuleType;
3
- export default notToDevDepRule;
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
+ export declare const notToDevDepRule: () => IRegularForbiddenRuleType;
3
+ //# sourceMappingURL=notToDevDep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notToDevDep.d.ts","sourceRoot":"","sources":["../../src/rules/notToDevDep.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,eAAO,MAAM,eAAe,QAAO,yBAgBjC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.notToDevDepRule = void 0;
3
4
  const notToDevDepRule = () => ({
4
5
  name: 'not-to-dev-dep',
5
6
  severity: 'error',
@@ -16,5 +17,4 @@ const notToDevDepRule = () => ({
16
17
  dependencyTypes: ['npm-dev'],
17
18
  },
18
19
  });
19
- exports.default = notToDevDepRule;
20
- //# sourceMappingURL=notToDevDep.js.map
20
+ exports.notToDevDepRule = notToDevDepRule;
@@ -1,3 +1,3 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
- declare const notToSpecRule: () => IRegularForbiddenRuleType;
3
- export default notToSpecRule;
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
+ export declare const notToSpecRule: () => IRegularForbiddenRuleType;
3
+ //# sourceMappingURL=notToSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notToSpec.d.ts","sourceRoot":"","sources":["../../src/rules/notToSpec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,eAAO,MAAM,aAAa,QAAO,yBAW/B,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.notToSpecRule = void 0;
3
4
  const notToSpecRule = () => ({
4
5
  name: 'not-to-spec',
5
6
  comment: 'This module depends on a spec (test) file. The sole responsibility of a spec file is to test code. ' +
@@ -11,5 +12,4 @@ const notToSpecRule = () => ({
11
12
  path: '\\.(spec|test)\\.(js|mjs|cjs|ts|ls|coffee|litcoffee|coffee\\.md)$',
12
13
  },
13
14
  });
14
- exports.default = notToSpecRule;
15
- //# sourceMappingURL=notToSpec.js.map
15
+ exports.notToSpecRule = notToSpecRule;
@@ -1,3 +1,3 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
- declare const notToTestRule: () => IRegularForbiddenRuleType;
3
- export default notToTestRule;
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
+ export declare const notToTestRule: () => IRegularForbiddenRuleType;
3
+ //# sourceMappingURL=notToTest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notToTest.d.ts","sourceRoot":"","sources":["../../src/rules/notToTest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,eAAO,MAAM,aAAa,QAAO,yBAa/B,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.notToTestRule = void 0;
3
4
  const notToTestRule = () => ({
4
5
  name: 'not-to-test',
5
6
  comment: "This module depends on code within a folder that should only contain tests. As tests don't " +
@@ -13,5 +14,4 @@ const notToTestRule = () => ({
13
14
  path: '^(test)',
14
15
  },
15
16
  });
16
- exports.default = notToTestRule;
17
- //# sourceMappingURL=notToTest.js.map
17
+ exports.notToTestRule = notToTestRule;
@@ -1,3 +1,3 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
- declare const notToUnresolvableRule: () => IRegularForbiddenRuleType;
3
- export default notToUnresolvableRule;
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
+ export declare const notToUnresolvableRule: () => IRegularForbiddenRuleType;
3
+ //# sourceMappingURL=notToUnresolvable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notToUnresolvable.d.ts","sourceRoot":"","sources":["../../src/rules/notToUnresolvable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,eAAO,MAAM,qBAAqB,QAAO,yBAUvC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.notToUnresolvableRule = void 0;
3
4
  const notToUnresolvableRule = () => ({
4
5
  name: 'not-to-unresolvable',
5
6
  comment: "This module depends on a module that cannot be found ('resolved to disk'). If it's an npm " +
@@ -10,5 +11,4 @@ const notToUnresolvableRule = () => ({
10
11
  couldNotResolve: true,
11
12
  },
12
13
  });
13
- exports.default = notToUnresolvableRule;
14
- //# sourceMappingURL=notToUnresolvable.js.map
14
+ exports.notToUnresolvableRule = notToUnresolvableRule;
@@ -1,3 +1,3 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
- declare const warnOptionalDepsRule: () => IRegularForbiddenRuleType;
3
- export default warnOptionalDepsRule;
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
+ export declare const warnOptionalDepsRule: () => IRegularForbiddenRuleType;
3
+ //# sourceMappingURL=warnOptionalDeps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"warnOptionalDeps.d.ts","sourceRoot":"","sources":["../../src/rules/warnOptionalDeps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,eAAO,MAAM,oBAAoB,QAAO,yBAYtC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.warnOptionalDepsRule = void 0;
3
4
  const warnOptionalDepsRule = () => ({
4
5
  name: 'optional-deps-used',
5
6
  severity: 'info',
@@ -12,5 +13,4 @@ const warnOptionalDepsRule = () => ({
12
13
  dependencyTypes: ['npm-optional'],
13
14
  },
14
15
  });
15
- exports.default = warnOptionalDepsRule;
16
- //# sourceMappingURL=warnOptionalDeps.js.map
16
+ exports.warnOptionalDepsRule = warnOptionalDepsRule;
@@ -1,3 +1,3 @@
1
- import { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
- declare const warnPeerDepsRule: () => IRegularForbiddenRuleType;
3
- export default warnPeerDepsRule;
1
+ import type { IRegularForbiddenRuleType } from 'dependency-cruiser';
2
+ export declare const warnPeerDepsRule: () => IRegularForbiddenRuleType;
3
+ //# sourceMappingURL=warnPeerDeps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"warnPeerDeps.d.ts","sourceRoot":"","sources":["../../src/rules/warnPeerDeps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,eAAO,MAAM,gBAAgB,QAAO,yBAYlC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.warnPeerDepsRule = void 0;
3
4
  const warnPeerDepsRule = () => ({
4
5
  name: 'peer-deps-used',
5
6
  comment: 'This module depends on an npm package that is declared as a peer dependency ' +
@@ -12,5 +13,4 @@ const warnPeerDepsRule = () => ({
12
13
  dependencyTypes: ['npm-peer'],
13
14
  },
14
15
  });
15
- exports.default = warnPeerDepsRule;
16
- //# sourceMappingURL=warnPeerDeps.js.map
16
+ exports.warnPeerDepsRule = warnPeerDepsRule;
package/build/types.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export interface Options {
2
- tsconfig?: string;
2
+ tsconfig?: string | null;
3
3
  sourceDir?: string;
4
4
  allowTypeCycles?: boolean;
5
5
  ignore?: string[];
6
6
  }
7
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB"}
package/build/types.js CHANGED
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -1,78 +1,36 @@
1
1
  {
2
2
  "name": "@voiceflow/dependency-cruiser-config",
3
- "description": "dependency-cruiser config for voiceflow",
4
- "version": "1.3.1",
5
- "author": "Ben Teichman",
6
- "bugs": {
7
- "url": "https://github.com/voiceflow/dependency-cruiser-config/issues"
3
+ "version": "1.5.0",
4
+ "main": "build/index.js",
5
+ "types": "build/index.d.ts",
6
+ "files": [
7
+ "build/**"
8
+ ],
9
+ "scripts": {
10
+ "build": "yarn g:build:pkg",
11
+ "lint": "yarn g:run-p -c lint:eslint lint:prettier",
12
+ "lint:eslint": "yarn g:eslint",
13
+ "lint:fix": "yarn g:run-p -c \"lint:eslint --fix\" \"lint:prettier --write\"",
14
+ "lint:prettier": "yarn g:prettier --check",
15
+ "test:dependencies": "yarn g:depcruise ."
8
16
  },
9
- "config": {
10
- "commitizen": {
11
- "path": "./node_modules/cz-conventional-changelog"
12
- }
17
+ "prettier": "@voiceflow/prettier-config",
18
+ "eslintConfig": {
19
+ "extends": "@voiceflow/eslint-config"
13
20
  },
14
21
  "devDependencies": {
15
- "@istanbuljs/nyc-config-typescript": "^1.0.2",
16
- "@types/chai": "4.3.0",
17
- "@types/chai-as-promised": "^7.1.4",
18
- "@types/git-branch": "2.0.2",
19
- "@types/mocha": "9.1.0",
20
- "@types/node": "17.0.10",
21
- "@voiceflow/commitlint-config": "2.0.0",
22
- "@voiceflow/eslint-config": "^3.2.1",
23
- "@voiceflow/git-branch-check": "1.2.3",
24
- "@voiceflow/prettier-config": "1.0.6",
25
- "@voiceflow/tsconfig": "1.2.5",
26
- "@zerollup/ts-transform-paths": "^1.7.18",
27
- "chai": "^4.3.4",
28
- "chai-as-promised": "^7.1.1",
29
- "commitizen": "^4.2.4",
30
- "commitlint": "16.1.0",
31
- "cz-conventional-changelog": "^3.3.0",
32
- "depcheck": "1.4.3",
33
- "dependency-cruiser": "11.2.1",
34
- "eslint": "^7.26.0",
35
- "fixpack": "^4.0.0",
36
- "husky": "7.0.4",
37
- "lint-staged": "12.2.2",
38
- "mocha": "9.1.4",
39
- "nyc": "^15.1.0",
40
- "prettier": "^2.3.0",
41
- "rimraf": "^3.0.2",
42
- "ts-mocha": "9.0.2",
43
- "ttypescript": "1.5.13",
44
- "typescript": "4.5.5"
22
+ "@voiceflow/eslint-config": "7.2.0",
23
+ "@voiceflow/prettier-config": "1.4.0",
24
+ "@voiceflow/tsconfig": "1.5.0"
45
25
  },
46
- "files": [
47
- "build"
48
- ],
49
- "homepage": "https://github.com/voiceflow/dependency-cruiser-config#readme",
50
- "keywords": [
51
- "config",
52
- "dependency-cruiser"
53
- ],
54
- "license": "MIT",
55
- "main": "build/index.js",
56
26
  "peerDependencies": {
57
- "dependency-cruiser": "11.2.1"
27
+ "dependency-cruiser": "^16"
58
28
  },
59
- "prettier": "@voiceflow/prettier-config",
60
- "repository": {
61
- "type": "git",
62
- "url": "git+https://github.com/voiceflow/dependency-cruiser-config.git"
29
+ "engines": {
30
+ "node": "20"
63
31
  },
64
- "scripts": {
65
- "build": "yarn clean && ttsc --project ./tsconfig.build.json",
66
- "clean": "rimraf build",
67
- "commit": "git-cz",
68
- "lint": "eslint \"./**/*.{js,ts}\"",
69
- "lint:fix": "yarn lint --fix",
70
- "lint:quiet": "yarn lint --quiet",
71
- "lint:report": "yarn lint --format json -o sonar/report.json",
72
- "prepare": "husky install",
73
- "test": "yarn test:run",
74
- "test:dependencies": "depcheck",
75
- "test:run": "NODE_ENV=test nyc ts-mocha --paths --config config/test/mocharc.yml 'test/**/*.{unit,it}.ts'",
76
- "test:unit": "NODE_ENV=test nyc --report-dir=nyc_coverage_unit ts-mocha --paths --config config/test/mocharc.yml 'test/**/*.unit.ts'"
77
- }
32
+ "volta": {
33
+ "extends": "../../package.json"
34
+ },
35
+ "gitHead": "ca46718f7b4bbac9c11e5bc57047eb6181156e47"
78
36
  }
package/README.md DELETED
@@ -1,7 +0,0 @@
1
- # dependency-cruiser-config
2
-
3
- ## Install
4
-
5
- ```bash
6
- yarn add -D @voiceflow/dependency-cruiser-config
7
- ```
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AAE3B,uBAFF,gBAAY,CAEE;AACrB,0CAAwB;AAExB,MAAM,aAAa,GAAG,IAAA,gBAAY,GAAE,CAAC;AAErC,kBAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;AAAA,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,uDAAqE;AAA5D,yIAAA,OAAO,OAAwB;AACxC,6DAA2E;AAAlE,+IAAA,OAAO,OAA2B;AAC3C,+CAA6D;AAApD,iIAAA,OAAO,OAAoB;AACpC,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,qDAAmE;AAA1D,uIAAA,OAAO,OAAuB;AACvC,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,yDAAuE;AAA9D,2IAAA,OAAO,OAAyB;AACzC,uDAAqE;AAA5D,yIAAA,OAAO,OAAwB;AACxC,+CAA6D;AAApD,iIAAA,OAAO,OAAoB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"noCircular.js","sourceRoot":"","sources":["../../src/rules/noCircular.ts"],"names":[],"mappings":";;AAEA,MAAM,cAAc,GAAG,GAA8B,EAAE,CAAC,CAAC;IACvD,IAAI,EAAE,aAAa;IACnB,QAAQ,EAAE,OAAO;IACjB,OAAO,EACL,+EAA+E;QAC/E,oGAAoG;IACtG,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,QAAQ,EAAE,IAAI;KACf;CACF,CAAC,CAAC;AAEH,kBAAe,cAAc,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"noDeprecatedCore.js","sourceRoot":"","sources":["../../src/rules/noDeprecatedCore.ts"],"names":[],"mappings":";;AAEA,MAAM,oBAAoB,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC7D,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EACL,mGAAmG;QACnG,kDAAkD;IACpD,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,MAAM,CAAC;QACzB,IAAI,EAAE;YACJ,sBAAsB;YACtB,wBAAwB;YACxB,wBAAwB;YACxB,wBAAwB;YACxB,2BAA2B;YAC3B,sBAAsB;YACtB,wBAAwB;YACxB,wBAAwB;YACxB,mCAAmC;YACnC,4BAA4B;YAC5B,+BAA+B;YAC/B,8CAA8C;YAC9C,4CAA4C;YAC5C,iBAAiB;YACjB,YAAY;YACZ,cAAc;YACd,YAAY;YACZ,eAAe;YACf,SAAS;YACT,eAAe;YACf,kBAAkB;SACnB;KACF;CACF,CAAC,CAAC;AAEH,kBAAe,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"noDuplicateDepTypes.js","sourceRoot":"","sources":["../../src/rules/noDuplicateDepTypes.ts"],"names":[],"mappings":";;AAEA,MAAM,uBAAuB,GAAG,GAA8B,EAAE,CAAC,CAAC;IAChE,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EACL,uFAAuF;QACvF,0FAA0F;QAC1F,gCAAgC;IAClC,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,yBAAyB,EAAE,IAAI;KAChC;CACF,CAAC,CAAC;AAEH,kBAAe,uBAAuB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"noNonPackage.js","sourceRoot":"","sources":["../../src/rules/noNonPackage.ts"],"names":[],"mappings":";;AAEA,MAAM,gBAAgB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACzD,IAAI,EAAE,qBAAqB;IAC3B,QAAQ,EAAE,OAAO;IACjB,OAAO,EACL,uGAAuG;QACvG,8FAA8F;QAC9F,qGAAqG;QACrG,uBAAuB;IACzB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;KAC/C;CACF,CAAC,CAAC;AAEH,kBAAe,gBAAgB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"noOrphans.js","sourceRoot":"","sources":["../../src/rules/noOrphans.ts"],"names":[],"mappings":";;AAMA,MAAM,aAAa,GAAG,CAAC,EAAE,WAAW,GAAG,KAAK,KAAuB,EAAE,EAA6B,EAAE,CAAC,CAAC;IACpG,IAAI,EAAE,YAAY;IAClB,OAAO,EACL,+EAA+E;QAC/E,iFAAiF;QACjF,+EAA+E;QAC/E,qFAAqF;QACrF,yEAAyE;IAC3E,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE;QACJ,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE;YACP,uCAAuC;YACvC,YAAY;YACZ,uBAAuB;YACvB,uDAAuD;YACvD,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;SACnE;KACF;IACD,EAAE,EAAE,EAAE;CACP,CAAC,CAAC;AAEH,kBAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"notToDeprecated.js","sourceRoot":"","sources":["../../src/rules/notToDeprecated.ts"],"names":[],"mappings":";;AAEA,MAAM,mBAAmB,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC5D,IAAI,EAAE,mBAAmB;IACzB,OAAO,EACL,oGAAoG;QACpG,yFAAyF;IAC3F,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,YAAY,CAAC;KAChC;CACF,CAAC,CAAC;AAEH,kBAAe,mBAAmB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"notToDevDep.js","sourceRoot":"","sources":["../../src/rules/notToDevDep.ts"],"names":[],"mappings":";;AAEA,MAAM,eAAe,GAAG,GAA8B,EAAE,CAAC,CAAC;IACxD,IAAI,EAAE,gBAAgB;IACtB,QAAQ,EAAE,OAAO;IACjB,OAAO,EACL,mFAAmF;QACnF,8FAA8F;QAC9F,4FAA4F;QAC5F,mFAAmF;QACnF,oFAAoF;IACtF,IAAI,EAAE;QACJ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,mEAAmE;KAC7E;IACD,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,SAAS,CAAC;KAC7B;CACF,CAAC,CAAC;AAEH,kBAAe,eAAe,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"notToSpec.js","sourceRoot":"","sources":["../../src/rules/notToSpec.ts"],"names":[],"mappings":";;AAEA,MAAM,aAAa,GAAG,GAA8B,EAAE,CAAC,CAAC;IACtD,IAAI,EAAE,aAAa;IACnB,OAAO,EACL,qGAAqG;QACrG,6FAA6F;QAC7F,yFAAyF;IAC3F,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,IAAI,EAAE,mEAAmE;KAC1E;CACF,CAAC,CAAC;AAEH,kBAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"notToTest.js","sourceRoot":"","sources":["../../src/rules/notToTest.ts"],"names":[],"mappings":";;AAEA,MAAM,aAAa,GAAG,GAA8B,EAAE,CAAC,CAAC;IACtD,IAAI,EAAE,aAAa;IACnB,OAAO,EACL,6FAA6F;QAC7F,4FAA4F;QAC5F,4DAA4D;IAC9D,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE;QACJ,OAAO,EAAE,SAAS;KACnB;IACD,EAAE,EAAE;QACF,IAAI,EAAE,SAAS;KAChB;CACF,CAAC,CAAC;AAEH,kBAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"notToUnresolvable.js","sourceRoot":"","sources":["../../src/rules/notToUnresolvable.ts"],"names":[],"mappings":";;AAEA,MAAM,qBAAqB,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC9D,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EACL,4FAA4F;QAC5F,6FAA6F;IAC/F,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,IAAI;KACtB;CACF,CAAC,CAAC;AAEH,kBAAe,qBAAqB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"warnOptionalDeps.js","sourceRoot":"","sources":["../../src/rules/warnOptionalDeps.ts"],"names":[],"mappings":";;AAEA,MAAM,oBAAoB,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC7D,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,MAAM;IAChB,OAAO,EACL,mFAAmF;QACnF,2FAA2F;QAC3F,kFAAkF;QAClF,iCAAiC;IACnC,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,cAAc,CAAC;KAClC;CACF,CAAC,CAAC;AAEH,kBAAe,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"warnPeerDeps.js","sourceRoot":"","sources":["../../src/rules/warnPeerDeps.ts"],"names":[],"mappings":";;AAEA,MAAM,gBAAgB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACzD,IAAI,EAAE,gBAAgB;IACtB,OAAO,EACL,8EAA8E;QAC9E,kFAAkF;QAClF,kFAAkF;QAClF,4DAA4D;IAC9D,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,EAAE;IACR,EAAE,EAAE;QACF,eAAe,EAAE,CAAC,UAAU,CAAC;KAC9B;CACF,CAAC,CAAC;AAEH,kBAAe,gBAAgB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}