Tom Coleman
843811a33d
Slightly nicer prompt message
2022-10-05 22:58:01 +11:00
Tom Coleman
3f3f428da3
Rename tasks in a simpler way
2022-10-05 22:55:58 +11:00
Tom Coleman
e4e7344801
Don't need to run task
from code/
anymore
2022-10-05 22:50:21 +11:00
Tom Coleman
d5b05d2091
Let's debug bootstrap
2022-10-05 17:10:03 +11:00
Tom Coleman
6c51c55fd3
Merge remote-tracking branch 'origin/next' into tom/sb-628-properly-document-maintenance-scripts
2022-10-05 17:07:30 +11:00
Tom Coleman
f3dd526f9c
Commit top-level yarn.lock
2022-10-05 17:04:49 +11:00
Tom Coleman
b1f8c4504e
Keep fixing bootstrap until it works
2022-10-05 16:56:02 +11:00
Tom Coleman
f0ab6e6879
Fix bootstrap
2022-10-05 16:47:03 +11:00
Tom Coleman
8a7328f121
Deepscan
2022-10-05 15:49:58 +11:00
Tom Coleman
5af3929926
Fix bootstrap
2022-10-05 15:49:52 +11:00
Tom Coleman
a396d3a5db
Updates to package.json to make things simpler
2022-10-05 12:31:33 +11:00
Tom Coleman
b25a3265bc
Refactor sandbox to load async
2022-10-05 11:25:31 +11:00
Tom Coleman
229a912594
No need to mess with task controllers
2022-10-05 11:09:57 +11:00
Norbert de Langen
be861c882a
Merge pull request #19243 from joshwooding/fix-prepare-bundle-on-windows
...
Fix prepare bundle on Windows
2022-10-04 21:04:47 +03:00
Ian VanSchooten
2674cc1baa
Merge pull request #19259 from storybookjs/vite/framework-plugins
...
Issue: https://github.com/storybookjs/builder-vite/issues/498
Closes https://github.com/storybookjs/storybook/pull/19245
## What I did
When we made the change in 7.0 to start using the user's `vite.config.js`, I made the (faulty) assumption that users would already have vite framework plugins (e.g. `@vitejs/plugin-react`) installed. But this isn't always true, for example, a project might just be a collection of components being exported, and there may not be an actual app.
So, this PR checks to see if the required framework plugin is already in the config, and if not, adds it. I created a utility function to check for the plugin, but ideally this would live in a `vite-core` instead of duplicated across each framework. This, combined with the duplication in https://github.com/storybookjs/storybook/pull/19216 , makes me lean towards creating such a package. But, it can be done any time and these duplications cleaned up at that point, so I don't think it's a blocker.
## How to test
Create a sandbox, delete `vite.config.js`, and start storybook. Without this change there would be a crash, but it should work just fine now.
2022-10-04 13:47:33 -04:00
Norbert de Langen
9f56f8e4de
Merge pull request #19346 from storybookjs/tech/tsconfig-improvement
...
improve the tsconfig
2022-10-04 20:18:29 +03:00
Ian VanSchooten
0bf4ad89bf
Merge remote-tracking branch 'origin/next' into vite/framework-plugins
2022-10-04 12:17:03 -04:00
Norbert de Langen
54383d996b
Merge branch 'next' into tech/tsconfig-improvement
2022-10-04 17:25:12 +02:00
Norbert de Langen
29f3921dd6
Merge branch 'next' into fix-prepare-bundle-on-windows
2022-10-04 17:24:15 +02:00
Michael Shilman
7f090ea2f6
Fix chromatic key sanitization for "."
2022-10-04 17:23:45 +02:00
Norbert de Langen
ff88de8652
Merge pull request #19347 from storybookjs/shilman/delete-dead-badges
...
Docs: Delete dead badges
2022-10-04 18:05:59 +03:00
Norbert de Langen
c4f00145a3
remove broken badges
2022-10-04 16:47:39 +02:00
Michael Shilman
8ce15d387f
Delete dead badges
2022-10-04 22:31:01 +08:00
Ian VanSchooten
313b1eeef6
Merge remote-tracking branch 'origin/next' into vite/framework-plugins
2022-10-04 09:52:13 -04:00
Norbert de Langen
617429d8bb
Merge branch 'next' into fix-prepare-bundle-on-windows
2022-10-04 15:33:00 +02:00
Norbert de Langen
bd0a420209
improve the tsconfig
...
So we do not get the warning:
ESM You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin
...anymore
2022-10-04 15:14:41 +02:00
Tom Coleman
6d6a43217a
Replace some uses of bootstrap
2022-10-04 23:35:52 +11:00
Tom Coleman
c19b4b51da
Merge remote-tracking branch 'origin/next' into tom/sb-628-properly-document-maintenance-scripts
2022-10-04 22:54:55 +11:00
Tom Coleman
d45a6f31e0
Add a nice CI error to help repros
2022-10-04 21:28:05 +11:00
Tom Coleman
be23ced645
Delete bootstrap!
2022-10-04 21:10:39 +11:00
Tom Coleman
c3cf9761a1
Update --reset
to --start-from
2022-10-04 21:04:38 +11:00
Tom Coleman
ecff39f1b2
Bootstrap directly in the bootstrap task
2022-10-04 20:54:40 +11:00
Norbert de Langen
ecae3e3e2f
Merge pull request #19322 from jeangregorfonrose/jean-storybook
...
Build: Bundle addons/essentials with ts-up
2022-10-04 10:32:00 +03:00
Norbert de Langen
448f5f48c5
Merge pull request #19307 from bovandersteene/bovds/disable-ngcc
...
feat(angular): disable ngcc when not needed
2022-10-04 10:02:32 +03:00
Norbert de Langen
b5bc84272d
Merge branch 'next' into fix-prepare-bundle-on-windows
2022-10-04 08:55:37 +02:00
Norbert de Langen
16dccf7d54
Merge branch 'next' into jean-storybook
2022-10-04 08:54:57 +02:00
Tom Coleman
56b504be1b
Add top-level package.json and use for yarn start/task
2022-10-04 16:09:17 +11:00
Michael Shilman
7efe75a445
Update danger config to accept "build" label
2022-10-04 10:11:42 +08:00
Bo Vandersteene
dfd38af1df
make options optional
2022-10-03 21:55:24 +02:00
Ian VanSchooten
c4c4f68549
Merge remote-tracking branch 'origin/next' into vite/framework-plugins
...
# Conflicts:
# code/frameworks/react-vite/src/preset.ts
2022-10-03 12:35:07 -04:00
Norbert de Langen
7e838f7dd3
Merge pull request #19276 from storybookjs/tech/tsup-core-client
...
Build: Bundle lib/core-client with ts-up
2022-10-03 19:29:02 +03:00
Norbert de Langen
6172af17b5
Merge pull request #19271 from storybookjs/tech/tsup-lib-client-api
...
Build: Bundle lib/client-api with ts-up
2022-10-03 19:28:48 +03:00
Norbert de Langen
8f31e0ca62
Merge branch 'tech/tsup-lib-client-api' into tech/tsup-core-client
2022-10-03 17:52:14 +02:00
Norbert de Langen
8adcd1e2e8
add required dependency
2022-10-03 17:45:43 +02:00
Norbert de Langen
edf0cc8201
Merge branch 'next' into tech/tsup-lib-client-api
2022-10-03 17:42:15 +02:00
Norbert de Langen
c8946632fe
add required dev dep
2022-10-03 17:40:51 +02:00
Norbert de Langen
5bee2e9fe9
remove globals file
2022-10-03 17:37:20 +02:00
Norbert de Langen
67f0aafe74
Merge branch 'next' into tech/tsup-core-client
...
# Conflicts:
# code/lib/core-client/src/globals.ts
# code/lib/core-server/src/presets/common-preset.ts
2022-10-03 17:36:56 +02:00
Norbert de Langen
d21f83ef28
Merge pull request #19332 from storybookjs/tech/tsup-lib-api
...
cleanup
2022-10-03 18:30:04 +03:00
Norbert de Langen
f3299fe1b3
cleanup
2022-10-03 17:27:50 +02:00