@storybook/codemod 10.0.0-rc.4 → 10.1.0-alpha.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.
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_j6xqohqwvd9 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_j6xqohqwvd9 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_j6xqohqwvd9 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ngl5y9ni8il from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ngl5y9ni8il from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ngl5y9ni8il from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_j6xqohqwvd9.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_j6xqohqwvd9.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_j6xqohqwvd9.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ngl5y9ni8il.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ngl5y9ni8il.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ngl5y9ni8il.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
  __name
14
- } from "./chunk-ZCZJKQVM.js";
14
+ } from "./chunk-YB2E4KS2.js";
15
15
 
16
16
  // src/transforms/upgrade-deprecated-types.ts
17
17
  import { core as babel, types as t } from "storybook/internal/babel";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_j6xqohqwvd9 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_j6xqohqwvd9 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_j6xqohqwvd9 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ngl5y9ni8il from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ngl5y9ni8il from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ngl5y9ni8il from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_j6xqohqwvd9.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_j6xqohqwvd9.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_j6xqohqwvd9.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ngl5y9ni8il.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ngl5y9ni8il.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ngl5y9ni8il.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_j6xqohqwvd9 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_j6xqohqwvd9 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_j6xqohqwvd9 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ngl5y9ni8il from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ngl5y9ni8il from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ngl5y9ni8il from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_j6xqohqwvd9.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_j6xqohqwvd9.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_j6xqohqwvd9.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ngl5y9ni8il.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ngl5y9ni8il.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ngl5y9ni8il.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
  __name
14
- } from "./_node-chunks/chunk-ZCZJKQVM.js";
14
+ } from "./_node-chunks/chunk-YB2E4KS2.js";
15
15
 
16
16
  // src/index.ts
17
17
  import { readdirSync } from "node:fs";
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_j6xqohqwvd9 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_j6xqohqwvd9 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_j6xqohqwvd9 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ngl5y9ni8il from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ngl5y9ni8il from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ngl5y9ni8il from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_j6xqohqwvd9.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_j6xqohqwvd9.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_j6xqohqwvd9.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ngl5y9ni8il.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ngl5y9ni8il.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ngl5y9ni8il.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
  upgradeDeprecatedTypes
14
- } from "../_node-chunks/chunk-NNNOJSRO.js";
14
+ } from "../_node-chunks/chunk-ROJWFYUW.js";
15
15
  import {
16
16
  __name
17
- } from "../_node-chunks/chunk-ZCZJKQVM.js";
17
+ } from "../_node-chunks/chunk-YB2E4KS2.js";
18
18
 
19
19
  // src/transforms/csf-2-to-3.ts
20
20
  import { core as babel, types as t } from "storybook/internal/babel";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_j6xqohqwvd9 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_j6xqohqwvd9 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_j6xqohqwvd9 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ngl5y9ni8il from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ngl5y9ni8il from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ngl5y9ni8il from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_j6xqohqwvd9.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_j6xqohqwvd9.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_j6xqohqwvd9.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ngl5y9ni8il.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ngl5y9ni8il.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ngl5y9ni8il.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
  __name
14
- } from "../_node-chunks/chunk-ZCZJKQVM.js";
14
+ } from "../_node-chunks/chunk-YB2E4KS2.js";
15
15
 
16
16
  // src/transforms/find-implicit-spies.ts
17
17
  import { core as babel, types as t } from "storybook/internal/babel";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_j6xqohqwvd9 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_j6xqohqwvd9 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_j6xqohqwvd9 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ngl5y9ni8il from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ngl5y9ni8il from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ngl5y9ni8il from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_j6xqohqwvd9.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_j6xqohqwvd9.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_j6xqohqwvd9.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ngl5y9ni8il.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ngl5y9ni8il.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ngl5y9ni8il.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,8 +13,8 @@ import {
13
13
  parser,
14
14
  transform,
15
15
  upgradeDeprecatedTypes
16
- } from "../_node-chunks/chunk-NNNOJSRO.js";
17
- import "../_node-chunks/chunk-ZCZJKQVM.js";
16
+ } from "../_node-chunks/chunk-ROJWFYUW.js";
17
+ import "../_node-chunks/chunk-YB2E4KS2.js";
18
18
  export {
19
19
  transform as default,
20
20
  parser,
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_j6xqohqwvd9 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_j6xqohqwvd9 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_j6xqohqwvd9 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ngl5y9ni8il from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ngl5y9ni8il from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ngl5y9ni8il from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_j6xqohqwvd9.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_j6xqohqwvd9.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_j6xqohqwvd9.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ngl5y9ni8il.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ngl5y9ni8il.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ngl5y9ni8il.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
  __name
14
- } from "../_node-chunks/chunk-ZCZJKQVM.js";
14
+ } from "../_node-chunks/chunk-YB2E4KS2.js";
15
15
 
16
16
  // src/transforms/upgrade-hierarchy-separators.js
17
17
  function upgradeSeparator(path) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/codemod",
3
- "version": "10.0.0-rc.4",
3
+ "version": "10.1.0-alpha.0",
4
4
  "description": "A collection of codemod scripts written with JSCodeshift",
5
5
  "keywords": [
6
6
  "storybook"
@@ -49,7 +49,7 @@
49
49
  "es-toolkit": "^1.36.0",
50
50
  "jscodeshift": "^0.15.1",
51
51
  "prettier": "^3.5.3",
52
- "storybook": "10.0.0-rc.4",
52
+ "storybook": "10.1.0-alpha.0",
53
53
  "tiny-invariant": "^1.3.1",
54
54
  "tinyglobby": "^0.2.13"
55
55
  },