Skip to content

Commit

Permalink
feat: 🚀 Scripts to generate the deployment zip file for the theme
Browse files Browse the repository at this point in the history
We can now run a script to create the zip file of the theme for installation on any WordPress site
  • Loading branch information
knice committed Mar 24, 2022
1 parent ce9538f commit b5fb034
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
22 changes: 19 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "theme-ucsc",
"name": "ucsc",
"version": "1.0.0-beta.3",
"description": "The offficial WordPress theme for UC Santa Cruz",
"main": "build/index.js",
"scripts": {
"release": "standard-version",
"zip": "wp-scripts build && wp-scripts plugin-zip",
"start": "wp-scripts start",
"start:hot": "wp-scripts start --hot",
"build": "wp-scripts build",
Expand All @@ -27,7 +28,22 @@
},
"homepage": "https://github.com/ucsc/theme-ucsc#readme",
"devDependencies": {
"@wordpress/scripts": "^19.2.2",
"@wordpress/scripts": "^22.3.0",
"standard-version": "^9.3.2"
}
},
"files": [
"build",
"wp-blocks",
"templates",
"parts",
"style.css",
"theme.json",
"screenshot.png",
"vendor",
"images",
"functions.php",
"index.php",
"README.md",
"CHANGELOG.md"
]
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Author: UC Santa Cruz
Author URI: https://www.ucsc.edu
Description: The official WordPress theme for UC Santa Cruz
Tags: full-site-editing, blog
Version: 1.0.0-beta.2
Version: 1.0.0-beta.3
Requires at least: 5.8
Tested up to: 5.8
Requires PHP: 7.0
Expand Down

0 comments on commit b5fb034

Please sign in to comment.