task-o-matic 0.0.34 → 0.0.35

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.
@@ -37,7 +37,7 @@ exports.BetterTStackIntegration = exports.BetterTStackService = void 0;
37
37
  exports.runBetterTStackCLI = runBetterTStackCLI;
38
38
  const config_1 = require("./config");
39
39
  const fs_1 = require("fs");
40
- const glob_1 = require("glob");
40
+ // import { glob } from "glob";
41
41
  const path_1 = require("path");
42
42
  class BetterTStackService {
43
43
  async createProject(name, config, workingDirectory) {
@@ -166,11 +166,11 @@ class BetterTStackService {
166
166
  (0, fs_1.writeFileSync)(stackConfigPath, configData);
167
167
  }
168
168
  async addCheckTypesScript(projectDir) {
169
- // const { glob } = await import("glob");
169
+ const { glob } = await Promise.resolve().then(() => __importStar(require("glob")));
170
170
  // const { readFileSync, writeFileSync } = await import("fs");
171
171
  console.log("🔍 Adding check-types scripts to packages...");
172
172
  // Find all package.json files in apps and backend directories
173
- const packageFiles = await (0, glob_1.glob)(["apps/*/package.json", "backend/*/package.json"], { cwd: projectDir, absolute: true });
173
+ const packageFiles = await glob(["apps/*/package.json", "backend/*/package.json"], { cwd: projectDir, absolute: true });
174
174
  for (const file of packageFiles) {
175
175
  try {
176
176
  const content = JSON.parse((0, fs_1.readFileSync)(file, "utf-8"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "task-o-matic",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "AI-powered task management CLI",
5
5
  "keywords": [
6
6
  "task-management",