@baseline-studio/cli 2.2.3 → 2.2.4

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.
@@ -31,7 +31,8 @@ async function init() {
31
31
  const repo = "TrentM6/baseline-core";
32
32
  // Use current directory if empty, otherwise create a subfolder
33
33
  const cwd = process.cwd();
34
- const cwdEntries = (0, fs_1.readdirSync)(cwd).filter((f) => !f.startsWith("."));
34
+ const npxArtifacts = new Set(["node_modules", "package-lock.json", "package.json"]);
35
+ const cwdEntries = (0, fs_1.readdirSync)(cwd).filter((f) => !f.startsWith(".") && !npxArtifacts.has(f));
35
36
  const destDir = cwdEntries.length === 0
36
37
  ? cwd
37
38
  : (0, path_1.join)(cwd, `${clientName.toLowerCase().replace(/\s+/g, "-")}-system`);
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ const program = new commander_1.Command();
9
9
  program
10
10
  .name("baseline")
11
11
  .description("Distribute and update the Baseline System")
12
- .version("2.2.3");
12
+ .version("2.2.4");
13
13
  program
14
14
  .command("status")
15
15
  .description("Show current version and check for updates")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baseline-studio/cli",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "CLI for distributing and updating the Baseline System — an AI-powered workflow system for product teams",
5
5
  "keywords": [
6
6
  "baseline",