19 Commits

Author SHA1 Message Date
Kasper Peulen
960426dba3 Move all templates out of cli into renderers 2022-10-31 10:59:17 +01:00
Ian VanSchooten
393a12aac3 Use explicit type imports 2022-10-27 19:33:39 -04:00
Norbert de Langen
6be12c24d8
deal with the aftermath of upgrading eslint 2022-10-24 14:57:37 +02:00
Yann Braga
acc5289dc4 fix lint issues in nextjs framework 2022-10-17 11:26:42 +02:00
Kyle Gach
738dfb1749 Add nextjs framework template files 2022-10-13 11:28:08 -06:00
Tom Coleman
62471a50b5 Merge remote-tracking branch 'origin/next' into tom/sb-557-typescript-2 2022-10-13 13:30:39 +11:00
Norbert de Langen
0e52605534
use label prop in aurelia as well 2022-10-12 13:07:06 +02:00
Norbert de Langen
764697fc93
change every button in lib/cli/renderassets and renderer/*/template to use the label prop 2022-10-12 12:02:30 +02:00
Norbert de Langen
6d490107b3
make the vue button accept a children prop, consistently 2022-10-12 11:23:00 +02:00
Tom Coleman
383d4ba861 Revert "Undo accidental push of tom/sb-557-typescript-2"
This reverts commit 1cfc7203af2dd81d9484d1a569c9fb4e31396ea0.
2022-10-12 13:20:38 +11:00
Tom Coleman
1cfc7203af Undo accidental push of tom/sb-557-typescript-2 2022-10-12 13:16:11 +11:00
Tom Coleman
0efdbec312 Update preact rendererAssets to not use pragma 2022-10-12 12:54:03 +11:00
Michael Shilman
93564baa7f Fix vue3 header 2022-10-10 11:25:58 +08:00
Michael Shilman
d31a3a99cc Fix vue3-mdx stories 2022-10-10 10:00:39 +08:00
Ian VanSchooten
2b38dd5d0b Merge remote-tracking branch 'origin/next' into vite/vue2
# Conflicts:
#	code/yarn.lock
2022-09-26 15:50:53 -04:00
Norbert de Langen
d2846e8c00
fix the svelte button component not accepting the onClick handler 2022-09-26 09:41:09 +02:00
Ian VanSchooten
5da1246c51 Add file extensions to vue imports
Webpack doesn't need them, but Vite does
2022-09-21 23:16:23 -04:00
Yann Braga
f2c7ee50fc remove outdated comment 2022-09-02 17:42:41 -03: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