flowstride 1.0.17 → 1.0.18

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.
@@ -46,17 +46,22 @@ const ora_1 = __importDefault(require("ora"));
46
46
  const execAsync = (0, util_1.promisify)(child_process_1.exec);
47
47
  async function initAction() {
48
48
  const root = process.cwd();
49
- const folders = ["flows", "reports", "plugins", "fixtures"];
49
+ // Added 'manual_flows' to strictly isolate manual test designs
50
+ const folders = ["flows", "manual_flows", "reports", "plugins", "fixtures"];
50
51
  const sampleFlowPath = path.join(root, "flows", "example.flow");
51
52
  const fixturesReadmePath = path.join(root, "fixtures", "README.md");
52
53
  const gitignorePath = path.join(root, ".gitignore");
53
- console.log("\n[Info] Initializing new workspace...");
54
+ console.log("\n[Info] Initialising new workspace...");
54
55
  // 1. Create Directories
55
56
  folders.forEach((folder) => {
56
57
  const dirPath = path.join(root, folder);
57
58
  if (!fs.existsSync(dirPath)) {
58
59
  fs.mkdirSync(dirPath);
59
60
  console.log(`[OK] Created directory: ${folder}/`);
61
+ // Securely ensure the manual_flows directory is strictly tracked by Git even when empty
62
+ if (folder === "manual_flows") {
63
+ fs.writeFileSync(path.join(dirPath, ".gitkeep"), "");
64
+ }
60
65
  }
61
66
  else {
62
67
  console.log(`[Info] Directory already exists: ${folder}/`);
package/dist/cli/index.js CHANGED
@@ -53,7 +53,7 @@ const API_BASE = process.env.FLOWSTRIDE_API_URL || "https://cloud.flowstride.io"
53
53
  program
54
54
  .name("flowstride")
55
55
  .description("Flowstride: The Enterprise Flow-First Automation CLI")
56
- .version("1.0.17");
56
+ .version("1.0.18");
57
57
  program
58
58
  .command("init")
59
59
  .description("Initialise a new Flowstride workspace in the current directory")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowstride",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "An opensource flowfirst test automation framework",
5
5
  "workspaces": [
6
6
  "packages/flowstride_report"