@yarn-tool/static-file 3.0.37 → 3.0.39

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.
@@ -1,1484 +0,0 @@
1
- exports[`快照 > <ws-yarn-workspaces> > _copyStaticFilesCoreListGenerator 1`] = `
2
- [
3
- {
4
- "entry": [
5
- ".npmignore",
6
- "file/npmignore"
7
- ],
8
- "runtime": {
9
- "targetFile": ".npmignore",
10
- "staticFile": "file/npmignore",
11
- "targetFileFull": "<ws-yarn-workspaces>/.npmignore",
12
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/npmignore",
13
- "overwrite": false
14
- },
15
- "copy": "function"
16
- },
17
- {
18
- "entry": [
19
- ".gitignore",
20
- "file/gitignore"
21
- ],
22
- "runtime": {
23
- "targetFile": ".gitignore",
24
- "staticFile": "file/gitignore",
25
- "targetFileFull": "<ws-yarn-workspaces>/.gitignore",
26
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/gitignore",
27
- "overwrite": false
28
- },
29
- "copy": "function"
30
- },
31
- {
32
- "entry": [
33
- ".eslintignore",
34
- "file/eslintignore"
35
- ],
36
- "runtime": {
37
- "targetFile": ".eslintignore",
38
- "staticFile": "file/eslintignore",
39
- "targetFileFull": "<ws-yarn-workspaces>/.eslintignore",
40
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/eslintignore",
41
- "overwrite": false
42
- },
43
- "copy": "function"
44
- },
45
- {
46
- "entry": [
47
- "tsconfig.json",
48
- "file/tsconfig.json.tpl"
49
- ],
50
- "runtime": {
51
- "targetFile": "tsconfig.json",
52
- "staticFile": "file/tsconfig.json.tpl",
53
- "targetFileFull": "<ws-yarn-workspaces>/tsconfig.json",
54
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.json.tpl",
55
- "overwrite": false
56
- },
57
- "copy": "function"
58
- },
59
- {
60
- "entry": [
61
- "tsconfig.json.tpl",
62
- "file/tsconfig.json.tpl"
63
- ],
64
- "runtime": {
65
- "targetFile": "tsconfig.json.tpl",
66
- "staticFile": "file/tsconfig.json.tpl",
67
- "targetFileFull": "<ws-yarn-workspaces>/tsconfig.json.tpl",
68
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.json.tpl",
69
- "overwrite": false
70
- },
71
- "copy": "function"
72
- },
73
- {
74
- "entry": [
75
- "tsconfig.esm.json.tpl",
76
- "file/tsconfig.esm.json.tpl",
77
- "tsconfig.esm.json"
78
- ],
79
- "runtime": {
80
- "targetFile": "tsconfig.esm.json.tpl",
81
- "staticFile": "file/tsconfig.esm.json.tpl",
82
- "targetFileFull": "<ws-yarn-workspaces>/tsconfig.esm.json.tpl",
83
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.esm.json.tpl",
84
- "overwrite": false
85
- },
86
- "copy": "function"
87
- },
88
- {
89
- "entry": [
90
- "tsconfig.tsdx.json.tpl",
91
- "file/tsconfig.tsdx.json.tpl",
92
- "tsconfig.tsdx.json"
93
- ],
94
- "runtime": {
95
- "targetFile": "tsconfig.tsdx.json.tpl",
96
- "staticFile": "file/tsconfig.tsdx.json.tpl",
97
- "targetFileFull": "<ws-yarn-workspaces>/tsconfig.tsdx.json.tpl",
98
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.tsdx.json.tpl",
99
- "overwrite": false
100
- },
101
- "copy": "function"
102
- },
103
- {
104
- "entry": [
105
- "README.md",
106
- "file/README.md"
107
- ],
108
- "runtime": {
109
- "targetFile": "README.md",
110
- "staticFile": "file/README.md",
111
- "targetFileFull": "<ws-yarn-workspaces>/README.md",
112
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/README.md",
113
- "overwrite": false
114
- },
115
- "copy": "function"
116
- },
117
- {
118
- "entry": [
119
- ".mocharc.yml.tpl",
120
- "file/mocharc.yml"
121
- ],
122
- "runtime": {
123
- "targetFile": ".mocharc.yml.tpl",
124
- "staticFile": "file/mocharc.yml",
125
- "targetFileFull": "<ws-yarn-workspaces>/.mocharc.yml.tpl",
126
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/mocharc.yml",
127
- "overwrite": false
128
- },
129
- "copy": "function"
130
- },
131
- {
132
- "entry": [
133
- "jest.config.js",
134
- "file/jest.config.auto.js"
135
- ],
136
- "runtime": {
137
- "targetFile": "jest.config.js",
138
- "staticFile": "file/jest.config.auto.js",
139
- "targetFileFull": "<ws-yarn-workspaces>/jest.config.js",
140
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/jest.config.auto.js",
141
- "overwrite": false
142
- },
143
- "copy": "function"
144
- },
145
- {
146
- "entry": [
147
- ".nowignore",
148
- "file/nowignore"
149
- ],
150
- "runtime": {
151
- "targetFile": ".nowignore",
152
- "staticFile": "file/nowignore",
153
- "targetFileFull": "<ws-yarn-workspaces>/.nowignore",
154
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/nowignore",
155
- "overwrite": false
156
- },
157
- "copy": "function"
158
- },
159
- {
160
- "entry": [
161
- "now.json.tpl",
162
- "file/now.json.tpl",
163
- "now.json"
164
- ],
165
- "runtime": {
166
- "targetFile": "now.json.tpl",
167
- "staticFile": "file/now.json.tpl",
168
- "targetFileFull": "<ws-yarn-workspaces>/now.json.tpl",
169
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/now.json.tpl",
170
- "overwrite": false
171
- },
172
- "copy": "function"
173
- },
174
- {
175
- "entry": [
176
- "tsdx.config.js.tpl",
177
- "file/tsdx.config.js",
178
- "tsdx.config.js"
179
- ],
180
- "runtime": {
181
- "targetFile": "tsdx.config.js.tpl",
182
- "staticFile": "file/tsdx.config.js",
183
- "targetFileFull": "<ws-yarn-workspaces>/tsdx.config.js.tpl",
184
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsdx.config.js",
185
- "overwrite": false
186
- },
187
- "copy": "function"
188
- },
189
- {
190
- "entry": [
191
- "test/temp.ts",
192
- "file/test/temp.ts"
193
- ],
194
- "runtime": {
195
- "targetFile": "test/temp.ts",
196
- "staticFile": "file/test/temp.ts",
197
- "targetFileFull": "<ws-yarn-workspaces>/test/temp.ts",
198
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/temp.ts",
199
- "overwrite": false
200
- },
201
- "copy": "function"
202
- },
203
- {
204
- "entry": [
205
- "test/__root.ts",
206
- "file/test/__root.ts"
207
- ],
208
- "runtime": {
209
- "targetFile": "test/__root.ts",
210
- "staticFile": "file/test/__root.ts",
211
- "targetFileFull": "<ws-yarn-workspaces>/test/__root.ts",
212
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root.ts",
213
- "overwrite": false
214
- },
215
- "copy": "function"
216
- },
217
- {
218
- "entry": [
219
- "test/__root-core.cjs",
220
- "file/test/__root-core.cjs"
221
- ],
222
- "runtime": {
223
- "targetFile": "test/__root-core.cjs",
224
- "staticFile": "file/test/__root-core.cjs",
225
- "targetFileFull": "<ws-yarn-workspaces>/test/__root-core.cjs",
226
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.cjs",
227
- "overwrite": false
228
- },
229
- "copy": "function"
230
- },
231
- {
232
- "entry": [
233
- "test/__root-core.mjs",
234
- "file/test/__root-core.mjs"
235
- ],
236
- "runtime": {
237
- "targetFile": "test/__root-core.mjs",
238
- "staticFile": "file/test/__root-core.mjs",
239
- "targetFileFull": "<ws-yarn-workspaces>/test/__root-core.mjs",
240
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.mjs",
241
- "overwrite": false
242
- },
243
- "copy": "function"
244
- },
245
- {
246
- "entry": [
247
- "test/__root-core.d.cts",
248
- "file/test/__root-core.d.cts"
249
- ],
250
- "runtime": {
251
- "targetFile": "test/__root-core.d.cts",
252
- "staticFile": "file/test/__root-core.d.cts",
253
- "targetFileFull": "<ws-yarn-workspaces>/test/__root-core.d.cts",
254
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.d.cts",
255
- "overwrite": false
256
- },
257
- "copy": "function"
258
- },
259
- {
260
- "entry": [
261
- "test/__root-core.d.mts",
262
- "file/test/__root-core.d.mts"
263
- ],
264
- "runtime": {
265
- "targetFile": "test/__root-core.d.mts",
266
- "staticFile": "file/test/__root-core.d.mts",
267
- "targetFileFull": "<ws-yarn-workspaces>/test/__root-core.d.mts",
268
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.d.mts",
269
- "overwrite": false
270
- },
271
- "copy": "function"
272
- },
273
- {
274
- "entry": [
275
- "test/__root-core.d.ts",
276
- "file/test/__root-core.d.ts"
277
- ],
278
- "runtime": {
279
- "targetFile": "test/__root-core.d.ts",
280
- "staticFile": "file/test/__root-core.d.ts",
281
- "targetFileFull": "<ws-yarn-workspaces>/test/__root-core.d.ts",
282
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.d.ts",
283
- "overwrite": false
284
- },
285
- "copy": "function"
286
- },
287
- {
288
- "entry": [
289
- "test/fixtures/.gitkeep",
290
- "file/test/fixtures/.gitkeep"
291
- ],
292
- "runtime": {
293
- "targetFile": "test/fixtures/.gitkeep",
294
- "staticFile": "file/test/fixtures/.gitkeep",
295
- "targetFileFull": "<ws-yarn-workspaces>/test/fixtures/.gitkeep",
296
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/fixtures/.gitkeep",
297
- "overwrite": false
298
- },
299
- "copy": "function"
300
- }
301
- ]
302
- `;
303
-
304
- exports[`快照 > <ws-yarn-workspaces> > getCopyStaticFilesOptionsByRootData 1`] = `
305
- {
306
- "rootData": {
307
- "cwd": "<ws-yarn-workspaces>",
308
- "pkg": "<ws-yarn-workspaces>",
309
- "ws": "<ws-yarn-workspaces>",
310
- "hasWorkspace": true,
311
- "isWorkspace": true,
312
- "root": "<ws-yarn-workspaces>",
313
- "isRoot": true,
314
- "isPkg": false
315
- },
316
- "options": {
317
- "cwd": "<ws-yarn-workspaces>",
318
- "file_map": [
319
- [
320
- "lerna.json",
321
- "file/lerna.json.tpl",
322
- "lerna.json"
323
- ],
324
- [
325
- ".npmignore",
326
- "file/npmignore"
327
- ],
328
- [
329
- ".gitignore",
330
- "file/gitignore"
331
- ],
332
- [
333
- ".eslintignore",
334
- "file/eslintignore"
335
- ],
336
- [
337
- "tsconfig.json",
338
- "file/tsconfig.json.tpl"
339
- ],
340
- [
341
- "tsconfig.json.tpl",
342
- "file/tsconfig.json.tpl"
343
- ],
344
- [
345
- "test/tsconfig.json.tpl",
346
- "file/test/tsconfig.json.tpl",
347
- "test/tsconfig.json"
348
- ],
349
- [
350
- "tsconfig.esm.json.tpl",
351
- "file/tsconfig.esm.json.tpl",
352
- "tsconfig.esm.json"
353
- ],
354
- [
355
- "tsconfig.tsdx.json.tpl",
356
- "file/tsconfig.tsdx.json.tpl",
357
- "tsconfig.tsdx.json"
358
- ],
359
- [
360
- ".eslintrc.json.tpl",
361
- "file/eslintrc.json.tpl",
362
- ".eslintrc.json"
363
- ],
364
- [
365
- "README.md",
366
- "file/README.md"
367
- ],
368
- [
369
- ".mocharc.yml.tpl",
370
- "file/mocharc.yml"
371
- ],
372
- [
373
- ".nowignore",
374
- "file/nowignore"
375
- ],
376
- [
377
- "now.json.tpl",
378
- "file/now.json.tpl",
379
- "now.json"
380
- ],
381
- [
382
- "tsdx.config.js.tpl",
383
- "file/tsdx.config.js",
384
- "tsdx.config.js"
385
- ],
386
- [
387
- "test/temp.ts",
388
- "file/test/temp.ts"
389
- ],
390
- [
391
- "test/__root.ts",
392
- "file/test/__root.ts"
393
- ],
394
- [
395
- "test/__root-core.cjs",
396
- "file/test/__root-core.cjs"
397
- ],
398
- [
399
- "test/__root-core.mjs",
400
- "file/test/__root-core.mjs"
401
- ],
402
- [
403
- "test/__root-core.d.cts",
404
- "file/test/__root-core.d.cts"
405
- ],
406
- [
407
- "test/__root-core.d.mts",
408
- "file/test/__root-core.d.mts"
409
- ],
410
- [
411
- "test/__root-core.d.ts",
412
- "file/test/__root-core.d.ts"
413
- ],
414
- [
415
- "test/fixtures/.gitkeep",
416
- "file/test/fixtures/.gitkeep"
417
- ],
418
- [
419
- "pnpm-workspace.yaml.tpl",
420
- "file/pnpm-workspace.yaml"
421
- ],
422
- [
423
- ".github/workflows/build-pnpm.yml",
424
- "file/github/workflows/build-pnpm.yml"
425
- ],
426
- [
427
- ".github/workflows/build-yarn.yml",
428
- "file/github/workflows/build-yarn.yml"
429
- ],
430
- [
431
- ".github/dependabot.yml",
432
- "file/github/dependabot.yml"
433
- ],
434
- [
435
- ".github/commit-convention.md",
436
- "file/github/commit-convention.md"
437
- ],
438
- [
439
- ".node-version.tpl",
440
- "file/nvmrc"
441
- ],
442
- [
443
- ".nvmrc.tpl",
444
- "file/nvmrc"
445
- ],
446
- [
447
- ".eslintrc.json",
448
- "file/eslintrc.json.tpl",
449
- ".eslintrc.json"
450
- ],
451
- [
452
- ".yarnrc.yml.tpl",
453
- "file/root/yarnrc.yml",
454
- ".yarnrc.yml"
455
- ],
456
- [
457
- ".npmrc.tpl",
458
- "file/npmrc",
459
- ".npmrc"
460
- ],
461
- [
462
- ".env.tpl",
463
- "file/env"
464
- ],
465
- [
466
- "jest.config.auto.js.tpl",
467
- "file/jest.config.auto.js"
468
- ],
469
- [
470
- ".editorconfig.tpl",
471
- "file/tpl.editorconfig"
472
- ],
473
- [
474
- ".editorconfig",
475
- "file/tpl.editorconfig"
476
- ],
477
- [
478
- "global.tsdx.d.ts",
479
- "file/root/global.tsdx.d.ts"
480
- ],
481
- [
482
- ".browserslistrc",
483
- "file/ws-root/browserslistrc"
484
- ],
485
- [
486
- "lerna.json.tpl",
487
- "file/lerna.json.tpl"
488
- ],
489
- [
490
- "pnpm-workspace.yaml",
491
- "file/pnpm-workspace.yaml"
492
- ],
493
- [
494
- "__root_ws.ts",
495
- "file/ws-root/__root_ws.ts"
496
- ],
497
- [
498
- "jest.config.js",
499
- "file/ws-root/jest.config.js"
500
- ],
501
- [
502
- "jest-preset.js",
503
- "file/ws-root/jest-preset.js"
504
- ],
505
- [
506
- "jest.config.js.tpl",
507
- "file/ws-root/jest.config.js"
508
- ],
509
- [
510
- ".run/lerna_publish_yes.run.xml",
511
- "file/ws-root/.run/lerna_publish_yes.run.xml"
512
- ]
513
- ]
514
- }
515
- }
516
- `;
517
-
518
- exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file > _copyStaticFilesCoreListGenerator 1`] = `
519
- [
520
- {
521
- "entry": [
522
- ".npmignore",
523
- "file/npmignore"
524
- ],
525
- "runtime": {
526
- "targetFile": ".npmignore",
527
- "staticFile": "file/npmignore",
528
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/.npmignore",
529
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/npmignore",
530
- "overwrite": false
531
- },
532
- "copy": "function"
533
- },
534
- {
535
- "entry": [
536
- ".gitignore",
537
- "file/gitignore"
538
- ],
539
- "runtime": {
540
- "targetFile": ".gitignore",
541
- "staticFile": "file/gitignore",
542
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/.gitignore",
543
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/gitignore",
544
- "overwrite": false
545
- },
546
- "copy": "function"
547
- },
548
- {
549
- "entry": [
550
- ".eslintignore",
551
- "file/eslintignore"
552
- ],
553
- "runtime": {
554
- "targetFile": ".eslintignore",
555
- "staticFile": "file/eslintignore",
556
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/.eslintignore",
557
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/eslintignore",
558
- "overwrite": false
559
- },
560
- "copy": "function"
561
- },
562
- {
563
- "entry": [
564
- "tsconfig.json",
565
- "file/tsconfig.json.tpl"
566
- ],
567
- "runtime": {
568
- "targetFile": "tsconfig.json",
569
- "staticFile": "file/tsconfig.json.tpl",
570
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/tsconfig.json",
571
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.json.tpl",
572
- "overwrite": false
573
- },
574
- "copy": "function"
575
- },
576
- {
577
- "entry": [
578
- "tsconfig.json.tpl",
579
- "file/tsconfig.json.tpl"
580
- ],
581
- "runtime": {
582
- "targetFile": "tsconfig.json.tpl",
583
- "staticFile": "file/tsconfig.json.tpl",
584
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/tsconfig.json.tpl",
585
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.json.tpl",
586
- "overwrite": false
587
- },
588
- "copy": "function"
589
- },
590
- {
591
- "entry": [
592
- "tsconfig.esm.json.tpl",
593
- "file/tsconfig.esm.json.tpl",
594
- "tsconfig.esm.json"
595
- ],
596
- "runtime": {
597
- "targetFile": "tsconfig.esm.json.tpl",
598
- "staticFile": "file/tsconfig.esm.json.tpl",
599
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/tsconfig.esm.json.tpl",
600
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.esm.json.tpl",
601
- "overwrite": false
602
- },
603
- "copy": "function"
604
- },
605
- {
606
- "entry": [
607
- "tsconfig.tsdx.json.tpl",
608
- "file/tsconfig.tsdx.json.tpl",
609
- "tsconfig.tsdx.json"
610
- ],
611
- "runtime": {
612
- "targetFile": "tsconfig.tsdx.json.tpl",
613
- "staticFile": "file/tsconfig.tsdx.json.tpl",
614
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/tsconfig.tsdx.json.tpl",
615
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.tsdx.json.tpl",
616
- "overwrite": false
617
- },
618
- "copy": "function"
619
- },
620
- {
621
- "entry": [
622
- ".eslintrc.json.tpl",
623
- "file/eslintrc.json.tpl",
624
- ".eslintrc.json"
625
- ],
626
- "runtime": {
627
- "targetFile": ".eslintrc.json.tpl",
628
- "staticFile": "file/eslintrc.json.tpl",
629
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/.eslintrc.json.tpl",
630
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/eslintrc.json.tpl",
631
- "overwrite": false
632
- },
633
- "copy": "function"
634
- },
635
- {
636
- "entry": [
637
- "README.md",
638
- "file/README.md"
639
- ],
640
- "runtime": {
641
- "targetFile": "README.md",
642
- "staticFile": "file/README.md",
643
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/README.md",
644
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/README.md",
645
- "overwrite": false
646
- },
647
- "copy": "function"
648
- },
649
- {
650
- "entry": [
651
- ".mocharc.yml.tpl",
652
- "file/mocharc.yml"
653
- ],
654
- "runtime": {
655
- "targetFile": ".mocharc.yml.tpl",
656
- "staticFile": "file/mocharc.yml",
657
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/.mocharc.yml.tpl",
658
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/mocharc.yml",
659
- "overwrite": false
660
- },
661
- "copy": "function"
662
- },
663
- {
664
- "entry": [
665
- "jest.config.js",
666
- "file/jest.config.auto.js"
667
- ],
668
- "runtime": {
669
- "targetFile": "jest.config.js",
670
- "staticFile": "file/jest.config.auto.js",
671
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/jest.config.js",
672
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/jest.config.auto.js",
673
- "overwrite": false
674
- },
675
- "copy": "function"
676
- },
677
- {
678
- "entry": [
679
- ".nowignore",
680
- "file/nowignore"
681
- ],
682
- "runtime": {
683
- "targetFile": ".nowignore",
684
- "staticFile": "file/nowignore",
685
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/.nowignore",
686
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/nowignore",
687
- "overwrite": false
688
- },
689
- "copy": "function"
690
- },
691
- {
692
- "entry": [
693
- "now.json.tpl",
694
- "file/now.json.tpl",
695
- "now.json"
696
- ],
697
- "runtime": {
698
- "targetFile": "now.json.tpl",
699
- "staticFile": "file/now.json.tpl",
700
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/now.json.tpl",
701
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/now.json.tpl",
702
- "overwrite": false
703
- },
704
- "copy": "function"
705
- },
706
- {
707
- "entry": [
708
- "tsdx.config.js.tpl",
709
- "file/tsdx.config.js",
710
- "tsdx.config.js"
711
- ],
712
- "runtime": {
713
- "targetFile": "tsdx.config.js.tpl",
714
- "staticFile": "file/tsdx.config.js",
715
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/tsdx.config.js.tpl",
716
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsdx.config.js",
717
- "overwrite": false
718
- },
719
- "copy": "function"
720
- },
721
- {
722
- "entry": [
723
- "test/temp.ts",
724
- "file/test/temp.ts"
725
- ],
726
- "runtime": {
727
- "targetFile": "test/temp.ts",
728
- "staticFile": "file/test/temp.ts",
729
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/temp.ts",
730
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/temp.ts",
731
- "overwrite": false
732
- },
733
- "copy": "function"
734
- },
735
- {
736
- "entry": [
737
- "test/__root.ts",
738
- "file/test/__root.ts"
739
- ],
740
- "runtime": {
741
- "targetFile": "test/__root.ts",
742
- "staticFile": "file/test/__root.ts",
743
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/__root.ts",
744
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root.ts",
745
- "overwrite": false
746
- },
747
- "copy": "function"
748
- },
749
- {
750
- "entry": [
751
- "test/__root-core.cjs",
752
- "file/test/__root-core.cjs"
753
- ],
754
- "runtime": {
755
- "targetFile": "test/__root-core.cjs",
756
- "staticFile": "file/test/__root-core.cjs",
757
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/__root-core.cjs",
758
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.cjs",
759
- "overwrite": false
760
- },
761
- "copy": "function"
762
- },
763
- {
764
- "entry": [
765
- "test/__root-core.mjs",
766
- "file/test/__root-core.mjs"
767
- ],
768
- "runtime": {
769
- "targetFile": "test/__root-core.mjs",
770
- "staticFile": "file/test/__root-core.mjs",
771
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/__root-core.mjs",
772
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.mjs",
773
- "overwrite": false
774
- },
775
- "copy": "function"
776
- },
777
- {
778
- "entry": [
779
- "test/__root-core.d.cts",
780
- "file/test/__root-core.d.cts"
781
- ],
782
- "runtime": {
783
- "targetFile": "test/__root-core.d.cts",
784
- "staticFile": "file/test/__root-core.d.cts",
785
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/__root-core.d.cts",
786
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.d.cts",
787
- "overwrite": false
788
- },
789
- "copy": "function"
790
- },
791
- {
792
- "entry": [
793
- "test/__root-core.d.mts",
794
- "file/test/__root-core.d.mts"
795
- ],
796
- "runtime": {
797
- "targetFile": "test/__root-core.d.mts",
798
- "staticFile": "file/test/__root-core.d.mts",
799
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/__root-core.d.mts",
800
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.d.mts",
801
- "overwrite": false
802
- },
803
- "copy": "function"
804
- },
805
- {
806
- "entry": [
807
- "test/__root-core.d.ts",
808
- "file/test/__root-core.d.ts"
809
- ],
810
- "runtime": {
811
- "targetFile": "test/__root-core.d.ts",
812
- "staticFile": "file/test/__root-core.d.ts",
813
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/__root-core.d.ts",
814
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.d.ts",
815
- "overwrite": false
816
- },
817
- "copy": "function"
818
- },
819
- {
820
- "entry": [
821
- "test/fixtures/.gitkeep",
822
- "file/test/fixtures/.gitkeep"
823
- ],
824
- "runtime": {
825
- "targetFile": "test/fixtures/.gitkeep",
826
- "staticFile": "file/test/fixtures/.gitkeep",
827
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/.gitkeep",
828
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/fixtures/.gitkeep",
829
- "overwrite": false
830
- },
831
- "copy": "function"
832
- }
833
- ]
834
- `;
835
-
836
- exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file > getCopyStaticFilesOptionsByRootData 1`] = `
837
- {
838
- "rootData": {
839
- "cwd": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file",
840
- "pkg": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file",
841
- "ws": "<ws-yarn-workspaces>",
842
- "hasWorkspace": true,
843
- "isWorkspace": false,
844
- "root": "<ws-yarn-workspaces>",
845
- "isRoot": false,
846
- "isPkg": true
847
- },
848
- "options": {
849
- "cwd": "<ws-yarn-workspaces>",
850
- "file_map": [
851
- [
852
- ".npmignore",
853
- "file/npmignore"
854
- ],
855
- [
856
- ".gitignore",
857
- "file/gitignore"
858
- ],
859
- [
860
- ".eslintignore",
861
- "file/eslintignore"
862
- ],
863
- [
864
- "tsconfig.json",
865
- "file/tsconfig.json.tpl"
866
- ],
867
- [
868
- "tsconfig.json.tpl",
869
- "file/tsconfig.json.tpl"
870
- ],
871
- [
872
- "test/tsconfig.json.tpl",
873
- "file/test/tsconfig.json.tpl",
874
- "test/tsconfig.json"
875
- ],
876
- [
877
- "tsconfig.esm.json.tpl",
878
- "file/tsconfig.esm.json.tpl",
879
- "tsconfig.esm.json"
880
- ],
881
- [
882
- "tsconfig.tsdx.json.tpl",
883
- "file/tsconfig.tsdx.json.tpl",
884
- "tsconfig.tsdx.json"
885
- ],
886
- [
887
- ".eslintrc.json.tpl",
888
- "file/eslintrc.json.tpl",
889
- ".eslintrc.json"
890
- ],
891
- [
892
- "README.md",
893
- "file/README.md"
894
- ],
895
- [
896
- ".mocharc.yml.tpl",
897
- "file/mocharc.yml"
898
- ],
899
- [
900
- "jest.config.js",
901
- "file/jest.config.auto.js"
902
- ],
903
- [
904
- ".nowignore",
905
- "file/nowignore"
906
- ],
907
- [
908
- "now.json.tpl",
909
- "file/now.json.tpl",
910
- "now.json"
911
- ],
912
- [
913
- "tsdx.config.js.tpl",
914
- "file/tsdx.config.js",
915
- "tsdx.config.js"
916
- ],
917
- [
918
- "test/temp.ts",
919
- "file/test/temp.ts"
920
- ],
921
- [
922
- "test/__root.ts",
923
- "file/test/__root.ts"
924
- ],
925
- [
926
- "test/__root-core.cjs",
927
- "file/test/__root-core.cjs"
928
- ],
929
- [
930
- "test/__root-core.mjs",
931
- "file/test/__root-core.mjs"
932
- ],
933
- [
934
- "test/__root-core.d.cts",
935
- "file/test/__root-core.d.cts"
936
- ],
937
- [
938
- "test/__root-core.d.mts",
939
- "file/test/__root-core.d.mts"
940
- ],
941
- [
942
- "test/__root-core.d.ts",
943
- "file/test/__root-core.d.ts"
944
- ],
945
- [
946
- "test/fixtures/.gitkeep",
947
- "file/test/fixtures/.gitkeep"
948
- ],
949
- [
950
- "playwright.config.ts.tpl",
951
- "file/playwright.config.ts",
952
- "playwright.config.ts"
953
- ]
954
- ]
955
- }
956
- }
957
- `;
958
-
959
- exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg > _copyStaticFilesCoreListGenerator 1`] = `
960
- [
961
- {
962
- "entry": [
963
- ".npmignore",
964
- "file/npmignore"
965
- ],
966
- "runtime": {
967
- "targetFile": ".npmignore",
968
- "staticFile": "file/npmignore",
969
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/.npmignore",
970
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/npmignore",
971
- "overwrite": false
972
- },
973
- "copy": "function"
974
- },
975
- {
976
- "entry": [
977
- ".gitignore",
978
- "file/gitignore"
979
- ],
980
- "runtime": {
981
- "targetFile": ".gitignore",
982
- "staticFile": "file/gitignore",
983
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/.gitignore",
984
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/gitignore",
985
- "overwrite": false
986
- },
987
- "copy": "function"
988
- },
989
- {
990
- "entry": [
991
- ".eslintignore",
992
- "file/eslintignore"
993
- ],
994
- "runtime": {
995
- "targetFile": ".eslintignore",
996
- "staticFile": "file/eslintignore",
997
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/.eslintignore",
998
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/eslintignore",
999
- "overwrite": false
1000
- },
1001
- "copy": "function"
1002
- },
1003
- {
1004
- "entry": [
1005
- "tsconfig.json",
1006
- "file/tsconfig.json.tpl"
1007
- ],
1008
- "runtime": {
1009
- "targetFile": "tsconfig.json",
1010
- "staticFile": "file/tsconfig.json.tpl",
1011
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/tsconfig.json",
1012
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.json.tpl",
1013
- "overwrite": false
1014
- },
1015
- "copy": "function"
1016
- },
1017
- {
1018
- "entry": [
1019
- "tsconfig.json.tpl",
1020
- "file/tsconfig.json.tpl"
1021
- ],
1022
- "runtime": {
1023
- "targetFile": "tsconfig.json.tpl",
1024
- "staticFile": "file/tsconfig.json.tpl",
1025
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/tsconfig.json.tpl",
1026
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.json.tpl",
1027
- "overwrite": false
1028
- },
1029
- "copy": "function"
1030
- },
1031
- {
1032
- "entry": [
1033
- "test/tsconfig.json.tpl",
1034
- "file/test/tsconfig.json.tpl",
1035
- "test/tsconfig.json"
1036
- ],
1037
- "runtime": {
1038
- "targetFile": "test/tsconfig.json.tpl",
1039
- "staticFile": "file/test/tsconfig.json.tpl",
1040
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/test/tsconfig.json.tpl",
1041
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/tsconfig.json.tpl",
1042
- "overwrite": false
1043
- },
1044
- "copy": "function"
1045
- },
1046
- {
1047
- "entry": [
1048
- "tsconfig.esm.json.tpl",
1049
- "file/tsconfig.esm.json.tpl",
1050
- "tsconfig.esm.json"
1051
- ],
1052
- "runtime": {
1053
- "targetFile": "tsconfig.esm.json.tpl",
1054
- "staticFile": "file/tsconfig.esm.json.tpl",
1055
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/tsconfig.esm.json.tpl",
1056
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.esm.json.tpl",
1057
- "overwrite": false
1058
- },
1059
- "copy": "function"
1060
- },
1061
- {
1062
- "entry": [
1063
- "tsconfig.tsdx.json.tpl",
1064
- "file/tsconfig.tsdx.json.tpl",
1065
- "tsconfig.tsdx.json"
1066
- ],
1067
- "runtime": {
1068
- "targetFile": "tsconfig.tsdx.json.tpl",
1069
- "staticFile": "file/tsconfig.tsdx.json.tpl",
1070
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/tsconfig.tsdx.json.tpl",
1071
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsconfig.tsdx.json.tpl",
1072
- "overwrite": false
1073
- },
1074
- "copy": "function"
1075
- },
1076
- {
1077
- "entry": [
1078
- ".eslintrc.json.tpl",
1079
- "file/eslintrc.json.tpl",
1080
- ".eslintrc.json"
1081
- ],
1082
- "runtime": {
1083
- "targetFile": ".eslintrc.json.tpl",
1084
- "staticFile": "file/eslintrc.json.tpl",
1085
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/.eslintrc.json.tpl",
1086
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/eslintrc.json.tpl",
1087
- "overwrite": false
1088
- },
1089
- "copy": "function"
1090
- },
1091
- {
1092
- "entry": [
1093
- "README.md",
1094
- "file/README.md"
1095
- ],
1096
- "runtime": {
1097
- "targetFile": "README.md",
1098
- "staticFile": "file/README.md",
1099
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/README.md",
1100
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/README.md",
1101
- "overwrite": false
1102
- },
1103
- "copy": "function"
1104
- },
1105
- {
1106
- "entry": [
1107
- ".mocharc.yml.tpl",
1108
- "file/mocharc.yml"
1109
- ],
1110
- "runtime": {
1111
- "targetFile": ".mocharc.yml.tpl",
1112
- "staticFile": "file/mocharc.yml",
1113
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/.mocharc.yml.tpl",
1114
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/mocharc.yml",
1115
- "overwrite": false
1116
- },
1117
- "copy": "function"
1118
- },
1119
- {
1120
- "entry": [
1121
- "jest.config.js",
1122
- "file/jest.config.auto.js"
1123
- ],
1124
- "runtime": {
1125
- "targetFile": "jest.config.js",
1126
- "staticFile": "file/jest.config.auto.js",
1127
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/jest.config.js",
1128
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/jest.config.auto.js",
1129
- "overwrite": false
1130
- },
1131
- "copy": "function"
1132
- },
1133
- {
1134
- "entry": [
1135
- ".nowignore",
1136
- "file/nowignore"
1137
- ],
1138
- "runtime": {
1139
- "targetFile": ".nowignore",
1140
- "staticFile": "file/nowignore",
1141
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/.nowignore",
1142
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/nowignore",
1143
- "overwrite": false
1144
- },
1145
- "copy": "function"
1146
- },
1147
- {
1148
- "entry": [
1149
- "now.json.tpl",
1150
- "file/now.json.tpl",
1151
- "now.json"
1152
- ],
1153
- "runtime": {
1154
- "targetFile": "now.json.tpl",
1155
- "staticFile": "file/now.json.tpl",
1156
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/now.json.tpl",
1157
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/now.json.tpl",
1158
- "overwrite": false
1159
- },
1160
- "copy": "function"
1161
- },
1162
- {
1163
- "entry": [
1164
- "tsdx.config.js.tpl",
1165
- "file/tsdx.config.js",
1166
- "tsdx.config.js"
1167
- ],
1168
- "runtime": {
1169
- "targetFile": "tsdx.config.js.tpl",
1170
- "staticFile": "file/tsdx.config.js",
1171
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/tsdx.config.js.tpl",
1172
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/tsdx.config.js",
1173
- "overwrite": false
1174
- },
1175
- "copy": "function"
1176
- },
1177
- {
1178
- "entry": [
1179
- "test/temp.ts",
1180
- "file/test/temp.ts"
1181
- ],
1182
- "runtime": {
1183
- "targetFile": "test/temp.ts",
1184
- "staticFile": "file/test/temp.ts",
1185
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/test/temp.ts",
1186
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/temp.ts",
1187
- "overwrite": false
1188
- },
1189
- "copy": "function"
1190
- },
1191
- {
1192
- "entry": [
1193
- "test/__root.ts",
1194
- "file/test/__root.ts"
1195
- ],
1196
- "runtime": {
1197
- "targetFile": "test/__root.ts",
1198
- "staticFile": "file/test/__root.ts",
1199
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/test/__root.ts",
1200
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root.ts",
1201
- "overwrite": false
1202
- },
1203
- "copy": "function"
1204
- },
1205
- {
1206
- "entry": [
1207
- "test/__root-core.cjs",
1208
- "file/test/__root-core.cjs"
1209
- ],
1210
- "runtime": {
1211
- "targetFile": "test/__root-core.cjs",
1212
- "staticFile": "file/test/__root-core.cjs",
1213
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/test/__root-core.cjs",
1214
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.cjs",
1215
- "overwrite": false
1216
- },
1217
- "copy": "function"
1218
- },
1219
- {
1220
- "entry": [
1221
- "test/__root-core.mjs",
1222
- "file/test/__root-core.mjs"
1223
- ],
1224
- "runtime": {
1225
- "targetFile": "test/__root-core.mjs",
1226
- "staticFile": "file/test/__root-core.mjs",
1227
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/test/__root-core.mjs",
1228
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.mjs",
1229
- "overwrite": false
1230
- },
1231
- "copy": "function"
1232
- },
1233
- {
1234
- "entry": [
1235
- "test/__root-core.d.cts",
1236
- "file/test/__root-core.d.cts"
1237
- ],
1238
- "runtime": {
1239
- "targetFile": "test/__root-core.d.cts",
1240
- "staticFile": "file/test/__root-core.d.cts",
1241
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/test/__root-core.d.cts",
1242
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.d.cts",
1243
- "overwrite": false
1244
- },
1245
- "copy": "function"
1246
- },
1247
- {
1248
- "entry": [
1249
- "test/__root-core.d.mts",
1250
- "file/test/__root-core.d.mts"
1251
- ],
1252
- "runtime": {
1253
- "targetFile": "test/__root-core.d.mts",
1254
- "staticFile": "file/test/__root-core.d.mts",
1255
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/test/__root-core.d.mts",
1256
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.d.mts",
1257
- "overwrite": false
1258
- },
1259
- "copy": "function"
1260
- },
1261
- {
1262
- "entry": [
1263
- "test/__root-core.d.ts",
1264
- "file/test/__root-core.d.ts"
1265
- ],
1266
- "runtime": {
1267
- "targetFile": "test/__root-core.d.ts",
1268
- "staticFile": "file/test/__root-core.d.ts",
1269
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/test/__root-core.d.ts",
1270
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/__root-core.d.ts",
1271
- "overwrite": false
1272
- },
1273
- "copy": "function"
1274
- },
1275
- {
1276
- "entry": [
1277
- "test/fixtures/.gitkeep",
1278
- "file/test/fixtures/.gitkeep"
1279
- ],
1280
- "runtime": {
1281
- "targetFile": "test/fixtures/.gitkeep",
1282
- "staticFile": "file/test/fixtures/.gitkeep",
1283
- "targetFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg/test/fixtures/.gitkeep",
1284
- "staticFileFull": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/file/test/fixtures/.gitkeep",
1285
- "overwrite": false
1286
- },
1287
- "copy": "function"
1288
- }
1289
- ]
1290
- `;
1291
-
1292
- exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg > getCopyStaticFilesOptionsByRootData 1`] = `
1293
- {
1294
- "rootData": {
1295
- "cwd": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg",
1296
- "pkg": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg",
1297
- "hasWorkspace": false,
1298
- "isWorkspace": false,
1299
- "root": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg",
1300
- "isRoot": true,
1301
- "isPkg": true
1302
- },
1303
- "options": {
1304
- "cwd": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg",
1305
- "file_map": [
1306
- [
1307
- ".npmignore",
1308
- "file/npmignore"
1309
- ],
1310
- [
1311
- ".gitignore",
1312
- "file/gitignore"
1313
- ],
1314
- [
1315
- ".eslintignore",
1316
- "file/eslintignore"
1317
- ],
1318
- [
1319
- "tsconfig.json",
1320
- "file/tsconfig.json.tpl"
1321
- ],
1322
- [
1323
- "tsconfig.json.tpl",
1324
- "file/tsconfig.json.tpl"
1325
- ],
1326
- [
1327
- "test/tsconfig.json.tpl",
1328
- "file/test/tsconfig.json.tpl",
1329
- "test/tsconfig.json"
1330
- ],
1331
- [
1332
- "tsconfig.esm.json.tpl",
1333
- "file/tsconfig.esm.json.tpl",
1334
- "tsconfig.esm.json"
1335
- ],
1336
- [
1337
- "tsconfig.tsdx.json.tpl",
1338
- "file/tsconfig.tsdx.json.tpl",
1339
- "tsconfig.tsdx.json"
1340
- ],
1341
- [
1342
- ".eslintrc.json.tpl",
1343
- "file/eslintrc.json.tpl",
1344
- ".eslintrc.json"
1345
- ],
1346
- [
1347
- "README.md",
1348
- "file/README.md"
1349
- ],
1350
- [
1351
- ".mocharc.yml.tpl",
1352
- "file/mocharc.yml"
1353
- ],
1354
- [
1355
- "jest.config.js",
1356
- "file/jest.config.auto.js"
1357
- ],
1358
- [
1359
- ".nowignore",
1360
- "file/nowignore"
1361
- ],
1362
- [
1363
- "now.json.tpl",
1364
- "file/now.json.tpl",
1365
- "now.json"
1366
- ],
1367
- [
1368
- "tsdx.config.js.tpl",
1369
- "file/tsdx.config.js",
1370
- "tsdx.config.js"
1371
- ],
1372
- [
1373
- "test/temp.ts",
1374
- "file/test/temp.ts"
1375
- ],
1376
- [
1377
- "test/__root.ts",
1378
- "file/test/__root.ts"
1379
- ],
1380
- [
1381
- "test/__root-core.cjs",
1382
- "file/test/__root-core.cjs"
1383
- ],
1384
- [
1385
- "test/__root-core.mjs",
1386
- "file/test/__root-core.mjs"
1387
- ],
1388
- [
1389
- "test/__root-core.d.cts",
1390
- "file/test/__root-core.d.cts"
1391
- ],
1392
- [
1393
- "test/__root-core.d.mts",
1394
- "file/test/__root-core.d.mts"
1395
- ],
1396
- [
1397
- "test/__root-core.d.ts",
1398
- "file/test/__root-core.d.ts"
1399
- ],
1400
- [
1401
- "test/fixtures/.gitkeep",
1402
- "file/test/fixtures/.gitkeep"
1403
- ],
1404
- [
1405
- "lerna.json.tpl",
1406
- "file/lerna.json.tpl",
1407
- "lerna.json"
1408
- ],
1409
- [
1410
- "pnpm-workspace.yaml.tpl",
1411
- "file/pnpm-workspace.yaml"
1412
- ],
1413
- [
1414
- ".github/workflows/build-pnpm.yml",
1415
- "file/github/workflows/build-pnpm.yml"
1416
- ],
1417
- [
1418
- ".github/workflows/build-yarn.yml",
1419
- "file/github/workflows/build-yarn.yml"
1420
- ],
1421
- [
1422
- ".github/dependabot.yml",
1423
- "file/github/dependabot.yml"
1424
- ],
1425
- [
1426
- ".github/commit-convention.md",
1427
- "file/github/commit-convention.md"
1428
- ],
1429
- [
1430
- ".node-version.tpl",
1431
- "file/nvmrc"
1432
- ],
1433
- [
1434
- ".nvmrc.tpl",
1435
- "file/nvmrc"
1436
- ],
1437
- [
1438
- ".eslintrc.json",
1439
- "file/eslintrc.json.tpl",
1440
- ".eslintrc.json"
1441
- ],
1442
- [
1443
- ".yarnrc.yml.tpl",
1444
- "file/root/yarnrc.yml",
1445
- ".yarnrc.yml"
1446
- ],
1447
- [
1448
- ".npmrc.tpl",
1449
- "file/npmrc",
1450
- ".npmrc"
1451
- ],
1452
- [
1453
- ".env.tpl",
1454
- "file/env"
1455
- ],
1456
- [
1457
- "jest.config.auto.js.tpl",
1458
- "file/jest.config.auto.js"
1459
- ],
1460
- [
1461
- ".editorconfig.tpl",
1462
- "file/tpl.editorconfig"
1463
- ],
1464
- [
1465
- ".editorconfig",
1466
- "file/tpl.editorconfig"
1467
- ],
1468
- [
1469
- "global.tsdx.d.ts",
1470
- "file/root/global.tsdx.d.ts"
1471
- ],
1472
- [
1473
- ".browserslistrc",
1474
- "file/ws-root/browserslistrc"
1475
- ],
1476
- [
1477
- "playwright.config.ts.tpl",
1478
- "file/playwright.config.ts",
1479
- "playwright.config.ts"
1480
- ]
1481
- ]
1482
- }
1483
- }
1484
- `;