@voiceflow/dependency-cruiser-config 1.3.0 → 1.4.1
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/build/config.js +1 -1
- package/build/config.js.map +1 -1
- package/build/index.js +5 -1
- package/build/index.js.map +1 -1
- package/build/rules/index.d.ts +12 -12
- package/build/rules/index.js +12 -15
- package/build/rules/index.js.map +1 -1
- package/build/rules/noCircular.d.ts +1 -2
- package/build/rules/noCircular.js +2 -1
- package/build/rules/noCircular.js.map +1 -1
- package/build/rules/noDeprecatedCore.d.ts +1 -2
- package/build/rules/noDeprecatedCore.js +2 -1
- package/build/rules/noDeprecatedCore.js.map +1 -1
- package/build/rules/noDuplicateDepTypes.d.ts +1 -2
- package/build/rules/noDuplicateDepTypes.js +2 -1
- package/build/rules/noDuplicateDepTypes.js.map +1 -1
- package/build/rules/noNonPackage.d.ts +1 -2
- package/build/rules/noNonPackage.js +2 -1
- package/build/rules/noNonPackage.js.map +1 -1
- package/build/rules/noOrphans.d.ts +1 -2
- package/build/rules/noOrphans.js +7 -6
- package/build/rules/noOrphans.js.map +1 -1
- package/build/rules/notToDeprecated.d.ts +1 -2
- package/build/rules/notToDeprecated.js +2 -1
- package/build/rules/notToDeprecated.js.map +1 -1
- package/build/rules/notToDevDep.d.ts +1 -2
- package/build/rules/notToDevDep.js +2 -1
- package/build/rules/notToDevDep.js.map +1 -1
- package/build/rules/notToSpec.d.ts +1 -2
- package/build/rules/notToSpec.js +2 -1
- package/build/rules/notToSpec.js.map +1 -1
- package/build/rules/notToTest.d.ts +1 -2
- package/build/rules/notToTest.js +2 -1
- package/build/rules/notToTest.js.map +1 -1
- package/build/rules/notToUnresolvable.d.ts +1 -2
- package/build/rules/notToUnresolvable.js +2 -1
- package/build/rules/notToUnresolvable.js.map +1 -1
- package/build/rules/warnOptionalDeps.d.ts +1 -2
- package/build/rules/warnOptionalDeps.js +2 -1
- package/build/rules/warnOptionalDeps.js.map +1 -1
- package/build/rules/warnPeerDeps.d.ts +1 -2
- package/build/rules/warnPeerDeps.js +2 -1
- package/build/rules/warnPeerDeps.js.map +1 -1
- package/package.json +24 -25
package/build/config.js
CHANGED
|
@@ -38,7 +38,7 @@ const createConfig = ({ tsconfig = 'tsconfig.json', sourceDir = 'src', allowType
|
|
|
38
38
|
path: `(${ignore.join('|')})`,
|
|
39
39
|
// dynamic: true
|
|
40
40
|
}
|
|
41
|
-
:
|
|
41
|
+
: [],
|
|
42
42
|
/* pattern specifying which files to include (regular expression)
|
|
43
43
|
dependency-cruiser will skip everything not matching this pattern
|
|
44
44
|
*/
|
package/build/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;AAEA,mCAaiB;AAGjB,MAAM,YAAY,GAAG,CAAC,EAAE,QAAQ,GAAG,eAAe,EAAE,SAAS,GAAG,KAAK,EAAE,eAAe,GAAG,KAAK,EAAE,MAAM,GAAG,EAAE,KAAc,EAAE,EAAkB,EAAE,CAAC,CAAC;IAC/I,SAAS,EAAE;QACT,0CAA0C;QAC1C,IAAA,sBAAc,GAAE;QAChB,IAAA,qBAAa,EAAC,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;QAC/C,IAAA,4BAAoB,GAAE;QACtB,IAAA,2BAAmB,GAAE;QACrB,IAAA,wBAAgB,GAAE;QAClB,IAAA,6BAAqB,GAAE;QACvB,IAAA,+BAAuB,GAAE;QAEzB,gEAAgE;QAChE,IAAA,qBAAa,GAAE;QACf,IAAA,qBAAa,GAAE;QACf,IAAA,uBAAe,GAAE;QACjB,IAAA,4BAAoB,GAAE;QACtB,IAAA,wBAAgB,GAAE;KACnB;IACD,OAAO,EAAE;QACP;;;;UAIE;QACF,WAAW,EAAE;YACX,IAAI,EAAE,cAAc;YACpB,eAAe,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,CAAC;SAC7F;QAED;;;;UAIE;QACF,OAAO,EAAE,MAAM,CAAC,MAAM;YACpB,CAAC,CAAC;gBACE,IAAI,EAAE,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG;gBAC7B,gBAAgB;aACjB;YACH,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"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"}
|
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.
|
|
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];
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
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"}
|
package/build/rules/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
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';
|
package/build/rules/index.js
CHANGED
|
@@ -1,31 +1,28 @@
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
27
|
+
Object.defineProperty(exports, "warnPeerDepsRule", { enumerable: true, get: function () { return warnPeerDeps_1.warnPeerDepsRule; } });
|
|
31
28
|
//# sourceMappingURL=index.js.map
|
package/build/rules/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;AAAA,2CAA8C;AAArC,4GAAA,cAAc,OAAA;AACvB,uDAA0D;AAAjD,wHAAA,oBAAoB,OAAA;AAC7B,6DAAgE;AAAvD,8HAAA,uBAAuB,OAAA;AAChC,+CAAkD;AAAzC,gHAAA,gBAAgB,OAAA;AACzB,yCAA4C;AAAnC,0GAAA,aAAa,OAAA;AACtB,qDAAwD;AAA/C,sHAAA,mBAAmB,OAAA;AAC5B,6CAAgD;AAAvC,8GAAA,eAAe,OAAA;AACxB,yCAA4C;AAAnC,0GAAA,aAAa,OAAA;AACtB,yCAA4C;AAAnC,0GAAA,aAAa,OAAA;AACtB,yDAA4D;AAAnD,0HAAA,qBAAqB,OAAA;AAC9B,uDAA0D;AAAjD,wHAAA,oBAAoB,OAAA;AAC7B,+CAAkD;AAAzC,gHAAA,gBAAgB,OAAA"}
|
|
@@ -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,5 @@ const noCircularRule = () => ({
|
|
|
10
11
|
circular: true,
|
|
11
12
|
},
|
|
12
13
|
});
|
|
13
|
-
exports.
|
|
14
|
+
exports.noCircularRule = noCircularRule;
|
|
14
15
|
//# sourceMappingURL=noCircular.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noCircular.js","sourceRoot":"","sources":["../../src/rules/noCircular.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"noCircular.js","sourceRoot":"","sources":["../../src/rules/noCircular.ts"],"names":[],"mappings":";;;AAEO,MAAM,cAAc,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC9D,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;AAVU,QAAA,cAAc,kBAUxB"}
|
|
@@ -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,5 @@ const noDeprecatedCoreRule = () => ({
|
|
|
33
34
|
],
|
|
34
35
|
},
|
|
35
36
|
});
|
|
36
|
-
exports.
|
|
37
|
+
exports.noDeprecatedCoreRule = noDeprecatedCoreRule;
|
|
37
38
|
//# sourceMappingURL=noDeprecatedCore.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noDeprecatedCore.js","sourceRoot":"","sources":["../../src/rules/noDeprecatedCore.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"noDeprecatedCore.js","sourceRoot":"","sources":["../../src/rules/noDeprecatedCore.ts"],"names":[],"mappings":";;;AAEO,MAAM,oBAAoB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACpE,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;AAjCU,QAAA,oBAAoB,wBAiC9B"}
|
|
@@ -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 " +
|
|
@@ -11,5 +12,5 @@ const noDuplicateDepTypesRule = () => ({
|
|
|
11
12
|
moreThanOneDependencyType: true,
|
|
12
13
|
},
|
|
13
14
|
});
|
|
14
|
-
exports.
|
|
15
|
+
exports.noDuplicateDepTypesRule = noDuplicateDepTypesRule;
|
|
15
16
|
//# sourceMappingURL=noDuplicateDepTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noDuplicateDepTypes.js","sourceRoot":"","sources":["../../src/rules/noDuplicateDepTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"noDuplicateDepTypes.js","sourceRoot":"","sources":["../../src/rules/noDuplicateDepTypes.ts"],"names":[],"mappings":";;;AAEO,MAAM,uBAAuB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACvE,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;AAXU,QAAA,uBAAuB,2BAWjC"}
|
|
@@ -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,5 @@ const noNonPackageRule = () => ({
|
|
|
12
13
|
dependencyTypes: ['npm-no-pkg', 'npm-unknown'],
|
|
13
14
|
},
|
|
14
15
|
});
|
|
15
|
-
exports.
|
|
16
|
+
exports.noNonPackageRule = noNonPackageRule;
|
|
16
17
|
//# sourceMappingURL=noNonPackage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noNonPackage.js","sourceRoot":"","sources":["../../src/rules/noNonPackage.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"noNonPackage.js","sourceRoot":"","sources":["../../src/rules/noNonPackage.ts"],"names":[],"mappings":";;;AAEO,MAAM,gBAAgB,GAAG,GAA8B,EAAE,CAAC,CAAC;IAChE,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;AAZU,QAAA,gBAAgB,oBAY1B"}
|
|
@@ -2,5 +2,4 @@ import { 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;
|
package/build/rules/noOrphans.js
CHANGED
|
@@ -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,14 @@ 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)$',
|
|
18
|
-
...(ignoreTypes ? ['(^|/)types\\.ts$'] : []),
|
|
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
|
|
19
|
+
...(ignoreTypes ? ['(^|/)types\\.ts$', '\\.interface\\.ts$'] : []),
|
|
19
20
|
],
|
|
20
21
|
},
|
|
21
22
|
to: {},
|
|
22
23
|
});
|
|
23
|
-
exports.
|
|
24
|
+
exports.noOrphansRule = noOrphansRule;
|
|
24
25
|
//# sourceMappingURL=noOrphans.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noOrphans.js","sourceRoot":"","sources":["../../src/rules/noOrphans.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"noOrphans.js","sourceRoot":"","sources":["../../src/rules/noOrphans.ts"],"names":[],"mappings":";;;AAMO,MAAM,aAAa,GAAG,CAAC,EAAE,WAAW,GAAG,KAAK,KAAuB,EAAE,EAA6B,EAAE,CAAC,CAAC;IAC3G,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,EAAE,YAAY;YACrD,YAAY,EAAE,+BAA+B;YAC7C,uBAAuB,EAAE,oBAAoB;YAC7C,uDAAuD,EAAE,gBAAgB;YACzE,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;AApBU,QAAA,aAAa,iBAoBvB"}
|
|
@@ -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,5 @@ const notToDeprecatedRule = () => ({
|
|
|
10
11
|
dependencyTypes: ['deprecated'],
|
|
11
12
|
},
|
|
12
13
|
});
|
|
13
|
-
exports.
|
|
14
|
+
exports.notToDeprecatedRule = notToDeprecatedRule;
|
|
14
15
|
//# sourceMappingURL=notToDeprecated.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notToDeprecated.js","sourceRoot":"","sources":["../../src/rules/notToDeprecated.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notToDeprecated.js","sourceRoot":"","sources":["../../src/rules/notToDeprecated.ts"],"names":[],"mappings":";;;AAEO,MAAM,mBAAmB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACnE,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;AAVU,QAAA,mBAAmB,uBAU7B"}
|
|
@@ -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,5 @@ const notToDevDepRule = () => ({
|
|
|
16
17
|
dependencyTypes: ['npm-dev'],
|
|
17
18
|
},
|
|
18
19
|
});
|
|
19
|
-
exports.
|
|
20
|
+
exports.notToDevDepRule = notToDevDepRule;
|
|
20
21
|
//# sourceMappingURL=notToDevDep.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notToDevDep.js","sourceRoot":"","sources":["../../src/rules/notToDevDep.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notToDevDep.js","sourceRoot":"","sources":["../../src/rules/notToDevDep.ts"],"names":[],"mappings":";;;AAEO,MAAM,eAAe,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC/D,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;AAhBU,QAAA,eAAe,mBAgBzB"}
|
package/build/rules/notToSpec.js
CHANGED
|
@@ -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,5 @@ const notToSpecRule = () => ({
|
|
|
11
12
|
path: '\\.(spec|test)\\.(js|mjs|cjs|ts|ls|coffee|litcoffee|coffee\\.md)$',
|
|
12
13
|
},
|
|
13
14
|
});
|
|
14
|
-
exports.
|
|
15
|
+
exports.notToSpecRule = notToSpecRule;
|
|
15
16
|
//# sourceMappingURL=notToSpec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notToSpec.js","sourceRoot":"","sources":["../../src/rules/notToSpec.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notToSpec.js","sourceRoot":"","sources":["../../src/rules/notToSpec.ts"],"names":[],"mappings":";;;AAEO,MAAM,aAAa,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC7D,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;AAXU,QAAA,aAAa,iBAWvB"}
|
package/build/rules/notToTest.js
CHANGED
|
@@ -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,5 @@ const notToTestRule = () => ({
|
|
|
13
14
|
path: '^(test)',
|
|
14
15
|
},
|
|
15
16
|
});
|
|
16
|
-
exports.
|
|
17
|
+
exports.notToTestRule = notToTestRule;
|
|
17
18
|
//# sourceMappingURL=notToTest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notToTest.js","sourceRoot":"","sources":["../../src/rules/notToTest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notToTest.js","sourceRoot":"","sources":["../../src/rules/notToTest.ts"],"names":[],"mappings":";;;AAEO,MAAM,aAAa,GAAG,GAA8B,EAAE,CAAC,CAAC;IAC7D,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;AAbU,QAAA,aAAa,iBAavB"}
|
|
@@ -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,5 @@ const notToUnresolvableRule = () => ({
|
|
|
10
11
|
couldNotResolve: true,
|
|
11
12
|
},
|
|
12
13
|
});
|
|
13
|
-
exports.
|
|
14
|
+
exports.notToUnresolvableRule = notToUnresolvableRule;
|
|
14
15
|
//# sourceMappingURL=notToUnresolvable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notToUnresolvable.js","sourceRoot":"","sources":["../../src/rules/notToUnresolvable.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notToUnresolvable.js","sourceRoot":"","sources":["../../src/rules/notToUnresolvable.ts"],"names":[],"mappings":";;;AAEO,MAAM,qBAAqB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACrE,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;AAVU,QAAA,qBAAqB,yBAU/B"}
|
|
@@ -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,5 @@ const warnOptionalDepsRule = () => ({
|
|
|
12
13
|
dependencyTypes: ['npm-optional'],
|
|
13
14
|
},
|
|
14
15
|
});
|
|
15
|
-
exports.
|
|
16
|
+
exports.warnOptionalDepsRule = warnOptionalDepsRule;
|
|
16
17
|
//# sourceMappingURL=warnOptionalDeps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"warnOptionalDeps.js","sourceRoot":"","sources":["../../src/rules/warnOptionalDeps.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"warnOptionalDeps.js","sourceRoot":"","sources":["../../src/rules/warnOptionalDeps.ts"],"names":[],"mappings":";;;AAEO,MAAM,oBAAoB,GAAG,GAA8B,EAAE,CAAC,CAAC;IACpE,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;AAZU,QAAA,oBAAoB,wBAY9B"}
|
|
@@ -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,5 @@ const warnPeerDepsRule = () => ({
|
|
|
12
13
|
dependencyTypes: ['npm-peer'],
|
|
13
14
|
},
|
|
14
15
|
});
|
|
15
|
-
exports.
|
|
16
|
+
exports.warnPeerDepsRule = warnPeerDepsRule;
|
|
16
17
|
//# sourceMappingURL=warnPeerDeps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"warnPeerDeps.js","sourceRoot":"","sources":["../../src/rules/warnPeerDeps.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"warnPeerDeps.js","sourceRoot":"","sources":["../../src/rules/warnPeerDeps.ts"],"names":[],"mappings":";;;AAEO,MAAM,gBAAgB,GAAG,GAA8B,EAAE,CAAC,CAAC;IAChE,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;AAZU,QAAA,gBAAgB,oBAY1B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/dependency-cruiser-config",
|
|
3
3
|
"description": "dependency-cruiser config for voiceflow",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.1",
|
|
5
5
|
"author": "Ben Teichman",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/voiceflow/dependency-cruiser-config/issues"
|
|
@@ -16,32 +16,28 @@
|
|
|
16
16
|
"@types/chai": "4.3.0",
|
|
17
17
|
"@types/chai-as-promised": "^7.1.4",
|
|
18
18
|
"@types/git-branch": "2.0.2",
|
|
19
|
-
"@types/
|
|
20
|
-
"@
|
|
21
|
-
"@voiceflow/
|
|
22
|
-
"@voiceflow/
|
|
23
|
-
"@voiceflow/
|
|
24
|
-
"@voiceflow/
|
|
25
|
-
"@voiceflow/tsconfig": "1.2.5",
|
|
19
|
+
"@types/node": "ts5.3",
|
|
20
|
+
"@voiceflow/commitlint-config": "2.1.0",
|
|
21
|
+
"@voiceflow/eslint-config": "^7.1.0",
|
|
22
|
+
"@voiceflow/git-branch-check": "1.4.1",
|
|
23
|
+
"@voiceflow/prettier-config": "1.3.0",
|
|
24
|
+
"@voiceflow/tsconfig": "1.4.8",
|
|
26
25
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
27
|
-
"chai": "^4.3.4",
|
|
28
|
-
"chai-as-promised": "^7.1.1",
|
|
29
26
|
"commitizen": "^4.2.4",
|
|
30
27
|
"commitlint": "16.1.0",
|
|
31
28
|
"cz-conventional-changelog": "^3.3.0",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"eslint": "^7.26.0",
|
|
29
|
+
"dependency-cruiser": "16.2.0",
|
|
30
|
+
"eslint": "^8.56.0",
|
|
35
31
|
"fixpack": "^4.0.0",
|
|
36
32
|
"husky": "7.0.4",
|
|
37
33
|
"lint-staged": "12.2.2",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
34
|
+
"prettier": "^2.8.8",
|
|
35
|
+
"rimraf": "^5.0.5",
|
|
36
|
+
"tsc-alias": "^1.8.0",
|
|
37
|
+
"typescript": "5.3.3"
|
|
38
|
+
},
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": "20"
|
|
45
41
|
},
|
|
46
42
|
"files": [
|
|
47
43
|
"build"
|
|
@@ -53,8 +49,9 @@
|
|
|
53
49
|
],
|
|
54
50
|
"license": "MIT",
|
|
55
51
|
"main": "build/index.js",
|
|
52
|
+
"packageManager": "yarn@3.2.1",
|
|
56
53
|
"peerDependencies": {
|
|
57
|
-
"dependency-cruiser": "
|
|
54
|
+
"dependency-cruiser": "^16"
|
|
58
55
|
},
|
|
59
56
|
"prettier": "@voiceflow/prettier-config",
|
|
60
57
|
"repository": {
|
|
@@ -62,7 +59,7 @@
|
|
|
62
59
|
"url": "git+https://github.com/voiceflow/dependency-cruiser-config.git"
|
|
63
60
|
},
|
|
64
61
|
"scripts": {
|
|
65
|
-
"build": "yarn clean &&
|
|
62
|
+
"build": "yarn clean && tsc --project ./tsconfig.build.json && yarn tsc-alias -p tsconfig.build.json",
|
|
66
63
|
"clean": "rimraf build",
|
|
67
64
|
"commit": "git-cz",
|
|
68
65
|
"lint": "eslint \"./**/*.{js,ts}\"",
|
|
@@ -71,8 +68,10 @@
|
|
|
71
68
|
"lint:report": "yarn lint --format json -o sonar/report.json",
|
|
72
69
|
"prepare": "husky install",
|
|
73
70
|
"test": "yarn test:run",
|
|
74
|
-
"test:dependencies": "
|
|
75
|
-
|
|
76
|
-
|
|
71
|
+
"test:dependencies": "depcruise src"
|
|
72
|
+
},
|
|
73
|
+
"volta": {
|
|
74
|
+
"node": "20.10.0",
|
|
75
|
+
"yarn": "3.2.1"
|
|
77
76
|
}
|
|
78
77
|
}
|