Skip to content

Commit

Permalink
feat: update defaults for nodecg v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Van Camp committed Jul 19, 2018
1 parent 99b8bdb commit 84e869c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ module.exports = class extends Generator {
name: 'compatibleRange',
message: 'What semver range of NodeCG versions is this bundle compatible with?',
type: 'input',
default: '^1.0.0'
default: '^1.1.1'
}, {
name: 'dashboardPanel',
message: 'Would you like to make a dashboard panel for your bundle?',
Expand Down
2 changes: 1 addition & 1 deletion generators/panel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = class extends Generator {
type: 'input',
name: 'headerColor',
message: 'What hex color would you like your panel\'s header to be?',
default: '#9f9bbd',
default: '#525F78',
when(answers) {
return !answers.dialog;
}
Expand Down
2 changes: 1 addition & 1 deletion test/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe('nodecg:app', () => {
'nodecg-bundle'
],
nodecg: {
compatibleRange: '^1.0.0'
compatibleRange: '^1.1.1'
}
});
});
Expand Down
8 changes: 4 additions & 4 deletions test/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('nodecg:panel', () => {
title: 'Test Panel',
width: 2,
file: 'test-panel.html',
headerColor: '#9f9bbd'
headerColor: '#525F78'
}]
}
});
Expand All @@ -48,7 +48,7 @@ describe('nodecg:panel', () => {
name: 'test-panel',
title: 'Test Panel',
file: 'test-panel.html',
headerColor: '#9f9bbd',
headerColor: '#525F78',
fullbleed: true
}]
}
Expand All @@ -71,7 +71,7 @@ describe('nodecg:panel', () => {
name: 'test-panel',
title: 'Test Panel',
file: 'test-panel.html',
headerColor: '#9f9bbd',
headerColor: '#525F78',
width: 2,
workspace: 'custom'
}]
Expand Down Expand Up @@ -119,7 +119,7 @@ describe('nodecg:panel', () => {
title: 'Test Panel',
width: 2,
file: 'test-panel.html',
headerColor: '#9f9bbd'
headerColor: '#525F78'
}]
}
}, this.pkg);
Expand Down

0 comments on commit 84e869c

Please sign in to comment.