@caweb/cli 1.12.0 → 1.12.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.
@@ -24,7 +24,6 @@ import {
24
24
  projectPath,
25
25
  configureCAWeb,
26
26
  downloadSources,
27
- generateCLIConfig,
28
27
  configureWordPress,
29
28
  runCmd,
30
29
  runCLICmds
@@ -105,6 +105,11 @@ export default async function createSite({
105
105
  );
106
106
  }
107
107
 
108
+ // create content/pages directory if it doesn't exist
109
+ if( ! fs.existsSync( path.join( appPath, 'content', 'pages' ) ) ) {
110
+ fs.mkdirSync( path.join( appPath, 'content', 'pages' ), { recursive: true });
111
+ }
112
+
108
113
  // create media directory if it doesn't exist
109
114
  if( ! fs.existsSync( path.join( appPath, 'media' ) ) ) {
110
115
  fs.mkdirSync( path.join( appPath, 'media' ) );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/cli",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "CAWebPublishing Command Line Interface.",
5
5
  "exports": "./lib/env.js",
6
6
  "type": "module",