@yarn-tool/static-file 3.0.32 → 3.0.34
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 +52 -0
- package/file/gitignore +16 -13
- package/file/npmignore +79 -14
- package/lib/const.d.ts +17 -0
- package/lib/const.js +20 -1
- package/lib/const.js.map +1 -1
- package/lib/copyStaticFilesByRootData.d.ts +52 -0
- package/lib/copyStaticFilesByRootData.js +53 -0
- package/lib/copyStaticFilesByRootData.js.map +1 -0
- package/package.json +5 -3
- package/playwright.config.js.map +1 -0
- package/test/copyStaticFiles.test.js.map +1 -1
- package/test/copyStaticFiles.test.ts.snapshot +2 -2
- package/test/copyStaticFilesByRootData.test.js.map +1 -0
- package/test/copyStaticFilesByRootData.test.ts.snapshot +634 -0
- package/test/fixtures/empty-pkg/package.json +4 -0
- package/test/fixtures/out/gitignore +16 -13
- package/test/fixtures/out/npmignore +79 -14
- package/test/fixtures/split/git/00-header.txt +1 -1
- package/test/fixtures/split/git/10-project.txt +1 -1
- package/test/fixtures/split/git/20-test.txt +1 -1
- package/test/fixtures/split/git/40-env.txt +1 -1
- package/test/fixtures/split/git/90-misc.txt +1 -1
- package/test/fixtures/split/git/99-whitelist.txt +1 -1
- package/test/fixtures/split/npm/01-hidden.txt +1 -1
- package/test/fixtures/split/npm/05-source.txt +1 -1
- package/test/fixtures/split/npm/10-project.txt +1 -1
- package/test/fixtures/split/npm/20-test.txt +3 -1
- package/test/fixtures/split/npm/30-ide.txt +1 -1
- package/test/fixtures/split/npm/40-env.txt +1 -1
- package/test/fixtures/split/npm/90-misc.txt +1 -1
- package/test/fixtures/split/other/90-duplicates.txt +2 -2
- package/test/fixtures/split/shared/10-project.txt +1 -1
- package/test/fixtures/split/shared/20-test.txt +4 -1
- package/test/fixtures/split/shared/30-ide.txt +1 -1
- package/test/fixtures/split/shared/40-env.txt +1 -1
- package/test/fixtures/split/shared/90-misc.txt +1 -1
- package/test/scripts/compose-split-ignore-files.js +1 -1
- package/test/scripts/compose-split-ignore-files.js.map +1 -1
- package/test/scripts/lib/ignore-split.d.ts +24 -64
- package/test/scripts/lib/ignore-split.js +41 -75
- package/test/scripts/lib/ignore-split.js.map +1 -1
- package/test/scripts/split-ignore-files.js +19 -19
- package/test/scripts/split-ignore-files.js.map +1 -1
- package/test/scripts/update-npmignore-static-files.js +25 -2
- package/test/scripts/update-npmignore-static-files.js.map +1 -1
- package/file/test/__root.js.map +0 -1
- package/file/test/temp.js.map +0 -1
- package/file/tsdx/index.cjs.map +0 -1
- package/file/tsdx/index.js.map +0 -1
- package/file/ws-root/__root_ws.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
exports[`_copyStaticFilesCoreListGenerator > 預設值 + 必填參數
|
|
1
|
+
exports[`_copyStaticFilesCoreListGenerator > 預設值 + 必填參數 1`] = `
|
|
2
2
|
[
|
|
3
3
|
{
|
|
4
4
|
"entry": [
|
|
@@ -331,7 +331,7 @@ exports[`_copyStaticFilesCoreListGenerator > 預設值 + 必填參數 / defaults
|
|
|
331
331
|
]
|
|
332
332
|
`;
|
|
333
333
|
|
|
334
|
-
exports[`_handleCopyStaticFilesOptions > 預設值 + 必填參數
|
|
334
|
+
exports[`_handleCopyStaticFilesOptions > 預設值 + 必填參數 1`] = `
|
|
335
335
|
{
|
|
336
336
|
"cwd": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test",
|
|
337
337
|
"staticRoot": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyStaticFilesByRootData.test.js","sourceRoot":"","sources":["copyStaticFilesByRootData.test.ts"],"names":[],"mappings":";;AAAA,8BAA8B;AAC9B;;;;;GAKG;AACH,yCAA6D;AAC7D,mCAA8B;AAC9B,qDAAkD;AAClD,4FAA0F;AAC1F,6EAAyF;AACzF,oDAAyE;AAEzE,gFAAuF;AACvF,mEAAmE;AAGnE;;GAEG;A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,GAAG,EAAE,CAAC;QAE5D,MAAM,MAAM,GAAG,IAAA,+DAAmC,EAAC,mBAAmB,EAAE;YACvE,mBAAmB;SACnB,CAAC,CAAC;QAEH,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,CAAC;IACvE,CAAC,CAAC,CAAC;IAEH,IAAA,gBAAI,EAAC,oBAAoB,EAAE,CAAC,CAAc,EAAE,EAAE;QAE7C,MAAM,QAAQ,GAAiC;YAC9C,CAAC,YAAY,EAAE,iBAAiB,CAAC;SACjC,CAAC;QAEF,MAAM,MAAM,GAAG,IAAA,+DAAmC,EAAC,mBAAmB,EAAE;YACvE,QAAQ;SACR,CAAC,CAAC;QAEH,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACjD,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["/// <reference types=\"node\" />\n/**\n * @yarn-tool/static-file copyStaticFilesByRootData 測試\n *\n * 只驗證參數產生邏輯(目標目錄與 file_map 的判定、選項傳遞),\n * 不會呼叫 copyStaticFiles,因此測試過程不建立、也不覆寫任何檔案。\n */\nimport { describe, test, type TestContext } from 'node:test';\nimport { join } from 'upath2';\nimport { __ROOT_WS } from '../../../../__root_ws';\nimport { _normalizePathForSnapshot } from '../../../../test/lib/normalizePathForSnapshot';\nimport { _sanitizationFindRootReturn } from '@yarn-tool/find-root/test/lib/sanitization';\nimport { findRootLazy, IFindRootReturnType } from '@yarn-tool/find-root';\n\nimport { getCopyStaticFilesOptionsByRootData } from '../lib/copyStaticFilesByRootData';\nimport { getWsCopyStaticFiles } from '../lib/ws/wsCopyStaticFiles';\nimport type { IIgnoreFilesSnapshot, IStaticFilesMapArray } from '../lib/types';\n\n/**\n * workspace 根目錄、workspace 內套件、fixture 套件\n */\nconst _testPaths: [cwd: string, rootDataExpect?: Partial<IFindRootReturnType>][] = [\n\t[__ROOT_WS, {\n\t\tisRoot: true,\n\t\thasWorkspace: true,\n\t\tisWorkspace: true,\n\t\tisPkg: false,\n\t}],\n\t[join(__ROOT_WS, 'packages', '@yarn-tool', 'static-file'), {\n\t\tisRoot: false,\n\t\thasWorkspace: true,\n\t\tisWorkspace: false,\n\t\tisPkg: true,\n\t}],\n\t[join(__ROOT_WS, 'packages', '@yarn-tool', 'static-file', 'test', 'fixtures', 'empty-pkg'), {\n\t\tisRoot: true,\n\t\thasWorkspace: false,\n\t\tisPkg: true,\n\t}],\n];\n\n/**\n * 單一套件情境的合成 rootData\n *\n * hasWorkspace 為 false 時不會讀取 ws,故以空字串佔位。\n */\nconst _standaloneRootData = {\n\thasWorkspace: false,\n\troot: '/project',\n\tisRoot: true,\n} satisfies Partial<IFindRootReturnType> as IFindRootReturnType;\n\ndescribe('workspace 根目錄', () =>\n{\n\ttest('複製到 ws 並使用 workspace file_map', (t: TestContext) =>\n\t{\n\t\tconst rootData = findRootLazy({ cwd: __ROOT_WS });\n\n\t\tt.assert.ok(rootData?.hasWorkspace);\n\n\t\tconst actual = getCopyStaticFilesOptionsByRootData(rootData);\n\n\t\t/**\n\t\t * 部分比對只鎖定關注點:目標目錄與 workspace 清單,\n\t\t * 其餘結構交由「快照」區塊的完整輸出守護\n\t\t */\n\t\tt.assert.partialDeepStrictEqual(actual, {\n\t\t\tcwd: rootData.ws,\n\t\t\tfile_map: getWsCopyStaticFiles(),\n\t\t});\n\t\tt.assert.strictEqual('ignoreFilesSnapshot' in actual, false);\n\t});\n});\n\ndescribe('快照', () =>\n{\n\t/**\n\t * 逐一快照預留路徑的 rootData 與產生的參數,\n\t * 並以部分比對鎖定目標目錄這個關注點\n\t *\n\t * cwd 經 _normalizePathForSnapshot 標準化、rootData 經 _sanitizationFindRootReturn\n\t * 標準化,file_map 內皆為相對路徑,因此快照不隨執行環境變動。\n\t */\n\t_testPaths.forEach(([cwd, rootDataExpect]) =>\n\t{\n\t\ttest(_normalizePathForSnapshot(cwd), (t: TestContext) =>\n\t\t{\n\t\t\tconst rootData = findRootLazy({\n\t\t\t\tcwd,\n\t\t\t});\n\n\t\t\tt.assert.partialDeepStrictEqual(rootData, rootDataExpect);\n\n\t\t\tconst actual = getCopyStaticFilesOptionsByRootData(rootData);\n\n\t\t\tt.assert.snapshot({\n\t\t\t\trootData: _sanitizationFindRootReturn(rootData),\n\t\t\t\toptions: {\n\t\t\t\t\t...actual,\n\t\t\t\t\tcwd: _normalizePathForSnapshot(actual.cwd),\n\t\t\t\t},\n\t\t\t});\n\n\t\t\tt.assert.partialDeepStrictEqual(actual, {\n\t\t\t\tcwd: rootData.hasWorkspace ? rootData.ws : rootData.root,\n\t\t\t});\n\t\t});\n\t});\n});\n\ndescribe('workspace 內套件(未覆寫 cwd)', () =>\n{\n\ttest('有 workspace 時仍以 ws 為目標', (t: TestContext) =>\n\t{\n\t\t/**\n\t\t * 對應 fix-all 的分支:複製前已 refind,hasWorkspace 蘊含目標為 ws 根目錄\n\t\t */\n\t\tconst rootData = findRootLazy({ cwd: __dirname });\n\n\t\tt.assert.ok(rootData?.hasWorkspace);\n\n\t\tconst actual = getCopyStaticFilesOptionsByRootData(rootData);\n\n\t\tt.assert.partialDeepStrictEqual(actual, {\n\t\t\tcwd: rootData.ws,\n\t\t\tfile_map: getWsCopyStaticFiles(),\n\t\t});\n\t});\n});\n\ndescribe('單一套件', () =>\n{\n\ttest('目標為 root 且使用含 root-only 檔案的套件清單', (t: TestContext) =>\n\t{\n\t\tconst actual = getCopyStaticFilesOptionsByRootData(_standaloneRootData);\n\n\t\tt.assert.strictEqual(actual.cwd, '/project');\n\n\t\t/**\n\t\t * 部分比對斷言清單來源:預設條目在前、root-only 條目在後,\n\t\t * 兩者皆依序出現即代表取用「預設+root-only」的單一套件清單\n\t\t */\n\t\tt.assert.partialDeepStrictEqual(actual.file_map, [\n\t\t\t['.npmignore', 'file/npmignore'],\n\t\t\t['lerna.json.tpl', 'file/lerna.json.tpl', 'lerna.json'],\n\t\t]);\n\t});\n});\n\ndescribe('cwd 覆寫', () =>\n{\n\ttest('目標改用覆寫值,file_map 改以套件模式判定', (t: TestContext) =>\n\t{\n\t\t/**\n\t\t * 對應 npm-init2 的用法:複製到 targetDir,旗標由 wsProject 狀態決定\n\t\t */\n\t\tconst rootData = findRootLazy({ cwd: __dirname });\n\n\t\tconst actual = getCopyStaticFilesOptionsByRootData(rootData, {\n\t\t\tcwd: '/new/package',\n\t\t\thasWorkspace: false,\n\t\t\tisRoot: true,\n\t\t});\n\n\t\tt.assert.strictEqual(actual.cwd, '/new/package');\n\t\tt.assert.partialDeepStrictEqual(actual.file_map, [\n\t\t\t['.npmignore', 'file/npmignore'],\n\t\t\t['lerna.json.tpl', 'file/lerna.json.tpl', 'lerna.json'],\n\t\t]);\n\t});\n\n\ttest('未提供旗標時沿用 rootData 的旗標', (t: TestContext) =>\n\t{\n\t\tconst rootData = findRootLazy({ cwd: __dirname });\n\n\t\tconst actual = getCopyStaticFilesOptionsByRootData(rootData, {\n\t\t\tcwd: '/new/package',\n\t\t});\n\n\t\tconst file_map = actual.file_map as IStaticFilesMapArray<string>;\n\n\t\tt.assert.strictEqual(actual.cwd, '/new/package');\n\n\t\t/**\n\t\t * rootData 為 hasWorkspace=true / isRoot=false,清單只含預設條目、\n\t\t * 不含 root-only 條目,據以驗證旗標預設值確實來自 rootData\n\t\t */\n\t\tt.assert.partialDeepStrictEqual(actual.file_map, [\n\t\t\t['.npmignore', 'file/npmignore'],\n\t\t]);\n\t\tt.assert.strictEqual(file_map.some(([targetFile]) => targetFile === 'lerna.json.tpl'), false);\n\t});\n});\n\ndescribe('選項傳遞', () =>\n{\n\ttest('ignoreFilesSnapshot 原樣帶入', (t: TestContext) =>\n\t{\n\t\tconst ignoreFilesSnapshot: IIgnoreFilesSnapshot = new Map();\n\n\t\tconst actual = getCopyStaticFilesOptionsByRootData(_standaloneRootData, {\n\t\t\tignoreFilesSnapshot,\n\t\t});\n\n\t\tt.assert.strictEqual(actual.ignoreFilesSnapshot, ignoreFilesSnapshot);\n\t});\n\n\ttest('file_map 覆寫優先於自動判定', (t: TestContext) =>\n\t{\n\t\tconst file_map: IStaticFilesMapArray<string> = [\n\t\t\t['custom.txt', 'file/custom.txt'],\n\t\t];\n\n\t\tconst actual = getCopyStaticFilesOptionsByRootData(_standaloneRootData, {\n\t\t\tfile_map,\n\t\t});\n\n\t\tt.assert.strictEqual(actual.file_map, file_map);\n\t});\n});\n"]}
|
|
@@ -0,0 +1,634 @@
|
|
|
1
|
+
exports[`快照 > <ws-yarn-workspaces> 1`] = `
|
|
2
|
+
{
|
|
3
|
+
"rootData": {
|
|
4
|
+
"cwd": "<ws-yarn-workspaces>",
|
|
5
|
+
"pkg": "<ws-yarn-workspaces>",
|
|
6
|
+
"ws": "<ws-yarn-workspaces>",
|
|
7
|
+
"hasWorkspace": true,
|
|
8
|
+
"isWorkspace": true,
|
|
9
|
+
"root": "<ws-yarn-workspaces>",
|
|
10
|
+
"isRoot": true,
|
|
11
|
+
"isPkg": false
|
|
12
|
+
},
|
|
13
|
+
"options": {
|
|
14
|
+
"cwd": "<ws-yarn-workspaces>",
|
|
15
|
+
"file_map": [
|
|
16
|
+
[
|
|
17
|
+
"tsconfig.json",
|
|
18
|
+
"file/tsconfig.json.tpl"
|
|
19
|
+
],
|
|
20
|
+
[
|
|
21
|
+
"lerna.json",
|
|
22
|
+
"file/lerna.json.tpl",
|
|
23
|
+
"lerna.json"
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
"pnpm-workspace.yaml",
|
|
27
|
+
"file/pnpm-workspace.yaml"
|
|
28
|
+
],
|
|
29
|
+
[
|
|
30
|
+
".npmignore",
|
|
31
|
+
"file/npmignore"
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
".gitignore",
|
|
35
|
+
"file/gitignore"
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
".eslintignore",
|
|
39
|
+
"file/eslintignore"
|
|
40
|
+
],
|
|
41
|
+
[
|
|
42
|
+
"tsconfig.json.tpl",
|
|
43
|
+
"file/tsconfig.json.tpl"
|
|
44
|
+
],
|
|
45
|
+
[
|
|
46
|
+
"test/tsconfig.json.tpl",
|
|
47
|
+
"file/test/tsconfig.json.tpl",
|
|
48
|
+
"test/tsconfig.json"
|
|
49
|
+
],
|
|
50
|
+
[
|
|
51
|
+
"tsconfig.esm.json.tpl",
|
|
52
|
+
"file/tsconfig.esm.json.tpl",
|
|
53
|
+
"tsconfig.esm.json"
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
"tsconfig.tsdx.json.tpl",
|
|
57
|
+
"file/tsconfig.tsdx.json.tpl",
|
|
58
|
+
"tsconfig.tsdx.json"
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
".eslintrc.json.tpl",
|
|
62
|
+
"file/eslintrc.json.tpl",
|
|
63
|
+
".eslintrc.json"
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
"README.md",
|
|
67
|
+
"file/README.md"
|
|
68
|
+
],
|
|
69
|
+
[
|
|
70
|
+
".mocharc.yml.tpl",
|
|
71
|
+
"file/mocharc.yml"
|
|
72
|
+
],
|
|
73
|
+
[
|
|
74
|
+
"jest.config.js",
|
|
75
|
+
"file/jest.config.auto.js"
|
|
76
|
+
],
|
|
77
|
+
[
|
|
78
|
+
".nowignore",
|
|
79
|
+
"file/nowignore"
|
|
80
|
+
],
|
|
81
|
+
[
|
|
82
|
+
"now.json.tpl",
|
|
83
|
+
"file/now.json.tpl",
|
|
84
|
+
"now.json"
|
|
85
|
+
],
|
|
86
|
+
[
|
|
87
|
+
"tsdx.config.js.tpl",
|
|
88
|
+
"file/tsdx.config.js",
|
|
89
|
+
"tsdx.config.js"
|
|
90
|
+
],
|
|
91
|
+
[
|
|
92
|
+
"test/temp.ts",
|
|
93
|
+
"file/test/temp.ts"
|
|
94
|
+
],
|
|
95
|
+
[
|
|
96
|
+
"test/__root.ts",
|
|
97
|
+
"file/test/__root.ts"
|
|
98
|
+
],
|
|
99
|
+
[
|
|
100
|
+
"test/__root-core.cjs",
|
|
101
|
+
"file/test/__root-core.cjs"
|
|
102
|
+
],
|
|
103
|
+
[
|
|
104
|
+
"test/__root-core.mjs",
|
|
105
|
+
"file/test/__root-core.mjs"
|
|
106
|
+
],
|
|
107
|
+
[
|
|
108
|
+
"test/__root-core.d.cts",
|
|
109
|
+
"file/test/__root-core.d.cts"
|
|
110
|
+
],
|
|
111
|
+
[
|
|
112
|
+
"test/__root-core.d.mts",
|
|
113
|
+
"file/test/__root-core.d.mts"
|
|
114
|
+
],
|
|
115
|
+
[
|
|
116
|
+
"test/__root-core.d.ts",
|
|
117
|
+
"file/test/__root-core.d.ts"
|
|
118
|
+
],
|
|
119
|
+
[
|
|
120
|
+
"test/fixtures/.gitkeep",
|
|
121
|
+
"file/test/fixtures/.gitkeep"
|
|
122
|
+
],
|
|
123
|
+
[
|
|
124
|
+
"lerna.json.tpl",
|
|
125
|
+
"file/lerna.json.tpl",
|
|
126
|
+
"lerna.json"
|
|
127
|
+
],
|
|
128
|
+
[
|
|
129
|
+
"pnpm-workspace.yaml.tpl",
|
|
130
|
+
"file/pnpm-workspace.yaml"
|
|
131
|
+
],
|
|
132
|
+
[
|
|
133
|
+
".github/workflows/build-pnpm.yml",
|
|
134
|
+
"file/github/workflows/build-pnpm.yml"
|
|
135
|
+
],
|
|
136
|
+
[
|
|
137
|
+
".github/workflows/build-yarn.yml",
|
|
138
|
+
"file/github/workflows/build-yarn.yml"
|
|
139
|
+
],
|
|
140
|
+
[
|
|
141
|
+
".github/dependabot.yml",
|
|
142
|
+
"file/github/dependabot.yml"
|
|
143
|
+
],
|
|
144
|
+
[
|
|
145
|
+
".github/commit-convention.md",
|
|
146
|
+
"file/github/commit-convention.md"
|
|
147
|
+
],
|
|
148
|
+
[
|
|
149
|
+
".node-version.tpl",
|
|
150
|
+
"file/nvmrc"
|
|
151
|
+
],
|
|
152
|
+
[
|
|
153
|
+
".nvmrc.tpl",
|
|
154
|
+
"file/nvmrc"
|
|
155
|
+
],
|
|
156
|
+
[
|
|
157
|
+
".eslintrc.json",
|
|
158
|
+
"file/eslintrc.json.tpl",
|
|
159
|
+
".eslintrc.json"
|
|
160
|
+
],
|
|
161
|
+
[
|
|
162
|
+
".yarnrc.yml.tpl",
|
|
163
|
+
"file/root/yarnrc.yml",
|
|
164
|
+
".yarnrc.yml"
|
|
165
|
+
],
|
|
166
|
+
[
|
|
167
|
+
".npmrc.tpl",
|
|
168
|
+
"file/npmrc",
|
|
169
|
+
".npmrc"
|
|
170
|
+
],
|
|
171
|
+
[
|
|
172
|
+
".env.tpl",
|
|
173
|
+
"file/env"
|
|
174
|
+
],
|
|
175
|
+
[
|
|
176
|
+
"jest.config.auto.js.tpl",
|
|
177
|
+
"file/jest.config.auto.js"
|
|
178
|
+
],
|
|
179
|
+
[
|
|
180
|
+
".editorconfig.tpl",
|
|
181
|
+
"file/tpl.editorconfig"
|
|
182
|
+
],
|
|
183
|
+
[
|
|
184
|
+
".editorconfig",
|
|
185
|
+
"file/tpl.editorconfig"
|
|
186
|
+
],
|
|
187
|
+
[
|
|
188
|
+
"global.tsdx.d.ts",
|
|
189
|
+
"file/root/global.tsdx.d.ts"
|
|
190
|
+
],
|
|
191
|
+
[
|
|
192
|
+
".browserslistrc",
|
|
193
|
+
"file/ws-root/browserslistrc"
|
|
194
|
+
],
|
|
195
|
+
[
|
|
196
|
+
"lerna.json.tpl",
|
|
197
|
+
"file/lerna.json.tpl"
|
|
198
|
+
],
|
|
199
|
+
[
|
|
200
|
+
"__root_ws.ts",
|
|
201
|
+
"file/ws-root/__root_ws.ts"
|
|
202
|
+
],
|
|
203
|
+
[
|
|
204
|
+
"jest.config.js",
|
|
205
|
+
"file/ws-root/jest.config.js"
|
|
206
|
+
],
|
|
207
|
+
[
|
|
208
|
+
"jest-preset.js",
|
|
209
|
+
"file/ws-root/jest-preset.js"
|
|
210
|
+
],
|
|
211
|
+
[
|
|
212
|
+
"jest.config.js.tpl",
|
|
213
|
+
"file/ws-root/jest.config.js"
|
|
214
|
+
],
|
|
215
|
+
[
|
|
216
|
+
".run/lerna_publish_yes.run.xml",
|
|
217
|
+
"file/ws-root/.run/lerna_publish_yes.run.xml"
|
|
218
|
+
]
|
|
219
|
+
]
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
`;
|
|
223
|
+
|
|
224
|
+
exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file 1`] = `
|
|
225
|
+
{
|
|
226
|
+
"rootData": {
|
|
227
|
+
"cwd": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file",
|
|
228
|
+
"pkg": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file",
|
|
229
|
+
"ws": "<ws-yarn-workspaces>",
|
|
230
|
+
"hasWorkspace": true,
|
|
231
|
+
"isWorkspace": false,
|
|
232
|
+
"root": "<ws-yarn-workspaces>",
|
|
233
|
+
"isRoot": false,
|
|
234
|
+
"isPkg": true
|
|
235
|
+
},
|
|
236
|
+
"options": {
|
|
237
|
+
"cwd": "<ws-yarn-workspaces>",
|
|
238
|
+
"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
|
+
[
|
|
253
|
+
".npmignore",
|
|
254
|
+
"file/npmignore"
|
|
255
|
+
],
|
|
256
|
+
[
|
|
257
|
+
".gitignore",
|
|
258
|
+
"file/gitignore"
|
|
259
|
+
],
|
|
260
|
+
[
|
|
261
|
+
".eslintignore",
|
|
262
|
+
"file/eslintignore"
|
|
263
|
+
],
|
|
264
|
+
[
|
|
265
|
+
"tsconfig.json.tpl",
|
|
266
|
+
"file/tsconfig.json.tpl"
|
|
267
|
+
],
|
|
268
|
+
[
|
|
269
|
+
"test/tsconfig.json.tpl",
|
|
270
|
+
"file/test/tsconfig.json.tpl",
|
|
271
|
+
"test/tsconfig.json"
|
|
272
|
+
],
|
|
273
|
+
[
|
|
274
|
+
"tsconfig.esm.json.tpl",
|
|
275
|
+
"file/tsconfig.esm.json.tpl",
|
|
276
|
+
"tsconfig.esm.json"
|
|
277
|
+
],
|
|
278
|
+
[
|
|
279
|
+
"tsconfig.tsdx.json.tpl",
|
|
280
|
+
"file/tsconfig.tsdx.json.tpl",
|
|
281
|
+
"tsconfig.tsdx.json"
|
|
282
|
+
],
|
|
283
|
+
[
|
|
284
|
+
".eslintrc.json.tpl",
|
|
285
|
+
"file/eslintrc.json.tpl",
|
|
286
|
+
".eslintrc.json"
|
|
287
|
+
],
|
|
288
|
+
[
|
|
289
|
+
"README.md",
|
|
290
|
+
"file/README.md"
|
|
291
|
+
],
|
|
292
|
+
[
|
|
293
|
+
".mocharc.yml.tpl",
|
|
294
|
+
"file/mocharc.yml"
|
|
295
|
+
],
|
|
296
|
+
[
|
|
297
|
+
"jest.config.js",
|
|
298
|
+
"file/jest.config.auto.js"
|
|
299
|
+
],
|
|
300
|
+
[
|
|
301
|
+
".nowignore",
|
|
302
|
+
"file/nowignore"
|
|
303
|
+
],
|
|
304
|
+
[
|
|
305
|
+
"now.json.tpl",
|
|
306
|
+
"file/now.json.tpl",
|
|
307
|
+
"now.json"
|
|
308
|
+
],
|
|
309
|
+
[
|
|
310
|
+
"tsdx.config.js.tpl",
|
|
311
|
+
"file/tsdx.config.js",
|
|
312
|
+
"tsdx.config.js"
|
|
313
|
+
],
|
|
314
|
+
[
|
|
315
|
+
"test/temp.ts",
|
|
316
|
+
"file/test/temp.ts"
|
|
317
|
+
],
|
|
318
|
+
[
|
|
319
|
+
"test/__root.ts",
|
|
320
|
+
"file/test/__root.ts"
|
|
321
|
+
],
|
|
322
|
+
[
|
|
323
|
+
"test/__root-core.cjs",
|
|
324
|
+
"file/test/__root-core.cjs"
|
|
325
|
+
],
|
|
326
|
+
[
|
|
327
|
+
"test/__root-core.mjs",
|
|
328
|
+
"file/test/__root-core.mjs"
|
|
329
|
+
],
|
|
330
|
+
[
|
|
331
|
+
"test/__root-core.d.cts",
|
|
332
|
+
"file/test/__root-core.d.cts"
|
|
333
|
+
],
|
|
334
|
+
[
|
|
335
|
+
"test/__root-core.d.mts",
|
|
336
|
+
"file/test/__root-core.d.mts"
|
|
337
|
+
],
|
|
338
|
+
[
|
|
339
|
+
"test/__root-core.d.ts",
|
|
340
|
+
"file/test/__root-core.d.ts"
|
|
341
|
+
],
|
|
342
|
+
[
|
|
343
|
+
"test/fixtures/.gitkeep",
|
|
344
|
+
"file/test/fixtures/.gitkeep"
|
|
345
|
+
],
|
|
346
|
+
[
|
|
347
|
+
"lerna.json.tpl",
|
|
348
|
+
"file/lerna.json.tpl",
|
|
349
|
+
"lerna.json"
|
|
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"
|
|
441
|
+
]
|
|
442
|
+
]
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
`;
|
|
446
|
+
|
|
447
|
+
exports[`快照 > <ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg 1`] = `
|
|
448
|
+
{
|
|
449
|
+
"rootData": {
|
|
450
|
+
"cwd": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg",
|
|
451
|
+
"pkg": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg",
|
|
452
|
+
"hasWorkspace": false,
|
|
453
|
+
"isWorkspace": false,
|
|
454
|
+
"root": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg",
|
|
455
|
+
"isRoot": true,
|
|
456
|
+
"isPkg": true
|
|
457
|
+
},
|
|
458
|
+
"options": {
|
|
459
|
+
"cwd": "<ws-yarn-workspaces>/packages/@yarn-tool/static-file/test/fixtures/empty-pkg",
|
|
460
|
+
"file_map": [
|
|
461
|
+
[
|
|
462
|
+
".npmignore",
|
|
463
|
+
"file/npmignore"
|
|
464
|
+
],
|
|
465
|
+
[
|
|
466
|
+
".gitignore",
|
|
467
|
+
"file/gitignore"
|
|
468
|
+
],
|
|
469
|
+
[
|
|
470
|
+
".eslintignore",
|
|
471
|
+
"file/eslintignore"
|
|
472
|
+
],
|
|
473
|
+
[
|
|
474
|
+
"tsconfig.json",
|
|
475
|
+
"file/tsconfig.json.tpl"
|
|
476
|
+
],
|
|
477
|
+
[
|
|
478
|
+
"tsconfig.json.tpl",
|
|
479
|
+
"file/tsconfig.json.tpl"
|
|
480
|
+
],
|
|
481
|
+
[
|
|
482
|
+
"test/tsconfig.json.tpl",
|
|
483
|
+
"file/test/tsconfig.json.tpl",
|
|
484
|
+
"test/tsconfig.json"
|
|
485
|
+
],
|
|
486
|
+
[
|
|
487
|
+
"tsconfig.esm.json.tpl",
|
|
488
|
+
"file/tsconfig.esm.json.tpl",
|
|
489
|
+
"tsconfig.esm.json"
|
|
490
|
+
],
|
|
491
|
+
[
|
|
492
|
+
"tsconfig.tsdx.json.tpl",
|
|
493
|
+
"file/tsconfig.tsdx.json.tpl",
|
|
494
|
+
"tsconfig.tsdx.json"
|
|
495
|
+
],
|
|
496
|
+
[
|
|
497
|
+
".eslintrc.json.tpl",
|
|
498
|
+
"file/eslintrc.json.tpl",
|
|
499
|
+
".eslintrc.json"
|
|
500
|
+
],
|
|
501
|
+
[
|
|
502
|
+
"README.md",
|
|
503
|
+
"file/README.md"
|
|
504
|
+
],
|
|
505
|
+
[
|
|
506
|
+
".mocharc.yml.tpl",
|
|
507
|
+
"file/mocharc.yml"
|
|
508
|
+
],
|
|
509
|
+
[
|
|
510
|
+
"jest.config.js",
|
|
511
|
+
"file/jest.config.auto.js"
|
|
512
|
+
],
|
|
513
|
+
[
|
|
514
|
+
".nowignore",
|
|
515
|
+
"file/nowignore"
|
|
516
|
+
],
|
|
517
|
+
[
|
|
518
|
+
"now.json.tpl",
|
|
519
|
+
"file/now.json.tpl",
|
|
520
|
+
"now.json"
|
|
521
|
+
],
|
|
522
|
+
[
|
|
523
|
+
"tsdx.config.js.tpl",
|
|
524
|
+
"file/tsdx.config.js",
|
|
525
|
+
"tsdx.config.js"
|
|
526
|
+
],
|
|
527
|
+
[
|
|
528
|
+
"test/temp.ts",
|
|
529
|
+
"file/test/temp.ts"
|
|
530
|
+
],
|
|
531
|
+
[
|
|
532
|
+
"test/__root.ts",
|
|
533
|
+
"file/test/__root.ts"
|
|
534
|
+
],
|
|
535
|
+
[
|
|
536
|
+
"test/__root-core.cjs",
|
|
537
|
+
"file/test/__root-core.cjs"
|
|
538
|
+
],
|
|
539
|
+
[
|
|
540
|
+
"test/__root-core.mjs",
|
|
541
|
+
"file/test/__root-core.mjs"
|
|
542
|
+
],
|
|
543
|
+
[
|
|
544
|
+
"test/__root-core.d.cts",
|
|
545
|
+
"file/test/__root-core.d.cts"
|
|
546
|
+
],
|
|
547
|
+
[
|
|
548
|
+
"test/__root-core.d.mts",
|
|
549
|
+
"file/test/__root-core.d.mts"
|
|
550
|
+
],
|
|
551
|
+
[
|
|
552
|
+
"test/__root-core.d.ts",
|
|
553
|
+
"file/test/__root-core.d.ts"
|
|
554
|
+
],
|
|
555
|
+
[
|
|
556
|
+
"test/fixtures/.gitkeep",
|
|
557
|
+
"file/test/fixtures/.gitkeep"
|
|
558
|
+
],
|
|
559
|
+
[
|
|
560
|
+
"lerna.json.tpl",
|
|
561
|
+
"file/lerna.json.tpl",
|
|
562
|
+
"lerna.json"
|
|
563
|
+
],
|
|
564
|
+
[
|
|
565
|
+
"pnpm-workspace.yaml.tpl",
|
|
566
|
+
"file/pnpm-workspace.yaml"
|
|
567
|
+
],
|
|
568
|
+
[
|
|
569
|
+
".github/workflows/build-pnpm.yml",
|
|
570
|
+
"file/github/workflows/build-pnpm.yml"
|
|
571
|
+
],
|
|
572
|
+
[
|
|
573
|
+
".github/workflows/build-yarn.yml",
|
|
574
|
+
"file/github/workflows/build-yarn.yml"
|
|
575
|
+
],
|
|
576
|
+
[
|
|
577
|
+
".github/dependabot.yml",
|
|
578
|
+
"file/github/dependabot.yml"
|
|
579
|
+
],
|
|
580
|
+
[
|
|
581
|
+
".github/commit-convention.md",
|
|
582
|
+
"file/github/commit-convention.md"
|
|
583
|
+
],
|
|
584
|
+
[
|
|
585
|
+
".node-version.tpl",
|
|
586
|
+
"file/nvmrc"
|
|
587
|
+
],
|
|
588
|
+
[
|
|
589
|
+
".nvmrc.tpl",
|
|
590
|
+
"file/nvmrc"
|
|
591
|
+
],
|
|
592
|
+
[
|
|
593
|
+
".eslintrc.json",
|
|
594
|
+
"file/eslintrc.json.tpl",
|
|
595
|
+
".eslintrc.json"
|
|
596
|
+
],
|
|
597
|
+
[
|
|
598
|
+
".yarnrc.yml.tpl",
|
|
599
|
+
"file/root/yarnrc.yml",
|
|
600
|
+
".yarnrc.yml"
|
|
601
|
+
],
|
|
602
|
+
[
|
|
603
|
+
".npmrc.tpl",
|
|
604
|
+
"file/npmrc",
|
|
605
|
+
".npmrc"
|
|
606
|
+
],
|
|
607
|
+
[
|
|
608
|
+
".env.tpl",
|
|
609
|
+
"file/env"
|
|
610
|
+
],
|
|
611
|
+
[
|
|
612
|
+
"jest.config.auto.js.tpl",
|
|
613
|
+
"file/jest.config.auto.js"
|
|
614
|
+
],
|
|
615
|
+
[
|
|
616
|
+
".editorconfig.tpl",
|
|
617
|
+
"file/tpl.editorconfig"
|
|
618
|
+
],
|
|
619
|
+
[
|
|
620
|
+
".editorconfig",
|
|
621
|
+
"file/tpl.editorconfig"
|
|
622
|
+
],
|
|
623
|
+
[
|
|
624
|
+
"global.tsdx.d.ts",
|
|
625
|
+
"file/root/global.tsdx.d.ts"
|
|
626
|
+
],
|
|
627
|
+
[
|
|
628
|
+
".browserslistrc",
|
|
629
|
+
"file/ws-root/browserslistrc"
|
|
630
|
+
]
|
|
631
|
+
]
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
`;
|