-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
461 changed files
with
18,902 additions
and
104,824 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
CHANGELOG.md export-ignore | ||
package-lock.json export-ignore | ||
package.json export-ignore | ||
assets/css/bootstrap4 export-ignore | ||
assets/psds export-ignore | ||
assets/images/screenshots export-ignore | ||
gulpfile.js export-ignore | ||
copy.sh export-ignore | ||
includes.zip 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 |
---|---|---|
@@ -1,5 +1,2 @@ | ||
.git | ||
node_modules | ||
assets/css/bootstrap4 | ||
about.html | ||
copy-config.sh | ||
node_modules |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#!/usr/bin/env node | ||
|
||
/*! | ||
* Inquirer config: Questions for inquirer. | ||
*/ | ||
|
||
export function inquirerQuestions( | ||
oldPluginVersion, | ||
requiredPHPVersion, | ||
requiredWPVersion, | ||
testedWPVersion | ||
) { | ||
return [ | ||
{ | ||
type: "input", | ||
name: "new_plugin_version", | ||
message: | ||
"Enter the new plugin version number (Current version is " + | ||
oldPluginVersion + | ||
"):", | ||
}, | ||
{ | ||
type: "input", | ||
name: "new_required_php_version", | ||
message: | ||
"Enter the minimum required PHP version (Current version is " + | ||
requiredPHPVersion + | ||
"):", | ||
}, | ||
{ | ||
type: "input", | ||
name: "new_required_wp_version", | ||
message: | ||
"Enter minimum required WordPress version (Current version is " + | ||
requiredWPVersion + | ||
"):", | ||
when(answers) { | ||
return answers; | ||
}, | ||
}, | ||
{ | ||
type: "input", | ||
name: "new_tested_wp_version", | ||
message: | ||
"Enter the highest tested WordPress version (Current version is " + | ||
testedWPVersion + | ||
"):", | ||
when(answers) { | ||
return answers; | ||
}, | ||
}, | ||
]; | ||
} |
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,26 @@ | ||
#!/usr/bin/env node | ||
|
||
/*! | ||
* Replace config: Set last updated date and time | ||
*/ | ||
|
||
// Files replace will update. | ||
export function lastUpdatedFiles() { | ||
return [ | ||
"./updates.json", | ||
]; | ||
} | ||
|
||
// Items replace to search for. | ||
export function lastUpdatedFrom(lastUpdatedPlugin) { | ||
return [ | ||
'"last_updated": "' + lastUpdatedPlugin + '"', // File: updates.json | ||
]; | ||
} | ||
|
||
// Items replace will update to. | ||
export function lastUpdatedTo(dateAndTime) { | ||
return [ | ||
'"last_updated": "' + dateAndTime + '"', // File: updates.json | ||
]; | ||
} |
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,41 @@ | ||
#!/usr/bin/env node | ||
|
||
/*! | ||
* Replace config: Update plugin version | ||
*/ | ||
|
||
// Files replace will update. | ||
export function pluginVersionFiles() { | ||
return [ | ||
"./readme.txt", | ||
"./README.md", | ||
"./includes.php", | ||
"./package.json", | ||
"./package-lock.json", | ||
"./updates.json", | ||
]; | ||
} | ||
|
||
// Items replace to search for. | ||
export function pluginVersionFrom(oldVersion) { | ||
return [ | ||
"Stable tag: " + oldVersion, // File: readme.txt file | ||
"Current version:** " + oldVersion, // File: README.MD | ||
"Version: " + oldVersion, // File: includes.php | ||
"'plugin_version' => '" + oldVersion + "'", // File: includes.php | ||
'"version": "' + oldVersion + '"', // Files: package.json, package-lock.json, updates.json | ||
"tag/" + oldVersion, // File: updates.json | ||
]; | ||
} | ||
|
||
// Items replace will update to. | ||
export function pluginVersionTo(newVersion) { | ||
return [ | ||
"Stable tag: " + newVersion, // File: readme.txt file | ||
"Current version:** " + newVersion, // File: README.MD | ||
"Version: " + newVersion, // File: includes.php | ||
"'plugin_version' => '" + newVersion + "'", // File: includes.php | ||
'"version": "' + newVersion + '"', // Files: package.json, package-lock.json, updates.json | ||
"tag/" + newVersion, // File: updates.json | ||
]; | ||
} |
Oops, something went wrong.