@nx/storybook 16.4.0-beta.1 → 16.4.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/storybook",
3
- "version": "16.4.0-beta.1",
3
+ "version": "16.4.0-beta.3",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Storybook contains executors and generators for allowing your workspace to use the powerful Storybook integration testing & documenting capabilities.",
6
6
  "repository": {
@@ -30,12 +30,12 @@
30
30
  "migrations": "./migrations.json"
31
31
  },
32
32
  "dependencies": {
33
- "@nrwl/storybook": "16.4.0-beta.1",
34
- "@nx/cypress": "16.4.0-beta.1",
35
- "@nx/devkit": "16.4.0-beta.1",
36
- "@nx/js": "16.4.0-beta.1",
37
- "@nx/linter": "16.4.0-beta.1",
38
- "@nx/workspace": "16.4.0-beta.1",
33
+ "@nrwl/storybook": "16.4.0-beta.3",
34
+ "@nx/cypress": "16.4.0-beta.3",
35
+ "@nx/devkit": "16.4.0-beta.3",
36
+ "@nx/js": "16.4.0-beta.3",
37
+ "@nx/linter": "16.4.0-beta.3",
38
+ "@nx/workspace": "16.4.0-beta.3",
39
39
  "@phenomnomnominal/tsquery": "~5.0.1",
40
40
  "dotenv": "~10.0.0",
41
41
  "semver": "7.3.4"
@@ -44,5 +44,5 @@
44
44
  "access": "public"
45
45
  },
46
46
  "types": "./index.d.ts",
47
- "gitHead": "1c4fb934b607f0d93bb23bff2cf0f39b31a8fa43"
47
+ "gitHead": "d7f500985ba56117bf17c133bf70d22e42a7af27"
48
48
  }
@@ -81,6 +81,19 @@
81
81
  "@storybook/svelte"
82
82
  ],
83
83
  "x-deprecated": "Upgrade to Storybook 7."
84
+ },
85
+ "webpackStatsJson": {
86
+ "type": ["boolean", "string"],
87
+ "description": "Write Webpack Stats JSON to disk.",
88
+ "default": false
89
+ },
90
+ "debugWebpack": {
91
+ "type": "boolean",
92
+ "description": "Display final webpack configurations for debugging purposes."
93
+ },
94
+ "disableTelemetry": {
95
+ "type": "boolean",
96
+ "description": "Disables Storybook's telemetry."
84
97
  }
85
98
  },
86
99
  "definitions": {
@@ -84,6 +84,39 @@
84
84
  "@storybook/svelte"
85
85
  ],
86
86
  "x-deprecated": "Upgrade to Storybook 7."
87
+ },
88
+ "webpackStatsJson": {
89
+ "type": ["boolean", "string"],
90
+ "description": "Write Webpack Stats JSON to disk.",
91
+ "default": false
92
+ },
93
+ "sslCa": {
94
+ "type": "string",
95
+ "description": "Provide an SSL certificate authority. (Optional with --https, required if using a self-signed certificate)."
96
+ },
97
+ "sslCert": {
98
+ "type": "string",
99
+ "description": "Provide an SSL certificate. (Required with --https)."
100
+ },
101
+ "sslKey": {
102
+ "type": "string",
103
+ "description": "Provide an SSL key. (Required with --https)."
104
+ },
105
+ "smokeTest": {
106
+ "type": "boolean",
107
+ "description": "Exit after successful start."
108
+ },
109
+ "noOpen": {
110
+ "type": "boolean",
111
+ "description": "Do not open Storybook automatically in the browser."
112
+ },
113
+ "debugWebpack": {
114
+ "type": "boolean",
115
+ "description": "Display final webpack configurations for debugging purposes."
116
+ },
117
+ "disableTelemetry": {
118
+ "type": "boolean",
119
+ "description": "Disables Storybook's telemetry."
87
120
  }
88
121
  },
89
122
  "additionalProperties": true,
@@ -43,7 +43,7 @@ function configurationGenerator(tree, rawSchema) {
43
43
  js: schema.js,
44
44
  });
45
45
  tasks.push(initTask);
46
- (0, util_functions_1.createProjectStorybookDir)(tree, schema.name, schema.uiFramework, schema.js, schema.tsConfiguration, root, projectType, (0, util_functions_1.projectIsRootProjectInStandaloneWorkspace)(root), !!nextBuildTarget, compiler === 'swc', !!viteBuildTarget, viteConfigFilePath);
46
+ (0, util_functions_1.createProjectStorybookDir)(tree, schema.name, schema.uiFramework, schema.js, schema.tsConfiguration, root, projectType, (0, util_functions_1.projectIsRootProjectInStandaloneWorkspace)(root), !!nextBuildTarget, compiler === 'swc', !!viteBuildTarget || schema.uiFramework.endsWith('-vite'), viteConfigFilePath);
47
47
  (0, util_functions_1.configureTsProjectConfig)(tree, schema);
48
48
  (0, util_functions_1.configureTsSolutionConfig)(tree, schema);
49
49
  (0, util_functions_1.updateLintConfig)(tree, schema);
@@ -42,7 +42,7 @@
42
42
  "tsConfiguration": {
43
43
  "type": "boolean",
44
44
  "description": "Configure your project with TypeScript. Generate main.ts and preview.ts files, instead of main.js and preview.js.",
45
- "default": false,
45
+ "default": true,
46
46
  "x-priority": "important"
47
47
  },
48
48
  "standaloneConfig": {