@yarn-tool/static-file 3.0.35 → 3.0.36
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/CHANGELOG.md +21 -0
- package/file/playwright.config.ts +6 -0
- package/lib/const.d.ts +1 -1
- package/lib/const.js +1 -1
- package/lib/const.js.map +1 -1
- package/lib/copyStaticFilesByRootData.js +1 -1
- package/lib/copyStaticFilesByRootData.js.map +1 -1
- package/lib/reMapStaticFilesMapArray.js +4 -1
- package/lib/reMapStaticFilesMapArray.js.map +1 -1
- package/package.json +2 -2
- package/test/copyStaticFilesByRootData.test.js.map +1 -1
- package/test/copyStaticFilesByRootData.test.ts.snapshot +974 -129
- package/test/file.test.js.map +1 -0
- package/test/file.test.ts.snapshot +198 -0
- package/test/scripts/update-npmignore-static-files.js +1 -0
- package/test/scripts/update-npmignore-static-files.js.map +1 -1
|
@@ -1,4 +1,307 @@
|
|
|
1
|
-
exports[`快照 > <ws-yarn-workspaces> 1`] = `
|
|
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`] = `
|
|
2
305
|
{
|
|
3
306
|
"rootData": {
|
|
4
307
|
"cwd": "<ws-yarn-workspaces>",
|
|
@@ -13,19 +316,11 @@ exports[`快照 > <ws-yarn-workspaces> 1`] = `
|
|
|
13
316
|
"options": {
|
|
14
317
|
"cwd": "<ws-yarn-workspaces>",
|
|
15
318
|
"file_map": [
|
|
16
|
-
[
|
|
17
|
-
"tsconfig.json",
|
|
18
|
-
"file/tsconfig.json.tpl"
|
|
19
|
-
],
|
|
20
319
|
[
|
|
21
320
|
"lerna.json",
|
|
22
321
|
"file/lerna.json.tpl",
|
|
23
322
|
"lerna.json"
|
|
24
323
|
],
|
|
25
|
-
[
|
|
26
|
-
"pnpm-workspace.yaml",
|
|
27
|
-
"file/pnpm-workspace.yaml"
|
|
28
|
-
],
|
|
29
324
|
[
|
|
30
325
|
".npmignore",
|
|
31
326
|
"file/npmignore"
|
|
@@ -38,6 +333,10 @@ exports[`快照 > <ws-yarn-workspaces> 1`] = `
|
|
|
38
333
|
".eslintignore",
|
|
39
334
|
"file/eslintignore"
|
|
40
335
|
],
|
|
336
|
+
[
|
|
337
|
+
"tsconfig.json",
|
|
338
|
+
"file/tsconfig.json.tpl"
|
|
339
|
+
],
|
|
41
340
|
[
|
|
42
341
|
"tsconfig.json.tpl",
|
|
43
342
|
"file/tsconfig.json.tpl"
|
|
@@ -70,10 +369,6 @@ exports[`快照 > <ws-yarn-workspaces> 1`] = `
|
|
|
70
369
|
".mocharc.yml.tpl",
|
|
71
370
|
"file/mocharc.yml"
|
|
72
371
|
],
|
|
73
|
-
[
|
|
74
|
-
"jest.config.js",
|
|
75
|
-
"file/jest.config.auto.js"
|
|
76
|
-
],
|
|
77
372
|
[
|
|
78
373
|
".nowignore",
|
|
79
374
|
"file/nowignore"
|
|
@@ -120,11 +415,6 @@ exports[`快照 > <ws-yarn-workspaces> 1`] = `
|
|
|
120
415
|
"test/fixtures/.gitkeep",
|
|
121
416
|
"file/test/fixtures/.gitkeep"
|
|
122
417
|
],
|
|
123
|
-
[
|
|
124
|
-
"lerna.json.tpl",
|
|
125
|
-
"file/lerna.json.tpl",
|
|
126
|
-
"lerna.json"
|
|
127
|
-
],
|
|
128
418
|
[
|
|
129
419
|
"pnpm-workspace.yaml.tpl",
|
|
130
420
|
"file/pnpm-workspace.yaml"
|
|
@@ -196,6 +486,10 @@ exports[`快照 > <ws-yarn-workspaces> 1`] = `
|
|
|
196
486
|
"lerna.json.tpl",
|
|
197
487
|
"file/lerna.json.tpl"
|
|
198
488
|
],
|
|
489
|
+
[
|
|
490
|
+
"pnpm-workspace.yaml",
|
|
491
|
+
"file/pnpm-workspace.yaml"
|
|
492
|
+
],
|
|
199
493
|
[
|
|
200
494
|
"__root_ws.ts",
|
|
201
495
|
"file/ws-root/__root_ws.ts"
|
|
@@ -221,7 +515,325 @@ exports[`快照 > <ws-yarn-workspaces> 1`] = `
|
|
|
221
515
|
}
|
|
222
516
|
`;
|
|
223
517
|
|
|
224
|
-
exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file 1`] = `
|
|
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`] = `
|
|
225
837
|
{
|
|
226
838
|
"rootData": {
|
|
227
839
|
"cwd": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file",
|
|
@@ -236,19 +848,6 @@ exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file 1`] = `
|
|
|
236
848
|
"options": {
|
|
237
849
|
"cwd": "<ws-yarn-workspaces>",
|
|
238
850
|
"file_map": [
|
|
239
|
-
[
|
|
240
|
-
"tsconfig.json",
|
|
241
|
-
"file/tsconfig.json.tpl"
|
|
242
|
-
],
|
|
243
|
-
[
|
|
244
|
-
"lerna.json",
|
|
245
|
-
"file/lerna.json.tpl",
|
|
246
|
-
"lerna.json"
|
|
247
|
-
],
|
|
248
|
-
[
|
|
249
|
-
"pnpm-workspace.yaml",
|
|
250
|
-
"file/pnpm-workspace.yaml"
|
|
251
|
-
],
|
|
252
851
|
[
|
|
253
852
|
".npmignore",
|
|
254
853
|
"file/npmignore"
|
|
@@ -261,6 +860,10 @@ exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file 1`] = `
|
|
|
261
860
|
".eslintignore",
|
|
262
861
|
"file/eslintignore"
|
|
263
862
|
],
|
|
863
|
+
[
|
|
864
|
+
"tsconfig.json",
|
|
865
|
+
"file/tsconfig.json.tpl"
|
|
866
|
+
],
|
|
264
867
|
[
|
|
265
868
|
"tsconfig.json.tpl",
|
|
266
869
|
"file/tsconfig.json.tpl"
|
|
@@ -344,107 +947,349 @@ exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file 1`] = `
|
|
|
344
947
|
"file/test/fixtures/.gitkeep"
|
|
345
948
|
],
|
|
346
949
|
[
|
|
347
|
-
"
|
|
348
|
-
"file/
|
|
349
|
-
"
|
|
350
|
-
],
|
|
351
|
-
[
|
|
352
|
-
"pnpm-workspace.yaml.tpl",
|
|
353
|
-
"file/pnpm-workspace.yaml"
|
|
354
|
-
],
|
|
355
|
-
[
|
|
356
|
-
".github/workflows/build-pnpm.yml",
|
|
357
|
-
"file/github/workflows/build-pnpm.yml"
|
|
358
|
-
],
|
|
359
|
-
[
|
|
360
|
-
".github/workflows/build-yarn.yml",
|
|
361
|
-
"file/github/workflows/build-yarn.yml"
|
|
362
|
-
],
|
|
363
|
-
[
|
|
364
|
-
".github/dependabot.yml",
|
|
365
|
-
"file/github/dependabot.yml"
|
|
366
|
-
],
|
|
367
|
-
[
|
|
368
|
-
".github/commit-convention.md",
|
|
369
|
-
"file/github/commit-convention.md"
|
|
370
|
-
],
|
|
371
|
-
[
|
|
372
|
-
".node-version.tpl",
|
|
373
|
-
"file/nvmrc"
|
|
374
|
-
],
|
|
375
|
-
[
|
|
376
|
-
".nvmrc.tpl",
|
|
377
|
-
"file/nvmrc"
|
|
378
|
-
],
|
|
379
|
-
[
|
|
380
|
-
".eslintrc.json",
|
|
381
|
-
"file/eslintrc.json.tpl",
|
|
382
|
-
".eslintrc.json"
|
|
383
|
-
],
|
|
384
|
-
[
|
|
385
|
-
".yarnrc.yml.tpl",
|
|
386
|
-
"file/root/yarnrc.yml",
|
|
387
|
-
".yarnrc.yml"
|
|
388
|
-
],
|
|
389
|
-
[
|
|
390
|
-
".npmrc.tpl",
|
|
391
|
-
"file/npmrc",
|
|
392
|
-
".npmrc"
|
|
393
|
-
],
|
|
394
|
-
[
|
|
395
|
-
".env.tpl",
|
|
396
|
-
"file/env"
|
|
397
|
-
],
|
|
398
|
-
[
|
|
399
|
-
"jest.config.auto.js.tpl",
|
|
400
|
-
"file/jest.config.auto.js"
|
|
401
|
-
],
|
|
402
|
-
[
|
|
403
|
-
".editorconfig.tpl",
|
|
404
|
-
"file/tpl.editorconfig"
|
|
405
|
-
],
|
|
406
|
-
[
|
|
407
|
-
".editorconfig",
|
|
408
|
-
"file/tpl.editorconfig"
|
|
409
|
-
],
|
|
410
|
-
[
|
|
411
|
-
"global.tsdx.d.ts",
|
|
412
|
-
"file/root/global.tsdx.d.ts"
|
|
413
|
-
],
|
|
414
|
-
[
|
|
415
|
-
".browserslistrc",
|
|
416
|
-
"file/ws-root/browserslistrc"
|
|
417
|
-
],
|
|
418
|
-
[
|
|
419
|
-
"lerna.json.tpl",
|
|
420
|
-
"file/lerna.json.tpl"
|
|
421
|
-
],
|
|
422
|
-
[
|
|
423
|
-
"__root_ws.ts",
|
|
424
|
-
"file/ws-root/__root_ws.ts"
|
|
425
|
-
],
|
|
426
|
-
[
|
|
427
|
-
"jest.config.js",
|
|
428
|
-
"file/ws-root/jest.config.js"
|
|
429
|
-
],
|
|
430
|
-
[
|
|
431
|
-
"jest-preset.js",
|
|
432
|
-
"file/ws-root/jest-preset.js"
|
|
433
|
-
],
|
|
434
|
-
[
|
|
435
|
-
"jest.config.js.tpl",
|
|
436
|
-
"file/ws-root/jest.config.js"
|
|
437
|
-
],
|
|
438
|
-
[
|
|
439
|
-
".run/lerna_publish_yes.run.xml",
|
|
440
|
-
"file/ws-root/.run/lerna_publish_yes.run.xml"
|
|
950
|
+
"playwright.config.ts.tpl",
|
|
951
|
+
"file/playwright.config.ts",
|
|
952
|
+
"playwright.config.ts"
|
|
441
953
|
]
|
|
442
954
|
]
|
|
443
955
|
}
|
|
444
956
|
}
|
|
445
957
|
`;
|
|
446
958
|
|
|
447
|
-
exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg 1`] = `
|
|
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`] = `
|
|
448
1293
|
{
|
|
449
1294
|
"rootData": {
|
|
450
1295
|
"cwd": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg",
|
|
@@ -629,9 +1474,9 @@ exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixt
|
|
|
629
1474
|
"file/ws-root/browserslistrc"
|
|
630
1475
|
],
|
|
631
1476
|
[
|
|
632
|
-
"playwright.config.ts",
|
|
1477
|
+
"playwright.config.ts.tpl",
|
|
633
1478
|
"file/playwright.config.ts",
|
|
634
|
-
"playwright.config.
|
|
1479
|
+
"playwright.config.ts"
|
|
635
1480
|
]
|
|
636
1481
|
]
|
|
637
1482
|
}
|