Skip to content

Commit

Permalink
fix: windows-compatible attw script
Browse files Browse the repository at this point in the history
  • Loading branch information
lishaduck committed Nov 1, 2024
1 parent 0555d51 commit 4982d42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion knip.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"packages/sheriff-create-config/src/utils/gracefullyAbort.ts",
"packages/sheriff-cli/src/utils/gracefullyAbort.ts",
],
"ignoreDependencies": ["@turbo/gen", "eslint-import-resolver-typescript"],
"ignoreDependencies": [
"@arethetypeswrong/cli",
"@turbo/gen",
"eslint-import-resolver-typescript",
],
"ignoreBinaries": ["only-allow"],
}
2 changes: 1 addition & 1 deletion packages/eslint-config-sheriff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"preinstall": "npx only-allow pnpm",
"clean": "rm -rf .turbo dist node_modules/.cache",
"re-bundle-types": "dts-bundle-generator --config dts-config.json",
"are-the-types-wrong": "attw $(pnpm pack) --ignore-rules cjs-resolves-to-esm no-resolution && rm eslint-config-sheriff-*.tgz",
"are-the-types-wrong": "bash -c 'attw $(pnpm pack) --ignore-rules cjs-resolves-to-esm no-resolution && rm eslint-config-sheriff-*.tgz'",
"build": "tsup && pnpm re-bundle-types",
"build-watch": "tsup && pnpm re-bundle-types",
"typecheck": "tsc --noEmit",
Expand Down

0 comments on commit 4982d42

Please sign in to comment.