flowershow 0.0.9 → 0.0.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # flowershow
2
2
 
3
+ ## 0.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Rename `flowershow build-static` to `flowershow export`.
8
+
3
9
  ## 0.0.9
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowershow",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Publish your digital garden",
5
5
  "bin": {
6
6
  "flowershow": "src/bin/cli.js"
package/src/bin/cli.js CHANGED
@@ -7,7 +7,7 @@ import os from "os";
7
7
 
8
8
  if (os.platform() === "win32") {
9
9
  warn(
10
- "This may not work as expected. You're trying to run Flowreshow CLI on Windows, which is not supported yet..."
10
+ "This may not work as expected. You're trying to run Flowreshow CLI on Windows, which is not thoroughly tested. Please submit an issue if you encounter any problems: https://github.com/flowershow/flowershow/issues"
11
11
  );
12
12
  }
13
13
 
@@ -54,16 +54,16 @@ program
54
54
  });
55
55
 
56
56
  program
57
- .command("build-static")
58
- .description("build static Flowershow website")
57
+ .command("export")
58
+ .description("build a static Flowershow website")
59
59
  .argument(
60
60
  "[project-dir]",
61
61
  "Path to the folder where Flowershow template is installed (root folder of .flowershow)",
62
62
  "."
63
63
  )
64
64
  .action(async (projectPath) => {
65
- const { default: buildStatic } = await import("../lib/buildStatic.js");
66
- buildStatic(projectPath);
65
+ const { default: buildExport } = await import("../lib/buildExport.js");
66
+ buildExport(projectPath);
67
67
  });
68
68
 
69
69
  program
@@ -3,7 +3,7 @@ import { execa } from "execa";
3
3
 
4
4
  import { FLOWERSHOW_FOLDER_NAME } from "./const.js";
5
5
 
6
- export default async function buildStatic(dir) {
6
+ export default async function buildExport(dir) {
7
7
  const flowershowDir = path.resolve(dir, FLOWERSHOW_FOLDER_NAME);
8
8
 
9
9
  const subprocess = execa("npm", ["run", "export"], { cwd: flowershowDir });