@ts-r.dev/lint 0.1.0-alpha.1 → 0.1.0-alpha.3
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/README.md +1 -1
- package/bin/ts-r-lint.js +3 -3
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ts-r.dev/lint
|
|
2
2
|
|
|
3
|
-
`ts-r-lint`: linter that reads your ESLint, oxlint or Biome config, from [ts-r](https://www.npmjs.com/package
|
|
3
|
+
`ts-r-lint`: linter that reads your ESLint, oxlint or Biome config, from [ts-r](https://www.npmjs.com/package/@ts-r.dev/cli).
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
6
|
npm i -D @ts-r.dev/lint
|
package/bin/ts-r-lint.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// The npm bin shim of every ts-r package. This file is the
|
|
2
|
+
// The npm bin shim of every ts-r package. This file is the `@ts-r.dev/cli` package's bin and is copied
|
|
3
3
|
// unchanged into each front package (`@ts-r.dev/run`, `@ts-r.dev/check`, ...) as bin/<binary>.js. What
|
|
4
4
|
// it runs comes from the "ts-r" key of the package's own package.json:
|
|
5
5
|
//
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
// with the same arguments and inherited stdio, and exits with its exit code (or its signal).
|
|
11
11
|
// No dependencies, no install scripts; Node >= 18.
|
|
12
12
|
//
|
|
13
|
-
// "tools" (the
|
|
13
|
+
// "tools" (the launcher package, `@ts-r.dev/cli`, only) lists the front packages whose binaries the
|
|
14
14
|
// launcher should find: their platform packages' bin directories go first on PATH.
|
|
15
15
|
// "version": false means the binary has no --version flag, so `--version` is answered here.
|
|
16
16
|
//
|
|
17
17
|
// Overrides: TS_R_BIN_DIR (a directory holding the binaries, e.g. target/release) wins over
|
|
18
|
-
// everything; TS_R_BINARY (a path) replaces the launcher binary in
|
|
18
|
+
// everything; TS_R_BINARY (a path) replaces the launcher binary in `@ts-r.dev/cli`.
|
|
19
19
|
'use strict';
|
|
20
20
|
|
|
21
21
|
const { spawnSync } = require('child_process');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-r.dev/lint",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.3",
|
|
4
4
|
"description": "ts-r linter that reads your ESLint, oxlint or Biome config. Prebuilt native binary, no install scripts.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
27
27
|
"optionalDependencies": {
|
|
28
|
-
"@ts-r.dev/lint-darwin-arm64": "0.1.0-alpha.
|
|
29
|
-
"@ts-r.dev/lint-darwin-x64": "0.1.0-alpha.
|
|
30
|
-
"@ts-r.dev/lint-linux-arm64-gnu": "0.1.0-alpha.
|
|
31
|
-
"@ts-r.dev/lint-linux-arm64-musl": "0.1.0-alpha.
|
|
32
|
-
"@ts-r.dev/lint-linux-x64-gnu": "0.1.0-alpha.
|
|
33
|
-
"@ts-r.dev/lint-linux-x64-musl": "0.1.0-alpha.
|
|
34
|
-
"@ts-r.dev/lint-win32-arm64-msvc": "0.1.0-alpha.
|
|
35
|
-
"@ts-r.dev/lint-win32-x64-msvc": "0.1.0-alpha.
|
|
28
|
+
"@ts-r.dev/lint-darwin-arm64": "0.1.0-alpha.3",
|
|
29
|
+
"@ts-r.dev/lint-darwin-x64": "0.1.0-alpha.3",
|
|
30
|
+
"@ts-r.dev/lint-linux-arm64-gnu": "0.1.0-alpha.3",
|
|
31
|
+
"@ts-r.dev/lint-linux-arm64-musl": "0.1.0-alpha.3",
|
|
32
|
+
"@ts-r.dev/lint-linux-x64-gnu": "0.1.0-alpha.3",
|
|
33
|
+
"@ts-r.dev/lint-linux-x64-musl": "0.1.0-alpha.3",
|
|
34
|
+
"@ts-r.dev/lint-win32-arm64-msvc": "0.1.0-alpha.3",
|
|
35
|
+
"@ts-r.dev/lint-win32-x64-msvc": "0.1.0-alpha.3"
|
|
36
36
|
},
|
|
37
37
|
"ts-r": {
|
|
38
38
|
"binary": "ts-r-lint",
|