diff --git a/package.json b/package.json index 49252e8..d87d02f 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "main": "./dist/index.js", "types": "./dist/index.d.ts", "bin": { - "testfold": "./dist/cli/index.js" + "testfold": "dist/cli/index.js" }, "exports": { ".": { diff --git a/scripts/check-package.mjs b/scripts/check-package.mjs index cef4808..669bac4 100644 --- a/scripts/check-package.mjs +++ b/scripts/check-package.mjs @@ -85,7 +85,7 @@ assert( manifest.repository?.url === 'git+https://github.com/witqq/testfold.git', 'candidate repository identity is canonical', ); -assert(manifest.bin?.testfold === './dist/cli/index.js', 'candidate CLI target is canonical'); +assert(manifest.bin?.testfold === 'dist/cli/index.js', 'candidate CLI target is npm-canonical'); assert(manifest.exports?.['.']?.import === './dist/index.js', 'candidate ESM export is canonical'); assert( manifest.exports?.['.']?.types === './dist/index.d.ts',