76 Commits

Author SHA1 Message Date
Norbert de Langen
f04451bd9c
fix? 2022-02-01 20:38:17 +01:00
Michael Shilman
62f31200b1
Revert "Core: Rename generated-stories-entry to cjs extension so require works" 2022-01-28 19:53:18 +08:00
Norbert de Langen
5d9a1c811f
remove dev script
change the watch mode of yarn build to use the prepare script
add a --watch flag to prepare script
remove the babel --copy-file flag where possible
remove noise from prepare
improve error reporting from prepare
cleanup
2022-01-26 14:12:34 +01:00
Tom Coleman
07ca419318 Merge remote-tracking branch 'origin/next' into jpzwarte-fix-require-is-undefined 2022-01-24 15:34:31 +11:00
Tom Coleman
c14edc6ad9 Add comments explaining discrepencies 2022-01-24 15:33:19 +11:00
Tom Coleman
9390d00628 Revert "Review fixes."
This reverts commit b80d1aa4dab9d67980cf28b236cd07652177e665.
2022-01-24 15:29:23 +11:00
merceyz
b6bcdae0f2 fix(webpack5): use require.resolve for process fallback 2022-01-15 22:05:00 +01:00
Michael Shilman
aa23b983fa Merge branch 'next' into pr/16727 2021-12-24 01:39:43 +08:00
Taillook
55247e14fa remove react-dev-utils 2021-12-16 01:27:34 +09:00
Michael Shilman
85d6f96274 Merge branch 'next' into pr/16727 2021-12-06 23:32:58 +08:00
Michael Shilman
6d9435a5fa Merge branch 'next' into pr/16773 2021-12-06 20:47:20 +08:00
Michael Shilman
8ddd297e7f Core: Fix auto-title in webpack5 2021-12-06 08:28:54 +08:00
Michael Shilman
ce26f13f45 Merge branch 'next' into pr/16727 2021-12-02 19:38:59 +08:00
Ittai Baratz
937e12c9e9 Merge remote-tracking branch 'upstream/next' into preview-url-in-block-story 2021-11-26 09:13:21 -08:00
Sebastien Guillemot
d443c73ba3
Fix breaking changing process/browser 2021-11-26 17:38:24 +09:00
Ittai Baratz
feec8afc28 add preview url to iframe webpack config 2021-11-25 08:13:58 -08:00
Jeroen Zwartepoorte
b80d1aa4da Review fixes. 2021-11-22 08:56:06 +01:00
Jeroen Zwartepoorte
e61b63a86e Rename to .cjs extension so require works. 2021-11-19 08:44:29 +01:00
Michael Shilman
876e1c6843 Webpack5: Stub in process global 2021-11-19 15:01:17 +08:00
Tom Coleman
2955e4a58a Ensure manager caching respects globals 2021-11-10 17:33:50 +11:00
Norbert de Langen
4bb1250f90 fix review comments 2021-11-09 10:43:45 +01:00
Norbert de Langen
e10f5d36f1
Add feature flag for to stop storybook from alias'ing emotion packages 2021-11-05 13:47:23 +01:00
Tom Coleman
eb1fcd077d Pass serverChannelUrl on global via an option. 2021-11-01 12:44:31 +11:00
Michael Shilman
c8c00340a5
Merge branch 'next' into 16237-fix-windows-story-index 2021-10-22 11:55:43 +08:00
Tom Coleman
75f72b4fa2 Fix some slashes for windows 2021-10-21 17:01:53 +11:00
Norbert de Langen
fd21119826
Update lib/builder-webpack5/src/preview/iframe-webpack.config.ts
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2021-10-20 16:17:32 +02:00
Norbert de Langen
cc141dcf35
Add global.CHANNEL_OPTIONS coming from main.js > core > channelOptions
giving users the ability to optimize the channel default options for security of performance reasons
2021-10-20 11:21:10 +02:00
Michael Shilman
9a506dd998
Merge pull request #16328 from storybookjs/fix-stories-entry-path
Core: Fix paths to be relative to working dir in v7 mode
2021-10-13 11:02:59 +08:00
Michael Shilman
a594047fff Fix deepscan 2021-10-13 09:28:35 +08:00
Tom Coleman
86ed3b386e Paths need to be relative to working dir in v7 mode too 2021-10-13 11:48:04 +11:00
Tom Coleman
962bee0b7a Don't connect to stories.json EventSource in built/prod mode 2021-10-12 22:52:30 +11:00
Tom Coleman
d6b9286484 Merge remote-tracking branch 'origin/next' into 16047-refactor-specifiers 2021-10-06 13:04:04 +11:00
Tom Coleman
3dbe9562d1 Require context is generated relative to workingDir now 2021-10-05 13:20:07 +11:00
Tom Coleman
f87645fb84 Linting cleanup 2021-10-05 13:09:43 +11:00
Tom Coleman
719c787150 First pass at unified specifiers working 2021-10-04 00:48:54 +11:00
Michael Shilman
255bc81180 Remove dotenv-webpack 2021-09-19 19:11:47 +08:00
Michael Shilman
3696da7fd7 NormalizedStoriesEntry => NormalizedStoriesSpecifier 2021-09-18 16:06:10 +08:00
Tom Coleman
ebd1f934b8 Ensure we don't call configure for stories if we don't have any 2021-09-13 21:48:27 +10:00
Tom Coleman
68b3ef639c Merge remote-tracking branch 'origin/next' into on-demand-store 2021-09-07 22:17:56 +10:00
Tom Coleman
d06b4a6c90 Ensure user's config is last on the list.
And update snapshots with cosmetic changes to entry points (and ordering HMR to the end, which I think is OK)
2021-09-05 11:23:24 +10:00
Tom Coleman
8abc869f07 Need to pick filenames carefully in configs 2021-09-04 11:55:22 +10:00
Tom Coleman
7eaf944bd9 Bring wp4 changes over to wp5 2021-09-04 11:42:02 +10:00
Tim van der Horst
5d5bf30eb7
Replaced process.env override in DefinePlugin config to individual key definitions
Included an empty fallback for `process.env.XSTORYBOOK_EXAMPLE_APP` for the variable used in `lib/ui/src/index.tsx`
2021-08-27 17:00:52 +10:00
Michael Shilman
f0dd576e04
Merge pull request #15372 from 7rulnik/default-aggregate-timeout
Core: Fix double rebuilds by removing aggregateTimeout
2021-07-02 19:32:27 +08:00
Michael Shilman
631047b370 Webpack: Used named moduleIds in production for automatic title generation 2021-06-29 21:40:31 +08:00
Michael Shilman
317d8d98a5 CSF3: Generate default titles based on file path 2021-06-26 20:15:51 +08:00
Michael Shilman
39c7ba09ad CSF3: Genericize feature flagging and fix webpack5 2021-06-26 16:04:35 +08:00
Valentin Semirulnik
9e044fc30f
fix: remove aggregateTimeout 2021-06-25 22:43:57 +03:00
Michael Shilman
2d4f2f5857 Core: Only use dotenv-webpack when a user has a dotenv file 2021-06-25 20:54:18 +08:00
Michael Shilman
74863b77d7 Core: Add sbmodern package export, drop modern to chrome 79+ 2021-05-17 18:01:30 +08:00