@rigour-labs/cli 2.19.2 → 2.20.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.
- package/dist/smoke.test.js +9 -1
- package/package.json +2 -2
package/dist/smoke.test.js
CHANGED
|
@@ -36,6 +36,14 @@ ignore:
|
|
|
36
36
|
gates:
|
|
37
37
|
forbid_todos: true
|
|
38
38
|
required_files: []
|
|
39
|
+
context:
|
|
40
|
+
enabled: false
|
|
41
|
+
environment:
|
|
42
|
+
enabled: false
|
|
43
|
+
safety:
|
|
44
|
+
protected_paths: []
|
|
45
|
+
retry_loop_breaker:
|
|
46
|
+
enabled: false
|
|
39
47
|
`);
|
|
40
48
|
// Simulate EPERM by changing permissions
|
|
41
49
|
await fs.chmod(restrictedDir, 0o000);
|
|
@@ -50,7 +58,7 @@ gates:
|
|
|
50
58
|
finally {
|
|
51
59
|
await fs.chmod(restrictedDir, 0o777);
|
|
52
60
|
}
|
|
53
|
-
});
|
|
61
|
+
}, 30_000);
|
|
54
62
|
it('should check specific files when provided', async () => {
|
|
55
63
|
await fs.writeFile(path.join(testDir, 'bad.js'), 'TODO: fixme');
|
|
56
64
|
await fs.writeFile(path.join(testDir, 'good.js'), 'console.log("hello")');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rigour-labs/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"rigour": "dist/cli.js"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"inquirer": "9.2.16",
|
|
29
29
|
"ora": "^8.0.1",
|
|
30
30
|
"yaml": "^2.8.2",
|
|
31
|
-
"@rigour-labs/core": "2.
|
|
31
|
+
"@rigour-labs/core": "2.20.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/fs-extra": "^11.0.4",
|