@paljs/cli
Advanced tools
Comparing version 6.0.4 to 6.0.5
@@ -1,1 +0,1 @@ | ||
{"version":"6.0.4","commands":{"create":{"id":"create","description":"Start new project from our examples","strict":true,"pluginName":"@paljs/cli","pluginAlias":"@paljs/cli","pluginType":"core","aliases":["c"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"generate":{"id":"generate","description":"Generate CRUD system, admin pages and GraphQL queries and mutations for Frontend","strict":true,"pluginName":"@paljs/cli","pluginAlias":"@paljs/cli","pluginType":"core","aliases":["g"],"examples":["# To generate everything for all models in your schema\n\u001b[31m>\u001b[39m \u001b[34mpal g\u001b[39m\n","\u001b[33mNote:\u001b[39m you need to change \u001b[34mUser,Post\u001b[39m with your schema models\n","# To generate everything for model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post\u001b[39m\n","# To generate queries for one model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post queries\u001b[39m\n","# To generate mutations for one model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post mutations\u001b[39m\n","# To generate admin for one model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post admin\u001b[39m\n","# To generate graphql for one model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post graphql\u001b[39m\n","# To generate queries and mutations for one model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post crud\u001b[39m"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"You can pass custom config file name","multiple":false,"default":"pal.config"},"schema":{"name":"schema","type":"option","char":"s","description":"You can pass a schema name from pal config file to work with","multiple":false},"multi":{"name":"multi","type":"boolean","char":"m","description":"Add this flag to work with config file as multi schema","allowNo":false},"autoComplete":{"name":"autoComplete","type":"option","char":"a","description":"Add this flag with ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/ path to generate CLI auto complete for oh-my-zsh","multiple":false}},"args":[{"name":"models","description":"schema model name to generate files for. You can pass one or more models like User,Post","required":false},{"name":"type","description":"Type of files to generate you can send one or more like queries,mutations","required":false,"options":["crud","queries","mutations","admin","graphql"]}]},"schema":{"id":"schema","description":"Prisma schema file converter to: 1- json object. 2- change Snack case to Camel case. 3- TypeScript type definitions. ","strict":true,"pluginName":"@paljs/cli","pluginAlias":"@paljs/cli","pluginType":"core","aliases":["s"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"output-path":{"name":"output-path","type":"option","char":"o","description":"folder path for converted file","multiple":false,"default":"src/"},"type":{"name":"type","type":"option","char":"t","description":"type of output file type when you convert to json","helpValue":"(js|ts|json)","multiple":false,"options":["js","ts","json"],"default":"ts"},"schema":{"name":"schema","type":"option","char":"s","description":"You can pass custom schema file path","multiple":false}},"args":[{"name":"converter","description":"specify what is the function you need","required":true,"options":["json","camel-case","typescript"]}]}}} | ||
{"version":"6.0.5","commands":{"create":{"id":"create","description":"Start new project from our examples","strict":true,"pluginName":"@paljs/cli","pluginAlias":"@paljs/cli","pluginType":"core","aliases":["c"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"generate":{"id":"generate","description":"Generate CRUD system, admin pages and GraphQL queries and mutations for Frontend","strict":true,"pluginName":"@paljs/cli","pluginAlias":"@paljs/cli","pluginType":"core","aliases":["g"],"examples":["# To generate everything for all models in your schema\n\u001b[31m>\u001b[39m \u001b[34mpal g\u001b[39m\n","\u001b[33mNote:\u001b[39m you need to change \u001b[34mUser,Post\u001b[39m with your schema models\n","# To generate everything for model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post\u001b[39m\n","# To generate queries for one model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post queries\u001b[39m\n","# To generate mutations for one model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post mutations\u001b[39m\n","# To generate admin for one model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post admin\u001b[39m\n","# To generate graphql for one model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post graphql\u001b[39m\n","# To generate queries and mutations for one model or more \n\u001b[31m>\u001b[39m \u001b[34mpal g User,Post crud\u001b[39m"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"You can pass custom config file name","multiple":false,"default":"pal.config"},"schema":{"name":"schema","type":"option","char":"s","description":"You can pass a schema name from pal config file to work with","multiple":false},"multi":{"name":"multi","type":"boolean","char":"m","description":"Add this flag to work with config file as multi schema","allowNo":false},"autoComplete":{"name":"autoComplete","type":"option","char":"a","description":"Add this flag with ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/ path to generate CLI auto complete for oh-my-zsh","multiple":false}},"args":[{"name":"models","description":"schema model name to generate files for. You can pass one or more models like User,Post","required":false},{"name":"type","description":"Type of files to generate you can send one or more like queries,mutations","required":false,"options":["crud","queries","mutations","admin","graphql"]}]},"schema":{"id":"schema","description":"Prisma schema file converter to: 1- json object. 2- change Snack case to Camel case. 3- TypeScript type definitions. ","strict":true,"pluginName":"@paljs/cli","pluginAlias":"@paljs/cli","pluginType":"core","aliases":["s"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"output-path":{"name":"output-path","type":"option","char":"o","description":"folder path for converted file","multiple":false,"default":"src/"},"type":{"name":"type","type":"option","char":"t","description":"type of output file type when you convert to json","helpValue":"(js|ts|json)","multiple":false,"options":["js","ts","json"],"default":"ts"},"schema":{"name":"schema","type":"option","char":"s","description":"You can pass custom schema file path","multiple":false}},"args":[{"name":"converter","description":"specify what is the function you need","required":true,"options":["json","camel-case","typescript"]}]}}} |
{ | ||
"name": "@paljs/cli", | ||
"description": "Pal cli will be your friend in developing nodejs full-stack projects to auto generate everything for you", | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"author": "Ahmed Elewa @AhmedElywa", | ||
@@ -19,8 +19,8 @@ "bin": { | ||
"prettier": "^2.8.4", | ||
"@paljs/create": "6.0.4", | ||
"@paljs/display": "6.0.4", | ||
"@paljs/schema": "6.0.4", | ||
"@paljs/types": "6.0.4", | ||
"@paljs/utils": "6.0.4", | ||
"@paljs/generator": "6.0.4" | ||
"@paljs/create": "6.0.5", | ||
"@paljs/display": "6.0.5", | ||
"@paljs/generator": "6.0.5", | ||
"@paljs/utils": "6.0.5", | ||
"@paljs/schema": "6.0.5", | ||
"@paljs/types": "6.0.5" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
+ Added@paljs/create@6.0.5(transitive)
+ Added@paljs/display@6.0.5(transitive)
+ Added@paljs/generator@6.0.5(transitive)
+ Added@paljs/schema@6.0.5(transitive)
+ Added@paljs/types@6.0.5(transitive)
+ Added@paljs/utils@6.0.5(transitive)
- Removed@paljs/create@6.0.4(transitive)
- Removed@paljs/display@6.0.4(transitive)
- Removed@paljs/generator@6.0.4(transitive)
- Removed@paljs/schema@6.0.4(transitive)
- Removed@paljs/types@6.0.4(transitive)
- Removed@paljs/utils@6.0.4(transitive)
Updated@paljs/create@6.0.5
Updated@paljs/display@6.0.5
Updated@paljs/generator@6.0.5
Updated@paljs/schema@6.0.5
Updated@paljs/types@6.0.5
Updated@paljs/utils@6.0.5