-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f1c9f2
commit fba40af
Showing
18 changed files
with
433 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,45 @@ | ||
const config = { | ||
name: 'Sublime-Package-Generator', | ||
versions: { | ||
'4.0.x': '', | ||
}, | ||
prompts: [ | ||
// { | ||
// name: 'sublime_version', | ||
// message: 'For which sublime version should this package be?', | ||
// type: 'list', | ||
// choices: '${config.supported_versions}', | ||
// default: '4.0.x', | ||
// store: true, | ||
// }, | ||
{ | ||
name: 'framework_version', | ||
message: 'For which framework version should this package be?', | ||
type: 'list', | ||
choices: '${config.supported_versions}', | ||
default: '7.0.x', | ||
name: 'package_name', | ||
message: 'What is the name of your new Sublime-Package?', | ||
type: 'input', | ||
default: '${config.package_name_predicted}', | ||
store: true, | ||
}, | ||
{ | ||
name: 'package_name', | ||
message: 'Please add or confirm the package prefix / customer contraction.', | ||
name: 'package_description', | ||
type: 'input', | ||
default: '${config.package_prefix}', | ||
message: 'Description. What does the package contain?', | ||
default: '**${config.package_name_predicted}** is a Sublime Text package that...', | ||
store: true, | ||
}, | ||
{ | ||
name: 'github_username', | ||
message: 'What is the GitHub user name of your new Sublime-Package?', | ||
type: 'input', | ||
default: '${config.github_username}', | ||
store: true, | ||
}, | ||
{ | ||
name: 'github_fullname', | ||
message: 'What is your GitHub full name?', | ||
type: 'input', | ||
default: '${config.github_fullname}', | ||
store: true, | ||
}, | ||
// { | ||
// name: 'package_seperator', | ||
// message: 'Please add or confirm the package seperator.', | ||
// type: 'input', | ||
// default: '${config.package_seperator}', | ||
// store: true, | ||
// }, | ||
// { | ||
// name: 'package_suffix', | ||
// message: 'Please add or confirm the package suffix.', | ||
// type: 'input', | ||
// default: '${config.package_suffix}', | ||
// store: true, | ||
// }, | ||
], | ||
}; | ||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Exclude files from exporting | ||
|
||
## Graphics | ||
*.png export-ignore | ||
*.jpg export-ignore | ||
*.jpeg export-ignore | ||
*.gif export-ignore | ||
*.tif export-ignore | ||
*.tiff export-ignore | ||
*.ico export-ignore | ||
*.svg export-ignore | ||
*.eps export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.yo-rc.json | ||
node_modules | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Changelog | ||
|
||
All notable changes to the "<%= package_name %>" package will be documented in this file. | ||
|
||
--- | ||
|
||
Version 0.0.0 | ||
|
||
Initial release of <%= package_name %> package. | ||
|
||
- TODO |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
⭐ Congratulations ⭐ | ||
|
||
<%= package_description %> | ||
|
||
------------------- | ||
|
||
🌟 Version 0.0.0 🌟 - Feature List | ||
|
||
- TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"install": "messages/install.txt", | ||
"0.0.0": "messages/version.txt" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
🌟 Version 0.0.0 🌟 | ||
|
||
Initial release of TODO package. | ||
|
||
- TODO | ||
|
||
GitHub link - https://github.com/<%= github_username %>/<%= package_name %> | ||
|
||
--- | ||
|
||
Enjoy! | ||
|
||
Your [Denny Korsukéwitz](https://github.com/<%= github_username %>) 🚀 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Description: | ||
Creates README.md markdown file. | ||
|
||
Example: | ||
yo sublime-package:readme | ||
|
||
This will create: | ||
README.md: Description and minimal user instructions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const config = { | ||
name: 'README.md', | ||
priority: 5, | ||
versions: { | ||
'4.0.x': '', | ||
}, | ||
required_data: [ | ||
'package_name', | ||
'sublime_version', | ||
], | ||
prompts: [], | ||
}; | ||
module.exports = config; |
Oops, something went wrong.