oxlint-tsgolint 0.1.5 → 0.2.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.
Files changed (2) hide show
  1. package/bin/tsgolint.js +6 -6
  2. package/package.json +7 -7
package/bin/tsgolint.js CHANGED
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const process = require('node:process')
4
- const child_process = require('node:child_process')
3
+ const process = require('node:process');
4
+ const child_process = require('node:child_process');
5
5
 
6
6
  const exePath = require.resolve(
7
7
  `@oxlint-tsgolint/${process.platform}-${process.arch}/tsgolint${process.platform === 'win32' ? '.exe' : ''}`,
8
- )
8
+ );
9
9
 
10
10
  try {
11
11
  child_process.execFileSync(exePath, process.argv.slice(2), {
12
12
  stdio: 'inherit',
13
- })
13
+ });
14
14
  } catch (e) {
15
15
  if (e.status) {
16
- process.exitCode = e.status
16
+ process.exitCode = e.status;
17
17
  } else {
18
- throw e
18
+ throw e;
19
19
  }
20
20
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.5",
2
+ "version": "0.2.0",
3
3
  "license": "MIT",
4
4
  "author": "auvred <aauvred@gmail.com>",
5
5
  "repository": "github:oxc-project/tsgolint",
@@ -13,11 +13,11 @@
13
13
  "tsgolint": "./bin/tsgolint.js"
14
14
  },
15
15
  "optionalDependencies": {
16
- "@oxlint-tsgolint/win32-x64": "0.1.5",
17
- "@oxlint-tsgolint/win32-arm64": "0.1.5",
18
- "@oxlint-tsgolint/linux-x64": "0.1.5",
19
- "@oxlint-tsgolint/linux-arm64": "0.1.5",
20
- "@oxlint-tsgolint/darwin-x64": "0.1.5",
21
- "@oxlint-tsgolint/darwin-arm64": "0.1.5"
16
+ "@oxlint-tsgolint/win32-x64": "0.2.0",
17
+ "@oxlint-tsgolint/win32-arm64": "0.2.0",
18
+ "@oxlint-tsgolint/linux-x64": "0.2.0",
19
+ "@oxlint-tsgolint/linux-arm64": "0.2.0",
20
+ "@oxlint-tsgolint/darwin-x64": "0.2.0",
21
+ "@oxlint-tsgolint/darwin-arm64": "0.2.0"
22
22
  }
23
23
  }