@nx/dotnet 0.0.1 → 22.0.0-beta.9

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.
Files changed (78) hide show
  1. package/README.md +117 -4
  2. package/README.md__tmpl__ +70 -0
  3. package/dist/analyzer/analyzer-client.d.ts +39 -0
  4. package/dist/analyzer/analyzer-client.d.ts.map +1 -0
  5. package/dist/analyzer/analyzer-client.js +227 -0
  6. package/dist/generators/init/init.d.ts +7 -0
  7. package/dist/generators/init/init.d.ts.map +1 -0
  8. package/dist/generators/init/init.js +107 -0
  9. package/dist/generators/init/schema.d.ts +6 -0
  10. package/dist/generators/init/schema.json +34 -0
  11. package/dist/index.d.ts +3 -0
  12. package/dist/index.d.ts.map +1 -0
  13. package/dist/index.js +4 -0
  14. package/dist/lib/Microsoft.Build.Locator.dll +0 -0
  15. package/dist/lib/MsbuildAnalyzer +0 -0
  16. package/dist/lib/MsbuildAnalyzer.deps.json +476 -0
  17. package/dist/lib/MsbuildAnalyzer.dll +0 -0
  18. package/dist/lib/MsbuildAnalyzer.dll.config +629 -0
  19. package/dist/lib/MsbuildAnalyzer.pdb +0 -0
  20. package/dist/lib/MsbuildAnalyzer.runtimeconfig.json +14 -0
  21. package/dist/plugin.d.ts +1 -1
  22. package/dist/plugin.d.ts.map +1 -1
  23. package/dist/plugin.js +3 -2
  24. package/dist/plugins/create-dependencies.d.ts +4 -0
  25. package/dist/plugins/create-dependencies.d.ts.map +1 -0
  26. package/dist/plugins/create-dependencies.js +47 -0
  27. package/dist/{src/plugins/plugin.d.ts → plugins/create-nodes.d.ts} +2 -3
  28. package/dist/plugins/create-nodes.d.ts.map +1 -0
  29. package/dist/plugins/create-nodes.js +48 -0
  30. package/dist/plugins/plugin.d.ts +5 -0
  31. package/dist/plugins/plugin.d.ts.map +1 -0
  32. package/dist/plugins/plugin.js +14 -0
  33. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  34. package/dist/utils/cache.d.ts.map +1 -0
  35. package/dist/utils/has-dotnet-plugin.d.ts +3 -0
  36. package/dist/utils/has-dotnet-plugin.d.ts.map +1 -0
  37. package/dist/utils/has-dotnet-plugin.js +8 -0
  38. package/dist/utils/versions.d.ts +2 -0
  39. package/dist/utils/versions.d.ts.map +1 -0
  40. package/dist/utils/versions.js +5 -0
  41. package/generators.json +10 -0
  42. package/migrations.json +4 -0
  43. package/package.json +48 -59
  44. package/dist/package.json +0 -84
  45. package/dist/src/index.d.ts +0 -2
  46. package/dist/src/index.d.ts.map +0 -1
  47. package/dist/src/index.js +0 -7
  48. package/dist/src/plugins/plugin.d.ts.map +0 -1
  49. package/dist/src/plugins/plugin.js +0 -130
  50. package/dist/src/utils/cache.d.ts.map +0 -1
  51. package/dist/src/utils/dependency-detection.d.ts +0 -5
  52. package/dist/src/utils/dependency-detection.d.ts.map +0 -1
  53. package/dist/src/utils/dependency-detection.js +0 -58
  54. package/dist/src/utils/dotnet-cli.d.ts +0 -9
  55. package/dist/src/utils/dotnet-cli.d.ts.map +0 -1
  56. package/dist/src/utils/dotnet-cli.js +0 -39
  57. package/dist/src/utils/dotnet-project-parser.d.ts +0 -13
  58. package/dist/src/utils/dotnet-project-parser.d.ts.map +0 -1
  59. package/dist/src/utils/dotnet-project-parser.js +0 -83
  60. package/dist/src/utils/logger.d.ts +0 -3
  61. package/dist/src/utils/logger.d.ts.map +0 -1
  62. package/dist/src/utils/logger.js +0 -24
  63. package/dist/src/utils/target-builder.d.ts +0 -12
  64. package/dist/src/utils/target-builder.d.ts.map +0 -1
  65. package/dist/src/utils/target-builder.js +0 -525
  66. package/plugin.ts +0 -5
  67. package/src/index.ts +0 -6
  68. package/src/plugins/plugin.ts +0 -230
  69. package/src/utils/cache.ts +0 -19
  70. package/src/utils/dependency-detection.ts +0 -84
  71. package/src/utils/dotnet-cli.ts +0 -52
  72. package/src/utils/dotnet-project-parser.ts +0 -105
  73. package/src/utils/logger.ts +0 -24
  74. package/src/utils/target-builder.ts +0 -657
  75. package/tsconfig.json +0 -16
  76. package/tsconfig.lib.json +0 -21
  77. /package/dist/{src/utils → utils}/cache.d.ts +0 -0
  78. /package/dist/{src/utils → utils}/cache.js +0 -0
@@ -1,657 +0,0 @@
1
- import { join, basename } from 'node:path';
2
- import {
3
- CreateNodesContext,
4
- ProjectConfiguration,
5
- TargetConfiguration,
6
- } from '@nx/devkit';
7
- import { getNamedInputs } from '@nx/devkit/src/utils/get-named-inputs';
8
- import {
9
- parseProjectFile,
10
- extractProjectNameFromFile,
11
- ProjectInfo,
12
- } from './dotnet-project-parser';
13
- import { DotNetTargets } from './cache';
14
-
15
- export interface NormalizedOptions {
16
- buildTargetName: string;
17
- testTargetName: string;
18
- cleanTargetName: string;
19
- restoreTargetName: string;
20
- publishTargetName: string;
21
- packTargetName: string;
22
- }
23
-
24
- interface ProjectFileInfo {
25
- file: string;
26
- fileName: string;
27
- projectName: string;
28
- info: ProjectInfo;
29
- }
30
-
31
- export async function buildDotNetTargets(
32
- projectRoot: string,
33
- projectFiles: string[],
34
- options: NormalizedOptions,
35
- context: CreateNodesContext
36
- ): Promise<DotNetTargets> {
37
- const namedInputs = getNamedInputs(projectRoot, context);
38
- const targets: ProjectConfiguration['targets'] = {};
39
- let metadata: ProjectConfiguration['metadata'];
40
-
41
- const hasMultipleProjects = projectFiles.length > 1;
42
-
43
- // Collect information about all projects in this directory
44
- const projectInfos: ProjectFileInfo[] = projectFiles.map((projectFile) => ({
45
- file: projectFile,
46
- fileName: basename(projectFile),
47
- projectName: extractProjectNameFromFile(basename(projectFile)),
48
- info: parseProjectFile(join(context.workspaceRoot, projectFile)),
49
- }));
50
-
51
- // Aggregate technology detection from all projects
52
- const technologies = new Set(['dotnet']);
53
- let hasTestProjects = false;
54
- let hasExecutableProjects = false;
55
- let hasLibraryProjects = false;
56
-
57
- for (const { info } of projectInfos) {
58
- switch (info.projectType) {
59
- case 'csharp':
60
- technologies.add('csharp');
61
- break;
62
- case 'fsharp':
63
- technologies.add('fsharp');
64
- break;
65
- case 'vb':
66
- technologies.add('vb');
67
- break;
68
- }
69
-
70
- if (info.isTestProject) {
71
- technologies.add('test');
72
- hasTestProjects = true;
73
- }
74
-
75
- if (info.isExecutable) {
76
- hasExecutableProjects = true;
77
- }
78
-
79
- if (!info.isExecutable && !info.isTestProject) {
80
- hasLibraryProjects = true;
81
- }
82
- }
83
-
84
- const technologiesArray = Array.from(technologies);
85
- metadata = { technologies: technologiesArray };
86
-
87
- const baseInputs =
88
- 'production' in namedInputs
89
- ? ['default', '^production']
90
- : ['default', '^default'];
91
-
92
- // Build restore targets
93
- addRestoreTargets(
94
- targets,
95
- projectInfos,
96
- options,
97
- hasMultipleProjects,
98
- technologiesArray
99
- );
100
-
101
- // Build targets
102
- addBuildTargets(
103
- targets,
104
- projectInfos,
105
- options,
106
- hasMultipleProjects,
107
- baseInputs,
108
- technologiesArray
109
- );
110
-
111
- // Test targets
112
- if (hasTestProjects) {
113
- addTestTargets(
114
- targets,
115
- projectInfos,
116
- options,
117
- hasMultipleProjects,
118
- baseInputs,
119
- technologiesArray
120
- );
121
- }
122
-
123
- // Clean targets
124
- addCleanTargets(
125
- targets,
126
- projectInfos,
127
- options,
128
- hasMultipleProjects,
129
- technologiesArray
130
- );
131
-
132
- // Publish targets
133
- if (hasExecutableProjects) {
134
- addPublishTargets(
135
- targets,
136
- projectInfos,
137
- options,
138
- hasMultipleProjects,
139
- baseInputs,
140
- technologiesArray
141
- );
142
- }
143
-
144
- // Pack targets
145
- if (hasLibraryProjects) {
146
- addPackTargets(
147
- targets,
148
- projectInfos,
149
- options,
150
- hasMultipleProjects,
151
- baseInputs,
152
- technologiesArray
153
- );
154
- }
155
-
156
- return { targets, metadata };
157
- }
158
-
159
- function addRestoreTargets(
160
- targets: ProjectConfiguration['targets'],
161
- projectInfos: ProjectFileInfo[],
162
- options: NormalizedOptions,
163
- hasMultipleProjects: boolean,
164
- technologies: string[]
165
- ) {
166
- if (hasMultipleProjects) {
167
- // Create project-specific restore targets
168
- for (const { fileName, projectName, info } of projectInfos) {
169
- const projectSpecificRestoreTarget = `${options.restoreTargetName}:${projectName}`;
170
- targets[projectSpecificRestoreTarget] = {
171
- command: 'dotnet restore',
172
- options: {
173
- cwd: '{projectRoot}',
174
- args: [fileName],
175
- },
176
- cache: true,
177
- inputs: [
178
- '{projectRoot}/**/*.{cs,csproj,fs,fsproj,vb,vbproj}',
179
- // @todo(@AgentEnder): we should include these, but right now we aren't adding them to graph.
180
- // { externalDependencies: info.packageReferences },
181
- ],
182
- outputs: ['{projectRoot}/obj'],
183
- metadata: {
184
- technologies,
185
- description: `Restore dependencies for ${fileName}`,
186
- help: {
187
- command: 'dotnet restore --help',
188
- example: {},
189
- },
190
- },
191
- };
192
- }
193
-
194
- // Create umbrella restore target
195
- targets[options.restoreTargetName] = {
196
- dependsOn: [`${options.restoreTargetName}:*`],
197
- cache: false,
198
- metadata: {
199
- technologies,
200
- description: 'Restore all .NET projects in this directory',
201
- help: {
202
- command: 'dotnet restore --help',
203
- example: {},
204
- },
205
- },
206
- };
207
- } else {
208
- const { info } = projectInfos[0];
209
- targets[options.restoreTargetName] = {
210
- command: 'dotnet restore',
211
- options: {
212
- cwd: '{projectRoot}',
213
- },
214
- cache: true,
215
- inputs: [
216
- '{projectRoot}/**/*.{cs,csproj,fs,fsproj,vb,vbproj}',
217
- // { externalDependencies: info.packageReferences },
218
- ],
219
- outputs: ['{projectRoot}/obj'],
220
- metadata: {
221
- technologies,
222
- description: 'Restore .NET dependencies',
223
- help: {
224
- command: 'dotnet restore --help',
225
- example: {},
226
- },
227
- },
228
- };
229
- }
230
- }
231
-
232
- function addBuildTargets(
233
- targets: ProjectConfiguration['targets'],
234
- projectInfos: ProjectFileInfo[],
235
- options: NormalizedOptions,
236
- hasMultipleProjects: boolean,
237
- baseInputs: string[],
238
- technologies: string[]
239
- ) {
240
- if (hasMultipleProjects) {
241
- // Create project-specific build targets
242
- for (const { fileName, projectName } of projectInfos) {
243
- const projectSpecificBuildTarget = `${options.buildTargetName}:${projectName}`;
244
- targets[projectSpecificBuildTarget] = {
245
- command: 'dotnet build',
246
- options: {
247
- cwd: '{projectRoot}',
248
- // .NET CLI generally will build dependencies and restore automatically,
249
- // but Nx's task graph is already handling that so we skip it here to ensure
250
- // we aren't rebuilding or restoring more than necessary.
251
- args: [fileName, '--no-restore', '--no-dependencies'],
252
- },
253
- dependsOn: [`${options.restoreTargetName}:${projectName}`, '^build'],
254
- cache: true,
255
- inputs: baseInputs,
256
- outputs: [
257
- '{projectRoot}/bin',
258
- '{projectRoot}/obj',
259
- '{workspaceRoot}/artifacts/bin/{projectName}',
260
- '{workspaceRoot}/artifacts/obj/{projectName}',
261
- ],
262
- metadata: {
263
- technologies,
264
- description: `Build the ${fileName} project`,
265
- help: {
266
- command: 'dotnet build --help',
267
- example: {
268
- options: {
269
- configuration: 'Release',
270
- },
271
- },
272
- },
273
- },
274
- };
275
- }
276
-
277
- // Create umbrella build target
278
- targets[options.buildTargetName] = {
279
- dependsOn: [`${options.buildTargetName}:*`],
280
- cache: false,
281
- metadata: {
282
- technologies,
283
- description: 'Build all .NET projects in this directory',
284
- help: {
285
- command: 'dotnet build --help',
286
- example: {
287
- options: {
288
- configuration: 'Release',
289
- },
290
- },
291
- },
292
- },
293
- };
294
- } else {
295
- targets[options.buildTargetName] = {
296
- command: 'dotnet build',
297
- options: {
298
- cwd: '{projectRoot}',
299
- // .NET CLI generally will build dependencies and restore automatically,
300
- // but Nx's task graph is already handling that so we skip it here to ensure
301
- // we aren't rebuilding or restoring more than necessary.
302
- args: ['--no-restore', '--no-dependencies'],
303
- },
304
- dependsOn: [options.restoreTargetName, '^build'],
305
- cache: true,
306
- inputs: baseInputs,
307
- outputs: ['{projectRoot}/bin', '{projectRoot}/obj'],
308
- metadata: {
309
- technologies,
310
- description: 'Build the .NET project',
311
- help: {
312
- command: 'dotnet build --help',
313
- example: {
314
- options: {
315
- configuration: 'Release',
316
- },
317
- },
318
- },
319
- },
320
- };
321
- }
322
- }
323
-
324
- function addTestTargets(
325
- targets: ProjectConfiguration['targets'],
326
- projectInfos: ProjectFileInfo[],
327
- options: NormalizedOptions,
328
- hasMultipleProjects: boolean,
329
- baseInputs: string[],
330
- technologies: string[]
331
- ) {
332
- if (hasMultipleProjects) {
333
- // Create project-specific test targets for each test project
334
- for (const { fileName, projectName, info } of projectInfos) {
335
- if (info.isTestProject) {
336
- const projectSpecificTestTarget = `${options.testTargetName}:${projectName}`;
337
- targets[projectSpecificTestTarget] = {
338
- command: 'dotnet test',
339
- options: {
340
- cwd: '{projectRoot}',
341
- // .NET CLI generally will build dependencies and restore automatically,
342
- // but Nx's task graph is already handling that so we skip it here to ensure
343
- // we aren't rebuilding or restoring more than necessary.
344
- args: [fileName, '--no-dependencies', '--no-build'],
345
- },
346
- dependsOn: [`${options.buildTargetName}:${projectName}`],
347
- cache: true,
348
- inputs: [
349
- ...baseInputs,
350
- // { externalDependencies: info.packageReferences },
351
- ],
352
- outputs: ['{projectRoot}/TestResults'],
353
- metadata: {
354
- technologies,
355
- description: `Run tests for ${fileName}`,
356
- help: {
357
- command: 'dotnet test --help',
358
- example: {
359
- options: {
360
- logger: 'trx',
361
- },
362
- },
363
- },
364
- },
365
- };
366
- }
367
- }
368
-
369
- // Create umbrella test target
370
- targets[options.testTargetName] = {
371
- dependsOn: [`${options.testTargetName}:*`],
372
- cache: false,
373
- metadata: {
374
- technologies,
375
- description: 'Run all .NET tests in this directory',
376
- help: {
377
- command: 'dotnet test --help',
378
- example: {
379
- options: {
380
- logger: 'trx',
381
- },
382
- },
383
- },
384
- },
385
- };
386
- } else {
387
- const { info } = projectInfos[0];
388
- targets[options.testTargetName] = {
389
- command: 'dotnet test',
390
- options: {
391
- cwd: '{projectRoot}',
392
- args: ['--no-build'],
393
- },
394
- dependsOn: [options.buildTargetName],
395
- cache: true,
396
- inputs: [
397
- ...baseInputs,
398
- // { externalDependencies: info.packageReferences }
399
- ],
400
- outputs: ['{projectRoot}/TestResults'],
401
- metadata: {
402
- technologies,
403
- description: 'Run .NET tests',
404
- help: {
405
- command: 'dotnet test --help',
406
- example: {
407
- options: {
408
- logger: 'trx',
409
- },
410
- },
411
- },
412
- },
413
- };
414
- }
415
- }
416
-
417
- function addCleanTargets(
418
- targets: ProjectConfiguration['targets'],
419
- projectInfos: ProjectFileInfo[],
420
- options: NormalizedOptions,
421
- hasMultipleProjects: boolean,
422
- technologies: string[]
423
- ) {
424
- if (hasMultipleProjects) {
425
- // Create project-specific clean targets
426
- for (const { fileName, projectName } of projectInfos) {
427
- const projectSpecificCleanTarget = `${options.cleanTargetName}:${projectName}`;
428
- targets[projectSpecificCleanTarget] = {
429
- command: 'dotnet clean',
430
- options: {
431
- cwd: '{projectRoot}',
432
- args: [fileName],
433
- },
434
- cache: false,
435
- metadata: {
436
- technologies,
437
- description: `Clean ${fileName} build outputs`,
438
- help: {
439
- command: 'dotnet clean --help',
440
- example: {},
441
- },
442
- },
443
- };
444
- }
445
-
446
- // Create umbrella clean target
447
- targets[options.cleanTargetName] = {
448
- dependsOn: [`${options.cleanTargetName}:*`],
449
- cache: false,
450
- metadata: {
451
- technologies,
452
- description: 'Clean all .NET projects in this directory',
453
- help: {
454
- command: 'dotnet clean --help',
455
- example: {},
456
- },
457
- },
458
- };
459
- } else {
460
- targets[options.cleanTargetName] = {
461
- command: 'dotnet clean',
462
- options: {
463
- cwd: '{projectRoot}',
464
- },
465
- cache: false,
466
- metadata: {
467
- technologies,
468
- description: 'Clean .NET build outputs',
469
- help: {
470
- command: 'dotnet clean --help',
471
- example: {},
472
- },
473
- },
474
- };
475
- }
476
- }
477
-
478
- function addPublishTargets(
479
- targets: ProjectConfiguration['targets'],
480
- projectInfos: ProjectFileInfo[],
481
- options: NormalizedOptions,
482
- hasMultipleProjects: boolean,
483
- baseInputs: string[],
484
- technologies: string[]
485
- ) {
486
- if (hasMultipleProjects) {
487
- // Create project-specific publish targets for executable projects
488
- for (const { fileName, projectName, info } of projectInfos) {
489
- if (info.isExecutable) {
490
- const projectSpecificPublishTarget = `${options.publishTargetName}:${projectName}`;
491
- targets[projectSpecificPublishTarget] = {
492
- command: 'dotnet publish',
493
- options: {
494
- cwd: '{projectRoot}',
495
- // .NET CLI generally will build dependencies and restore automatically,
496
- // but Nx's task graph is already handling that so we skip it here to ensure
497
- // we aren't rebuilding or restoring more than necessary.
498
- args: [fileName, '--no-dependencies'],
499
- },
500
- dependsOn: [`${options.buildTargetName}:${projectName}`],
501
- cache: true,
502
- inputs: baseInputs,
503
- outputs: ['{projectRoot}/bin/*/publish'],
504
- metadata: {
505
- technologies,
506
- description: `Publish ${fileName} for deployment`,
507
- help: {
508
- command: 'dotnet publish --help',
509
- example: {
510
- options: {
511
- configuration: 'Release',
512
- runtime: 'win-x64',
513
- },
514
- },
515
- },
516
- },
517
- };
518
- }
519
- }
520
-
521
- // Create umbrella publish target
522
- targets[options.publishTargetName] = {
523
- dependsOn: [`${options.publishTargetName}:*`],
524
- cache: false,
525
- metadata: {
526
- technologies,
527
- description: 'Publish all executable .NET projects',
528
- help: {
529
- command: 'dotnet publish --help',
530
- example: {
531
- options: {
532
- configuration: 'Release',
533
- runtime: 'win-x64',
534
- },
535
- },
536
- },
537
- },
538
- };
539
- } else {
540
- targets[options.publishTargetName] = {
541
- command: 'dotnet publish',
542
- options: {
543
- cwd: '{projectRoot}',
544
- // .NET CLI generally will build dependencies and restore automatically,
545
- // but Nx's task graph is already handling that so we skip it here to ensure
546
- // we aren't rebuilding or restoring more than necessary.
547
- args: ['--no-dependencies'],
548
- },
549
- dependsOn: [options.buildTargetName],
550
- cache: true,
551
- inputs: baseInputs,
552
- outputs: ['{projectRoot}/bin/*/publish'],
553
- metadata: {
554
- technologies,
555
- description: 'Publish .NET executable for deployment',
556
- help: {
557
- command: 'dotnet publish --help',
558
- example: {
559
- options: {
560
- configuration: 'Release',
561
- runtime: 'win-x64',
562
- },
563
- },
564
- },
565
- },
566
- };
567
- }
568
- }
569
-
570
- function addPackTargets(
571
- targets: ProjectConfiguration['targets'],
572
- projectInfos: ProjectFileInfo[],
573
- options: NormalizedOptions,
574
- hasMultipleProjects: boolean,
575
- baseInputs: string[],
576
- technologies: string[]
577
- ) {
578
- if (hasMultipleProjects) {
579
- // Create project-specific pack targets for library projects
580
- for (const { fileName, projectName, info } of projectInfos) {
581
- if (!info.isExecutable && !info.isTestProject) {
582
- const projectSpecificPackTarget = `${options.packTargetName}:${projectName}`;
583
- targets[projectSpecificPackTarget] = {
584
- command: 'dotnet pack',
585
- options: {
586
- cwd: '{projectRoot}',
587
- // .NET CLI generally will build dependencies and restore automatically,
588
- // but Nx's task graph is already handling that so we skip it here to ensure
589
- // we aren't rebuilding or restoring more than necessary.
590
- args: [fileName, '--no-dependencies'],
591
- },
592
- dependsOn: [`${options.buildTargetName}:${projectName}`],
593
- cache: true,
594
- inputs: baseInputs,
595
- outputs: ['{projectRoot}/bin/*/*.nupkg'],
596
- metadata: {
597
- technologies,
598
- description: `Create NuGet package for ${fileName}`,
599
- help: {
600
- command: 'dotnet pack --help',
601
- example: {
602
- options: {
603
- configuration: 'Release',
604
- },
605
- },
606
- },
607
- },
608
- };
609
- }
610
- }
611
-
612
- // Create umbrella pack target
613
- targets[options.packTargetName] = {
614
- dependsOn: [`${options.packTargetName}:*`],
615
- cache: false,
616
- metadata: {
617
- technologies,
618
- description: 'Pack all .NET library projects',
619
- help: {
620
- command: 'dotnet pack --help',
621
- example: {
622
- options: {
623
- configuration: 'Release',
624
- },
625
- },
626
- },
627
- },
628
- };
629
- } else {
630
- targets[options.packTargetName] = {
631
- command: 'dotnet pack',
632
- options: {
633
- cwd: '{projectRoot}',
634
- // .NET CLI generally will build dependencies and restore automatically,
635
- // but Nx's task graph is already handling that so we skip it here to ensure
636
- // we aren't rebuilding or restoring more than necessary.
637
- args: ['--no-dependencies'],
638
- },
639
- dependsOn: [options.buildTargetName],
640
- cache: true,
641
- inputs: baseInputs,
642
- outputs: ['{projectRoot}/bin/*/*.nupkg'],
643
- metadata: {
644
- technologies,
645
- description: 'Create NuGet package',
646
- help: {
647
- command: 'dotnet pack --help',
648
- example: {
649
- options: {
650
- configuration: 'Release',
651
- },
652
- },
653
- },
654
- },
655
- };
656
- }
657
- }
package/tsconfig.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base.json",
3
- "compilerOptions": {
4
- "module": "commonjs"
5
- },
6
- "files": [],
7
- "include": [],
8
- "references": [
9
- {
10
- "path": "../devkit"
11
- },
12
- {
13
- "path": "./tsconfig.lib.json"
14
- }
15
- ]
16
- }
package/tsconfig.lib.json DELETED
@@ -1,21 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base.json",
3
- "compilerOptions": {
4
- "baseUrl": ".",
5
- "rootDir": ".",
6
- "outDir": "dist",
7
- "tsBuildInfoFile": "dist/tsconfig.lib.tsbuildinfo",
8
- "emitDeclarationOnly": false,
9
- "declaration": true,
10
- "types": ["node"],
11
- "module": "commonjs",
12
- "moduleResolution": "node"
13
- },
14
- "include": ["src/**/*.ts", "plugin.ts"],
15
- "exclude": ["**/*.spec.ts", "**/*.test.ts", "dist/**/*"],
16
- "references": [
17
- {
18
- "path": "../devkit/tsconfig.lib.json"
19
- }
20
- ]
21
- }
File without changes
File without changes