@mastra/codemod 0.0.0-1.x-tester-20251106141102 → 0.0.0-cloud-storage-adapter-20251106204059
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/CHANGELOG.md +7 -1
- package/README.md +8 -8
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# @mastra/codemod
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-cloud-storage-adapter-20251106204059
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Initial release of `@mastra/codemod` package ([#9579](https://github.com/mastra-ai/mastra/pull/9579))
|
|
8
|
+
|
|
9
|
+
## 0.1.0-beta.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
6
12
|
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Codemods are transformations that run on your codebase programmatically, allowin
|
|
|
9
9
|
### Run Version-Specific Codemods
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
npx @mastra/codemod v1
|
|
12
|
+
npx @mastra/codemod@beta v1
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
### Run Individual Codemods
|
|
@@ -17,20 +17,20 @@ npx @mastra/codemod v1
|
|
|
17
17
|
To run a specific codemod:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
npx @mastra/codemod <codemod-name> <path>
|
|
20
|
+
npx @mastra/codemod@beta <codemod-name> <path>
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
Examples:
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
# Transform a specific file
|
|
27
|
-
npx @mastra/codemod v1/mastra-core-imports src/mastra.ts
|
|
27
|
+
npx @mastra/codemod@beta v1/mastra-core-imports src/mastra.ts
|
|
28
28
|
|
|
29
29
|
# Transform a directory
|
|
30
|
-
npx @mastra/codemod v1/mastra-core-imports src/lib/
|
|
30
|
+
npx @mastra/codemod@beta v1/mastra-core-imports src/lib/
|
|
31
31
|
|
|
32
32
|
# Transform entire project
|
|
33
|
-
npx @mastra/codemod v1/mastra-core-imports .
|
|
33
|
+
npx @mastra/codemod@beta v1/mastra-core-imports .
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
## Available Codemods
|
|
@@ -59,7 +59,7 @@ npx @mastra/codemod v1/mastra-core-imports .
|
|
|
59
59
|
### Commands
|
|
60
60
|
|
|
61
61
|
```sh
|
|
62
|
-
npx @mastra/codemod <command> [options]
|
|
62
|
+
npx @mastra/codemod@beta <command> [options]
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
**Available Commands:**
|
|
@@ -76,10 +76,10 @@ npx @mastra/codemod <command> [options]
|
|
|
76
76
|
|
|
77
77
|
```sh
|
|
78
78
|
# Show verbose output for specific codemod
|
|
79
|
-
npx @mastra/codemod --verbose v1/mastra-core-imports src/
|
|
79
|
+
npx @mastra/codemod@beta --verbose v1/mastra-core-imports src/
|
|
80
80
|
|
|
81
81
|
# Print transformed code for specific codemod
|
|
82
|
-
npx @mastra/codemod --print v1/mastra-core-imports src/mastra.ts
|
|
82
|
+
npx @mastra/codemod@beta --print v1/mastra-core-imports src/mastra.ts
|
|
83
83
|
```
|
|
84
84
|
|
|
85
85
|
## Contributing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/codemod",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-cloud-storage-adapter-20251106204059",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Codemod CLI for Mastra",
|
|
6
6
|
"bin": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"tsup": "^8.5.0",
|
|
32
32
|
"typescript": "^5.8.3",
|
|
33
33
|
"vitest": "^3.2.4",
|
|
34
|
-
"@internal/lint": "0.0.0-
|
|
34
|
+
"@internal/lint": "0.0.0-cloud-storage-adapter-20251106204059"
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://mastra.ai",
|
|
37
37
|
"repository": {
|