Jeppe Reinhold
173de14b10
move metafiles to code, so nx can cache it properly
2024-09-25 15:29:37 +02:00
Jeppe Reinhold
12db3ed072
strip @storybook from metafiles
2024-09-25 11:21:27 +02:00
Jeppe Reinhold
13a9574aa4
merge all metafiles per package, name files after package names instead of package dirs
2024-09-24 22:18:12 +02:00
Jeppe Reinhold
4662d2fa18
prevent filename collision in core metafiles
2024-09-17 12:15:53 +02:00
Jeppe Reinhold
f5537b925a
add analyzed metafiles to the output
2024-09-16 09:29:49 +02:00
Jeppe Reinhold
568d96d461
use bench-dir for esbuild metafile, fix addon-test collision
2024-09-13 11:36:56 +02:00
Jeppe Reinhold
2806b81d46
move metafiles
2024-09-13 10:58:04 +02:00
Norbert de Langen
91f38bfef8
additional fixes
2024-08-10 21:48:10 +02:00
Norbert de Langen
e12039c059
apply sorting on scripts
2024-08-08 11:23:52 +02:00
Norbert de Langen
9605338ee7
reduce bun usage
2024-08-07 15:49:11 +02:00
Norbert de Langen
f776dd4af2
make it a global regex to replace multiple occurrences
2024-07-10 11:56:37 +02:00
Norbert de Langen
c859744512
Apply a band-aid on incorrect type generation
2024-07-10 11:51:47 +02:00
Norbert de Langen
7bcbcd2aff
cleanup
2024-06-25 18:07:09 +02:00
Norbert de Langen
e2057b8893
fix
2024-06-05 10:03:55 +02:00
Norbert de Langen
c240f55b97
isolate sb/test package
2024-06-04 10:30:20 +02:00
Norbert de Langen
f2218fa40f
wip
2024-05-06 17:14:44 +02:00
Michael Shilman
4d5f96584d
Core: Bundle for node18 in SB8
2023-12-15 22:45:31 +08:00
Norbert de Langen
2ea7d7bf06
Merge branch 'next' into release-8-0
2023-11-15 11:48:09 +01:00
Valentin Palkovic
b7ef8c560f
Use esbuild as esm loader for node
2023-11-03 11:42:11 +01:00
Norbert de Langen
1a63f055f8
only log "done" locally, the CI has no use for it
2023-11-01 10:05:41 +01:00
Kasper Peulen
f42e9efbba
Pre bundle most deps of the test package
2023-10-25 15:09:48 +02:00
Kasper Peulen
de86f5d737
Always externalize @vitest deps in tsup, as they are ESM-only. But still use it for the dts files, as bundling dts files is buggy
2023-10-04 12:51:21 +02:00
Norbert de Langen
02e058a0d0
do not generate sourcemaps for manager related code, not for prebuild preview code
2023-08-24 10:00:54 +02:00
Kasper Peulen
c936edc3e2
Support Safari 15, Firefox 91 and Chrome 100
2023-08-11 11:39:45 +02:00
Norbert de Langen
7ad430956b
add comment
2023-05-02 09:34:04 +02:00
Norbert de Langen
edc869c993
do not generate ESM for preset entries
2023-05-01 16:27:31 +02:00
Norbert de Langen
fa255cb942
do not clear, that's what the reset flag is for
2023-04-25 14:53:53 +02:00
Norbert de Langen
88eb083815
fix bundle script in dev-mode
2023-02-14 21:15:28 +01:00
Norbert de Langen
8f7fff2f34
Merge branch 'tech/tsup-core-server-v2' into tech/tsup-csf-plugin
2022-12-20 13:34:56 +01:00
Norbert de Langen
bd2670c5e4
remove this for now, to make windows happy
2022-12-15 22:59:55 +01:00
Norbert de Langen
bd5d62781b
follow the advice of:
...
/usr/bin/env: use -[v]S to pass options in shebang lines
2022-12-15 22:20:53 +01:00
Norbert de Langen
f189971eee
micro-optimizations
2022-12-15 22:12:32 +01:00
Norbert de Langen
b023e32cee
not create dts bundles when not optimized, ensure content matches
2022-12-15 21:46:09 +01:00
Norbert de Langen
e71870ad14
make the bundle script a bit less repetitive, make it have a done indicator
2022-12-14 20:23:30 +01:00
Norbert de Langen
7baa4d2ec0
fix the script to deal with non-provided peerDependencies (just for types)
2022-12-08 09:18:14 +01:00
Norbert de Langen
1ac554530d
change to use esbuild-register
2022-11-29 11:03:40 +01:00
Norbert de Langen
4ca17dd7bf
keep variable names recognizable
2022-11-23 16:00:33 +01:00
Norbert de Langen
b1a038ec54
Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework
2022-11-14 11:53:29 +01:00
Norbert de Langen
bcd14f61d1
less noise when compiling
2022-11-11 16:49:03 +01:00
Norbert de Langen
9bfd8172e9
Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework
2022-11-11 10:25:35 +01:00
Norbert de Langen
9fc90597d9
revert bundling in components into blocks
2022-11-10 17:00:44 +01:00
Norbert de Langen
dbe046c524
Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework
2022-11-08 12:16:57 +01:00
Valentin Palkovic
9593c414a7
Fix prepare script on Windows machines
2022-11-06 15:07:35 +01:00
Norbert de Langen
36d0659f83
Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework
2022-11-04 11:40:21 +01:00
Norbert de Langen
a18424ab8a
fix a bug me and ian found
...
Co-authored-by: Ian VanSchooten <ian.vanschooten@gmail.com>
2022-11-02 16:15:04 +01:00
Norbert de Langen
9a07e8788f
prebundle the preview
2022-11-02 13:50:45 +01:00
Norbert de Langen
3c748d9135
fixes
2022-10-18 11:30:29 +02:00
Norbert de Langen
d52f54cd57
Merge branch 'next' into ts-up-lib-csf-tools-josh-the-dev
2022-10-05 11:33:04 +02:00
joshwooding
6cc0971ffa
Fix prepare bundle on Windows
2022-09-27 23:23:57 +01:00
Norbert de Langen
6ebde54236
fix the build system.
...
Emotion changed to use exports map, and esbuild wasn't pivking the right entry anymore,
resulting in react not being detected, and thus not bundled, and thus missing at runtime!
I changed the tsup/esbuild config to prefer the ESM version, and this seems to have fixed the issue.
Many thanks to @Anderist for the assist!
2022-08-26 14:30:07 +02:00