@rslint/core 0.0.14 → 0.0.20
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/bin/rslint.cjs +1 -1
- package/package.json +11 -9
package/bin/rslint.cjs
CHANGED
|
@@ -18,7 +18,7 @@ function main() {
|
|
|
18
18
|
});
|
|
19
19
|
} catch (error) {
|
|
20
20
|
// Preserve the exit code from the child process
|
|
21
|
-
if (error.status
|
|
21
|
+
if (error.status != null) {
|
|
22
22
|
process.exit(error.status);
|
|
23
23
|
} else {
|
|
24
24
|
console.error(`Failed to execute ${binPath}: ${error.message}`);
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rslint/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": "./dist/index.js",
|
|
6
|
+
"./bin": "./bin/rslint.cjs",
|
|
6
7
|
"./package.json": "./package.json"
|
|
7
8
|
},
|
|
8
9
|
"type": "module",
|
|
@@ -29,19 +30,20 @@
|
|
|
29
30
|
"typescript": "5.8.3"
|
|
30
31
|
},
|
|
31
32
|
"optionalDependencies": {
|
|
32
|
-
"@rslint/darwin-arm64": "0.0.
|
|
33
|
-
"@rslint/
|
|
34
|
-
"@rslint/
|
|
35
|
-
"@rslint/
|
|
36
|
-
"@rslint/
|
|
37
|
-
"@rslint/win32-x64": "0.0.
|
|
33
|
+
"@rslint/darwin-arm64": "0.0.20",
|
|
34
|
+
"@rslint/darwin-x64": "0.0.20",
|
|
35
|
+
"@rslint/linux-arm64": "0.0.20",
|
|
36
|
+
"@rslint/linux-x64": "0.0.20",
|
|
37
|
+
"@rslint/win32-arm64": "0.0.20",
|
|
38
|
+
"@rslint/win32-x64": "0.0.20"
|
|
38
39
|
},
|
|
39
40
|
"scripts": {
|
|
40
41
|
"build:bin": "go build -v -o bin/rslint ../../cmd/rslint",
|
|
42
|
+
"build:debug": "GOEXPERIMENT=noregabi go build -v -gcflags='all=-N -l' -o bin/rslint ../../cmd/rslint ",
|
|
41
43
|
"build:js": "tsc -b tsconfig.build.json --force",
|
|
42
44
|
"dev": "tsc -b tsconfig.build.json --force --watch",
|
|
43
45
|
"build": "pnpm build:bin && pnpm build:js",
|
|
44
|
-
"test": "
|
|
45
|
-
"test:update": "
|
|
46
|
+
"test": "rstest run",
|
|
47
|
+
"test:update": "rstest run -u"
|
|
46
48
|
}
|
|
47
49
|
}
|