110 Commits

Author SHA1 Message Date
Ian VanSchooten
1f3c1f8cf1 Move input files out of src
They need to be accessible from dist, as well
2022-08-14 22:52:09 -04:00
Michael Shilman
01e3663b76 Vite core, react, and example app (WIP) 2022-08-14 11:50:22 +08:00
Ian VanSchooten
ecfc44417b Fix (most) linting errors 2022-08-13 00:39:05 -04:00
Ian VanSchooten
bc4828ac98 Update package.json 2022-08-13 00:38:29 -04:00
Ian VanSchooten
f80ef5f40a Add storybook dependencies
These were all implicit dependencies before, which caused problems for pnpm
2022-08-12 23:41:54 -04:00
Ian VanSchooten
b3c1f81785 Move builder-vite files into monorepo
They're copied mostly straight, as-is from their old versions.  Adjustments will
be made in subsequent commits.
2022-08-12 23:25:36 -04:00
Norbert de Langen
b9aff1ec0b
Merge pull request #18918 from storybookjs/norbert/sb-501-the-order-of-addon-panels-is-not-the
UI: Fix the order of addons appearing in prebuilt manager
2022-08-12 17:48:26 +02:00
Michael Shilman
2b256d3bed
Apply suggestions from code review 2022-08-12 20:44:12 +08:00
Norbert de Langen
592e2fd4dd
cleanup 2022-08-12 14:15:05 +02:00
Norbert de Langen
112a11a6e6
extract common code into a function 2022-08-12 14:06:10 +02:00
Norbert de Langen
e471ba8a47
Merge branch 'next' into norbert/sb-501-the-order-of-addon-panels-is-not-the 2022-08-12 13:57:46 +02:00
Michael Shilman
950e8cf900 Merge branch 'next' into chore_docs_updates_docs_urls_for_code 2022-08-12 19:54:30 +08:00
Michael Shilman
d7689cdd8d Update git head to 7.0.0-alpha.19, update yarn.lock [ci skip] 2022-08-12 12:15:36 +08:00
Michael Shilman
74bdb53f67 v7.0.0-alpha.19 2022-08-12 12:11:08 +08:00
Michael Shilman
6293850a72 Update root, peer deps, version.ts/json to 7.0.0-alpha.19 [ci skip] 2022-08-12 11:58:21 +08:00
Norbert de Langen
8e95ef7a7f
fix tests some more 2022-08-11 22:26:42 +02:00
Norbert de Langen
92f8fc6292
fix unit test 2022-08-11 22:10:46 +02:00
Yann Braga
cd97f8c3e1
Merge pull request #18887 from storybookjs/yann/sb-647-getparameters-returns-empty-object-if
Client API: return defaultValue in useParameter if story is not prepared
2022-08-11 15:39:31 +02:00
Norbert de Langen
ce6f4fa2e9
cleanup 2022-08-11 15:39:05 +02:00
Yann Braga
30df6a2da9
Merge pull request #18916 from storybookjs/fix/set-project-annotations
Store: always call composeConfigs in setProjectAnnotations
2022-08-11 15:38:15 +02:00
Norbert de Langen
cc8f233300
fix the order of addons appearing 2022-08-11 15:30:47 +02:00
Yann Braga
c95f7dce19 remove .only from test 2022-08-11 11:02:15 +02:00
Yann Braga
0548b254c3 CLI: fix version requirement in sb-script automigration 2022-08-11 10:57:19 +02:00
Yann Braga
38a6fcb586 CLI: install the same version as the user in sb-scripts automigration
Before it was installing latest, which could result in a wrong situation
2022-08-11 10:54:06 +02:00
Yann Braga
1052e44bb2 Store: always call composeConfigs in ssetProjectAnnotations 2022-08-11 08:58:03 +02:00
Norbert de Langen
a92f6d88f3
Merge pull request #18882 from B2Y4N/B2Y4N-patch-1
Build lib/channels with ts-up
2022-08-10 14:11:11 +02:00
Norbert de Langen
e48667ff5b
fix 2022-08-10 13:28:07 +02:00
Norbert de Langen
058a9c8eaf
Update package.json 2022-08-10 13:24:09 +02:00
Norbert de Langen
2a45b193f5
Merge pull request #18906 from storybookjs/tech/bring-back-theming-create
add `create` export for lib/theming, proper
2022-08-10 12:34:52 +02:00
Norbert de Langen
39ec6f94c4
change to use cjs 2022-08-10 11:53:37 +02:00
Norbert de Langen
c1ae30b92e
fixes 2022-08-10 11:32:25 +02:00
Norbert de Langen
852d1263d3
fixes 2022-08-10 11:20:47 +02:00
Yann Braga
ddef015533
Merge pull request #18868 from storybookjs/yann/sb-641-storybook-metadata-extracts-addons
telemetry: improve addon extraction logic
2022-08-10 07:41:51 +02:00
Yann Braga
0c2ee6d4ec
Merge pull request #18905 from storybookjs/fix/remove-dependencies
CLI: fix remove dependencies logic
2022-08-10 07:37:19 +02:00
Yann Braga
13f68106e5 feat(CLI): add sb-scripts automigration 2022-08-09 17:16:27 +02:00
Yann Braga
a13e9b44f7 fix: remode dependencies as well 2022-08-09 15:09:16 +02:00
Norbert de Langen
26a1360ed0
add create export for lib/theming, proper
This is actually kind of a good idea, because of the size of lib/theming/index
2022-08-09 14:24:41 +02:00
Yann Braga
93bcd5209c CLI: fix remove dependencies logic 2022-08-09 14:12:29 +02:00
Yann Braga
60e02abd8d chore(cli): add uninstall method to jspackagemanager 2022-08-09 10:28:06 +02:00
Tom Coleman
308de76eee
Merge pull request #18869 from storybookjs/yann/sb-635-command-silently-fails-if-sandbox-doesnt
improve sandbox command error handling and debugging
2022-08-09 16:42:41 +10:00
B2Y4N
74f8c7626c
Merge branch 'storybookjs:next' into B2Y4N-patch-1 2022-08-09 09:16:20 +08:00
Yann Braga
523537c448
Merge pull request #18878 from storybookjs/tech/use-self-hosted-placeholder-images
change the location of placeholder images to something we host ourselves
2022-08-08 23:54:22 +02:00
Yann Braga
4d41f44feb sandbox: improve error handling 2022-08-08 18:29:08 +02:00
Yann Braga
21048422c5 telemetry: improve addon extraction logic 2022-08-08 15:23:33 +02:00
Yann Braga
a27cd54838 api: return defaultValue in useParameter if story is not prepared
it was returning an empty object before, which is a breaking change.
2022-08-08 14:19:16 +02:00
B2Y4N
33f6f1908c
Build lib/channels with ts-up 2022-08-08 00:39:05 +08:00
Norbert de Langen
3d06286155
change the location of placeholder images to something we host ourselves
to reduce flake (you can ask yann what that means)
2022-08-05 15:05:10 +02:00
Norbert de Langen
c8bcbeb510
Merge pull request #18857 from storybookjs/norbert/sb-631-sb18789-theming-v700-alpha16-no-loader
add image support to builder-manager
2022-08-05 14:04:00 +02:00
Yann Braga
6689609a08 builder manager: add correct loader type for images 2022-08-05 12:13:20 +02:00
Yann Braga
ac9606c374 CLI: add --no-init to repro-next command 2022-08-04 09:32:05 +02:00