From 6e5c570b92150e23e4e5c463ed4b497a4860db03 Mon Sep 17 00:00:00 2001 From: Sergii Date: Tue, 14 Apr 2020 11:08:35 +0300 Subject: [PATCH] fix(angular): removes ngcc `publishOnly` hook --- packages/casl-angular/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/casl-angular/package.json b/packages/casl-angular/package.json index a6e06568f..2a785230f 100644 --- a/packages/casl-angular/package.json +++ b/packages/casl-angular/package.json @@ -25,8 +25,7 @@ "test": "NODE_ENV=test jest --config ./jest.config.js", "lint": "eslint --ext .ts,.js src/ spec/", "prerelease": "NODE_ENV=production npm run build && npm test", - "release": "semantic-release -e ../../tools/semantic-release", - "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by NGCC. This is not allowed.\\nPlease delete and rebuild the package, without compiling with NGCC, before attempting to publish.\\nNote that NGCC may have been run by importing this package into another project that is being built with Ivy enabled.\\n')\" && exit 1" + "release": "semantic-release -e ../../tools/semantic-release" }, "keywords": [ "casl",