@storybook/core-common 6.5.0-alpha.38 → 6.5.0-alpha.41

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.
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.nodePathsToArray = exports.nodeModulesPaths = exports.getProjectRoot = void 0;
6
+ exports.nodePathsToArray = exports.getProjectRoot = void 0;
7
7
  exports.normalizeStoryPath = normalizeStoryPath;
8
8
 
9
9
  var _path = _interopRequireDefault(require("path"));
@@ -39,10 +39,6 @@ var getProjectRoot = function () {
39
39
 
40
40
  exports.getProjectRoot = getProjectRoot;
41
41
 
42
- var nodeModulesPaths = _path.default.resolve('./node_modules');
43
-
44
- exports.nodeModulesPaths = nodeModulesPaths;
45
-
46
42
  var nodePathsToArray = function (nodePath) {
47
43
  return nodePath.split(process.platform === 'win32' ? ';' : ':').filter(Boolean).map(function (p) {
48
44
  return _path.default.resolve('./', p);
@@ -24,7 +24,6 @@ export var getProjectRoot = function () {
24
24
 
25
25
  return result || process.cwd();
26
26
  };
27
- export var nodeModulesPaths = path.resolve('./node_modules');
28
27
  export var nodePathsToArray = function (nodePath) {
29
28
  return nodePath.split(process.platform === 'win32' ? ';' : ':').filter(Boolean).map(function (p) {
30
29
  return path.resolve('./', p);
@@ -24,7 +24,6 @@ export var getProjectRoot = function () {
24
24
 
25
25
  return result || process.cwd();
26
26
  };
27
- export var nodeModulesPaths = path.resolve('./node_modules');
28
27
  export var nodePathsToArray = function (nodePath) {
29
28
  return nodePath.split(process.platform === 'win32' ? ';' : ':').filter(Boolean).map(function (p) {
30
29
  return path.resolve('./', p);
@@ -28,6 +28,7 @@ export interface Webpack5BuilderConfig extends BuilderConfigObject {
28
28
  name: 'webpack5';
29
29
  options?: {
30
30
  fsCache?: boolean;
31
+ lazyCompilation?: boolean;
31
32
  };
32
33
  }
33
34
  export interface Webpack4BuilderConfig extends BuilderConfigObject {
@@ -1,5 +1,4 @@
1
1
  export declare const getProjectRoot: () => string;
2
- export declare const nodeModulesPaths: string;
3
2
  export declare const nodePathsToArray: (nodePath: string) => string[];
4
3
  /**
5
4
  * Ensures that a path starts with `./` or `../`, or is entirely `.` or `..`
@@ -28,6 +28,7 @@ export interface Webpack5BuilderConfig extends BuilderConfigObject {
28
28
  name: 'webpack5';
29
29
  options?: {
30
30
  fsCache?: boolean;
31
+ lazyCompilation?: boolean;
31
32
  };
32
33
  }
33
34
  export interface Webpack4BuilderConfig extends BuilderConfigObject {
@@ -1,5 +1,4 @@
1
1
  export declare const getProjectRoot: () => string;
2
- export declare const nodeModulesPaths: string;
3
2
  export declare const nodePathsToArray: (nodePath: string) => string[];
4
3
  /**
5
4
  * Ensures that a path starts with `./` or `../`, or is entirely `.` or `..`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/core-common",
3
- "version": "6.5.0-alpha.38",
3
+ "version": "6.5.0-alpha.41",
4
4
  "description": "Storybook framework-agnostic API",
5
5
  "keywords": [
6
6
  "storybook"
@@ -62,7 +62,7 @@
62
62
  "@babel/preset-react": "^7.12.10",
63
63
  "@babel/preset-typescript": "^7.12.7",
64
64
  "@babel/register": "^7.12.1",
65
- "@storybook/node-logger": "6.5.0-alpha.38",
65
+ "@storybook/node-logger": "6.5.0-alpha.41",
66
66
  "@storybook/semver": "^7.3.2",
67
67
  "@types/node": "^14.0.10 || ^16.0.0",
68
68
  "@types/pretty-hrtime": "^1.0.0",
@@ -111,6 +111,6 @@
111
111
  "publishConfig": {
112
112
  "access": "public"
113
113
  },
114
- "gitHead": "b0dd637a70b6b24fbd3b8d9f9df7299511f6ba62",
114
+ "gitHead": "10663a4c9ea6c04a04047b5bb22254d6b64201c2",
115
115
  "sbmodern": "dist/modern/index.js"
116
116
  }