@storybook/cli 11.0.0-alpha.1 → 11.0.0-alpha.3
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/_node-chunks/{block-create-react-app-5WUURBEP.js → block-create-react-app-NIM5OOA3.js} +8 -8
- package/dist/_node-chunks/{block-dependencies-versions-6RWASWRE.js → block-dependencies-versions-JPEPIUKB.js} +26 -12
- package/dist/_node-chunks/{block-experimental-addon-test-PM6V5OKU.js → block-experimental-addon-test-WOWVN4IX.js} +9 -9
- package/dist/_node-chunks/{block-major-version-6LSQ7CKE.js → block-major-version-K75BAQWK.js} +9 -9
- package/dist/_node-chunks/{block-node-version-KVUWT5EX.js → block-node-version-E4VDUXTX.js} +9 -14
- package/dist/_node-chunks/block-react-legacy-root-api-XK44TU4N.js +46 -0
- package/dist/_node-chunks/{block-webpack5-frameworks-LACV2DMG.js → block-webpack5-frameworks-CQYV65P6.js} +11 -11
- package/dist/_node-chunks/{chunk-PCYXDPOV.js → chunk-6WU77S4B.js} +6 -6
- package/dist/_node-chunks/{chunk-5FE4RXTH.js → chunk-FFWBHZJ6.js} +7 -7
- package/dist/_node-chunks/{chunk-DM3PGJRR.js → chunk-HOYDQ5IU.js} +19 -19
- package/dist/_node-chunks/{chunk-WWSCNCVC.js → chunk-NJQOZHY3.js} +43 -100
- package/dist/_node-chunks/chunk-UALBUS5N.js +11 -0
- package/dist/_node-chunks/{globby-VVAL6B6G.js → globby-DYUJOAEX.js} +8 -8
- package/dist/_node-chunks/{p-limit-ZIP5AIWC.js → p-limit-N6WTORTF.js} +7 -7
- package/dist/_node-chunks/{run-VM6QRHCE.js → run-WECKVOPU.js} +3695 -4110
- package/dist/bin/index.js +8 -9
- package/package.json +4 -4
- package/dist/_node-chunks/chunk-CO2XYM3R.js +0 -11
package/dist/_node-chunks/{block-create-react-app-5WUURBEP.js → block-create-react-app-NIM5OOA3.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ft71o55xt7f from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ft71o55xt7f from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ft71o55xt7f from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ft71o55xt7f.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ft71o55xt7f.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ft71o55xt7f.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-UALBUS5N.js";
|
|
13
|
+
import "./chunk-6WU77S4B.js";
|
|
14
14
|
|
|
15
15
|
// src/autoblock/block-create-react-app.ts
|
|
16
16
|
import { dedent } from "ts-dedent";
|
|
@@ -1,28 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ft71o55xt7f from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ft71o55xt7f from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ft71o55xt7f from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ft71o55xt7f.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ft71o55xt7f.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ft71o55xt7f.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
findOutdatedPackage
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-NJQOZHY3.js";
|
|
15
|
+
import "./chunk-HOYDQ5IU.js";
|
|
16
|
+
import "./chunk-FFWBHZJ6.js";
|
|
17
|
+
import "./chunk-UALBUS5N.js";
|
|
18
|
+
import "./chunk-6WU77S4B.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-dependencies-versions.ts
|
|
21
21
|
import { dedent } from "ts-dedent";
|
|
22
22
|
var minimalVersionsMap = {
|
|
23
23
|
"@angular/core": "21.0.0",
|
|
24
24
|
next: "15.0.0",
|
|
25
|
-
preact: "10.
|
|
25
|
+
preact: "10.8.0",
|
|
26
|
+
react: "18.0.0",
|
|
27
|
+
"react-dom": "18.0.0",
|
|
26
28
|
svelte: "5.0.0",
|
|
27
29
|
vue: "3.0.0",
|
|
28
30
|
vite: "5.0.0"
|
|
@@ -34,6 +36,8 @@ var minimalVersionsMap = {
|
|
|
34
36
|
let outdated = await findOutdatedPackage(minimalVersionsMap, {
|
|
35
37
|
packageManager
|
|
36
38
|
});
|
|
39
|
+
if (outdated && (outdated.packageName === "react" || outdated.packageName === "react-dom") && outdated.installedVersion?.startsWith("0.0.0"))
|
|
40
|
+
return !1;
|
|
37
41
|
if (outdated !== !1)
|
|
38
42
|
return outdated;
|
|
39
43
|
try {
|
|
@@ -79,6 +83,16 @@ var minimalVersionsMap = {
|
|
|
79
83
|
`,
|
|
80
84
|
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#vitest-addon-requires-vitest-40-or-higher"
|
|
81
85
|
};
|
|
86
|
+
case "react":
|
|
87
|
+
case "react-dom":
|
|
88
|
+
return {
|
|
89
|
+
title: "React 18 or newer required",
|
|
90
|
+
message: dedent`
|
|
91
|
+
Support for React < 18 has been removed.
|
|
92
|
+
Please see the migration guide for more information:
|
|
93
|
+
`,
|
|
94
|
+
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#react-require-v18-and-up"
|
|
95
|
+
};
|
|
82
96
|
default:
|
|
83
97
|
return {
|
|
84
98
|
title: `${data.packageName} version < ${data.minimumVersion} support removed`,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ft71o55xt7f from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ft71o55xt7f from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ft71o55xt7f from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ft71o55xt7f.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ft71o55xt7f.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ft71o55xt7f.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_semver
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-FFWBHZJ6.js";
|
|
15
|
+
import "./chunk-UALBUS5N.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6WU77S4B.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-experimental-addon-test.ts
|
|
21
21
|
var import_semver = __toESM(require_semver(), 1);
|
package/dist/_node-chunks/{block-major-version-6LSQ7CKE.js → block-major-version-K75BAQWK.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ft71o55xt7f from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ft71o55xt7f from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ft71o55xt7f from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ft71o55xt7f.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ft71o55xt7f.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ft71o55xt7f.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_semver
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-FFWBHZJ6.js";
|
|
15
|
+
import "./chunk-UALBUS5N.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6WU77S4B.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-major-version.ts
|
|
21
21
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ft71o55xt7f from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ft71o55xt7f from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ft71o55xt7f from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ft71o55xt7f.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ft71o55xt7f.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ft71o55xt7f.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-UALBUS5N.js";
|
|
13
|
+
import "./chunk-6WU77S4B.js";
|
|
14
14
|
|
|
15
15
|
// src/autoblock/block-node-version.ts
|
|
16
16
|
import { MIN_SUPPORTED_NODE_DESCRIPTION, isNodeVersionSupported } from "storybook/internal/common";
|
|
@@ -18,12 +18,7 @@ var blocker = {
|
|
|
18
18
|
id: "minimumNode22",
|
|
19
19
|
async check() {
|
|
20
20
|
let nodeVersion = process.versions.node;
|
|
21
|
-
|
|
22
|
-
let [major, minor, patch] = nodeVersion.split(".").map(Number);
|
|
23
|
-
if (!isNodeVersionSupported(major, minor, patch))
|
|
24
|
-
return { nodeVersion };
|
|
25
|
-
}
|
|
26
|
-
return !1;
|
|
21
|
+
return nodeVersion && !isNodeVersionSupported(nodeVersion) ? { nodeVersion } : !1;
|
|
27
22
|
},
|
|
28
23
|
log(data) {
|
|
29
24
|
return {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ft71o55xt7f from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ft71o55xt7f from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ft71o55xt7f from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ft71o55xt7f.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ft71o55xt7f.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ft71o55xt7f.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import "./chunk-UALBUS5N.js";
|
|
13
|
+
import "./chunk-6WU77S4B.js";
|
|
14
|
+
|
|
15
|
+
// src/autoblock/block-react-legacy-root-api.ts
|
|
16
|
+
import { dedent } from "ts-dedent";
|
|
17
|
+
var blocker = {
|
|
18
|
+
id: "reactLegacyRootApi",
|
|
19
|
+
async check({ mainConfig }) {
|
|
20
|
+
let framework = mainConfig.framework;
|
|
21
|
+
return typeof framework != "object" || framework === null ? !1 : "legacyRootApi" in (framework.options ?? {});
|
|
22
|
+
},
|
|
23
|
+
log() {
|
|
24
|
+
return {
|
|
25
|
+
title: "React legacy root API removed",
|
|
26
|
+
message: dedent`
|
|
27
|
+
Your Storybook config sets the \`framework.options.legacyRootApi\` option, which no longer exists.
|
|
28
|
+
|
|
29
|
+
Storybook now always renders through React's new root API (\`react-dom/client\`), introduced in
|
|
30
|
+
React 18 and required by React 19. Remove \`legacyRootApi\` from your \`.storybook/main.*\`
|
|
31
|
+
framework options, whether it is set to \`true\` or \`false\`.
|
|
32
|
+
|
|
33
|
+
If you set it to \`true\` to defer a React 18 migration, migrate your application code to the
|
|
34
|
+
new root API before upgrading, and verify your stories still render as expected:
|
|
35
|
+
https://react.dev/blog/2022/03/08/react-18-upgrade-guide
|
|
36
|
+
|
|
37
|
+
This is a manual migration. Storybook cannot remove the option for you, because it cannot
|
|
38
|
+
verify that your components behave correctly under the new root API.
|
|
39
|
+
`,
|
|
40
|
+
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#react-require-v18-and-up"
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
blocker
|
|
46
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ft71o55xt7f from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ft71o55xt7f from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ft71o55xt7f from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ft71o55xt7f.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ft71o55xt7f.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ft71o55xt7f.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
findOutdatedPackage
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-NJQOZHY3.js";
|
|
15
|
+
import "./chunk-HOYDQ5IU.js";
|
|
16
|
+
import "./chunk-FFWBHZJ6.js";
|
|
17
|
+
import "./chunk-UALBUS5N.js";
|
|
18
|
+
import "./chunk-6WU77S4B.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-webpack5-frameworks.ts
|
|
21
21
|
var minimalVersionsMap = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ft71o55xt7f from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ft71o55xt7f from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ft71o55xt7f from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ft71o55xt7f.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ft71o55xt7f.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ft71o55xt7f.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ft71o55xt7f from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ft71o55xt7f from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ft71o55xt7f from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ft71o55xt7f.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ft71o55xt7f.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ft71o55xt7f.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6WU77S4B.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/semver/internal/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ft71o55xt7f from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ft71o55xt7f from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ft71o55xt7f from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ft71o55xt7f.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ft71o55xt7f.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ft71o55xt7f.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6WU77S4B.js";
|
|
17
17
|
|
|
18
18
|
// ../../../node_modules/fast-glob/out/utils/array.js
|
|
19
19
|
var require_array = __commonJS({
|
|
@@ -869,9 +869,9 @@ var require_braces = __commonJS({
|
|
|
869
869
|
}
|
|
870
870
|
});
|
|
871
871
|
|
|
872
|
-
// ../../../node_modules/picomatch/lib/constants.js
|
|
872
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/lib/constants.js
|
|
873
873
|
var require_constants2 = __commonJS({
|
|
874
|
-
"../../../node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
874
|
+
"../../../node_modules/micromatch/node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
875
875
|
"use strict";
|
|
876
876
|
var path2 = __require("path"), WIN_SLASH = "\\\\/", WIN_NO_SLASH = `[^${WIN_SLASH}]`, DOT_LITERAL = "\\.", PLUS_LITERAL = "\\+", QMARK_LITERAL = "\\?", SLASH_LITERAL = "\\/", ONE_CHAR = "(?=.)", QMARK = "[^/]", END_ANCHOR = `(?:${SLASH_LITERAL}|$)`, START_ANCHOR = `(?:^|${SLASH_LITERAL})`, DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`, NO_DOT = `(?!${DOT_LITERAL})`, NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`, NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`, NO_DOTS_SLASH = `(?!${DOTS_SLASH})`, QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`, STAR = `${QMARK}*?`, POSIX_CHARS = {
|
|
877
877
|
DOT_LITERAL,
|
|
@@ -1046,9 +1046,9 @@ var require_constants2 = __commonJS({
|
|
|
1046
1046
|
}
|
|
1047
1047
|
});
|
|
1048
1048
|
|
|
1049
|
-
// ../../../node_modules/picomatch/lib/utils.js
|
|
1049
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/lib/utils.js
|
|
1050
1050
|
var require_utils2 = __commonJS({
|
|
1051
|
-
"../../../node_modules/picomatch/lib/utils.js"(exports) {
|
|
1051
|
+
"../../../node_modules/micromatch/node_modules/picomatch/lib/utils.js"(exports) {
|
|
1052
1052
|
"use strict";
|
|
1053
1053
|
var path2 = __require("path"), win32 = process.platform === "win32", {
|
|
1054
1054
|
REGEX_BACKSLASH,
|
|
@@ -1082,9 +1082,9 @@ var require_utils2 = __commonJS({
|
|
|
1082
1082
|
}
|
|
1083
1083
|
});
|
|
1084
1084
|
|
|
1085
|
-
// ../../../node_modules/picomatch/lib/scan.js
|
|
1085
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/lib/scan.js
|
|
1086
1086
|
var require_scan = __commonJS({
|
|
1087
|
-
"../../../node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
1087
|
+
"../../../node_modules/micromatch/node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
1088
1088
|
"use strict";
|
|
1089
1089
|
var utils = require_utils2(), {
|
|
1090
1090
|
CHAR_ASTERISK,
|
|
@@ -1268,9 +1268,9 @@ var require_scan = __commonJS({
|
|
|
1268
1268
|
}
|
|
1269
1269
|
});
|
|
1270
1270
|
|
|
1271
|
-
// ../../../node_modules/picomatch/lib/parse.js
|
|
1271
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/lib/parse.js
|
|
1272
1272
|
var require_parse2 = __commonJS({
|
|
1273
|
-
"../../../node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
1273
|
+
"../../../node_modules/micromatch/node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
1274
1274
|
"use strict";
|
|
1275
1275
|
var constants = require_constants2(), utils = require_utils2(), {
|
|
1276
1276
|
MAX_LENGTH,
|
|
@@ -1713,9 +1713,9 @@ var require_parse2 = __commonJS({
|
|
|
1713
1713
|
}
|
|
1714
1714
|
});
|
|
1715
1715
|
|
|
1716
|
-
// ../../../node_modules/picomatch/lib/picomatch.js
|
|
1716
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/lib/picomatch.js
|
|
1717
1717
|
var require_picomatch = __commonJS({
|
|
1718
|
-
"../../../node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
1718
|
+
"../../../node_modules/micromatch/node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
1719
1719
|
"use strict";
|
|
1720
1720
|
var path2 = __require("path"), scan = require_scan(), parse = require_parse2(), utils = require_utils2(), constants = require_constants2(), isObject = (val) => val && typeof val == "object" && !Array.isArray(val), picomatch = (glob, options, returnState = !1) => {
|
|
1721
1721
|
if (Array.isArray(glob)) {
|
|
@@ -1784,9 +1784,9 @@ var require_picomatch = __commonJS({
|
|
|
1784
1784
|
}
|
|
1785
1785
|
});
|
|
1786
1786
|
|
|
1787
|
-
// ../../../node_modules/picomatch/index.js
|
|
1787
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/index.js
|
|
1788
1788
|
var require_picomatch2 = __commonJS({
|
|
1789
|
-
"../../../node_modules/picomatch/index.js"(exports, module) {
|
|
1789
|
+
"../../../node_modules/micromatch/node_modules/picomatch/index.js"(exports, module) {
|
|
1790
1790
|
"use strict";
|
|
1791
1791
|
module.exports = require_picomatch();
|
|
1792
1792
|
}
|