Skip to content

Commit 4240089

Browse files
authored
rename discover-plugins to mjs for backward compat (#67)
1 parent 656168b commit 4240089

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"db:migrate": "drizzle-kit migrate",
1616
"db:push": "drizzle-kit push",
1717
"db:studio": "drizzle-kit studio",
18-
"discover-plugins": "node scripts/discover-plugins.js"
18+
"discover-plugins": "node scripts/discover-plugins.mjs"
1919
},
2020
"dependencies": {
2121
"@ai-sdk/provider": "^2.0.0",

plugins/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Plugins Index (Auto-Generated)
33
*
4-
* This file is automatically generated by scripts/discover-plugins.js
4+
* This file is automatically generated by scripts/discover-plugins.mjs
55
* DO NOT EDIT MANUALLY - your changes will be overwritten!
66
*
77
* To add a new integration:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* registered.
99
*
1010
* Run this script:
11-
* - Manually: node scripts/discover-plugins.js
11+
* - Manually: node scripts/discover-plugins.mjs
1212
* - Automatically: Before build (in package.json)
1313
*/
1414

@@ -56,7 +56,7 @@ function generateIndexFile(plugins) {
5656
const content = `/**
5757
* Plugins Index (Auto-Generated)
5858
*
59-
* This file is automatically generated by scripts/discover-plugins.js
59+
* This file is automatically generated by scripts/discover-plugins.mjs
6060
* DO NOT EDIT MANUALLY - your changes will be overwritten!
6161
*
6262
* To add a new integration:

0 commit comments

Comments
 (0)