diff --git a/packages/grafana-ui/.storybook/main.ts b/packages/grafana-ui/.storybook/main.ts index 1690a1db473..e737d0126c5 100644 --- a/packages/grafana-ui/.storybook/main.ts +++ b/packages/grafana-ui/.storybook/main.ts @@ -100,7 +100,6 @@ const mainConfig: StorybookConfig = { savePropValueAsString: true, }, }, - webpackFinal: async (config) => { // expose jquery as a global so jquery plugins don't break at runtime. config.module?.rules?.push({ diff --git a/scripts/publish-npm-packages.sh b/scripts/publish-npm-packages.sh index 2437403626d..537ef8cfab7 100755 --- a/scripts/publish-npm-packages.sh +++ b/scripts/publish-npm-packages.sh @@ -36,7 +36,9 @@ done echo "Starting to release $dist_tag version" -echo "$registry/:_authToken=${NPM_TOKEN}" >> ~/.npmrc +registry_without_protocol=${registry#*:} + +echo "$registry_without_protocol/:_authToken=${NPM_TOKEN}" >> ~/.npmrc # Loop over .tar files in directory and publish them to npm registry for file in ./npm-artifacts/*.tgz; do