-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
538 lines (538 loc) · 17.4 KB
/
package.json
File metadata and controls
538 lines (538 loc) · 17.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
{
"name": "angular-cli-plus",
"displayName": "Angular CLI Plus",
"description": "Angular CLI commands, schematics generator, and project tools for VS Code",
"repository": "https://github.com/danisss9/AngularCliPlus",
"publisher": "danisss9",
"version": "1.3.2",
"icon": "icon.png",
"engines": {
"vscode": "^1.107.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "angular-cli-plus.component",
"title": "Component"
},
{
"command": "angular-cli-plus.service",
"title": "Service"
},
{
"command": "angular-cli-plus.module",
"title": "Module"
},
{
"command": "angular-cli-plus.directive",
"title": "Directive"
},
{
"command": "angular-cli-plus.pipe",
"title": "Pipe"
},
{
"command": "angular-cli-plus.guard",
"title": "Guard"
},
{
"command": "angular-cli-plus.interceptor",
"title": "Interceptor"
},
{
"command": "angular-cli-plus.class",
"title": "Class"
},
{
"command": "angular-cli-plus.interface",
"title": "Interface"
},
{
"command": "angular-cli-plus.enum",
"title": "Enum"
},
{
"command": "angular-cli-plus.resolver",
"title": "Resolver"
},
{
"command": "angular-cli-plus.debugAngular",
"title": "Angular: Debug Application",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.debugStorybook",
"title": "Angular: Debug Storybook",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.debugBuildWatch",
"title": "Angular: Debug Build (Watch)",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.serveAngular",
"title": "Angular: Serve Application",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.buildAngular",
"title": "Angular: Build Project",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.restartAngularServe",
"title": "Angular: Restart Serve",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.buildAngularWatch",
"title": "Angular: Build Project (Watch)",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.npmInstall",
"title": "npm: Install",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.npmCleanInstall",
"title": "npm: Clean Install",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.testAngular",
"title": "Angular: Test Project",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.lintAngular",
"title": "Angular: Lint Project",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.updateAngular",
"title": "Angular: Update Packages",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.checkDependencies",
"title": "Check Dependencies",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.checkToolVersions",
"title": "Check Tool Versions",
"category": "Angular CLI Plus"
},
{
"command": "angular-cli-plus.clearTerminals",
"title": "Close Terminals",
"category": "Angular CLI Plus"
}
],
"keybindings": [
{
"command": "angular-cli-plus.debugAngular",
"key": "ctrl+shift+a d"
},
{
"command": "angular-cli-plus.debugStorybook",
"key": "ctrl+shift+a k"
},
{
"command": "angular-cli-plus.debugBuildWatch",
"key": "ctrl+shift+a h"
},
{
"command": "angular-cli-plus.serveAngular",
"key": "ctrl+shift+a s"
},
{
"command": "angular-cli-plus.buildAngular",
"key": "ctrl+shift+a b"
},
{
"command": "angular-cli-plus.restartAngularServe",
"key": "ctrl+shift+a r"
},
{
"command": "angular-cli-plus.buildAngularWatch",
"key": "ctrl+shift+a w"
},
{
"command": "angular-cli-plus.testAngular",
"key": "ctrl+shift+a t"
},
{
"command": "angular-cli-plus.lintAngular",
"key": "ctrl+shift+a l"
},
{
"command": "angular-cli-plus.updateAngular",
"key": "ctrl+shift+a u"
},
{
"command": "angular-cli-plus.clearTerminals",
"key": "ctrl+shift+a c"
}
],
"submenus": [
{
"id": "angular-cli-plus.submenu",
"label": "Ng Generate"
}
],
"menus": {
"explorer/context": [
{
"when": "explorerResourceIsFolder",
"submenu": "angular-cli-plus.submenu",
"group": "navigation"
}
],
"angular-cli-plus.submenu": [
{
"command": "angular-cli-plus.component",
"group": "1_common@1"
},
{
"command": "angular-cli-plus.service",
"group": "1_common@2"
},
{
"command": "angular-cli-plus.module",
"group": "1_common@3"
},
{
"command": "angular-cli-plus.directive",
"group": "2_structural@1"
},
{
"command": "angular-cli-plus.pipe",
"group": "2_structural@2"
},
{
"command": "angular-cli-plus.guard",
"group": "3_routing@1"
},
{
"command": "angular-cli-plus.interceptor",
"group": "3_routing@2"
},
{
"command": "angular-cli-plus.resolver",
"group": "3_routing@3"
},
{
"command": "angular-cli-plus.class",
"group": "4_types@1"
},
{
"command": "angular-cli-plus.interface",
"group": "4_types@2"
},
{
"command": "angular-cli-plus.enum",
"group": "4_types@3"
}
]
},
"configuration": {
"title": "Angular CLI Plus",
"properties": {
"angularCliPlus.component.standalone": {
"type": "boolean",
"default": true,
"description": "Whether generated components should be standalone"
},
"angularCliPlus.component.skipTests": {
"type": "boolean",
"default": false,
"description": "Skip creating spec.ts test files for components"
},
"angularCliPlus.component.inlineStyle": {
"type": "boolean",
"default": false,
"description": "Include styles inline in the component.ts file"
},
"angularCliPlus.component.inlineTemplate": {
"type": "boolean",
"default": false,
"description": "Include template inline in the component.ts file"
},
"angularCliPlus.component.style": {
"type": "string",
"default": "css",
"enum": [
"css",
"scss",
"sass",
"less",
"none"
],
"description": "The file extension or preprocessor to use for style files"
},
"angularCliPlus.component.changeDetection": {
"type": "string",
"default": "Default",
"enum": [
"Default",
"OnPush"
],
"description": "The change detection strategy to use in the new component"
},
"angularCliPlus.component.flat": {
"type": "boolean",
"default": false,
"description": "Create the new files at the top level of the current folder"
},
"angularCliPlus.service.skipTests": {
"type": "boolean",
"default": false,
"description": "Skip creating spec.ts test files for services"
},
"angularCliPlus.service.flat": {
"type": "boolean",
"default": true,
"description": "Create files at the top level of the current folder"
},
"angularCliPlus.module.flat": {
"type": "boolean",
"default": false,
"description": "Create the new files at the top level of the current folder"
},
"angularCliPlus.module.routing": {
"type": "boolean",
"default": false,
"description": "Create a routing module"
},
"angularCliPlus.directive.standalone": {
"type": "boolean",
"default": true,
"description": "Whether generated directives should be standalone"
},
"angularCliPlus.directive.skipTests": {
"type": "boolean",
"default": false,
"description": "Skip creating spec.ts test files for directives"
},
"angularCliPlus.directive.flat": {
"type": "boolean",
"default": true,
"description": "Create files at the top level of the current folder"
},
"angularCliPlus.pipe.standalone": {
"type": "boolean",
"default": true,
"description": "Whether generated pipes should be standalone"
},
"angularCliPlus.pipe.skipTests": {
"type": "boolean",
"default": false,
"description": "Skip creating spec.ts test files for pipes"
},
"angularCliPlus.pipe.flat": {
"type": "boolean",
"default": true,
"description": "Create files at the top level of the current folder"
},
"angularCliPlus.guard.functional": {
"type": "boolean",
"default": true,
"description": "Specifies whether to generate a guard as a function"
},
"angularCliPlus.guard.skipTests": {
"type": "boolean",
"default": false,
"description": "Skip creating spec.ts test files for guards"
},
"angularCliPlus.guard.flat": {
"type": "boolean",
"default": true,
"description": "Create files at the top level of the current folder"
},
"angularCliPlus.interceptor.functional": {
"type": "boolean",
"default": true,
"description": "Creates the interceptor as a HttpInterceptorFn"
},
"angularCliPlus.interceptor.skipTests": {
"type": "boolean",
"default": false,
"description": "Skip creating spec.ts test files for interceptors"
},
"angularCliPlus.interceptor.flat": {
"type": "boolean",
"default": true,
"description": "Create files at the top level of the current folder"
},
"angularCliPlus.class.skipTests": {
"type": "boolean",
"default": false,
"description": "Skip creating spec.ts test files for classes"
},
"angularCliPlus.resolver.functional": {
"type": "boolean",
"default": true,
"description": "Creates the resolver as a ResolveFn"
},
"angularCliPlus.resolver.skipTests": {
"type": "boolean",
"default": false,
"description": "Skip creating spec.ts test files for resolvers"
},
"angularCliPlus.resolver.flat": {
"type": "boolean",
"default": true,
"description": "Create files at the top level of the current folder"
},
"angularCliPlus.debug.browser": {
"type": "string",
"default": "chrome",
"enum": [
"chrome",
"edge",
"brave",
"opera",
"opera-gx",
"firefox",
"safari"
],
"enumDescriptions": [
"Launch Google Chrome for debugging",
"Launch Microsoft Edge for debugging",
"Launch Brave browser for debugging (Chromium-based)",
"Launch Opera for debugging (Chromium-based)",
"Launch Opera GX for debugging (Chromium-based)",
"Launch Firefox for debugging (requires the 'Debugger for Firefox' VS Code extension)",
"Launch Safari for debugging — macOS only (requires the 'Safari Debugger' VS Code extension)"
],
"description": "Browser to use when launching the Angular debug session"
},
"angularCliPlus.debug.browserExecutablePath": {
"type": "string",
"default": "",
"description": "Optional path to the browser executable. Overrides automatic detection. Useful for custom browser installs or browsers not in the standard location."
},
"angularCliPlus.storybook.port": {
"type": "number",
"default": 0,
"description": "Port Storybook runs on. Set to 0 to auto-detect from angular.json or use the default (6006)."
},
"angularCliPlus.buildWatch.servePort": {
"type": "number",
"default": 4201,
"description": "Port the static file server listens on when debugging a build watch session."
},
"angularCliPlus.buildWatch.staticServerCommand": {
"type": "string",
"default": "npx serve {outputPath} -l {port}",
"description": "Command used to serve the build output during a debug build watch session. Use {outputPath} and {port} as placeholders."
},
"angularCliPlus.build.configuration": {
"type": "string",
"default": "production",
"enum": [
"default",
"production",
"development"
],
"enumDescriptions": [
"Use the project's default configuration (no --configuration flag)",
"Build with --configuration=production",
"Build with --configuration=development"
],
"description": "Configuration to pass to ng build"
},
"angularCliPlus.watch.configuration": {
"type": "string",
"default": "development",
"enum": [
"default",
"inherit",
"production",
"development"
],
"enumDescriptions": [
"Use the project's default configuration (no --configuration flag)",
"Inherit the configuration from angularCliPlus.build.configuration",
"Build with --configuration=production",
"Build with --configuration=development"
],
"description": "Configuration to pass to ng build --watch"
},
"angularCliPlus.test.watch": {
"type": "boolean",
"default": false,
"description": "Run ng test in watch mode (--watch). When false, tests run once and exit (--watch=false)."
},
"angularCliPlus.test.ui": {
"type": "boolean",
"default": false,
"description": "Enable the Vitest UI for interactive test execution (--ui). Only available for the Vitest runner."
},
"angularCliPlus.checkDependencies.enabled": {
"type": "boolean",
"default": true,
"description": "Check if npm dependencies are installed and match package.json when VS Code opens or when the git branch changes"
},
"angularCliPlus.checkToolVersions.enabled": {
"type": "boolean",
"default": true,
"description": "Check if Node.js, npm, yarn and pnpm versions satisfy the engines field in the workspace package.json on startup"
},
"angularCliPlus.update.allowDirty": {
"type": "boolean",
"default": false,
"description": "Allow ng update to run even if the working tree has uncommitted changes (--allow-dirty)"
},
"angularCliPlus.npm.installCommand": {
"type": "string",
"default": "",
"description": "Custom command to run for npm: Install (e.g. 'yarn install' or 'pnpm install'). Leave empty to use the default 'npm install'."
},
"angularCliPlus.npm.cleanInstallCommand": {
"type": "string",
"default": "",
"description": "Custom command to run for npm: Clean Install (e.g. 'yarn install --frozen-lockfile'). Leave empty to use the default behaviour (remove node_modules + package-lock.json, then run npm install)."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/semver": "^7.7.1",
"@types/vscode": "^1.107.0",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.27.1",
"eslint": "^9.39.1",
"npm-run-all": "^4.1.5",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.1"
},
"dependencies": {
"semver": "^7.7.4"
}
}