Skip to content

Commit aaab843

Browse files
authored
Fix a bug (#10)
* Add a new command: trb new theme theme-name that uploads and unzips the theme
1 parent 42a676f commit aaab843

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commands/setup_theme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'fs';
22
import path from 'path';
33
import fetch from 'node-fetch';
4-
var AdmZip = require('adm-zip');
4+
import AdmZip from 'adm-zip';
55
import ProgressBar from 'progress';
66
import ora from 'ora';
77
import chalk from 'chalk';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@webredone/trb-cli",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "TRB-CLI is a handy Node.js CLI that automates the process of managing blocks in a Theme Redone WordPress theme",
55
"main": "index.js",
66
"type": "module",

0 commit comments

Comments
 (0)