1359 Commits

Author SHA1 Message Date
Shota Fuji
98d7751f42
CLI: Add Yarn workspaces support for init command
This commit changes how the cli decide which package manager to use.

Previously, init command sees only the current directory. But for
projects using Yarn workspaces, this detection method doesn't work,
because Yarn does not emit yarn.lock on workspace directories.

To handle this case, I modified the lookup logic to also see ancestor
directories.

https://github.com/storybookjs/storybook/issues/9045
2019-12-09 16:00:59 +00:00
Michael Shilman
5d890bf37b v5.3.0-beta.20 2019-12-09 20:49:55 +08:00
Michael Shilman
9843746f3a v5.3.0-beta.19 2019-12-07 16:47:47 +08:00
Michael Shilman
ab6ef53330 v5.3.0-beta.18 2019-12-06 23:05:00 +08:00
Michael Shilman
796951f038 v5.3.0-beta.17 2019-12-06 22:39:53 +08:00
Norbert de Langen
7c5858c7f7 CHANGE cli generators to triconfig 2019-12-05 13:46:19 +01:00
Michael Shilman
eeb36ed822 v5.3.0-beta.16 2019-12-05 11:37:35 +08:00
Michael Shilman
95fba51683 v5.3.0-beta.15 2019-12-04 11:54:17 +08:00
Michael Shilman
1c93a96d8e v5.3.0-beta.14 2019-12-02 11:40:56 +08:00
Michael Shilman
830455efa9 v5.3.0-beta.13 2019-11-30 17:36:02 +08:00
Michael Shilman
393d982253 CLI: Code cleanup 2019-11-29 15:09:05 +08:00
Norbert de Langen
03d4074313 CHANGE css values that are numbers to actual numbers 2019-11-29 02:11:46 +01:00
Michael Shilman
0577c421a7 v5.3.0-beta.12 2019-11-29 01:03:08 +08:00
Michael Shilman
fd66177005
Merge branch 'next' into remove-docs-deprecated-presets 2019-11-28 07:38:23 +08:00
Michael Shilman
51b1739038 v5.3.0-beta.11 2019-11-28 07:07:27 +08:00
Michael Shilman
e446ec42ac Addon-docs: Use framework-independent preset everywhere 2019-11-27 23:33:05 +08:00
Norbert de Langen
f5e6dc1fce MIGRATE rax example to triconfig 2019-11-27 12:53:10 +01:00
Norbert de Langen
2f8c9d2575 REMOVE options with default values & deprecated options from examples 2019-11-27 12:00:05 +01:00
Michael Shilman
e098a12bf8 v5.3.0-beta.10 2019-11-27 09:19:11 +08:00
Kai Roeder
09ed7d1617 wip: use css instead of scss
this is an attempt to debug the CI pipeline that fails because of scss.
this change is not meant to be permanent; scss must work
2019-11-26 23:36:31 +01:00
Michael Shilman
82c574db78 v5.3.0-beta.9 2019-11-26 17:47:59 +08:00
Michael Shilman
c6332f5a08 v5.3.0-beta.8 2019-11-26 08:58:15 +08:00
Norbert de Langen
a4e7ddbe83 CHANGE cli so skipInstall also doesn't check against the registry, but directly edits package.json 2019-11-25 20:15:01 +01:00
Michael Shilman
4a1c749e2a v5.3.0-beta.7 2019-11-26 00:06:26 +08:00
Michael Shilman
7256fe638b v5.3.0-beta.6 2019-11-24 17:50:40 +09:00
Michael Shilman
31bdd30032 v5.3.0-beta.5 2019-11-23 02:09:43 +09:00
Michael Shilman
5f6b97fa0b v5.3.0-beta.4 2019-11-23 00:33:55 +09:00
Norbert de Langen
f43e4ab0b2 UPGRADES 2019-11-21 15:37:51 +01:00
Norbert de Langen
73652375e8
Merge branch 'next' into add-angular-fixtures 2019-11-21 13:13:26 +01:00
Michael Shilman
6472a37353 v5.3.0-beta.3 2019-11-21 14:41:37 +08:00
Filipp Riabchun
2813b2abe8 Merge remote-tracking branch 'origin/next' into avoid-id-changes 2019-11-19 22:20:26 +01:00
Kai Röder
61f34e2c89 update angular-9 example to 9.0.0-rc.2 2019-11-19 22:13:24 +01:00
Kai Röder
3760140fcd Merge branch 'next' into add-angular-fixtures 2019-11-19 21:37:07 +01:00
Filipp Riabchun
24ec9d3674 Migrate examples and templates to PascalCase exports 2019-11-19 21:08:32 +01:00
Michael Shilman
27dbfef1d8 v5.3.0-beta.2 2019-11-19 18:22:56 +08:00
Michael Shilman
93002b5e79 v5.3.0-beta.1 2019-11-18 22:30:27 +08:00
Michael Shilman
f57888b0e3 v5.3.0-beta.0 2019-11-16 23:28:25 +08:00
Michael Shilman
aa97d03bce v5.3.0-alpha.47 2019-11-16 20:59:17 +08:00
Norbert de Langen
4f0c2f68c6 Merge branch 'next' into upgrades
# Conflicts:
#	app/react-native-server/package.json
#	lib/cli/package.json
#	lib/components/package.json
2019-11-15 23:40:38 +01:00
Michael Shilman
431322bbd9 v5.3.0-alpha.46 2019-11-16 05:49:51 +08:00
Norbert de Langen
030ba49f00 FIX commander migration 2019-11-15 22:33:35 +01:00
Norbert de Langen
bd4ac31ac4 upgrades 2019-11-15 21:06:13 +01:00
Michael Shilman
3e45911bea v5.3.0-alpha.45 2019-11-14 17:30:12 +08:00
Michael Shilman
ffcc5611e1 Merge branch 'next' into 8793-deprecate-hierarchy-separators 2019-11-14 14:58:53 +08:00
Michael Shilman
493c1ccc8e
Merge branch 'next' into 8577-addons-postinstall 2019-11-14 08:59:07 +08:00
Michael Shilman
148af1752e CLI: Fix migration glob docs & parser passing 2019-11-13 17:35:16 +08:00
Michael Shilman
be73c10751 v5.3.0-alpha.44 2019-11-13 08:43:45 +08:00
Michael Shilman
c5c6d41858 Remove debugging comment 🙈 2019-11-12 23:11:26 +08:00
Michael Shilman
5b65d02723
Merge branch 'next' into 8577-addons-postinstall 2019-11-12 22:01:21 +08:00
Michael Shilman
4c9b100363 Create postinstall library for addons 2019-11-12 18:01:42 +08:00