first commit
This commit is contained in:
19
node_modules/release-it/lib/plugin/git/prompts.js
generated
vendored
Normal file
19
node_modules/release-it/lib/plugin/git/prompts.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { format, truncateLines } from '../../util.js';
|
||||
|
||||
export default {
|
||||
commit: {
|
||||
type: 'confirm',
|
||||
message: context => `Commit (${truncateLines(format(context.git.commitMessage, context), 1, ' [...]')})?`,
|
||||
default: true
|
||||
},
|
||||
tag: {
|
||||
type: 'confirm',
|
||||
message: context => `Tag (${format(context.tagName, context)})?`,
|
||||
default: true
|
||||
},
|
||||
push: {
|
||||
type: 'confirm',
|
||||
message: () => 'Push?',
|
||||
default: true
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user