oxlint 0.2.6 → 0.2.7

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/oxlint +6 -2
  2. package/package.json +1 -1
package/bin/oxlint CHANGED
@@ -131,9 +131,13 @@ if (binPath) {
131
131
 
132
132
  process.exitCode = result.status;
133
133
  } else {
134
+ let target = `${platform}-${arch}`;
135
+ if (isMusl()) {
136
+ target = `${target}-musl`;
137
+ }
134
138
  console.error(
135
- "The oxlint CLI package doesn't ship with prebuilt binaries for your platform yet. " +
136
- "You can create an issue at https://github.com/oxc-project/oxc/issues for support.",
139
+ `The oxlint CLI package doesn't ship with prebuilt binaries for your platform (${target}) yet. ` +
140
+ "You can create an issue at https://github.com/oxc-project/oxc/issues for support.",
137
141
  );
138
142
  process.exitCode = 1;
139
143
  }
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"oxlint","version":"0.2.6","description":"Linter for the JavaScript Oxidation Compiler","keywords":[],"author":"Boshen and oxc contributors","license":"MIT","homepage":"https://oxc-project.github.io","bugs":"https://github.com/oxc-project/oxc/issues","repository":{"type":"git","url":"https://github.com/oxc-project/oxc","directory":"npm/oxlint"},"bin":"bin/oxlint","funding":{"url":"https://github.com/sponsors/Boshen"},"engines":{"node":">=14.*"},"files":["bin/oxlint","README.md"],"optionalDependencies":{"@oxlint/win32-x64":"0.2.6","@oxlint/win32-arm64":"0.2.6","@oxlint/linux-x64-gnu":"0.2.6","@oxlint/linux-arm64-gnu":"0.2.6","@oxlint/linux-x64-musl":"0.2.6","@oxlint/linux-arm64-musl":"0.2.6","@oxlint/darwin-x64":"0.2.6","@oxlint/darwin-arm64":"0.2.6"}}
1
+ {"name":"oxlint","version":"0.2.7","description":"Linter for the JavaScript Oxidation Compiler","keywords":[],"author":"Boshen and oxc contributors","license":"MIT","homepage":"https://oxc-project.github.io","bugs":"https://github.com/oxc-project/oxc/issues","repository":{"type":"git","url":"https://github.com/oxc-project/oxc","directory":"npm/oxlint"},"bin":"bin/oxlint","funding":{"url":"https://github.com/sponsors/Boshen"},"engines":{"node":">=14.*"},"files":["bin/oxlint","README.md"],"optionalDependencies":{"@oxlint/win32-x64":"0.2.7","@oxlint/win32-arm64":"0.2.7","@oxlint/linux-x64-gnu":"0.2.7","@oxlint/linux-arm64-gnu":"0.2.7","@oxlint/linux-x64-musl":"0.2.7","@oxlint/linux-arm64-musl":"0.2.7","@oxlint/darwin-x64":"0.2.7","@oxlint/darwin-arm64":"0.2.7"}}