@stratawp/cli 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/create.js +3 -3
- package/package.json +3 -3
package/dist/create.js
CHANGED
|
@@ -124,9 +124,9 @@ async function createTheme(config) {
|
|
|
124
124
|
spinner.text = `Downloading ${config.template} theme template...`;
|
|
125
125
|
const degit = (await import("degit")).default;
|
|
126
126
|
const templateMap = {
|
|
127
|
-
basic: "JonImmsWordpressDev/StrataWP/examples/basic-theme",
|
|
128
|
-
advanced: "JonImmsWordpressDev/StrataWP/examples/advanced-theme",
|
|
129
|
-
store: "JonImmsWordpressDev/StrataWP/examples/store-theme"
|
|
127
|
+
basic: "JonImmsWordpressDev/StrataWP/examples/basic-theme#main",
|
|
128
|
+
advanced: "JonImmsWordpressDev/StrataWP/examples/advanced-theme#main",
|
|
129
|
+
store: "JonImmsWordpressDev/StrataWP/examples/store-theme#main"
|
|
130
130
|
};
|
|
131
131
|
const emitter = degit(templateMap[config.template], {
|
|
132
132
|
cache: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stratawp/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "CLI tool for StrataWP - create and manage WordPress themes",
|
|
5
5
|
"author": "Jon Imms",
|
|
6
6
|
"license": "GPL-3.0-or-later",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"ora": "^8.0.1",
|
|
49
49
|
"prompts": "^2.4.2",
|
|
50
50
|
"validate-npm-package-name": "^5.0.0",
|
|
51
|
-
"@stratawp/registry": "0.1.0",
|
|
52
51
|
"@stratawp/ai": "0.1.0",
|
|
53
|
-
"@stratawp/explorer": "0.7.0"
|
|
52
|
+
"@stratawp/explorer": "0.7.0",
|
|
53
|
+
"@stratawp/registry": "0.1.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/fs-extra": "^11.0.4",
|