From 9d93bb946060ca6bad69414e76a449e10136f9a3 Mon Sep 17 00:00:00 2001 From: Steven DeMartini Date: Thu, 14 Sep 2023 07:17:48 -0700 Subject: [PATCH] Remove only-allow pre-install due to issue installing with npm Fixes https://github.com/sjdemartini/mui-tiptap/issues/152. This seems to be due to a bug in only-allow that specifically affects `npm`, where the `only-allow` goes into effect even when installing the package as a dependency: https://github.com/pnpm/only-allow/issues/13 --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index d90db37..208a3fa 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,6 @@ "lint": "eslint --ext .js,.jsx,.ts,.tsx src --fix", "lint:check": "eslint --ext .js,.jsx,.ts,.tsx src", "md-link:check": "markdown-link-check -v -p *.md -c .markdown-link-check-config.json", - "preinstall": "npx only-allow pnpm", "test": "vitest run", "test:watch": "vitest watch", "test:coverage": "vitest run --coverage",