From 26d0699239c1a08c9f647cb1e2f841139f452ec2 Mon Sep 17 00:00:00 2001 From: legteodav Date: Thu, 4 Feb 2021 18:22:30 +0100 Subject: [PATCH] Fix for npm publish.... (#1865) --- plugins/.gitignore | 3 ++- plugins/auth/public/auth-oidc/.gitignore | 2 -- scripts/npmPublish.sh | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 plugins/auth/public/auth-oidc/.gitignore diff --git a/plugins/.gitignore b/plugins/.gitignore index 00d14b1c02..8da4a3c93e 100644 --- a/plugins/.gitignore +++ b/plugins/.gitignore @@ -1 +1,2 @@ -public/*/plugin.js \ No newline at end of file +public/*/plugin.js +oidc-client.min.js diff --git a/plugins/auth/public/auth-oidc/.gitignore b/plugins/auth/public/auth-oidc/.gitignore deleted file mode 100644 index bdffbb5799..0000000000 --- a/plugins/auth/public/auth-oidc/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# vendor -oidc-client.min.js \ No newline at end of file diff --git a/scripts/npmPublish.sh b/scripts/npmPublish.sh index 5b24df4531..9b171f2e97 100755 --- a/scripts/npmPublish.sh +++ b/scripts/npmPublish.sh @@ -128,7 +128,7 @@ if ( prepublishCheck "plugins/auth/public/auth-oauth2" ); then publishPackage "plugins" "plugins/auth/public/auth-oauth2" fi if ( prepublishCheck "plugins/auth/public/auth-oidc" ); then - checkRequiredFiles "plugins/auth/public/auth-oidc" "plugin.js" "plugin-ie11.js" "README.md" + checkRequiredFiles "plugins/auth/public/auth-oidc" "plugin.js" "plugin-ie11.js" "oidc-client.min.js" "README.md" publishPackage "plugins" "plugins/auth/public/auth-oidc" fi