@enjoys/context-engine 1.2.0 → 1.4.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/data/codeActions/angular.json +126 -0
- package/data/codeActions/css.json +111 -0
- package/data/codeActions/nestjs.json +124 -0
- package/data/codeActions/nextjs.json +198 -0
- package/data/codeActions/react.json +154 -0
- package/data/codeActions/shadcn.json +112 -0
- package/data/codeActions/shell.json +169 -26
- package/data/codeActions/tailwindcss.json +76 -0
- package/data/codeLens/angular.json +22 -0
- package/data/codeLens/css.json +68 -0
- package/data/codeLens/nestjs.json +21 -0
- package/data/codeLens/nextjs.json +117 -0
- package/data/codeLens/react.json +89 -0
- package/data/codeLens/shadcn.json +89 -0
- package/data/codeLens/shell.json +59 -17
- package/data/codeLens/tailwindcss.json +103 -0
- package/data/color/angular.json +21 -0
- package/data/color/css.json +124 -0
- package/data/color/nestjs.json +18 -0
- package/data/color/nextjs.json +22 -0
- package/data/color/react.json +93 -0
- package/data/color/shadcn.json +66 -0
- package/data/color/shell.json +106 -80
- package/data/color/tailwindcss.json +53 -0
- package/data/commands/angular.json +312 -0
- package/data/commands/css.json +41 -0
- package/data/commands/manifest.json +734 -727
- package/data/commands/nestjs.json +273 -0
- package/data/commands/nextjs.json +123 -0
- package/data/commands/react.json +210 -0
- package/data/commands/shadcn.json +410 -0
- package/data/commands/shell.json +571 -41
- package/data/commands/tailwindcss.json +53 -0
- package/data/completion/angular.json +1490 -0
- package/data/completion/css.json +1176 -0
- package/data/completion/javascript.json +27 -0
- package/data/completion/nestjs.json +1454 -0
- package/data/completion/nextjs.json +1373 -0
- package/data/completion/react.json +1319 -0
- package/data/completion/redis-cli.json +1 -1
- package/data/completion/shadcn.json +1202 -0
- package/data/completion/shell.json +2446 -510
- package/data/completion/tailwindcss.json +284 -0
- package/data/completion/typescript.json +27 -0
- package/data/declaration/angular.json +46 -0
- package/data/declaration/css.json +59 -0
- package/data/declaration/nestjs.json +47 -0
- package/data/declaration/nextjs.json +274 -0
- package/data/declaration/react.json +199 -0
- package/data/declaration/shadcn.json +211 -0
- package/data/declaration/shell.json +343 -24
- package/data/declaration/tailwindcss.json +137 -0
- package/data/definition/angular.json +670 -0
- package/data/definition/css.json +115 -0
- package/data/definition/nestjs.json +684 -0
- package/data/definition/nextjs.json +439 -0
- package/data/definition/react.json +397 -0
- package/data/definition/redis-cli.json +1 -1
- package/data/definition/shadcn.json +99 -0
- package/data/definition/shell.json +820 -0
- package/data/definition/tailwindcss.json +115 -0
- package/data/documentHighlight/angular.json +414 -0
- package/data/documentHighlight/css.json +125 -0
- package/data/documentHighlight/nestjs.json +115 -0
- package/data/documentHighlight/nextjs.json +212 -0
- package/data/documentHighlight/react.json +119 -0
- package/data/documentHighlight/shadcn.json +168 -0
- package/data/documentHighlight/shell.json +664 -334
- package/data/documentHighlight/tailwindcss.json +160 -0
- package/data/documentRangeFormatting/angular.json +45 -0
- package/data/documentRangeFormatting/css.json +101 -0
- package/data/documentRangeFormatting/nestjs.json +17 -0
- package/data/documentRangeFormatting/nextjs.json +17 -0
- package/data/documentRangeFormatting/react.json +78 -0
- package/data/documentRangeFormatting/shadcn.json +45 -0
- package/data/documentRangeFormatting/shell.json +120 -53
- package/data/documentRangeFormatting/tailwindcss.json +55 -0
- package/data/documentSymbol/angular.json +180 -0
- package/data/documentSymbol/css.json +96 -0
- package/data/documentSymbol/nestjs.json +152 -0
- package/data/documentSymbol/nextjs.json +159 -0
- package/data/documentSymbol/react.json +145 -0
- package/data/documentSymbol/shadcn.json +131 -0
- package/data/documentSymbol/shell.json +166 -26
- package/data/documentSymbol/tailwindcss.json +110 -0
- package/data/foldingRange/angular.json +99 -0
- package/data/foldingRange/css.json +66 -0
- package/data/foldingRange/nestjs.json +26 -0
- package/data/foldingRange/nextjs.json +26 -0
- package/data/foldingRange/react.json +120 -0
- package/data/foldingRange/shadcn.json +93 -0
- package/data/foldingRange/shell.json +106 -46
- package/data/foldingRange/tailwindcss.json +60 -0
- package/data/formatting/angular.json +21 -0
- package/data/formatting/css.json +73 -0
- package/data/formatting/nestjs.json +23 -0
- package/data/formatting/nextjs.json +23 -0
- package/data/formatting/react.json +71 -0
- package/data/formatting/shadcn.json +61 -0
- package/data/formatting/shell.json +103 -19
- package/data/formatting/tailwindcss.json +48 -0
- package/data/hover/angular.json +455 -0
- package/data/hover/css.json +300 -0
- package/data/hover/nestjs.json +296 -0
- package/data/hover/nextjs.json +305 -0
- package/data/hover/react.json +173 -0
- package/data/hover/redis-cli.json +1 -1
- package/data/hover/shadcn.json +450 -0
- package/data/hover/shell.json +684 -75
- package/data/hover/tailwindcss.json +968 -0
- package/data/implementation/angular.json +22 -0
- package/data/implementation/css.json +65 -0
- package/data/implementation/nestjs.json +24 -0
- package/data/implementation/nextjs.json +137 -0
- package/data/implementation/react.json +125 -0
- package/data/implementation/shadcn.json +89 -0
- package/data/implementation/shell.json +59 -3
- package/data/implementation/tailwindcss.json +59 -0
- package/data/inlayHints/angular.json +24 -0
- package/data/inlayHints/css.json +87 -0
- package/data/inlayHints/nestjs.json +24 -0
- package/data/inlayHints/nextjs.json +143 -0
- package/data/inlayHints/react.json +177 -0
- package/data/inlayHints/shadcn.json +109 -0
- package/data/inlayHints/shell.json +223 -35
- package/data/inlayHints/tailwindcss.json +111 -0
- package/data/inlineCompletions/angular.json +135 -0
- package/data/inlineCompletions/css.json +125 -0
- package/data/inlineCompletions/javascript.json +12 -0
- package/data/inlineCompletions/nestjs.json +25 -0
- package/data/inlineCompletions/nextjs.json +179 -0
- package/data/inlineCompletions/react.json +203 -0
- package/data/inlineCompletions/shadcn.json +115 -0
- package/data/inlineCompletions/shell.json +185 -35
- package/data/inlineCompletions/tailwindcss.json +411 -0
- package/data/inlineCompletions/typescript.json +12 -0
- package/data/linkedEditingRange/angular.json +23 -0
- package/data/linkedEditingRange/css.json +40 -0
- package/data/linkedEditingRange/nestjs.json +10 -0
- package/data/linkedEditingRange/nextjs.json +11 -0
- package/data/linkedEditingRange/react.json +75 -0
- package/data/linkedEditingRange/shadcn.json +23 -0
- package/data/linkedEditingRange/shell.json +25 -25
- package/data/linkedEditingRange/tailwindcss.json +30 -0
- package/data/links/angular.json +95 -0
- package/data/links/css.json +55 -0
- package/data/links/nestjs.json +130 -0
- package/data/links/nextjs.json +91 -0
- package/data/links/react.json +75 -0
- package/data/links/shadcn.json +98 -0
- package/data/links/shell.json +56 -0
- package/data/links/tailwindcss.json +65 -0
- package/data/manifest.json +399 -150
- package/data/onTypeFormatting/angular.json +14 -0
- package/data/onTypeFormatting/css.json +82 -0
- package/data/onTypeFormatting/nestjs.json +16 -0
- package/data/onTypeFormatting/nextjs.json +17 -0
- package/data/onTypeFormatting/react.json +127 -0
- package/data/onTypeFormatting/shadcn.json +54 -0
- package/data/onTypeFormatting/shell.json +72 -68
- package/data/onTypeFormatting/tailwindcss.json +63 -0
- package/data/rangeSemanticTokens/angular.json +140 -0
- package/data/rangeSemanticTokens/css.json +125 -0
- package/data/rangeSemanticTokens/nestjs.json +27 -0
- package/data/rangeSemanticTokens/nextjs.json +28 -0
- package/data/rangeSemanticTokens/react.json +216 -0
- package/data/rangeSemanticTokens/shadcn.json +140 -0
- package/data/rangeSemanticTokens/shell.json +247 -69
- package/data/rangeSemanticTokens/tailwindcss.json +186 -0
- package/data/references/angular.json +26 -0
- package/data/references/css.json +65 -0
- package/data/references/nestjs.json +24 -0
- package/data/references/nextjs.json +178 -0
- package/data/references/react.json +192 -0
- package/data/references/shadcn.json +101 -0
- package/data/references/shell.json +323 -92
- package/data/references/tailwindcss.json +125 -0
- package/data/rename/angular.json +131 -0
- package/data/rename/css.json +91 -0
- package/data/rename/nestjs.json +32 -0
- package/data/rename/nextjs.json +31 -0
- package/data/rename/react.json +88 -0
- package/data/rename/shadcn.json +79 -0
- package/data/rename/shell.json +101 -31
- package/data/rename/tailwindcss.json +58 -0
- package/data/selectionRange/angular.json +95 -0
- package/data/selectionRange/css.json +55 -0
- package/data/selectionRange/nestjs.json +21 -0
- package/data/selectionRange/nextjs.json +22 -0
- package/data/selectionRange/react.json +87 -0
- package/data/selectionRange/shadcn.json +89 -0
- package/data/selectionRange/shell.json +65 -35
- package/data/selectionRange/tailwindcss.json +35 -0
- package/data/semanticTokens/angular.json +198 -0
- package/data/semanticTokens/css.json +107 -0
- package/data/semanticTokens/nestjs.json +35 -0
- package/data/semanticTokens/nextjs.json +38 -0
- package/data/semanticTokens/react.json +215 -0
- package/data/semanticTokens/shadcn.json +180 -0
- package/data/semanticTokens/shell.json +238 -65
- package/data/semanticTokens/tailwindcss.json +161 -0
- package/data/signatureHelp/angular.json +182 -0
- package/data/signatureHelp/css.json +137 -0
- package/data/signatureHelp/nestjs.json +128 -0
- package/data/signatureHelp/nextjs.json +127 -0
- package/data/signatureHelp/react.json +281 -0
- package/data/signatureHelp/shadcn.json +237 -0
- package/data/signatureHelp/shell.json +797 -104
- package/data/signatureHelp/tailwindcss.json +64 -0
- package/data/typeDefinition/angular.json +362 -0
- package/data/typeDefinition/css.json +53 -0
- package/data/typeDefinition/nestjs.json +334 -0
- package/data/typeDefinition/nextjs.json +285 -0
- package/data/typeDefinition/react.json +236 -0
- package/data/typeDefinition/shadcn.json +292 -0
- package/data/typeDefinition/shell.json +104 -40
- package/data/typeDefinition/tailwindcss.json +47 -0
- package/package.json +1 -1
- package/data/codeActions/bash.json +0 -169
- package/data/codeActions/zsh.json +0 -49
- package/data/codeLens/bash.json +0 -75
- package/data/codeLens/zsh.json +0 -19
- package/data/color/bash.json +0 -100
- package/data/color/zsh.json +0 -80
- package/data/commands/bash.json +0 -102
- package/data/commands/zsh.json +0 -166
- package/data/completion/bash.json +0 -1184
- package/data/completion/zsh.json +0 -973
- package/data/declaration/bash.json +0 -301
- package/data/declaration/zsh.json +0 -205
- package/data/definition/bash.json +0 -565
- package/data/definition/zsh.json +0 -350
- package/data/documentHighlight/bash.json +0 -393
- package/data/documentHighlight/zsh.json +0 -266
- package/data/documentRangeFormatting/bash.json +0 -41
- package/data/documentRangeFormatting/zsh.json +0 -59
- package/data/documentSymbol/bash.json +0 -124
- package/data/documentSymbol/zsh.json +0 -26
- package/data/foldingRange/bash.json +0 -76
- package/data/foldingRange/zsh.json +0 -46
- package/data/formatting/bash.json +0 -88
- package/data/formatting/zsh.json +0 -28
- package/data/hover/bash.json +0 -579
- package/data/hover/zsh.json +0 -96
- package/data/implementation/bash.json +0 -44
- package/data/implementation/zsh.json +0 -41
- package/data/inlayHints/bash.json +0 -207
- package/data/inlayHints/zsh.json +0 -43
- package/data/inlineCompletions/bash.json +0 -155
- package/data/inlineCompletions/zsh.json +0 -17
- package/data/linkedEditingRange/bash.json +0 -25
- package/data/linkedEditingRange/zsh.json +0 -25
- package/data/links/bash.json +0 -56
- package/data/links/zsh.json +0 -15
- package/data/onTypeFormatting/bash.json +0 -68
- package/data/onTypeFormatting/zsh.json +0 -68
- package/data/rangeSemanticTokens/bash.json +0 -90
- package/data/rangeSemanticTokens/zsh.json +0 -76
- package/data/references/bash.json +0 -221
- package/data/references/zsh.json +0 -166
- package/data/rename/bash.json +0 -37
- package/data/rename/zsh.json +0 -31
- package/data/selectionRange/bash.json +0 -35
- package/data/selectionRange/zsh.json +0 -35
- package/data/semanticTokens/bash.json +0 -71
- package/data/semanticTokens/zsh.json +0 -71
- package/data/signatureHelp/bash.json +0 -111
- package/data/signatureHelp/zsh.json +0 -118
- package/data/typeDefinition/bash.json +0 -95
- package/data/typeDefinition/zsh.json +0 -40
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nestjs",
|
|
3
|
+
"description": "NestJS CLI and development commands",
|
|
4
|
+
"commands": [
|
|
5
|
+
{
|
|
6
|
+
"command": "nest new",
|
|
7
|
+
"description": "Scaffolds a new NestJS project with a standard directory structure and configuration.",
|
|
8
|
+
"args": [
|
|
9
|
+
{ "flag": "--directory", "description": "Specify the destination directory" },
|
|
10
|
+
{ "flag": "--dry-run", "description": "Report actions that would be taken without writing out results" },
|
|
11
|
+
{ "flag": "--skip-git", "alias": "-g", "description": "Skip git repository initialization" },
|
|
12
|
+
{ "flag": "--skip-install", "alias": "-s", "description": "Skip package installation" },
|
|
13
|
+
{ "flag": "--package-manager", "alias": "-p", "description": "Specify package manager (npm, yarn, pnpm)" },
|
|
14
|
+
{ "flag": "--language", "alias": "-l", "description": "Programming language (TypeScript or JavaScript)" },
|
|
15
|
+
{ "flag": "--strict", "description": "Enable strict mode in TypeScript configuration" }
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"command": "nest generate controller",
|
|
20
|
+
"description": "Generates a new NestJS controller class with route handling boilerplate.",
|
|
21
|
+
"args": [
|
|
22
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
23
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" },
|
|
24
|
+
{ "flag": "--no-spec", "description": "Do not generate spec (test) file" },
|
|
25
|
+
{ "flag": "--skip-import", "description": "Skip importing into the declaring module" }
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"command": "nest generate service",
|
|
30
|
+
"description": "Generates a new NestJS injectable service class.",
|
|
31
|
+
"args": [
|
|
32
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
33
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" },
|
|
34
|
+
{ "flag": "--no-spec", "description": "Do not generate spec file" }
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"command": "nest generate module",
|
|
39
|
+
"description": "Generates a new NestJS module class.",
|
|
40
|
+
"args": [
|
|
41
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
42
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" }
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"command": "nest generate guard",
|
|
47
|
+
"description": "Generates a new NestJS guard class implementing CanActivate.",
|
|
48
|
+
"args": [
|
|
49
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
50
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" },
|
|
51
|
+
{ "flag": "--no-spec", "description": "Do not generate spec file" }
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"command": "nest generate pipe",
|
|
56
|
+
"description": "Generates a new NestJS pipe class implementing PipeTransform.",
|
|
57
|
+
"args": [
|
|
58
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
59
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" },
|
|
60
|
+
{ "flag": "--no-spec", "description": "Do not generate spec file" }
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"command": "nest generate interceptor",
|
|
65
|
+
"description": "Generates a new NestJS interceptor class implementing NestInterceptor.",
|
|
66
|
+
"args": [
|
|
67
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
68
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" },
|
|
69
|
+
{ "flag": "--no-spec", "description": "Do not generate spec file" }
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"command": "nest generate filter",
|
|
74
|
+
"description": "Generates a new NestJS exception filter class.",
|
|
75
|
+
"args": [
|
|
76
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
77
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" },
|
|
78
|
+
{ "flag": "--no-spec", "description": "Do not generate spec file" }
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"command": "nest generate gateway",
|
|
83
|
+
"description": "Generates a new NestJS WebSocket gateway class.",
|
|
84
|
+
"args": [
|
|
85
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
86
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" },
|
|
87
|
+
{ "flag": "--no-spec", "description": "Do not generate spec file" }
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"command": "nest generate middleware",
|
|
92
|
+
"description": "Generates a new NestJS middleware class implementing NestMiddleware.",
|
|
93
|
+
"args": [
|
|
94
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
95
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" }
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"command": "nest generate decorator",
|
|
100
|
+
"description": "Generates a new custom decorator.",
|
|
101
|
+
"args": [
|
|
102
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
103
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" }
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"command": "nest generate interface",
|
|
108
|
+
"description": "Generates a new TypeScript interface.",
|
|
109
|
+
"args": [
|
|
110
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
111
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" }
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"command": "nest generate class",
|
|
116
|
+
"description": "Generates a new TypeScript class.",
|
|
117
|
+
"args": [
|
|
118
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
119
|
+
{ "flag": "--flat", "description": "Do not generate a dedicated directory" },
|
|
120
|
+
{ "flag": "--no-spec", "description": "Do not generate spec file" }
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"command": "nest generate resource",
|
|
125
|
+
"description": "Generates a complete CRUD resource with module, controller, service, DTOs, and entities.",
|
|
126
|
+
"args": [
|
|
127
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
128
|
+
{ "flag": "--no-spec", "description": "Do not generate spec files" },
|
|
129
|
+
{ "flag": "--type", "description": "Transport layer: REST API, GraphQL (code first), GraphQL (schema first), Microservice, WebSockets" }
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"command": "nest build",
|
|
134
|
+
"description": "Compiles the NestJS application using the TypeScript compiler or webpack.",
|
|
135
|
+
"args": [
|
|
136
|
+
{ "flag": "--config", "alias": "-c", "description": "Path to nest-cli.json configuration file" },
|
|
137
|
+
{ "flag": "--path", "alias": "-p", "description": "Path to tsconfig.json" },
|
|
138
|
+
{ "flag": "--watch", "alias": "-w", "description": "Run in watch mode (live-reload)" },
|
|
139
|
+
{ "flag": "--webpack", "description": "Use webpack for compilation" },
|
|
140
|
+
{ "flag": "--webpackPath", "description": "Path to webpack configuration" },
|
|
141
|
+
{ "flag": "--tsc", "description": "Force use of tsc for compilation" }
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"command": "nest start",
|
|
146
|
+
"description": "Compiles and runs the NestJS application.",
|
|
147
|
+
"args": [
|
|
148
|
+
{ "flag": "--config", "alias": "-c", "description": "Path to nest-cli.json configuration file" },
|
|
149
|
+
{ "flag": "--path", "alias": "-p", "description": "Path to tsconfig.json" },
|
|
150
|
+
{ "flag": "--watch", "alias": "-w", "description": "Run in watch mode (live-reload)" },
|
|
151
|
+
{ "flag": "--debug", "alias": "-d", "description": "Run in debug mode (--inspect flag)" },
|
|
152
|
+
{ "flag": "--exec", "alias": "-e", "description": "Specify the binary to run (default: node)" },
|
|
153
|
+
{ "flag": "--preserveWatchOutput", "description": "Keep outdated console output in watch mode" }
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"command": "nest info",
|
|
158
|
+
"description": "Displays information about the installed NestJS packages and system environment.",
|
|
159
|
+
"args": []
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"command": "nest add",
|
|
163
|
+
"description": "Adds a NestJS library or schematic package to the project.",
|
|
164
|
+
"args": [
|
|
165
|
+
{ "flag": "--dry-run", "alias": "-d", "description": "Report actions without writing out results" },
|
|
166
|
+
{ "flag": "--skip-install", "alias": "-s", "description": "Skip package installation" }
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"command": "npm run start:dev",
|
|
171
|
+
"description": "Starts the NestJS application in development mode with hot-reload (nest start --watch).",
|
|
172
|
+
"args": []
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"command": "npm run start:debug",
|
|
176
|
+
"description": "Starts the NestJS application in debug mode with watch (nest start --debug --watch).",
|
|
177
|
+
"args": []
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"command": "npm run start:prod",
|
|
181
|
+
"description": "Starts the compiled production application (node dist/main).",
|
|
182
|
+
"args": []
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"command": "npm run build",
|
|
186
|
+
"description": "Builds the NestJS application for production.",
|
|
187
|
+
"args": []
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"command": "npm run test",
|
|
191
|
+
"description": "Runs unit tests using Jest.",
|
|
192
|
+
"args": []
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"command": "npm run test:e2e",
|
|
196
|
+
"description": "Runs end-to-end tests using Jest with the e2e configuration.",
|
|
197
|
+
"args": []
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"command": "npm run test:cov",
|
|
201
|
+
"description": "Runs unit tests with code coverage reporting.",
|
|
202
|
+
"args": []
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"command": "npm run lint",
|
|
206
|
+
"description": "Runs ESLint to lint TypeScript source files.",
|
|
207
|
+
"args": []
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"command": "npx prisma init",
|
|
211
|
+
"description": "Initializes a new Prisma project with a schema file and .env file.",
|
|
212
|
+
"args": [
|
|
213
|
+
{ "flag": "--datasource-provider", "description": "Database provider: postgresql, mysql, sqlite, sqlserver, mongodb, cockroachdb" }
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"command": "npx prisma migrate dev",
|
|
218
|
+
"description": "Creates and applies database migrations in development.",
|
|
219
|
+
"args": [
|
|
220
|
+
{ "flag": "--name", "description": "Name the migration" },
|
|
221
|
+
{ "flag": "--create-only", "description": "Create migration file only without applying" }
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"command": "npx prisma generate",
|
|
226
|
+
"description": "Generates the Prisma Client based on the schema.",
|
|
227
|
+
"args": []
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"command": "npx prisma db push",
|
|
231
|
+
"description": "Pushes the Prisma schema state to the database without creating migrations.",
|
|
232
|
+
"args": [
|
|
233
|
+
{ "flag": "--force-reset", "description": "Force reset the database" }
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"command": "npx prisma studio",
|
|
238
|
+
"description": "Opens Prisma Studio, a visual editor for your database data.",
|
|
239
|
+
"args": [
|
|
240
|
+
{ "flag": "--port", "alias": "-p", "description": "Port to start Prisma Studio on" }
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"command": "npx typeorm migration:create",
|
|
245
|
+
"description": "Creates a new empty TypeORM migration file.",
|
|
246
|
+
"args": [
|
|
247
|
+
{ "flag": "-n", "description": "Name of the migration" }
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"command": "npx typeorm migration:generate",
|
|
252
|
+
"description": "Generates a TypeORM migration based on entity changes.",
|
|
253
|
+
"args": [
|
|
254
|
+
{ "flag": "-n", "description": "Name of the migration" },
|
|
255
|
+
{ "flag": "-d", "description": "Path to data source" }
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"command": "npx typeorm migration:run",
|
|
260
|
+
"description": "Runs all pending TypeORM migrations.",
|
|
261
|
+
"args": [
|
|
262
|
+
{ "flag": "-d", "description": "Path to data source" }
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"command": "npx typeorm migration:revert",
|
|
267
|
+
"description": "Reverts the last executed TypeORM migration.",
|
|
268
|
+
"args": [
|
|
269
|
+
{ "flag": "-d", "description": "Path to data source" }
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nextjs",
|
|
3
|
+
"description": "Next.js CLI and development commands",
|
|
4
|
+
"commands": [
|
|
5
|
+
{
|
|
6
|
+
"command": "next dev",
|
|
7
|
+
"description": "Starts the Next.js development server with Hot Module Replacement and Fast Refresh.",
|
|
8
|
+
"args": [
|
|
9
|
+
{ "flag": "--port", "alias": "-p", "description": "Specify the port number (default: 3000)" },
|
|
10
|
+
{ "flag": "--hostname", "alias": "-H", "description": "Specify the hostname (default: 0.0.0.0)" },
|
|
11
|
+
{ "flag": "--turbo", "description": "Enable Turbopack for faster development builds" },
|
|
12
|
+
{ "flag": "--experimental-https", "description": "Start the server with HTTPS and generate a self-signed certificate" },
|
|
13
|
+
{ "flag": "--experimental-https-key", "description": "Path to HTTPS key file" },
|
|
14
|
+
{ "flag": "--experimental-https-cert", "description": "Path to HTTPS certificate file" }
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"command": "next build",
|
|
19
|
+
"description": "Creates an optimized production build of the Next.js application.",
|
|
20
|
+
"args": [
|
|
21
|
+
{ "flag": "--debug", "description": "Enable verbose build output" },
|
|
22
|
+
{ "flag": "--profile", "description": "Enable production profiling for React" },
|
|
23
|
+
{ "flag": "--no-lint", "description": "Disable linting during build" },
|
|
24
|
+
{ "flag": "--experimental-build-mode", "description": "Set build mode: compile or generate" }
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"command": "next start",
|
|
29
|
+
"description": "Starts the Next.js production server. Requires next build to be run first.",
|
|
30
|
+
"args": [
|
|
31
|
+
{ "flag": "--port", "alias": "-p", "description": "Specify the port number (default: 3000)" },
|
|
32
|
+
{ "flag": "--hostname", "alias": "-H", "description": "Specify the hostname (default: 0.0.0.0)" },
|
|
33
|
+
{ "flag": "--keepAliveTimeout", "description": "Max milliseconds to wait before closing inactive connections" }
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"command": "next lint",
|
|
38
|
+
"description": "Runs ESLint for all files in the pages/, app/, components/, lib/, and src/ directories.",
|
|
39
|
+
"args": [
|
|
40
|
+
{ "flag": "--dir", "alias": "-d", "description": "Specify directories to lint" },
|
|
41
|
+
{ "flag": "--file", "description": "Specify files to lint" },
|
|
42
|
+
{ "flag": "--fix", "description": "Automatically fix linting issues" },
|
|
43
|
+
{ "flag": "--strict", "description": "Create .eslintrc.json with strict configuration" },
|
|
44
|
+
{ "flag": "--quiet", "description": "Report errors only" },
|
|
45
|
+
{ "flag": "--max-warnings", "description": "Max number of warnings before non-zero exit" }
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"command": "next telemetry",
|
|
50
|
+
"description": "Manage Next.js anonymous telemetry collection.",
|
|
51
|
+
"args": [
|
|
52
|
+
{ "flag": "status", "description": "Check if telemetry is enabled" },
|
|
53
|
+
{ "flag": "enable", "description": "Enable telemetry" },
|
|
54
|
+
{ "flag": "disable", "description": "Disable telemetry" }
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"command": "next info",
|
|
59
|
+
"description": "Prints relevant system information for reporting Next.js bugs.",
|
|
60
|
+
"args": [
|
|
61
|
+
{ "flag": "--verbose", "description": "Show additional system information" }
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"command": "next experimental-compile",
|
|
66
|
+
"description": "Runs the compilation step of next build without generating static pages.",
|
|
67
|
+
"args": []
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"command": "next experimental-generate",
|
|
71
|
+
"description": "Runs the static generation step of next build after experimental-compile.",
|
|
72
|
+
"args": []
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"command": "npx create-next-app@latest",
|
|
76
|
+
"description": "Scaffolds a new Next.js application with interactive setup.",
|
|
77
|
+
"args": [
|
|
78
|
+
{ "flag": "--typescript", "alias": "--ts", "description": "Initialize with TypeScript" },
|
|
79
|
+
{ "flag": "--javascript", "alias": "--js", "description": "Initialize with JavaScript" },
|
|
80
|
+
{ "flag": "--tailwind", "description": "Initialize with Tailwind CSS" },
|
|
81
|
+
{ "flag": "--eslint", "description": "Initialize with ESLint" },
|
|
82
|
+
{ "flag": "--app", "description": "Initialize with App Router" },
|
|
83
|
+
{ "flag": "--src-dir", "description": "Initialize inside a src/ directory" },
|
|
84
|
+
{ "flag": "--import-alias", "description": "Specify import alias (default: @/*)" },
|
|
85
|
+
{ "flag": "--use-npm", "description": "Use npm as the package manager" },
|
|
86
|
+
{ "flag": "--use-yarn", "description": "Use Yarn as the package manager" },
|
|
87
|
+
{ "flag": "--use-pnpm", "description": "Use pnpm as the package manager" },
|
|
88
|
+
{ "flag": "--use-bun", "description": "Use Bun as the package manager" },
|
|
89
|
+
{ "flag": "--example", "alias": "-e", "description": "Bootstrap with a specific example" }
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"command": "NEXT_PUBLIC_*",
|
|
94
|
+
"description": "Environment variables prefixed with NEXT_PUBLIC_ are exposed to the browser bundle.",
|
|
95
|
+
"args": []
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"command": "NODE_ENV",
|
|
99
|
+
"description": "Set to 'development', 'production', or 'test' to control Next.js behavior.",
|
|
100
|
+
"args": []
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"command": "NEXT_RUNTIME",
|
|
104
|
+
"description": "Set to 'nodejs' or 'edge' to specify the runtime for Route Handlers and Server Components.",
|
|
105
|
+
"args": []
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"command": "ANALYZE",
|
|
109
|
+
"description": "Enable bundle analysis with @next/bundle-analyzer when set to 'true'.",
|
|
110
|
+
"args": []
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"command": "PORT",
|
|
114
|
+
"description": "Set the port for the Next.js server (alternative to --port flag).",
|
|
115
|
+
"args": []
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"command": "HOSTNAME",
|
|
119
|
+
"description": "Set the hostname for the Next.js server (alternative to --hostname flag).",
|
|
120
|
+
"args": []
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react",
|
|
3
|
+
"description": "React development tools and commands",
|
|
4
|
+
"commands": [
|
|
5
|
+
{
|
|
6
|
+
"name": "npx create-react-app",
|
|
7
|
+
"description": "Create a new React application using Create React App scaffolding tool",
|
|
8
|
+
"usage": "npx create-react-app my-app [--template typescript]",
|
|
9
|
+
"examples": [
|
|
10
|
+
"npx create-react-app my-app",
|
|
11
|
+
"npx create-react-app my-app --template typescript",
|
|
12
|
+
"npx create-react-app my-app --template cra-template-pwa"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "react-scripts start",
|
|
17
|
+
"description": "Starts the development server with hot module replacement on port 3000",
|
|
18
|
+
"usage": "react-scripts start",
|
|
19
|
+
"examples": [
|
|
20
|
+
"npm start",
|
|
21
|
+
"react-scripts start",
|
|
22
|
+
"PORT=4000 react-scripts start",
|
|
23
|
+
"HTTPS=true react-scripts start"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "react-scripts build",
|
|
28
|
+
"description": "Builds the app for production to the build folder. Bundles React in production mode and optimizes for best performance",
|
|
29
|
+
"usage": "react-scripts build",
|
|
30
|
+
"examples": [
|
|
31
|
+
"npm run build",
|
|
32
|
+
"react-scripts build",
|
|
33
|
+
"GENERATE_SOURCEMAP=false react-scripts build",
|
|
34
|
+
"BUILD_PATH=dist react-scripts build"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "react-scripts test",
|
|
39
|
+
"description": "Launches the test runner in interactive watch mode using Jest",
|
|
40
|
+
"usage": "react-scripts test [--coverage] [--watchAll]",
|
|
41
|
+
"examples": [
|
|
42
|
+
"npm test",
|
|
43
|
+
"react-scripts test",
|
|
44
|
+
"react-scripts test --coverage",
|
|
45
|
+
"react-scripts test --watchAll=false",
|
|
46
|
+
"react-scripts test --testPathPattern=src/components"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "react-scripts eject",
|
|
51
|
+
"description": "Removes the single build dependency and copies all configuration files and transitive dependencies (webpack, Babel, ESLint, etc.) directly into the project. This is a one-way operation",
|
|
52
|
+
"usage": "react-scripts eject",
|
|
53
|
+
"examples": [
|
|
54
|
+
"npm run eject"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "npm create vite@latest -- --template react",
|
|
59
|
+
"description": "Creates a new Vite-powered React project with fast HMR and optimized builds",
|
|
60
|
+
"usage": "npm create vite@latest my-app -- --template react",
|
|
61
|
+
"examples": [
|
|
62
|
+
"npm create vite@latest my-app -- --template react",
|
|
63
|
+
"npm create vite@latest my-app -- --template react-ts",
|
|
64
|
+
"npm create vite@latest my-app -- --template react-swc",
|
|
65
|
+
"npm create vite@latest my-app -- --template react-swc-ts"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "vite",
|
|
70
|
+
"description": "Starts the Vite development server with instant hot module replacement",
|
|
71
|
+
"usage": "npx vite [--host] [--port <port>]",
|
|
72
|
+
"examples": [
|
|
73
|
+
"npx vite",
|
|
74
|
+
"npx vite --host",
|
|
75
|
+
"npx vite --port 5173",
|
|
76
|
+
"npx vite --open"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "vite build",
|
|
81
|
+
"description": "Builds the Vite React application for production",
|
|
82
|
+
"usage": "npx vite build",
|
|
83
|
+
"examples": [
|
|
84
|
+
"npx vite build",
|
|
85
|
+
"npx vite build --mode staging",
|
|
86
|
+
"npx vite build --outDir dist"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "vite preview",
|
|
91
|
+
"description": "Preview the production build locally",
|
|
92
|
+
"usage": "npx vite preview [--port <port>]",
|
|
93
|
+
"examples": [
|
|
94
|
+
"npx vite preview",
|
|
95
|
+
"npx vite preview --port 4173"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "jest",
|
|
100
|
+
"description": "Run React component tests using Jest testing framework",
|
|
101
|
+
"usage": "npx jest [--watch] [--coverage] [--verbose]",
|
|
102
|
+
"examples": [
|
|
103
|
+
"npx jest",
|
|
104
|
+
"npx jest --watch",
|
|
105
|
+
"npx jest --coverage",
|
|
106
|
+
"npx jest --verbose",
|
|
107
|
+
"npx jest src/components/Button.test.tsx",
|
|
108
|
+
"npx jest --testNamePattern='renders correctly'"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "react-devtools",
|
|
113
|
+
"description": "Launches standalone React DevTools for debugging React applications",
|
|
114
|
+
"usage": "npx react-devtools",
|
|
115
|
+
"examples": [
|
|
116
|
+
"npx react-devtools"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "npx @testing-library/react",
|
|
121
|
+
"description": "React Testing Library for writing maintainable component tests",
|
|
122
|
+
"usage": "npm install --save-dev @testing-library/react @testing-library/jest-dom",
|
|
123
|
+
"examples": [
|
|
124
|
+
"npm install --save-dev @testing-library/react",
|
|
125
|
+
"npm install --save-dev @testing-library/jest-dom",
|
|
126
|
+
"npm install --save-dev @testing-library/user-event"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "npx storybook init",
|
|
131
|
+
"description": "Initialize Storybook for React component development and documentation",
|
|
132
|
+
"usage": "npx storybook@latest init",
|
|
133
|
+
"examples": [
|
|
134
|
+
"npx storybook@latest init",
|
|
135
|
+
"npm run storybook",
|
|
136
|
+
"npm run build-storybook"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "npm install react react-dom",
|
|
141
|
+
"description": "Install React core packages into an existing project",
|
|
142
|
+
"usage": "npm install react react-dom",
|
|
143
|
+
"examples": [
|
|
144
|
+
"npm install react react-dom",
|
|
145
|
+
"npm install react react-dom @types/react @types/react-dom",
|
|
146
|
+
"npm install react@latest react-dom@latest"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "npm install react-router-dom",
|
|
151
|
+
"description": "Install React Router for client-side routing",
|
|
152
|
+
"usage": "npm install react-router-dom",
|
|
153
|
+
"examples": [
|
|
154
|
+
"npm install react-router-dom",
|
|
155
|
+
"npm install react-router-dom @types/react-router-dom"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "npx vitest",
|
|
160
|
+
"description": "Run React tests with Vitest, a Vite-native test runner",
|
|
161
|
+
"usage": "npx vitest [--watch] [--coverage]",
|
|
162
|
+
"examples": [
|
|
163
|
+
"npx vitest",
|
|
164
|
+
"npx vitest --watch",
|
|
165
|
+
"npx vitest --coverage",
|
|
166
|
+
"npx vitest run"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "npx playwright test",
|
|
171
|
+
"description": "Run end-to-end tests for React applications using Playwright",
|
|
172
|
+
"usage": "npx playwright test [--headed] [--debug]",
|
|
173
|
+
"examples": [
|
|
174
|
+
"npx playwright test",
|
|
175
|
+
"npx playwright test --headed",
|
|
176
|
+
"npx playwright test --debug",
|
|
177
|
+
"npx playwright codegen localhost:3000"
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "npx next create-next-app",
|
|
182
|
+
"description": "Create a Next.js React application with server-side rendering",
|
|
183
|
+
"usage": "npx create-next-app@latest my-app",
|
|
184
|
+
"examples": [
|
|
185
|
+
"npx create-next-app@latest my-app",
|
|
186
|
+
"npx create-next-app@latest my-app --typescript",
|
|
187
|
+
"npx create-next-app@latest my-app --app"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "eslint --ext .jsx,.tsx",
|
|
192
|
+
"description": "Lint React JSX and TSX files using ESLint with React plugin",
|
|
193
|
+
"usage": "npx eslint --ext .jsx,.tsx src/",
|
|
194
|
+
"examples": [
|
|
195
|
+
"npx eslint --ext .jsx,.tsx src/",
|
|
196
|
+
"npx eslint --fix --ext .jsx,.tsx src/",
|
|
197
|
+
"npx eslint --config .eslintrc.json src/"
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "source-map-explorer",
|
|
202
|
+
"description": "Analyze React bundle size and dependencies",
|
|
203
|
+
"usage": "npx source-map-explorer build/static/js/*.js",
|
|
204
|
+
"examples": [
|
|
205
|
+
"npx source-map-explorer build/static/js/*.js",
|
|
206
|
+
"npx source-map-explorer --html result.html build/static/js/*.js"
|
|
207
|
+
]
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
}
|