@nx/storybook 23.3.0-rc.1 → 24.0.0-beta.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/README.md +3 -6
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin.js +1 -2
- package/dist/src/plugins/plugin.d.ts +1 -5
- package/dist/src/plugins/plugin.js +1 -8
- package/package.json +7 -7
- package/readme-template.md +3 -3
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<p
|
|
1
|
+
<p align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-
|
|
4
|
-
<img alt="Nx
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo-light.svg">
|
|
4
|
+
<img alt="Nx Logo" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.svg" width="140">
|
|
5
5
|
</picture>
|
|
6
6
|
</p>
|
|
7
7
|
|
|
@@ -62,6 +62,3 @@ npx nx@latest init
|
|
|
62
62
|
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
|
|
63
63
|
- [Blog Posts About Nx](https://nx.dev/blog)
|
|
64
64
|
|
|
65
|
-
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
|
|
66
|
-
width="100%" alt="Nx - Smart Monorepos · Fast Builds"></a></p>
|
|
67
|
-
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createNodes, createNodesV2, StorybookPluginOptions,
|
|
1
|
+
export { createNodes, createNodesV2, StorybookPluginOptions, } from './src/plugins/plugin';
|
package/dist/plugin.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.createNodesV2 = exports.createNodes = void 0;
|
|
4
4
|
var plugin_1 = require("./src/plugins/plugin");
|
|
5
5
|
Object.defineProperty(exports, "createNodes", { enumerable: true, get: function () { return plugin_1.createNodes; } });
|
|
6
6
|
Object.defineProperty(exports, "createNodesV2", { enumerable: true, get: function () { return plugin_1.createNodesV2; } });
|
|
7
|
-
Object.defineProperty(exports, "createDependencies", { enumerable: true, get: function () { return plugin_1.createDependencies; } });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreateNodes } from '@nx/devkit';
|
|
2
2
|
export interface StorybookPluginOptions {
|
|
3
3
|
buildStorybookTargetName?: string;
|
|
4
4
|
serveStorybookTargetName?: string;
|
|
@@ -7,9 +7,5 @@ export interface StorybookPluginOptions {
|
|
|
7
7
|
buildDepsTargetName?: string;
|
|
8
8
|
watchDepsTargetName?: string;
|
|
9
9
|
}
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated The 'createDependencies' function is now a no-op. This functionality is included in 'createNodesV2'.
|
|
12
|
-
*/
|
|
13
|
-
export declare const createDependencies: CreateDependencies;
|
|
14
10
|
export declare const createNodes: CreateNodes<StorybookPluginOptions>;
|
|
15
11
|
export declare const createNodesV2: CreateNodes<StorybookPluginOptions>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createNodesV2 = exports.createNodes =
|
|
3
|
+
exports.createNodesV2 = exports.createNodes = void 0;
|
|
4
4
|
const internal_1 = require("@nx/devkit/internal");
|
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
|
6
6
|
const path_1 = require("path");
|
|
@@ -9,13 +9,6 @@ const js_1 = require("@nx/js");
|
|
|
9
9
|
const tsquery_1 = require("@phenomnomnominal/tsquery");
|
|
10
10
|
const internal_2 = require("@nx/js/internal");
|
|
11
11
|
const utilities_1 = require("../utils/utilities");
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated The 'createDependencies' function is now a no-op. This functionality is included in 'createNodesV2'.
|
|
14
|
-
*/
|
|
15
|
-
const createDependencies = () => {
|
|
16
|
-
return [];
|
|
17
|
-
};
|
|
18
|
-
exports.createDependencies = createDependencies;
|
|
19
12
|
const storybookConfigGlob = '**/.storybook/main.{js,ts,mjs,mts,cjs,cts}';
|
|
20
13
|
// Vite-builder frameworks we infer the addon target for. The addon itself only
|
|
21
14
|
// checks that the resolved builder is Vite, so this list is conservative rather
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/storybook",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0-beta.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"files": [
|
|
@@ -89,20 +89,20 @@
|
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@nx/devkit": "
|
|
92
|
+
"@nx/devkit": "24.0.0-beta.0",
|
|
93
93
|
"@phenomnomnominal/tsquery": "~6.2.0",
|
|
94
94
|
"semver": "^7.6.3",
|
|
95
95
|
"tslib": "^2.3.0",
|
|
96
|
-
"@nx/cypress": "
|
|
97
|
-
"@nx/js": "
|
|
98
|
-
"@nx/eslint": "
|
|
96
|
+
"@nx/cypress": "24.0.0-beta.0",
|
|
97
|
+
"@nx/js": "24.0.0-beta.0",
|
|
98
|
+
"@nx/eslint": "24.0.0-beta.0"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"nx": "
|
|
101
|
+
"nx": "24.0.0-beta.0",
|
|
102
102
|
"storybook": "9.0.6"
|
|
103
103
|
},
|
|
104
104
|
"peerDependencies": {
|
|
105
|
-
"@nx/web": "
|
|
105
|
+
"@nx/web": "24.0.0-beta.0",
|
|
106
106
|
"storybook": ">=8.0.0 <11.0.0"
|
|
107
107
|
},
|
|
108
108
|
"peerDependenciesMeta": {
|
package/readme-template.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<p
|
|
1
|
+
<p align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-
|
|
4
|
-
<img alt="Nx
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo-light.svg">
|
|
4
|
+
<img alt="Nx Logo" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.svg" width="140">
|
|
5
5
|
</picture>
|
|
6
6
|
</p>
|
|
7
7
|
|