You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exports[`parseExports({type: 'commonjs', legacyExports: false}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "main" field 1`] =`
22
-
[Error:
23
-
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
24
-
- "exports": {
25
-
-".": {
26
-
- "source": "./src/index.js",
27
-
- "default": "./dist/index.js"
28
-
- },
29
-
-"./package.json": "./package.json"
30
-
-}]
31
-
`;
32
-
33
21
exports[`parseExports({type: 'commonjs', legacyExports: false}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "source" field either 1`] =`
34
22
[Error:
35
23
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
exports[`parseExports({type: 'commonjs', legacyExports: true}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "main" field 1`] =`
166
-
[Error:
167
-
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
168
-
- "exports": {
169
-
-".": {
170
-
- "source": "./src/index.js",
171
-
- "default": "./dist/index.js"
172
-
- },
173
-
-"./package.json": "./package.json"
174
-
-}]
175
-
`;
176
-
177
153
exports[`parseExports({type: 'commonjs', legacyExports: true}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "source" field either 1`] =`
178
154
[Error:
179
155
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
exports[`parseExports({type: 'module', legacyExports: false}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "main" field 1`] =`
246
-
[Error:
247
-
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
248
-
- "exports": {
249
-
-".": {
250
-
- "source": "./src/index.js",
251
-
- "default": "./dist/index.js"
252
-
- },
253
-
-"./package.json": "./package.json"
254
-
-}]
255
-
`;
256
-
257
221
exports[`parseExports({type: 'module', legacyExports: false}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "source" field either 1`] =`
258
222
[Error:
259
223
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
exports[`parseExports({type: 'module', legacyExports: true}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "main" field 1`] =`
388
-
[Error:
389
-
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
390
-
- "exports": {
391
-
-".": {
392
-
- "source": "./src/index.js",
393
-
- "default": "./dist/index.js"
394
-
- },
395
-
-"./package.json": "./package.json"
396
-
-}]
397
-
`;
398
-
399
351
exports[`parseExports({type: 'module', legacyExports: true}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "source" field either 1`] =`
400
352
[Error:
401
353
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
exports[`parseExports({type: undefined, legacyExports: false}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "main" field 1`] =`
468
-
[Error:
469
-
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
470
-
- "exports": {
471
-
-".": {
472
-
- "source": "./src/index.js",
473
-
- "default": "./dist/index.js"
474
-
- },
475
-
-"./package.json": "./package.json"
476
-
-}]
477
-
`;
478
-
479
419
exports[`parseExports({type: undefined, legacyExports: false}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "source" field either 1`] =`
480
420
[Error:
481
421
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
exports[`parseExports({type: undefined, legacyExports: true}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "main" field 1`] =`
612
-
[Error:
613
-
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
614
-
- "exports": {
615
-
-".": {
616
-
- "source": "./src/index.js",
617
-
- "default": "./dist/index.js"
618
-
- },
619
-
-"./package.json": "./package.json"
620
-
-}]
621
-
`;
622
-
623
551
exports[`parseExports({type: undefined, legacyExports: true}) > invalid packages > the "exports" key is required > shows a best effort message if there is no "source" field either 1`] =`
624
552
[Error:
625
553
- package.json: \`exports\` are missing, please set a minimal configuration, for example:
0 commit comments