@storybook/cli 0.0.0-pr-28978-sha-d1099143 → 0.0.0-pr-28797-sha-2c38805d

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,8 +1,14 @@
1
- import './chunk-BYXBJQAS.js';
2
- import './chunk-JBWKEMOK.js';
1
+ import ESM_COMPAT_Module from 'node:module';
2
+ import { fileURLToPath } from 'node:url';
3
+ import { dirname } from 'node:path';
4
+ import './chunk-EPU2YRDU.js';
5
+ import './chunk-T6WME4N2.js';
3
6
  import chalk from 'chalk';
4
7
  import { dedent } from 'ts-dedent';
5
8
 
9
+ const __filename = fileURLToPath(import.meta.url);
10
+ dirname(__filename);
11
+ ESM_COMPAT_Module.createRequire(import.meta.url);
6
12
  var blocker={id:"storyStoreV7removal",async check({mainConfig}){let features=mainConfig?.features;return features===void 0?!1:!!Object.hasOwn(features,"storyStoreV7")},log(){return dedent`
7
13
  StoryStoreV7 feature must be removed from your Storybook configuration.
8
14
  This feature was removed in Storybook 8.0.0.
@@ -0,0 +1,7 @@
1
+ import ESM_COMPAT_Module from 'node:module';
2
+ import { fileURLToPath } from 'node:url';
3
+ import { dirname } from 'node:path';
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ dirname(__filename);
7
+ ESM_COMPAT_Module.createRequire(import.meta.url);
@@ -1,3 +1,10 @@
1
+ import ESM_COMPAT_Module from 'node:module';
2
+ import { fileURLToPath } from 'node:url';
3
+ import { dirname } from 'node:path';
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ dirname(__filename);
7
+ const require = ESM_COMPAT_Module.createRequire(import.meta.url);
1
8
  var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+x+'" is not supported')});var __commonJS=(cb,mod)=>function(){return mod||(0, cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));
2
9
 
3
10
  export { __commonJS, __require, __toESM };
package/dist/index.js CHANGED
@@ -1 +1,7 @@
1
+ import ESM_COMPAT_Module from 'node:module';
2
+ import { fileURLToPath } from 'node:url';
3
+ import { dirname } from 'node:path';
1
4
 
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ dirname(__filename);
7
+ ESM_COMPAT_Module.createRequire(import.meta.url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/cli",
3
- "version": "0.0.0-pr-28978-sha-d1099143",
3
+ "version": "0.0.0-pr-28797-sha-2c38805d",
4
4
  "description": "Storybook CLI",
5
5
  "keywords": [
6
6
  "storybook"
@@ -42,11 +42,13 @@
42
42
  "dependencies": {
43
43
  "@babel/core": "^7.24.4",
44
44
  "@babel/types": "^7.24.0",
45
- "@storybook/codemod": "0.0.0-pr-28978-sha-d1099143",
45
+ "@ndelangen/fs-extra-unified": "^1.0.4",
46
+ "@storybook/codemod": "0.0.0-pr-28797-sha-2c38805d",
47
+ "@types/fs-extra": "^11.0.4",
46
48
  "@types/semver": "^7.3.4",
47
49
  "chalk": "^4.1.0",
48
50
  "commander": "^12.1.0",
49
- "create-storybook": "0.0.0-pr-28978-sha-d1099143",
51
+ "create-storybook": "0.0.0-pr-28797-sha-2c38805d",
50
52
  "cross-spawn": "^7.0.3",
51
53
  "envinfo": "^7.7.3",
52
54
  "fd-package-json": "^1.2.0",
@@ -59,7 +61,7 @@
59
61
  "leven": "^3.1.0",
60
62
  "prompts": "^2.4.0",
61
63
  "semver": "^7.3.7",
62
- "storybook": "0.0.0-pr-28978-sha-d1099143",
64
+ "storybook": "0.0.0-pr-28797-sha-2c38805d",
63
65
  "tiny-invariant": "^1.3.1",
64
66
  "ts-dedent": "^2.0.0"
65
67
  },
@@ -75,11 +77,13 @@
75
77
  "access": "public"
76
78
  },
77
79
  "bundler": {
78
- "entries": [
80
+ "nodeEntries": [
79
81
  "./src/index.ts",
80
82
  "./src/bin/index.ts"
81
83
  ],
82
- "platform": "node"
84
+ "formats": [
85
+ "esm"
86
+ ]
83
87
  },
84
88
  "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16"
85
89
  }