From 0a6e8792626e8e06a9aa7ddcb97678a49ad300ca Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Thu, 19 Dec 2024 12:13:12 -0800 Subject: [PATCH] chore: update postpack scripts This changes the `postpack` scripts to use the `-X` flag of `git clean`, which only considers ignored files. --- packages/base64/package.json | 2 +- packages/bundle-source/package.json | 2 +- packages/captp/package.json | 2 +- packages/check-bundle/package.json | 2 +- packages/cjs-module-analyzer/package.json | 2 +- packages/cli/package.json | 2 +- packages/common/package.json | 2 +- packages/compartment-mapper/package.json | 2 +- packages/daemon/package.json | 2 +- packages/env-options/package.json | 2 +- packages/errors/package.json | 4 ++-- packages/eslint-plugin/package.json | 2 +- packages/evasive-transform/package.json | 2 +- packages/eventual-send/package.json | 4 ++-- packages/exo/package.json | 2 +- packages/far/package.json | 2 +- packages/immutable-arraybuffer/package.json | 2 +- packages/import-bundle/package.json | 2 +- packages/init/package.json | 2 +- packages/lockdown/package.json | 2 +- packages/lp32/package.json | 2 +- packages/marshal/package.json | 2 +- packages/memoize/package.json | 2 +- packages/module-source/package.json | 2 +- packages/nat/package.json | 2 +- packages/netstring/package.json | 2 +- packages/pass-style/package.json | 2 +- packages/patterns/package.json | 2 +- packages/promise-kit/package.json | 2 +- packages/ses-ava/package.json | 2 +- packages/ses/package.json | 2 +- packages/skel/package.json | 2 +- packages/stream-node/package.json | 2 +- packages/stream/package.json | 2 +- packages/syrup/package.json | 2 +- packages/trampoline/package.json | 2 +- packages/where/package.json | 2 +- packages/zip/package.json | 2 +- 38 files changed, 40 insertions(+), 40 deletions(-) diff --git a/packages/base64/package.json b/packages/base64/package.json index d0092d1c9e..4b669d83c2 100644 --- a/packages/base64/package.json +++ b/packages/base64/package.json @@ -33,7 +33,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/bundle-source/package.json b/packages/bundle-source/package.json index 84b791493a..e4f36e185a 100644 --- a/packages/bundle-source/package.json +++ b/packages/bundle-source/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "test": "ava", "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", "test:xs": "exit 0", diff --git a/packages/captp/package.json b/packages/captp/package.json index c3fd4c0efa..df90f1648d 100644 --- a/packages/captp/package.json +++ b/packages/captp/package.json @@ -40,7 +40,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "test": "ava", "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", "test:xs": "exit 0", diff --git a/packages/check-bundle/package.json b/packages/check-bundle/package.json index 4635838998..b60c6fe9a7 100644 --- a/packages/check-bundle/package.json +++ b/packages/check-bundle/package.json @@ -31,7 +31,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", "lint:eslint": "eslint .", diff --git a/packages/cjs-module-analyzer/package.json b/packages/cjs-module-analyzer/package.json index da057c96ed..1f12b9f660 100644 --- a/packages/cjs-module-analyzer/package.json +++ b/packages/cjs-module-analyzer/package.json @@ -23,7 +23,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/cli/package.json b/packages/cli/package.json index f6a22299b9..77f61d0ab5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -23,7 +23,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*'", + "postpack": "git clean -fX '*.d.ts*'", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", "lint:eslint": "eslint .", diff --git a/packages/common/package.json b/packages/common/package.json index 81eca6a688..20263e5f87 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "lint": "yarn lint:types && yarn lint:eslint", "lint-check": "yarn lint", "lint-fix": "yarn lint:eslint --fix && yarn lint:types", diff --git a/packages/compartment-mapper/package.json b/packages/compartment-mapper/package.json index 60de4e8416..f093c63f4c 100644 --- a/packages/compartment-mapper/package.json +++ b/packages/compartment-mapper/package.json @@ -46,7 +46,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/daemon/package.json b/packages/daemon/package.json index 5db2536d7d..1406e4fc99 100644 --- a/packages/daemon/package.json +++ b/packages/daemon/package.json @@ -34,7 +34,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*'", + "postpack": "git clean -fX '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/env-options/package.json b/packages/env-options/package.json index 122a16c4e3..506370f8e3 100644 --- a/packages/env-options/package.json +++ b/packages/env-options/package.json @@ -30,7 +30,7 @@ "lint:eslint": "eslint .", "lint:types": "tsc", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "test": "exit 0" }, "devDependencies": { diff --git a/packages/errors/package.json b/packages/errors/package.json index 3ab2f812d0..62d1a80914 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -23,14 +23,14 @@ }, "scripts": { "build": "exit 0", - "clean": "git clean -f '*.d.ts*'", + "clean": "git clean -fX '*.d.ts*'", "lint": "yarn lint:types && yarn lint:eslint", "lint-check": "yarn lint", "lint-fix": "yarn lint:eslint --fix && yarn lint:types", "lint:eslint": "eslint '**/*.js'", "lint:types": "tsc", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "test": "ava", "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", "test:xs": "exit 0" diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index cd53371bc4..21b2b95e2d 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -15,7 +15,7 @@ "build": "exit 0", "lint-fix": "exit 0", "lint-check": "exit 0", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'" + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'" }, "dependencies": { "requireindex": "~1.1.0", diff --git a/packages/evasive-transform/package.json b/packages/evasive-transform/package.json index 18f7cf20c3..c129a68d7e 100644 --- a/packages/evasive-transform/package.json +++ b/packages/evasive-transform/package.json @@ -30,7 +30,7 @@ "test:xs": "exit 0", "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "lint-fix": "yarn lint:eslint --fix && yarn lint:types", "lint-check": "yarn lint", "lint": "yarn lint:types && yarn lint:eslint", diff --git a/packages/eventual-send/package.json b/packages/eventual-send/package.json index 1345479e78..6bdb84a4e2 100644 --- a/packages/eventual-send/package.json +++ b/packages/eventual-send/package.json @@ -9,9 +9,9 @@ "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", "test:xs": "exit 0", "build": "exit 0", - "clean": "git clean -f '*.d.ts*'", + "clean": "git clean -fX '*.d.ts*'", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "lint-fix": "yarn lint:eslint --fix && yarn lint:types", "lint-check": "yarn lint", "lint": "yarn lint:types && yarn lint:eslint", diff --git a/packages/exo/package.json b/packages/exo/package.json index ce6fd9db4c..3e2c3354b0 100644 --- a/packages/exo/package.json +++ b/packages/exo/package.json @@ -25,7 +25,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", "lint:eslint": "eslint .", diff --git a/packages/far/package.json b/packages/far/package.json index 738f085750..5eccc5e3b5 100644 --- a/packages/far/package.json +++ b/packages/far/package.json @@ -14,7 +14,7 @@ "test:xs": "exit 0", "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "lint-fix": "yarn lint:eslint --fix && yarn lint:types", "lint-check": "yarn lint", "lint": "yarn lint:types && yarn lint:eslint", diff --git a/packages/immutable-arraybuffer/package.json b/packages/immutable-arraybuffer/package.json index cf2a30e2b5..cbeeb5f323 100644 --- a/packages/immutable-arraybuffer/package.json +++ b/packages/immutable-arraybuffer/package.json @@ -30,7 +30,7 @@ "lint-fix": "yarn lint:eslint --fix && yarn lint:types", "lint:eslint": "eslint '**/*.js'", "lint:types": "tsc", - "postpack": "git clean -f '*.d.ts*'", + "postpack": "git clean -fX '*.d.ts*'", "prepack": "tsc --build tsconfig.build.json", "test": "ava", "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", diff --git a/packages/import-bundle/package.json b/packages/import-bundle/package.json index f0841fe44e..56628a4d63 100644 --- a/packages/import-bundle/package.json +++ b/packages/import-bundle/package.json @@ -32,7 +32,7 @@ "test:xs": "exit 0", "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "lint-fix": "eslint --fix '**/*.js'", "lint": "yarn lint:types && yarn lint:eslint", "lint:eslint": "eslint .", diff --git a/packages/init/package.json b/packages/init/package.json index 2a4294c6b3..c9c774e491 100644 --- a/packages/init/package.json +++ b/packages/init/package.json @@ -20,7 +20,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "test": "ava", "test:xs": "exit 0", "lint-check": "yarn lint", diff --git a/packages/lockdown/package.json b/packages/lockdown/package.json index 1598e04434..81ce030de6 100644 --- a/packages/lockdown/package.json +++ b/packages/lockdown/package.json @@ -19,7 +19,7 @@ "lint-check": "yarn lint", "lint-fix": "eslint --fix '**/*.js'", "lint": "eslint '**/*.js'", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'" + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'" }, "dependencies": { "ses": "workspace:^" diff --git a/packages/lp32/package.json b/packages/lp32/package.json index e96852f2c6..72738de53a 100644 --- a/packages/lp32/package.json +++ b/packages/lp32/package.json @@ -41,7 +41,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/marshal/package.json b/packages/marshal/package.json index 8dc8b5bd1a..fa8ae12f2c 100644 --- a/packages/marshal/package.json +++ b/packages/marshal/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "test": "ava", "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", "test:xs": "exit 0", diff --git a/packages/memoize/package.json b/packages/memoize/package.json index bbcadbce2b..4b3a12917e 100644 --- a/packages/memoize/package.json +++ b/packages/memoize/package.json @@ -30,7 +30,7 @@ "lint:eslint": "eslint .", "lint:types": "tsc", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "test": "ava" }, "dependencies": { diff --git a/packages/module-source/package.json b/packages/module-source/package.json index 3958ac58cf..c2450829fc 100644 --- a/packages/module-source/package.json +++ b/packages/module-source/package.json @@ -32,7 +32,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint:types": "tsc", diff --git a/packages/nat/package.json b/packages/nat/package.json index eefeba54ff..7cd27752f9 100644 --- a/packages/nat/package.json +++ b/packages/nat/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", "lint:eslint": "eslint .", diff --git a/packages/netstring/package.json b/packages/netstring/package.json index 3ba07faf5e..332260697e 100644 --- a/packages/netstring/package.json +++ b/packages/netstring/package.json @@ -26,7 +26,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/pass-style/package.json b/packages/pass-style/package.json index 62f8494297..80d1a6a758 100644 --- a/packages/pass-style/package.json +++ b/packages/pass-style/package.json @@ -26,7 +26,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", "lint:eslint": "eslint .", diff --git a/packages/patterns/package.json b/packages/patterns/package.json index c8b06e5d2e..2d00d8c475 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -24,7 +24,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", "lint:eslint": "eslint .", diff --git a/packages/promise-kit/package.json b/packages/promise-kit/package.json index 5adbd089ef..0d97cdebce 100644 --- a/packages/promise-kit/package.json +++ b/packages/promise-kit/package.json @@ -27,7 +27,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-check": "yarn lint", diff --git a/packages/ses-ava/package.json b/packages/ses-ava/package.json index abdd5dc1e1..09e5d9c5ee 100644 --- a/packages/ses-ava/package.json +++ b/packages/ses-ava/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/ses/package.json b/packages/ses/package.json index e552bda739..45bf4e0b47 100644 --- a/packages/ses/package.json +++ b/packages/ses/package.json @@ -82,7 +82,7 @@ "qt": "ava", "test": "tsd && ava", "test:xs": "xst dist/ses.umd.js test/_lockdown-safe.js && node scripts/generate-test-xs.js && xst tmp/test-xs.js && rm -rf tmp", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'" + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'" }, "dependencies": { "@endo/env-options": "workspace:^" diff --git a/packages/skel/package.json b/packages/skel/package.json index d776058470..b4b5163e2b 100644 --- a/packages/skel/package.json +++ b/packages/skel/package.json @@ -28,7 +28,7 @@ "test:xs": "exit 0", "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*'", + "postpack": "git clean -fX '*.d.ts*'", "lint-fix": "yarn lint:eslint --fix && yarn lint:types", "lint-check": "yarn lint", "lint": "yarn lint:types && yarn lint:eslint", diff --git a/packages/stream-node/package.json b/packages/stream-node/package.json index 8c7acf5614..7fcdc4c99e 100644 --- a/packages/stream-node/package.json +++ b/packages/stream-node/package.json @@ -32,7 +32,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/stream/package.json b/packages/stream/package.json index 985afc88d5..a5da8754b0 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -35,7 +35,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/syrup/package.json b/packages/syrup/package.json index 03a3ac0d90..3607257676 100644 --- a/packages/syrup/package.json +++ b/packages/syrup/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*'", + "postpack": "git clean -fX '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/trampoline/package.json b/packages/trampoline/package.json index c9db8772a8..3dfd99d96e 100644 --- a/packages/trampoline/package.json +++ b/packages/trampoline/package.json @@ -34,7 +34,7 @@ "scripts": { "build": "exit 0", "build:types": "tsc --build tsconfig.build.json", - "clean:types": "git clean -f '*.d.ts*'", + "clean:types": "git clean -fX '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/where/package.json b/packages/where/package.json index db93d10906..e1fb0c65a3 100644 --- a/packages/where/package.json +++ b/packages/where/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .", diff --git a/packages/zip/package.json b/packages/zip/package.json index 418d3c92d2..93aa82eeaa 100644 --- a/packages/zip/package.json +++ b/packages/zip/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "exit 0", "prepack": "tsc --build tsconfig.build.json", - "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", + "postpack": "git clean -fX '*.d.ts*' '*.tsbuildinfo'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:eslint", "lint-fix": "eslint --fix .",