storybook 9.0.6 → 9.0.8
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/dist/bin/index.cjs +50 -50
- package/dist/bin/index.js +50 -50
- package/dist/cli/bin/index.cjs +1 -1
- package/dist/cli/bin/index.js +1 -1
- package/dist/common/index.cjs +709 -711
- package/dist/common/index.d.ts +7 -3
- package/dist/common/index.js +669 -671
- package/dist/components/index.cjs +1899 -1895
- package/dist/components/index.js +1343 -1339
- package/dist/manager/globals-runtime.js +7153 -7149
- package/dist/manager-api/index.cjs +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/telemetry/index.cjs +1 -1
- package/dist/telemetry/index.js +1 -1
- package/package.json +1 -1
package/dist/common/index.d.ts
CHANGED
|
@@ -523,11 +523,15 @@ declare abstract class JsPackageManager {
|
|
|
523
523
|
* @param {Array} dependencies Contains a list of packages to add.
|
|
524
524
|
*/
|
|
525
525
|
addDependencies(options: {
|
|
526
|
-
skipInstall?: boolean;
|
|
527
526
|
installAsDevDependencies?: boolean;
|
|
528
|
-
packageJson?: PackageJson;
|
|
529
527
|
writeOutputToFile?: boolean;
|
|
530
|
-
}
|
|
528
|
+
} & ({
|
|
529
|
+
skipInstall?: false;
|
|
530
|
+
packageJson?: PackageJson;
|
|
531
|
+
} | {
|
|
532
|
+
skipInstall: true;
|
|
533
|
+
packageJson: PackageJson;
|
|
534
|
+
}), dependencies: string[]): Promise<void>;
|
|
531
535
|
/**
|
|
532
536
|
* Remove dependencies from a project using `yarn remove` or `npm uninstall`.
|
|
533
537
|
*
|