Skip to content

Commit 56f1c77

Browse files
committed
Adds required themeName key to package.json from wp-theme-assets.
1 parent f1c93cd commit 56f1c77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ function writePackage(args = null) {
227227
} else {
228228
themePkg = JSON.parse(data);
229229
themePkg.name = themeDirName;
230+
themePkg.themeName = args.themeName;
230231
themePkg.version = args.themeVersion;
231232
themePkg.description = args.themeDescription;
232233
themePkg.keywords = args.themeTags ? args.themeTags.split(',').map(function(tag) { return tag.trim(); }) : [];

0 commit comments

Comments
 (0)