Commit Graph

62585 Commits

Author SHA1 Message Date
Patrik Oldsberg 712f96a86f Merge pull request #27934 from minkimcello/mk/cli-templates
Declarative CLI Templates
2025-02-11 14:47:55 +01:00
Patrik Oldsberg 65f913de22 cli/new: reject configurations with duplicate template names
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 14:23:56 +01:00
Patrik Oldsberg c0d11068d5 cli/new: reject absolute template paths
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 14:06:34 +01:00
Patrik Oldsberg 40208a4bd6 docs/tooling/cli: review fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 14:05:31 +01:00
Fredrik Adelöw 9c45736f78 Merge pull request #28727 from deepthi-28/writing-docs
Updated documentation of write backstage
2025-02-11 14:03:26 +01:00
Patrik Oldsberg f5e56f0b5d cli/new: log templating step
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 13:28:48 +01:00
Patrik Oldsberg 9b82dabd50 docs/tooling/cli: review fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 13:23:22 +01:00
Patrik Oldsberg c411b5dd15 changesets: update new new changeset with some more information
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 12:18:43 +01:00
Fredrik Adelöw cddc2e6cbd Merge pull request #28777 from gavinclarkeuk/globbing
Add support for file globbing to fs:delete
2025-02-11 12:04:12 +01:00
Patrik Oldsberg a0926bf381 cli/commands/new: add option to skip install
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 12:03:21 +01:00
Patrik Oldsberg 851ffc87cf cli/templates: update to use new values field
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 12:03:21 +01:00
Patrik Oldsberg 4a8c432bb4 cli/new: rename template.yaml -> portable-template.yaml
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 12:03:20 +01:00
Patrik Oldsberg 9fd9004d0f cli/new: rename template.yaml -> portable-template.yaml
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 11:47:33 +01:00
Patrik Oldsberg 8ff50542cd cli/new: hardcode template file name and always point to dir
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 11:44:09 +01:00
Gavin Clarke f0f7e4a0a6 Switch to using globby library
Signed-off-by: Gavin Clarke <431018+gavinclarkeuk@users.noreply.github.com>
2025-02-11 10:42:10 +00:00
Fredrik Adelöw 8ccae19e82 Merge pull request #28692 from angeliski/add-rollback-tutorial
docs: add new tutorial to knex rollback
2025-02-11 11:33:50 +01:00
Patrik Oldsberg 10c419cc0c cli/new: merge parameters and templateValues
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 11:26:32 +01:00
Patrik Oldsberg 82107cd9a5 cli/new: remove ability to load template contents from a separate dir
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 11:15:25 +01:00
Patrik Oldsberg 97a8632cfa e2e-test: update path to plugin template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 10:30:05 +01:00
Patrik Oldsberg 9385cdf77c docs/tooling: mention parameters field in templating docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 10:29:28 +01:00
Patrik Oldsberg 43d1413120 cli/new: move tsconfig.json out of templates
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 01:42:44 +01:00
Patrik Oldsberg cf25d713a3 cli/new: update config loading tests + fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 01:22:15 +01:00
Patrik Oldsberg 7fb1408bb2 cli/new: update template loading to match new design
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-11 00:13:30 +01:00
Patrik Oldsberg 7c430f3567 cli/new: removed unused type
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 20:05:07 +01:00
Patrik Oldsberg b18880af3d cli/new: peek into local template definitions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 20:04:44 +01:00
Patrik Oldsberg 5108226057 cli/templates: match definitions to new design in docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 17:28:36 +01:00
Patrik Oldsberg 090b2873ac cli/new: add deprecation warning for global config via cli args
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 17:25:42 +01:00
Patrik Oldsberg 6195e6980f root: fix cli.new name prefix configuration
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 17:25:41 +01:00
Patrik Oldsberg b5f489aa79 docs/tooling: update cli templating docs to reflect new design
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 17:25:40 +01:00
Patrik Oldsberg 44330f0532 Merge pull request #28619 from backstage/rugvip/multi
frontend-plugin-api: add support for multiple attachTos
2025-02-10 15:55:05 +01:00
Fredrik Adelöw 79b242cdc8 Merge pull request #28785 from backstage/freben/brk
fix some accidental extra newlines in docs
2025-02-10 15:13:44 +01:00
Fredrik Adelöw c93a9243a2 fix some accidental extra newlines in docs
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-02-10 13:34:58 +01:00
Fredrik Adelöw 29324d1577 Merge pull request #28783 from deejay1/catalog-doc-fix
fix(doc): Remove duplicate return statement
2025-02-10 13:19:33 +01:00
Patrik Oldsberg ab14f4e30f cli/new: fix interactive template select
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 11:54:09 +01:00
Patrik Oldsberg d08fd8d415 root: move backstage field down for now
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 11:43:53 +01:00
Patrik Oldsberg 8c6251f246 cli/new: add ability to configure publish registry
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 11:38:05 +01:00
Patrik Oldsberg c993e428f9 cli/new: automatically inject package.json input
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 11:37:13 +01:00
Łukasz Jernaś 56d88c2ecc fix(doc): Remove duplicate return statement
Removes duplicate return statement and fixes some
trivial grammar issues.

Signed-off-by: Łukasz Jernaś <lukasz.jernas@allegro.com>
2025-02-10 11:11:50 +01:00
Patrik Oldsberg 472c0d3d5c cli/new: add backwards compatibility for id param
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 11:07:41 +01:00
Patrik Oldsberg 3d7595b70f cli: inline removed test util
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 10:48:37 +01:00
Patrik Oldsberg 0133a6edcb cli/new: move owner out of template values
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 10:46:11 +01:00
Patrik Oldsberg 24b2bacc58 cli/new: move config into backstage.cli.new
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 10:40:13 +01:00
Patrik Oldsberg b3ff1819d9 cli/new: add default- prefix to built-in template pointers
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 10:33:25 +01:00
Patrik Oldsberg 2c675620e1 cli/new: add support for predefined template parameters
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 10:30:05 +01:00
Patrik Oldsberg 401ca196b0 cli/new: add ability to reference built-in templates in config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 10:19:08 +01:00
Patrik Oldsberg 6d56c7d6b9 cli/new: move description to template pointer
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 01:28:50 +01:00
Phil Kuang 71ba1e0566 Merge pull request #28612 from kuangp/refactor/catalog-table
refactor(CatalogTable): allow overriding default components
2025-02-09 18:37:34 -05:00
Patrik Oldsberg 100681e427 cli/new: replace additionalActions with fixed installation per role
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-10 00:34:07 +01:00
Gavin Clarke 3d6ef79fb6 Add support for file globbing to fs:delete
Signed-off-by: Gavin Clarke <431018+gavinclarkeuk@users.noreply.github.com>
2025-02-09 16:45:44 +00:00
Patrik Oldsberg b15ecadc9a cli/new: remove params from config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-09 14:37:13 +01:00