diff --git a/packages/strapi-plugin-settings-manager/admin/.npmignore b/packages/strapi-plugin-settings-manager/admin/.npmignore new file mode 100755 index 0000000000..ef6662a3db --- /dev/null +++ b/packages/strapi-plugin-settings-manager/admin/.npmignore @@ -0,0 +1,101 @@ +############################ +# OS X +############################ + +.DS_Store +.AppleDouble +.LSOverride +Icon +.Spotlight-V100 +.Trashes +._* + + +############################ +# Linux +############################ + +*~ + + +############################ +# Windows +############################ + +Thumbs.db +ehthumbs.db +Desktop.ini +$RECYCLE.BIN/ +*.cab +*.msi +*.msm +*.msp + + +############################ +# Packages +############################ + +*.7z +*.csv +*.dat +*.dmg +*.gz +*.iso +*.jar +*.rar +*.tar +*.zip +*.com +*.class +*.dll +*.exe +*.o +*.seed +*.so +*.swo +*.swp +*.swn +*.swm +*.out +*.pid + + +############################ +# Logs and databases +############################ + +*.log +*.sql + + +############################ +# Misc. +############################ + +*# +ssl +.idea +nbproject + + +############################ +# Node.js +############################ + +lib-cov +lcov.info +pids +logs +results +node_modules +.node_history + + +############################ +# Tests +############################ + +test +testApp +coverage diff --git a/packages/strapi/bin/strapi-install.js b/packages/strapi/bin/strapi-install.js index 498af26dd5..16ebeb0585 100755 --- a/packages/strapi/bin/strapi-install.js +++ b/packages/strapi/bin/strapi-install.js @@ -65,7 +65,7 @@ module.exports = function (plugin, cliArguments) { logger.debug('Installing the plugin from npm registry.'); // Install the plugin from the npm registry. - exec(`npm install ${pluginId} --ignore-scripts`, (err) => { + exec(`npm install ${pluginId}@alpha --ignore-scripts`, (err) => { if (err) { logger.error(`An error occurred during plugin installation. \nPlease make sure this plugin is available on npm: https://www.npmjs.com/package/${pluginId}`); process.exit(1);