supatool 0.1.0 → 0.1.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/README.md +3 -2
- package/package.json +3 -3
package/README.md
CHANGED
@@ -23,13 +23,14 @@ npx supabase gen types typescript --project-id your_project_ref --schema public
|
|
23
23
|
2. Auto-generate CRUD code
|
24
24
|
|
25
25
|
```
|
26
|
-
supatool
|
26
|
+
supatool crud
|
27
27
|
```
|
28
28
|
- Output: `src/integrations/supabase/crud-autogen/`
|
29
29
|
|
30
30
|
3. Subcommands
|
31
31
|
|
32
|
-
See: [src/bin/helptext.ts](./src/bin/helptext.ts)
|
32
|
+
See: [src/bin/helptext.ts](./src/bin/helptext.ts) (for development)
|
33
|
+
or [dist/bin/helptext.js](./dist/bin/helptext.js) (for npm package)
|
33
34
|
|
34
35
|
For details on how to specify input/output folders, please refer to this as well.
|
35
36
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "supatool",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.1",
|
4
4
|
"description": "A CLI tool that automatically generates TypeScript CRUD code from Supabase type definitions.",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -27,11 +27,11 @@
|
|
27
27
|
"author": "IdeaGarage",
|
28
28
|
"license": "MIT",
|
29
29
|
"dependencies": {
|
30
|
+
"commander": "^13.1.0",
|
30
31
|
"tsx": "^4.7.0",
|
31
32
|
"typescript": "^5.0.0"
|
32
33
|
},
|
33
34
|
"devDependencies": {
|
34
|
-
"@types/node": "^20.17.30"
|
35
|
-
"commander": "^13.1.0"
|
35
|
+
"@types/node": "^20.17.30"
|
36
36
|
}
|
37
37
|
}
|