53 Commits

Author SHA1 Message Date
Yann Braga
77dfa012c4 make interactions debugger the default behavior of the addon 2023-02-15 11:37:53 +01:00
Michael Shilman
a768b28765 Telemetry: Hash error messages 2023-02-07 22:45:12 +08:00
Yann Braga
4ea443c13e Warn users to use default export in main.js
- involves changes in csf-tools to define a flag that tells us there is (or not) a default export
- involves changes in affected packages now that loadMainConfig is async
2023-01-31 10:23:07 +01:00
Michael Shilman
1dc6152240
Merge pull request #20776 from storybookjs/shilman/fix-cli-options
CLI: Fix global flag corner case
2023-01-26 01:14:06 +08:00
Tom Coleman
e4921c45d3 Trim whitespace in anon id 2023-01-25 22:02:34 +11:00
Michael Shilman
214c6ae3ac Add extra error sanitization handling 2023-01-25 18:48:18 +08:00
Norbert de Langen
03d08f923d
Merge branch 'next' into tech/tsup-core-server-v2 2022-12-20 13:24:13 +01:00
Tom Coleman
4322ed42f6 Check the tasks don't immediately resolve 2022-12-15 11:34:09 +11:00
Tom Coleman
0196118d09 Don't wait on the whole telemetry call to consider the fetch done
Telemetry also writes to the cache which is its own async process that's not waited on by `immediate: true`
2022-12-15 11:31:05 +11:00
Michael Shilman
f56de0d2a2
Merge pull request #20143 from storybookjs/tom/sb-982-add-using-chromatic-to-telemetry
Telemetry: Add `chromatic` to addons list
2022-12-09 12:20:48 +08:00
Tom Coleman
b5cbd96bb8
Revert "Revert "Telemetry: Add precedingUpgrade data to dev/build/error events"" 2022-12-09 10:42:00 +11:00
Michael Shilman
55010a547f
Revert "Telemetry: Add precedingUpgrade data to dev/build/error events" 2022-12-09 00:58:23 +08:00
Tom Coleman
82ccbd92a8 Get actual chromatic version too 2022-12-08 11:06:32 +11:00
Tom Coleman
8b7db92c49 Switch chromatic to another addon in telemetry metadata 2022-12-08 10:50:31 +11:00
Norbert de Langen
ff6b28e391
add a node entry to exportmap to all packages so core-server can be bundled 2022-12-07 19:17:41 +01:00
Michael Shilman
865fa79128 Telemetry: Add precedingUpgrade data to dev/build/error events 2022-12-08 00:26:30 +08:00
Tom Coleman
4cf693c66d Add metadata.hasChromatic 2022-12-07 17:20:14 +11:00
Tom Coleman
7fd5ec25bf Removed unused code 2022-12-07 12:54:42 +11:00
Tom Coleman
c6d966eb64 Deal with a lot of different edge cases for git URLs 2022-12-07 12:18:44 +11:00
Michael Shilman
1da5b3d3cd
Revert "Telemetry: Add precedingUpgrade data to dev/build events" 2022-12-06 19:22:49 +08:00
Michael Shilman
b4ff4adffa Add versionSpecifier as separate field 2022-12-06 11:42:28 +08:00
Michael Shilman
3b97e7e78a
Merge pull request #20084 from storybookjs/shilman/ugrade-success-telemetry
Telemetry: Add precedingUpgrade data to dev/build events
2022-12-05 13:59:22 +08:00
Michael Shilman
4d0ffcf7a7 Code review comments 2022-12-05 08:57:49 +08:00
Michael Shilman
6c644b1b18 Add precedingUpgrade data to dev/build events
This allows us to track failures more easily and improve our upgrade heuristics
2022-12-04 21:15:53 +08:00
Michael Shilman
b70c933a6b Merge branch 'next' into jeppe/sveltekit-framework 2022-12-03 22:29:26 +08:00
Michael Shilman
ee0d2a1282
Merge pull request #20074 from storybookjs/tom/sb-979-add-telemetry-to-version-update-check
Add a new `version-update` check telemetry event
2022-12-03 09:37:53 +08:00
Tom Coleman
22e76e8024 Add a new version-update check telemetry evetn 2022-12-03 11:45:28 +11:00
Michael Shilman
d20a0b7971 CLI: Add upgrade telemetry details 2022-12-02 20:44:07 +08:00
Jeppe Reinhold
3bb4c1f8dc svelte-kit > sveltekit 2022-12-01 14:05:53 +01:00
Tom Coleman
b53a97494d Send telemetry to localhost in sandboxes 2022-11-24 14:56:16 +11:00
Norbert de Langen
3fd2261293
all sorts of ts fixes or ignores after enabling ts to function on tests and stories 2022-11-14 17:06:53 +01:00
Kasper Peulen
031be97390 skip StoryIndexGenerator.test.ts on windows for now 2022-11-04 16:14:45 +01:00
Tom Coleman
2ebaa53687 Small tweak 2022-11-02 22:13:19 +11:00
Tom Coleman
1493309423 Fix tests 2022-11-02 22:12:48 +11:00
Tom Coleman
8012b1122a Pull renderer+builder from framework's package.json + a known list 2022-11-02 22:00:26 +11:00
Michael Shilman
c083eb9c56 Merge branch 'next' into shilman/version-check-telemetry 2022-10-28 20:13:51 +08:00
Norbert de Langen
7a86f0363e
Merge pull request #19656 from storybookjs/consistent-type-imports
Build: Separate type and value imports, enforce with ESLint
2022-10-28 09:36:35 +03:00
Michael Shilman
6f926d0583 Telemetry: Better CI measurement 2022-10-28 14:33:54 +08:00
Ian VanSchooten
393a12aac3 Use explicit type imports 2022-10-27 19:33:39 -04:00
Michael Shilman
a6499d6190 Fix boot notification 2022-10-27 20:55:30 +08:00
Norbert de Langen
037620f6af
Merge branch 'deprecate/remaining-lib-cli' into norbert/sb-799-create-a-storybooktypes 2022-10-24 15:28:19 +02:00
Tom Coleman
96f920afda Deepscan 2022-10-24 12:03:28 +11:00
Norbert de Langen
9b3eeeae15
fixes 2022-10-22 12:48:46 +02:00
Norbert de Langen
67581a33d9
step 5 2022-10-22 00:37:46 +02:00
Tom Coleman
9bd9902d22 Use a wrapper around all CLI commands to send boot and error events 2022-10-21 17:06:24 +11:00
Michael Shilman
e9bc1a7007 Fix inconsistent telemetry debug var per #19469 2022-10-17 15:02:23 +08:00
Norbert de Langen
9d2abf79d0
Merge branch 'next' into install-scripts-bootstrap 2022-10-05 16:16:02 +02:00
Bo Vandersteene
e5c88d168f feat(angular): disable ngcc when not needed 2022-09-30 14:16:34 +02:00
Ian VanSchooten
3dced1da9c Finish cleanup of /lib deps 2022-09-04 00:31:36 -04:00
Michael Shilman
54503208a6 CLI: Fix sb init to use renderer assets instead of frameworks
In 6.5 the `framework` config option was one of `react`, `angular`, etc. and included Webpack settings.

In the 7.0, we’ve updated it so that these are now called `renderers`, and are builder-independent. Now, frameworks contain specific builder information, such as `cra` or `nextjs` (for specific app environments) or `react-webpack5` / `react-vite` (for custom apps).

This fixes the `sb init` CLI command to use renderer-specific templates. I also call out some follow-up work to fix automigrations & telemetry
2022-09-02 15:35:27 +08:00