Resolve build and plugin installation

This commit is contained in:
Aurelsicoko 2017-08-24 18:49:32 +02:00
parent 27e18c2b50
commit d0ebaede76
2 changed files with 102 additions and 1 deletions

View File

@ -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

View File

@ -65,7 +65,7 @@ module.exports = function (plugin, cliArguments) {
logger.debug('Installing the plugin from npm registry.'); logger.debug('Installing the plugin from npm registry.');
// Install the plugin from the 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) { 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}`); 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); process.exit(1);