Commit Graph

62630 Commits

Author SHA1 Message Date
Patrik Oldsberg 451205b246 cli/new: refactor templater to make it stateful
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-08 21:10:55 +01:00
Patrik Oldsberg ece4911b9e cli/new: cleanup template execution
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-08 21:10:53 +01:00
Patrik Oldsberg 5ff71a719e cli/new: split out templating
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-08 20:57:53 +01:00
Patrik Oldsberg 82b1d4d6b1 cli/new: refactor to remove templating context
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-08 19:04:41 +01:00
Andre Wanlin a706caf76b Merge pull request #28674 from deepthi-28/azurediscovery-docs
Updated document Azure discovery
2025-02-08 09:59:25 -06:00
Patrik Oldsberg eec35e9c90 cli/new: read template content during preparation phase
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-08 16:33:07 +01:00
Patrik Oldsberg 0244176c98 cli/new: wire up additional actions with new input
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-08 16:33:07 +01:00
Patrik Oldsberg 2ee6feed29 cli/new: move package info and template globals to input resolution
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-08 16:33:05 +01:00
Patrik Oldsberg 401b84e451 cli: update templates to use new variables and template values
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-08 14:14:15 +01:00
Patrik Oldsberg 68e87d7f4c cli/new: add support for templated template values
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-08 14:07:36 +01:00
Patrik Oldsberg b751402fc6 cli/new: refactor package info resolution
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-08 12:49:30 +01:00
Charles de Dreuille 4de4602e94 Merge pull request #28770 from backstage/canon-fix-box
Canon - Fix custom values in spacing props
2025-02-07 19:01:07 +00:00
Charles de Dreuille a165e6f925 Update report.api.md
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2025-02-07 18:47:01 +00:00
Charles de Dreuille b2162a724c Update extractProps.ts
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2025-02-07 16:24:59 +00:00
Charles de Dreuille f44e5cf22d Create soft-seahorses-relate.md
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2025-02-07 16:19:36 +00:00
Charles de Dreuille e828a7f174 Merge pull request #28760 from backstage/canon-update-docs-layout
Canon - Improve docs website
2025-02-07 16:17:44 +00:00
Charles de Dreuille d05ab25502 Fix custom values in spacing props
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2025-02-07 16:15:16 +00:00
Patrik Oldsberg 08bf562c98 cli/new: more strict input separation and types
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 17:08:27 +01:00
Charles de Dreuille 52c5a5e45f Fix dependecies
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2025-02-07 16:00:50 +00:00
Patrik Oldsberg 5c5eb056b7 cli/new: more strict input of globals and stop merging them into params
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 16:57:53 +01:00
Charles de Dreuille af390331d0 Improving margin props
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2025-02-07 15:57:46 +00:00
Patrik Oldsberg ffdb4fa71a cli/new: define params type
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 16:38:22 +01:00
Patrik Oldsberg bc3bf545de cli/new: index files for subdirs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 16:16:31 +01:00
Patrik Oldsberg 80ec7909e4 cli/new: inline prompt factories and move to param collection to preparation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 16:15:08 +01:00
Patrik Oldsberg cd3e94e9fc cli/new: more renames to use portable template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 16:13:37 +01:00
Patrik Oldsberg c08a9ab25f cli/new: rename types to use PortableTemplate prefix
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 16:10:49 +01:00
Patrik Oldsberg e4a1a2d8db cli/new: cleanup custom options and prompt type in collection
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 16:08:38 +01:00
Patrik Oldsberg 284842865e cli/new: move default globals to config reading
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 16:04:18 +01:00
Patrik Oldsberg 64f90cbea0 cli/new: move built-in prompts to be derived from role instead
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 16:03:12 +01:00
Mihai Tabara bd52866722 Merge pull request #28765 from MihaiTabara/docs-fixing
Fix type in templates input examples
2025-02-07 14:40:48 +00:00
Patrik Oldsberg d6996fcb66 cli/new: use separate role definitions for templates
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 15:32:07 +01:00
Patrik Oldsberg ff951003f1 cli/templates: define role for all package templates
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 15:32:07 +01:00
Patrik Oldsberg 9e8d2e5bfa cli/new: start collecting package role from templates
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 15:32:07 +01:00
Patrik Oldsberg 20502024f4 cli/new: add config loading tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 15:32:06 +01:00
Patrik Oldsberg 616be453eb cli/new: merge global overrides into config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 15:32:05 +01:00
backstage-goalie[bot] eab59bc13b Merge pull request #28764 from backstage/renovate/useoptic-optic-1.x-lockfile
fix(deps): update dependency @useoptic/optic to v1.0.6
2025-02-07 14:19:58 +00:00
Mihai Tabara 95966751c8 Fix type in templates input examples
Signed-off-by: Mihai Tabara <mihait@spotify.com>
2025-02-07 14:13:39 +00:00
renovate[bot] 46282890bd fix(deps): update dependency @useoptic/optic to v1.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-07 13:48:09 +00:00
Patrik Oldsberg 8355dd9b92 cli/new: merge + refactor preparation step
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 14:33:00 +01:00
backstage-goalie[bot] 961861292e Merge pull request #28762 from backstage/renovate/module-federation-enhanced-0.x-lockfile
fix(deps): update dependency @module-federation/enhanced to v0.8.10
2025-02-07 13:31:44 +00:00
Patrik Oldsberg ac04e0482e cli/new: refactor types
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 14:28:28 +01:00
Patrik Oldsberg 077aa5d2e1 cli/new: move template execution impl to subdir
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 14:24:57 +01:00
Patrik Oldsberg 35f1e32e3b cli/new: refactor prompts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 14:19:36 +01:00
renovate[bot] 1cbf11866c fix(deps): update dependency @module-federation/enhanced to v0.8.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-07 13:01:12 +00:00
backstage-goalie[bot] fe3d04c5e5 Merge pull request #28761 from backstage/renovate/base-ui-components-react-1.x-lockfile
fix(deps): update dependency @base-ui-components/react to v1.0.0-alpha.6
2025-02-07 12:44:22 +00:00
Patrik Oldsberg a2ad89b50c cli/new: template load tests + fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 13:40:16 +01:00
Patrik Oldsberg ae502294d7 cli/new: add template loader selection tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 13:22:52 +01:00
Charles de Dreuille 4b31d16d3a Update imports
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2025-02-07 12:01:42 +00:00
Patrik Oldsberg 10a12c7a17 cli/new: refactor template loading
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-07 13:01:08 +01:00
renovate[bot] 4921069bfe fix(deps): update dependency @base-ui-components/react to v1.0.0-alpha.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-07 11:58:41 +00:00