ai-localize-cli 1.0.2 → 1.0.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.
package/dist/cli.js CHANGED
@@ -61,7 +61,7 @@ function initCommand() {
61
61
  const cwd = opts.cwd;
62
62
  let framework = opts.framework;
63
63
  if (!framework) {
64
- framework = (0, import_ai_localize_framework_detectors.detectFramework)(cwd);
64
+ framework = (0, import_ai_localize_framework_detectors.detectFramework)(cwd).framework;
65
65
  spinner.succeed("Detected framework: " + import_chalk2.default.cyan(framework));
66
66
  } else {
67
67
  spinner.succeed("Using framework: " + import_chalk2.default.cyan(framework));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-localize-cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "CLI for ai-localize-core: scan, extract, validate, migrate CDN",
5
5
  "bin": {
6
6
  "ai-localize": "./dist/cli.js"
@@ -11,15 +11,15 @@
11
11
  "chalk": "^5.3.0",
12
12
  "ora": "^8.0.1",
13
13
  "inquirer": "^9.2.12",
14
- "ai-localize-config": "1.0.1",
15
14
  "ai-localize-shared": "1.0.1",
16
15
  "ai-localize-framework-detectors": "1.0.1",
16
+ "ai-localize-config": "1.0.1",
17
+ "ai-localize-aws-cloudfront": "1.0.1",
18
+ "ai-localize-locale-engine": "1.0.1",
17
19
  "ai-localize-codemods": "1.0.1",
18
- "ai-localize-scanner": "1.0.1",
19
20
  "ai-localize-validators": "1.0.1",
20
- "ai-localize-aws-cloudfront": "1.0.1",
21
21
  "ai-localize-reporting": "1.0.1",
22
- "ai-localize-locale-engine": "1.0.1"
22
+ "ai-localize-scanner": "1.0.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/inquirer": "^9.0.7",
@@ -17,7 +17,7 @@ export function initCommand(): Command {
17
17
  const cwd = opts.cwd as string;
18
18
  let framework = opts.framework as string;
19
19
  if (!framework) {
20
- framework = detectFramework(cwd);
20
+ framework = detectFramework(cwd).framework;
21
21
  spinner.succeed('Detected framework: ' + chalk.cyan(framework));
22
22
  } else {
23
23
  spinner.succeed('Using framework: ' + chalk.cyan(framework));