From 2b8369fb8c18cc41ee90c04944963aaaa3d4aa39 Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 12 Sep 2024 14:15:36 +0800 Subject: [PATCH] ci(oxlint): `pnpm publish` need to declare binary as executable --- npm/oxlint/scripts/generate-packages.mjs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/npm/oxlint/scripts/generate-packages.mjs b/npm/oxlint/scripts/generate-packages.mjs index 2bf6c1feb8507..4b1f9406ed980 100644 --- a/npm/oxlint/scripts/generate-packages.mjs +++ b/npm/oxlint/scripts/generate-packages.mjs @@ -50,6 +50,12 @@ function generateNativePackage(target) { os: [platform], cpu: [arch], ...libc, + publishConfig: { + executableFiles: [ + "oxlint", + "oxc_language_server" + ] + } }; const manifestPath = resolve(packageRoot, 'package.json');