chromatic 13.4.0--canary.1210.18104734621.0 → 13.4.0--canary.1229.21459341398.0
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/dist/bin.js +1 -1
- package/dist/{chunk-2MFYFCP4.js → chunk-BWPVAQ5S.js} +475 -463
- package/dist/chunk-F6FLWRPJ.js +136 -0
- package/dist/{chunk-KUAPNSKE.js → chunk-HZVCNUTP.js} +221 -220
- package/dist/{chunk-2E7ZWKIX.js → chunk-LAQIPRAO.js} +7 -7
- package/dist/{init-DEMEYMHG.js → init-JJJLN4S2.js} +66 -66
- package/dist/{main-DEW3BJCF.js → main-ARHUTSGW.js} +6 -6
- package/dist/node.d.ts +9 -0
- package/dist/node.js +9 -9
- package/dist/{trace-WOW2H3YQ.js → trace-WZCOPXHB.js} +5 -5
- package/package.json +2 -2
- package/dist/chunk-6IZZOM5T.js +0 -98
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f56fa8ed-7262-573b-a824-3b422f9b774e")}catch(e){}}();
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkBWPVAQ5S_js = require('./chunk-BWPVAQ5S.js');
|
|
6
|
+
require('./chunk-LAQIPRAO.js');
|
|
7
7
|
require('./chunk-O2POOKSN.js');
|
|
8
8
|
require('./chunk-IM5VGDJQ.js');
|
|
9
9
|
require('./chunk-LTE3MQL2.js');
|
|
10
|
-
require('./chunk-
|
|
11
|
-
var
|
|
10
|
+
require('./chunk-HZVCNUTP.js');
|
|
11
|
+
var chunkF6FLWRPJ_js = require('./chunk-F6FLWRPJ.js');
|
|
12
12
|
require('./chunk-LZXDNZPW.js');
|
|
13
13
|
require('./chunk-TKGT252T.js');
|
|
14
14
|
|
|
15
|
-
function f(e){var s;if(e.message&&(e.message=
|
|
15
|
+
function f(e){var s;if(e.message&&(e.message=chunkF6FLWRPJ_js.a(e.message)),(s=e.exception)!=null&&s.values)for(let[p,n]of e.exception.values.entries())n.value&&(e.exception.values[p].value=chunkF6FLWRPJ_js.a(n.value));return e}function l(e){if(e.category==="console"){if(e.message==="")return null;e.message&&(e.message=chunkF6FLWRPJ_js.a(e.message));}return e}chunkBWPVAQ5S_js.c({dsn:"https://4fa173db2ef3fb073b8ea153a5466d28@o4504181686599680.ingest.us.sentry.io/4507930289373184",release:"13.4.0--canary.1229.21459341398.0",dist:"cli",sampleRate:1,environment:"production",enabled:process.env.DISABLE_ERROR_MONITORING!=="true"&&!0,enableTracing:!1,integrations:[],initialScope:{tags:{version:process.env.npm_package_version,index_url:process.env.CHROMATIC_INDEX_URL}},beforeSend:f,beforeBreadcrumb:l});async function g(e){try{let{code:s}=await chunkBWPVAQ5S_js.e({argv:e});process.exitCode=s;}catch(s){chunkBWPVAQ5S_js.a(s);}finally{await chunkBWPVAQ5S_js.b(2500),process.exit();}}
|
|
16
16
|
|
|
17
17
|
exports.main = g;
|
|
18
18
|
//# sourceMappingURL=out.js.map
|
|
19
|
-
//# sourceMappingURL=main-
|
|
19
|
+
//# sourceMappingURL=main-ARHUTSGW.js.map
|
|
20
20
|
//# debugId=f56fa8ed-7262-573b-a824-3b422f9b774e
|
package/dist/node.d.ts
CHANGED
|
@@ -1301,6 +1301,8 @@ interface Logger {
|
|
|
1301
1301
|
debug: LogFunction;
|
|
1302
1302
|
queue: () => void;
|
|
1303
1303
|
flush: () => void;
|
|
1304
|
+
pause: () => void;
|
|
1305
|
+
resume: () => void;
|
|
1304
1306
|
getLevel: () => keyof typeof LOG_LEVELS;
|
|
1305
1307
|
setLevel: (value: keyof typeof LOG_LEVELS) => void;
|
|
1306
1308
|
setInteractive: (value: boolean) => void;
|
|
@@ -1472,6 +1474,7 @@ interface Context {
|
|
|
1472
1474
|
reportPath?: string;
|
|
1473
1475
|
isPublishOnly?: boolean;
|
|
1474
1476
|
isOnboarding: boolean;
|
|
1477
|
+
isReactNativeApp?: boolean;
|
|
1475
1478
|
turboSnapAvailability?: string;
|
|
1476
1479
|
http: HTTPClient;
|
|
1477
1480
|
client: GraphQLClient;
|
|
@@ -1532,6 +1535,11 @@ interface Context {
|
|
|
1532
1535
|
status: string;
|
|
1533
1536
|
autoAcceptChanges: boolean;
|
|
1534
1537
|
reportToken: string;
|
|
1538
|
+
features?: {
|
|
1539
|
+
uiTests: boolean;
|
|
1540
|
+
uiReview: boolean;
|
|
1541
|
+
isReactNativeApp: boolean;
|
|
1542
|
+
};
|
|
1535
1543
|
app: {
|
|
1536
1544
|
id: string;
|
|
1537
1545
|
turboSnapAvailability: string;
|
|
@@ -1575,6 +1583,7 @@ interface Context {
|
|
|
1575
1583
|
features?: {
|
|
1576
1584
|
uiTests: boolean;
|
|
1577
1585
|
uiReview: boolean;
|
|
1586
|
+
isReactNativeApp: boolean;
|
|
1578
1587
|
};
|
|
1579
1588
|
tests?: {
|
|
1580
1589
|
spec: {
|
package/dist/node.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0cf6a3a5-e29f-509e-b640-db78f38007ea")}catch(e){}}();
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkBWPVAQ5S_js = require('./chunk-BWPVAQ5S.js');
|
|
6
|
+
require('./chunk-LAQIPRAO.js');
|
|
7
7
|
require('./chunk-O2POOKSN.js');
|
|
8
8
|
require('./chunk-IM5VGDJQ.js');
|
|
9
9
|
require('./chunk-LTE3MQL2.js');
|
|
10
|
-
var
|
|
11
|
-
require('./chunk-
|
|
10
|
+
var chunkHZVCNUTP_js = require('./chunk-HZVCNUTP.js');
|
|
11
|
+
require('./chunk-F6FLWRPJ.js');
|
|
12
12
|
require('./chunk-LZXDNZPW.js');
|
|
13
13
|
require('./chunk-TKGT252T.js');
|
|
14
14
|
|
|
@@ -16,23 +16,23 @@ require('./chunk-TKGT252T.js');
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, 'getConfiguration', {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkBWPVAQ5S_js.d; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, 'getGitInfo', {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkBWPVAQ5S_js.g; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, 'run', {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkBWPVAQ5S_js.e; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, 'runAll', {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkBWPVAQ5S_js.f; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, 'createLogger', {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkHZVCNUTP_js.E; }
|
|
36
36
|
});
|
|
37
37
|
//# sourceMappingURL=out.js.map
|
|
38
38
|
//# sourceMappingURL=node.js.map
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="abdb8baf-b3c5-5301-8ac4-55ed1f07e970")}catch(e){}}();
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunkHZVCNUTP_js = require('./chunk-HZVCNUTP.js');
|
|
6
|
+
var chunkF6FLWRPJ_js = require('./chunk-F6FLWRPJ.js');
|
|
7
7
|
var chunkLZXDNZPW_js = require('./chunk-LZXDNZPW.js');
|
|
8
8
|
var chunkTKGT252T_js = require('./chunk-TKGT252T.js');
|
|
9
9
|
|
|
10
|
-
var c=chunkTKGT252T_js.e(
|
|
10
|
+
var c=chunkTKGT252T_js.e(chunkF6FLWRPJ_js.z());var{STORYBOOK_BASE_DIR:u,STORYBOOK_CONFIG_DIR:h,WEBPACK_STATS_FILE:k}=process.env;async function B(d){let{flags:t,input:p}=(0, c.default)(`
|
|
11
11
|
Usage
|
|
12
12
|
$ chromatic trace [-b|--base-dir] [-c|--config-dir] [-s|--stats-file] [-u|--untraced] [-m|--mode] [<changed files>...]
|
|
13
13
|
|
|
@@ -18,9 +18,9 @@ var c=chunkTKGT252T_js.e(chunk6IZZOM5T_js.D());var{STORYBOOK_BASE_DIR:u,STORYBOO
|
|
|
18
18
|
--storybook-config-dir, -c <dirname> Directory where to load Storybook configurations from. Alternatively, set STORYBOOK_CONFIG_DIR. (default: '.storybook')
|
|
19
19
|
--untraced, -u <filepath> Disregard these files and their dependencies. Globs are supported via picomatch. This flag can be specified multiple times.
|
|
20
20
|
--mode, -m <mode> Set to 'expanded' to reveal the underlying list of files for each bundle, or set to 'compact' to only show a flat list of affected story files.
|
|
21
|
-
`,{argv:d,description:"Trace utility for TurboSnap",flags:{statsFile:{type:"string",alias:"s",default:k||"storybook-static/preview-stats.json"},storybookBaseDir:{type:"string",alias:"b",default:u||"."},storybookConfigDir:{type:"string",alias:"c",default:h||".storybook"},untraced:{type:"string",alias:"u",isMultiple:!0},mode:{type:"string",alias:"m"}}}),e=
|
|
21
|
+
`,{argv:d,description:"Trace utility for TurboSnap",flags:{statsFile:{type:"string",alias:"s",default:k||"storybook-static/preview-stats.json"},storybookBaseDir:{type:"string",alias:"b",default:u||"."},storybookConfigDir:{type:"string",alias:"c",default:h||".storybook"},untraced:{type:"string",alias:"u",isMultiple:!0},mode:{type:"string",alias:"m"}}}),e=chunkHZVCNUTP_js.E({},{logPrefix:"",logLevel:"info"}),y={log:e,options:{storybookBaseDir:t.storybookBaseDir,storybookConfigDir:t.storybookConfigDir,untraced:t.untraced,traceChanged:t.mode||!0},git:{rootPath:await chunkHZVCNUTP_js.x({log:e})},storybook:{baseDir:t.storybookBaseDir,configDir:t.storybookConfigDir}},g=await chunkLZXDNZPW_js.a(t.statsFile),i=p.map(o=>o.replace(/^\.\//,"")),r=i.find(o=>chunkHZVCNUTP_js.$(o));if(r)throw new Error(`Unable to trace package manifest file (${r}) as that would require diffing file contents.`);await chunkHZVCNUTP_js.ha(y,g,t.statsFile,i);}
|
|
22
22
|
|
|
23
23
|
exports.main = B;
|
|
24
24
|
//# sourceMappingURL=out.js.map
|
|
25
|
-
//# sourceMappingURL=trace-
|
|
25
|
+
//# sourceMappingURL=trace-WZCOPXHB.js.map
|
|
26
26
|
//# debugId=abdb8baf-b3c5-5301-8ac4-55ed1f07e970
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chromatic",
|
|
3
|
-
"version": "13.4.0--canary.
|
|
3
|
+
"version": "13.4.0--canary.1229.21459341398.0",
|
|
4
4
|
"description": "Automate visual testing across browsers. Gather UI feedback. Versioned documentation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook-addon",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"eslint-plugin-sort-class-members": "^1.20.0",
|
|
131
131
|
"eslint-plugin-unicorn": "^53.0.0",
|
|
132
132
|
"esm": "^3.2.25",
|
|
133
|
-
"execa": "^
|
|
133
|
+
"execa": "^9.6.0",
|
|
134
134
|
"fake-tag": "^2.0.0",
|
|
135
135
|
"filesize": "^10.1.0",
|
|
136
136
|
"find-up": "^7.0.0",
|