ai-localize-codemods 1.0.0 → 1.0.1

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/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { DetectedText, CloudFrontAsset, LegacyCdnUrl, LocalizationConfig } from '@ai-localize/shared';
1
+ import { DetectedText, CloudFrontAsset, LegacyCdnUrl, LocalizationConfig } from 'ai-localize-shared';
2
2
 
3
3
  interface CodemodResult {
4
4
  filePath: string;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { DetectedText, CloudFrontAsset, LegacyCdnUrl, LocalizationConfig } from '@ai-localize/shared';
1
+ import { DetectedText, CloudFrontAsset, LegacyCdnUrl, LocalizationConfig } from 'ai-localize-shared';
2
2
 
3
3
  interface CodemodResult {
4
4
  filePath: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-localize-codemods",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "AST-based codemods to inject i18n wrappers into frontend source code",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -19,7 +19,7 @@
19
19
  "@babel/generator": "^7.23.9",
20
20
  "recast": "^0.23.4",
21
21
  "jscodeshift": "^0.15.2",
22
- "ai-localize-shared": "1.0.0"
22
+ "ai-localize-shared": "1.0.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/babel__generator": "^7.6.8",
@@ -1,6 +1,6 @@
1
1
  import * as fs from 'fs';
2
2
 
3
- import type { DetectedText } from '@ai-localize/shared';
3
+ import type { DetectedText } from 'ai-localize-shared';
4
4
  import type { CodemodResult } from './react-codemod.js';
5
5
 
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import * as fs from 'fs';
2
2
  import * as path from 'path';
3
3
 
4
- import type { LegacyCdnUrl, CloudFrontAsset } from '@ai-localize/shared';
4
+ import type { LegacyCdnUrl, CloudFrontAsset } from 'ai-localize-shared';
5
5
 
6
6
  export interface CdnReplacementResult {
7
7
  filePath: string;
@@ -1,5 +1,5 @@
1
1
  import * as path from 'path';
2
- import type { Framework, DetectedText, LocalizationConfig } from '@ai-localize/shared';
2
+ import type { Framework, DetectedText, LocalizationConfig } from 'ai-localize-shared';
3
3
  import type { CodemodResult } from './react-codemod.js';
4
4
  import { applyReactCodemod } from './react-codemod.js';
5
5
  import { applyVueCodemod } from './vue-codemod.js';
@@ -4,7 +4,7 @@ import traverse from '@babel/traverse';
4
4
  import generate from '@babel/generator';
5
5
  import * as t from '@babel/types';
6
6
 
7
- import type { DetectedText } from '@ai-localize/shared';
7
+ import type { DetectedText } from 'ai-localize-shared';
8
8
 
9
9
  export interface CodemodResult {
10
10
  filePath: string;
@@ -1,6 +1,6 @@
1
1
  import * as fs from 'fs';
2
2
 
3
- import type { DetectedText } from '@ai-localize/shared';
3
+ import type { DetectedText } from 'ai-localize-shared';
4
4
  import type { CodemodResult } from './react-codemod.js';
5
5
 
6
6
  /**