From 2daf058888d71d89120561dea26adb895fca2340 Mon Sep 17 00:00:00 2001 From: YevhenKap Date: Mon, 13 Jun 2022 10:31:45 +0300 Subject: [PATCH] A manual navigation to the build directory is added in order to workaround the npm's bug: https://github.com/npm/cli/issues/4126. --- packages/edelweiss/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/edelweiss/package.json b/packages/edelweiss/package.json index d862de5..cb98d6c 100644 --- a/packages/edelweiss/package.json +++ b/packages/edelweiss/package.json @@ -28,9 +28,9 @@ "copy:license": "cpy ../../LICENSE build/", "copy:settings": "cpy package.json build/", "prerelease": "npm run build", - "release": "npm publish build/ --access public", + "release": "cd build && npm publish --access public", "prerelease:next": "npm run build", - "release:next": "npm publish build/ --access public --tag next" + "release:next": "cd build && npm publish --access public --tag next" }, "author": "Kapelianovych Yevhen", "license": "MIT"