diff --git a/packages/base/package.json b/packages/base/package.json index fc0042f7..ab702ec8 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -6,7 +6,7 @@ "type": "module", "scripts": { "test": "mocha", - "prebuild": "rimraf *.d.ts", + "prebuild": "rimraf -g *.d.ts", "build": "tsc", "prepack": "npm run build" }, diff --git a/packages/cli/package.json b/packages/cli/package.json index a6bbba66..f9f09a4a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -10,7 +10,7 @@ }, "scripts": { "test": "mocha", - "prebuild": "rimraf *.d.ts [!node_modules]/**/*.d.ts", + "prebuild": "rimraf -g *.d.ts [!node_modules]/**/*.d.ts", "build": "tsc", "prepack": "npm run build" }, diff --git a/packages/graph-store/package.json b/packages/graph-store/package.json index f78ed5e9..6ccce88b 100644 --- a/packages/graph-store/package.json +++ b/packages/graph-store/package.json @@ -6,7 +6,7 @@ "main": "index.js", "scripts": { "test": "mocha", - "prebuild": "rimraf *.d.ts lib/*.d.ts", + "prebuild": "rimraf -g *.d.ts lib/*.d.ts", "build": "tsc", "prepack": "npm run build" }, diff --git a/packages/shacl/package.json b/packages/shacl/package.json index 4c20ba43..b8bb8746 100644 --- a/packages/shacl/package.json +++ b/packages/shacl/package.json @@ -6,7 +6,7 @@ "main": "index.js", "scripts": { "test": "mocha", - "prebuild": "rimraf *.d.ts **/*.d.ts", + "prebuild": "rimraf -g *.d.ts **/*.d.ts", "build": "tsc", "prepack": "npm run build" },