@10stars/config 15.2.2 → 15.2.4
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/oxlint.config.common.json +0 -2
- package/package.json +4 -1
- package/src/index.ts +1 -0
- package/src/runner.ts +2 -2
- package/src/vscode-config.ts +1 -1
- package/tsconfig.base.json +1 -0
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
"import/export": "off",
|
|
5
5
|
"import/namespace": "off",
|
|
6
6
|
"import/no-named-as-default": "off",
|
|
7
|
-
"import/no-unresolved": "off",
|
|
8
7
|
"no-case-declarations": "off",
|
|
9
8
|
"no-console": "off",
|
|
10
9
|
"no-magic-numbers": "off",
|
|
@@ -24,7 +23,6 @@
|
|
|
24
23
|
"typescript/no-invalid-void-type": "off",
|
|
25
24
|
"typescript/no-magic-numbers": "off",
|
|
26
25
|
"typescript/no-non-null-assertion": "off",
|
|
27
|
-
"typescript/no-throw-literal": "off",
|
|
28
26
|
"typescript/no-unnecessary-condition": "off",
|
|
29
27
|
"typescript/no-unnecessary-type-constraint": "off",
|
|
30
28
|
"typescript/no-unnecessary-type-parameters": "off",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@10stars/config",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"bin": {
|
|
6
6
|
"config": "./src/index.ts"
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"prepublishOnly": "cd .. && bun run config typecheck && bun run config lint && bun run config --help"
|
|
21
|
+
},
|
|
19
22
|
"dependencies": {
|
|
20
23
|
"@10stars/oxlint-plugin-react-hooks": "^1.0.5",
|
|
21
24
|
"@oxc-node/core": "0.0.35",
|
package/src/index.ts
CHANGED
package/src/runner.ts
CHANGED
|
@@ -65,8 +65,8 @@ export async function runConcurrently(commands: CommandConfig[]): Promise<void>
|
|
|
65
65
|
processes.push({ label: config.label, proc, prefix })
|
|
66
66
|
|
|
67
67
|
// Start piping output (don't await - run concurrently)
|
|
68
|
-
pipeOutput(proc.stdout, prefix)
|
|
69
|
-
pipeOutput(proc.stderr, prefix)
|
|
68
|
+
void pipeOutput(proc.stdout, prefix)
|
|
69
|
+
void pipeOutput(proc.stderr, prefix)
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
// Kill all processes and exit
|
package/src/vscode-config.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { execSync } from "node:child_process"
|
|
1
2
|
import fs from "node:fs/promises"
|
|
2
3
|
import path from "node:path"
|
|
3
|
-
import { execSync } from "node:child_process"
|
|
4
4
|
|
|
5
5
|
// Strip JSONC comments while preserving strings (regex matches strings first to skip them)
|
|
6
6
|
const stripJsoncComments = (jsonc: string): string =>
|
package/tsconfig.base.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"checkJs": false, // do not type-check JS files; we don't use JS files in our projects and we don't depend on 3rd party JS files
|
|
15
15
|
"skipLibCheck": true,
|
|
16
16
|
|
|
17
|
+
"types": ["node", "bun"],
|
|
17
18
|
"lib": ["esnext", "dom"],
|
|
18
19
|
"module": "esnext",
|
|
19
20
|
"target": "esnext",
|