File tree 10 files changed +29
-17
lines changed
@packages/test-environment
10 files changed +29
-17
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,13 @@ module.exports = {
27
27
// Forbid a module from importing itself
28
28
'import/no-self-import' : 'error' ,
29
29
30
- // Enable after https://github.com/benmosher/eslint-plugin-import/issues/1650 is fixed
31
30
// Forbid the use of extraneous packages
32
- // 'import/no-extraneous-dependencies': [
33
- // 'error',
34
- // {devDependencies: ['**/*.test.js']}
35
- // ]
31
+ 'import/no-extraneous-dependencies' : [
32
+ 'error' ,
33
+ {
34
+ devDependencies : [ '**/*.test.js' , '**/*.test.ts' ] ,
35
+ } ,
36
+ ] ,
36
37
} ,
37
38
overrides : [
38
39
{
Original file line number Diff line number Diff line change 34
34
},
35
35
"license" : " MIT" ,
36
36
"dependencies" : {
37
- "@commitlint/cli" : " ^11.0.0"
37
+ "@commitlint/cli" : " ^11.0.0" ,
38
+ "@commitlint/types" : " ^11.0.0"
38
39
},
39
40
"devDependencies" : {
40
41
"@commitlint/test" : " ^11.0.0" ,
41
- "@commitlint/utils" : " ^11.0.0"
42
+ "@commitlint/utils" : " ^11.0.0" ,
43
+ "execa" : " ^5.0.0"
42
44
},
43
45
"gitHead" : " cb565dfcca3128380b9b3dc274aedbcae34ce5ca"
44
46
}
Original file line number Diff line number Diff line change 47
47
"@commitlint/lint" : " ^11.0.0" ,
48
48
"@commitlint/load" : " ^11.0.0" ,
49
49
"@commitlint/read" : " ^11.0.0" ,
50
+ "@commitlint/types" : " ^11.0.0" ,
50
51
"get-stdin" : " 8.0.0" ,
51
52
"lodash" : " ^4.17.19" ,
52
53
"resolve-from" : " 5.0.0" ,
Original file line number Diff line number Diff line change 43
43
"@commitlint/execute-rule" : " ^11.0.0" ,
44
44
"@commitlint/resolve-extends" : " ^11.0.0" ,
45
45
"@commitlint/types" : " ^11.0.0" ,
46
- "chalk" : " 4.1 .0" ,
46
+ "chalk" : " ^4.0 .0" ,
47
47
"cosmiconfig" : " ^7.0.0" ,
48
48
"lodash" : " ^4.17.19" ,
49
49
"resolve-from" : " ^5.0.0"
Original file line number Diff line number Diff line change 38
38
"@commitlint/utils" : " ^11.0.0"
39
39
},
40
40
"dependencies" : {
41
+ "@commitlint/types" : " ^11.0.0" ,
41
42
"conventional-changelog-angular" : " ^5.0.11" ,
42
43
"conventional-commits-parser" : " ^3.0.0"
43
44
},
Original file line number Diff line number Diff line change 41
41
},
42
42
"dependencies" : {
43
43
"@commitlint/load" : " ^11.0.0" ,
44
+ "@commitlint/types" : " ^11.0.0" ,
44
45
"chalk" : " ^4.0.0" ,
45
46
"lodash" : " ^4.17.19" ,
46
47
"throat" : " ^5.0.0" ,
Original file line number Diff line number Diff line change 37
37
"@commitlint/test" : " ^11.0.0" ,
38
38
"@commitlint/utils" : " ^11.0.0" ,
39
39
"@types/fs-extra" : " ^9.0.1" ,
40
- "@types/git-raw-commits" : " ^2.0.0"
40
+ "@types/git-raw-commits" : " ^2.0.0" ,
41
+ "execa" : " ^5.0.0"
41
42
},
42
43
"dependencies" : {
43
44
"@commitlint/top-level" : " ^11.0.0" ,
45
+ "@commitlint/types" : " ^11.0.0" ,
44
46
"fs-extra" : " ^9.0.0" ,
45
47
"git-raw-commits" : " ^2.0.0"
46
48
},
Original file line number Diff line number Diff line change 26
26
27
27
},
28
28
"license" : " MIT" ,
29
+ "dependencies" : {
30
+ "chalk" : " ^4.0.0"
31
+ },
29
32
"devDependencies" : {
30
33
"@commitlint/utils" : " ^11.0.0"
31
34
},
Original file line number Diff line number Diff line change 28
28
"license" : " MIT" ,
29
29
"dependencies" : {
30
30
"@types/tmp" : " ^0.2.0" ,
31
+ "jest-environment-node" : " ^26.6.2" ,
31
32
"tmp" : " 0.2.1"
32
33
},
33
34
"gitHead" : " 71f0194f33943954a8dac1c458be47e5049717cd"
Original file line number Diff line number Diff line change @@ -3033,14 +3033,6 @@ caseless@~0.12.0:
3033
3033
resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
3034
3034
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
3035
3035
3036
- [email protected] , chalk@^4.0.0, chalk@^4.1.0:
3037
- version "4.1.0"
3038
- resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"
3039
- integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==
3040
- dependencies :
3041
- ansi-styles "^4.1.0"
3042
- supports-color "^7.1.0"
3043
-
3044
3036
chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1 :
3045
3037
version "1.1.3"
3046
3038
resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
@@ -3069,6 +3061,14 @@ chalk@^3.0.0:
3069
3061
ansi-styles "^4.1.0"
3070
3062
supports-color "^7.1.0"
3071
3063
3064
+ chalk@^4.0.0, chalk@^4.1.0 :
3065
+ version "4.1.0"
3066
+ resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"
3067
+ integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==
3068
+ dependencies :
3069
+ ansi-styles "^4.1.0"
3070
+ supports-color "^7.1.0"
3071
+
3072
3072
char-regex@^1.0.2 :
3073
3073
version "1.0.2"
3074
3074
resolved "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf"
You can’t perform that action at this time.
0 commit comments