From f4926ac1384cbacba0740e994766b1e6deaf9876 Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Fri, 8 Sep 2017 23:06:25 +0200 Subject: [PATCH] Fix npm package missing dist directory --- .npmignore | 17 +++++++++++++++++ .travis.yml | 1 + package.json | 2 +- scripts/npm-deployment-test.sh | 2 ++ 4 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.npmignore b/.npmignore index e69de29b..f0a6765d 100644 --- a/.npmignore +++ b/.npmignore @@ -0,0 +1,17 @@ +src/ +test/ +doc/ +scripts/ +images/ +example/ +dist/test/ + +.travis.yml +config.test.yml +Dockerfile +docker-compose.* +Gruntfile.js +tslint.json +tsconfig.json + +*.tgz diff --git a/.travis.yml b/.travis.yml index 2ec3f9f5..d69b39f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,6 +41,7 @@ after_success: deploy: provider: npm email: clement.michaud34@gmail.com + skip_cleanup: true api_key: secure: Hj09zw6uHWWRm9WtVSluy1XdISQGQWC3QElT03EuOfn6Mw/4A4Lj5pkvas+cb5y4aGdhQwaldYtKMMQKQ2ASCHcwHF780fkr+bmUjQr3BwrnJn/HsWrg1Q3jcRfY2GmI+hrDlP0/G534132EKxwDGusNSd6atDsQkkCfWDLuRZxkIqYazpanRBUI2jro65f4xX0X1mRgsBEp0gx+m0rFx/yuCkjoDoSlseEJ/NuyaR5N+JervKdrE6K3TrzJ1trnI5L00dwtgiYqlqyXaV8NMR2AOTr/vQlnnjZvkdTZGcKAFMWv3vjTecfp/Z3RW4saRR4CIJKC4JozE70+WMLqmo11br9q58zSrmKjOfkhf6FXaNHIJc/eQr3+PFzhW9DCVcNfcBh5wTVgTlLEp9845FaBdzjH40K0J4OrSnBhWDW14S7fXurTJafR6Ycxhi17vN2oEsT8XcTg2kcrnplMtt5Ylnkb4kYeVIk9cpeTvYtFjlzWPsxZhtURReY+Inbtt8nYThicqjBHHuDpBmyb0aafTYF5qQLx343KBfwFrDHPZXbglZ8Q97OAS9G0LzxkmYf+pIgW7inGsuB4CW6TPNCTZmVo6O2Ov9S4J/aXRfQSbmZa7e3gHP9pbMPhfw4P0ecpbCzRJzXrQXZcet6oIHMCqLB4qOB8KR4/IHplbaE= on: diff --git a/package.json b/package.json index 60d72098..1737738d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "authelia", - "version": "3.2.0", + "version": "3.3.18", "description": "2FA Single Sign-On server for nginx using LDAP, TOTP and U2F", "main": "dist/src/server/index.js", "bin": { diff --git a/scripts/npm-deployment-test.sh b/scripts/npm-deployment-test.sh index c2950303..1776833c 100755 --- a/scripts/npm-deployment-test.sh +++ b/scripts/npm-deployment-test.sh @@ -10,6 +10,8 @@ npm pack AUTHELIA_PACKAGE=`ls | grep "authelia-\([0-9]\+.\)\{2\}[0-9]\+.tgz"` echo "--- Authelia package is ${AUTHELIA_PACKAGE}" +tar -tzvf ${AUTHELIA_PACKAGE} + echo "--- Copy package into "${NPM_UNPACK_DIR}" to test unpacking" mkdir -p ${NPM_UNPACK_DIR} cp ${AUTHELIA_PACKAGE} ${NPM_UNPACK_DIR}