Commit Graph

815 Commits

Author SHA1 Message Date
Patrik Oldsberg 4d081452b1 Address review feedback from freben
- Use cli-defaults instead of listing individual CLI modules in
  create-app template and root package.json
- Move nodeTransform config files from cli-module-build to cli-node
  to avoid cross-module direct imports
- Rename cli-module-create-github-app to cli-module-github
- Start createCliModule init chain with Promise.resolve()
- Deduplicate exitWithError in runCliModule.ts
- Extract shared isCommandNodeHidden to @internal/cli
- Add explanatory comment for fromArray deduplication field
- Restore error for cli role packages missing bin in runCliExtraction

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-16 12:55:22 +01:00
Patrik Oldsberg 7781ae5911 Add @backstage/cli-defaults package
Introduces a new `@backstage/cli-defaults` package that re-exports all
standard CLI modules as a single array, simplifying dependency management
for consumers. The CLI's `CliInitializer` is updated to support array
exports alongside single module exports. The create-app template,
changesets, and CLI fallback are updated to use `@backstage/cli-defaults`
instead of listing 11 individual modules.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-15 15:01:35 +01:00
Patrik Oldsberg d806b0cc9f Add automatic discovery of CLI modules from project dependencies
The CLI now scans the project root's dependencies and devDependencies
for packages with the cli-module role, loading them automatically.
Falls back to the built-in set with a deprecation warning when no
modules are found. Updated create-app templates and the monorepo root
to include all CLI modules as explicit devDependencies.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-14 12:40:43 +01:00
Johan Persson d14b6e07f1 feat(org,catalog-graph)!: migrate MembersListCard, OwnershipCard, and CatalogGraphCard to BUI (#33177)
* feat(org): migrate MembersListCard to BUI EntityInfoCard

Signed-off-by: Johan Persson <johanopersson@gmail.com>

* feat(org)!: migrate OwnershipCard to BUI EntityInfoCard

Replaced MUI InfoCard with BUI EntityInfoCard in OwnershipCard.
Removed the `variant` and `maxScrollHeight` props since card sizing
and scrolling are now handled by the BUI layout. Wrapped body content
in a flex column div to keep the relations toggle pinned while the
grid scrolls. Updated app-legacy and create-app templates to remove
the dropped `variant` prop.

Signed-off-by: Johan Persson <johanopersson@gmail.com>

* feat(catalog-graph)!: migrate CatalogGraphCard to BUI EntityInfoCard

Replace MUI InfoCard with BUI EntityInfoCard in CatalogGraphCard.
The `variant` prop is removed — card sizing is now handled by the
BUI layout system. The deep link is replaced with a footer Link.

Remove `variant="gridItem"` from all EntityCatalogGraphCard usages
in app-legacy and create-app templates.

Signed-off-by: Johan Persson <johanopersson@gmail.com>

* feat(catalog-react): export useEntityRoute hook

Signed-off-by: Johan Persson <johanopersson@gmail.com>

* fix(cli): update translation extraction test for renamed org keys

Signed-off-by: Johan Persson <johanopersson@gmail.com>

---------

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-03-06 16:19:31 +01:00
Johan Persson 20cb5117e1 fix: remove variant prop from create-app template for migrated cards
The E2E tests scaffold a new app from the create-app template,
which still passed variant="gridItem" to EntityAboutCard,
EntityUserProfileCard, and EntityGroupProfileCard after the prop
was removed.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-03-03 12:17:35 +01:00
Gabriel Dugny ebd4630702 chore: replace legacy package.json workspaces.packages by workspaces
Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
2026-02-22 16:50:54 +01:00
Patrik Oldsberg 5920062fcc app-react: API cleanup and component utility for nav items
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-17 11:55:34 +01:00
Patrik Oldsberg 98fe69ae6a app: migrate to new navItems API
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-17 11:55:33 +01:00
Andre Wanlin 3c4cfaee3d Changes based on copilot feedback
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-02-11 19:44:03 -06:00
Andre Wanlin 40f27209ed Create App Updates
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-02-11 19:12:28 -06:00
Patrik Oldsberg c38b74df5f frontend-plugin-api: complete deprecation of app blueprints
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-01-23 11:41:16 +01:00
Andre Wanlin f1fe6fe90d Updated to use Node 24 and Debian Trixie
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-01-05 12:25:52 -06:00
Johan Persson 5f88e246e3 chore(create-app): add jest 30 dependencies to template
Add jest and its environment dependencies as devDependencies to the
create-app template, so new Backstage apps are set up with Jest 30
support out of the box.

For Jest 30, apps need @jest/environment-jsdom-abstract and jsdom
instead of jest-environment-jsdom.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2025-12-11 18:07:01 +01:00
Fredrik Adelöw 2bae83ab2e Version Policy Update - Node 22 to 24
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-12-08 10:53:38 +01:00
Patrik Oldsberg 9f939a6a4c create-app: add app visualizer in next template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-04 00:13:53 +01:00
Patrik Oldsberg fc7cbfced9 cli: add template for catalog provider
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-10-20 19:58:19 +02:00
Fredrik Adelöw 7dcedff2fb bump create-app sqlite version
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-10-08 10:21:49 +02:00
Fredrik Adelöw f58e7f1d0d Merge pull request #31002 from mathieu-benoit/patch-3
feat: Update backend/Dockerfile - `node:20` --> `node:22`
2025-09-12 23:28:29 +02:00
secustor 02dbe8eaae fix(packages/create-app): add missing cli dependency
Signed-off-by: secustor <sebastian@poxhofer.at>
2025-09-01 23:43:30 +02:00
Mathieu Benoit 7cfea1aac8 feat: Update backend/Dockerfile - node:20 --> node:22
Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr>
2025-08-27 16:19:32 -04:00
Mathieu Benoit bf02e9649e feat: Update backend/Dockerfile - node:20 --> node:22
Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr>
2025-08-27 16:14:49 -04:00
benjdlambert 9699971f39 chore: just use config for next app
Signed-off-by: benjdlambert <ben@blam.sh>
2025-08-20 10:54:36 +02:00
Camila Belo b2d9fc1939 fix: redirect from home to catalog
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2025-08-20 09:55:15 +02:00
Andre Wanlin db58953a4f Prettier changes
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-08-15 08:09:00 -05:00
Andre Wanlin e33fce15df create-app - Added Notifications and Signals to be installed by default
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-08-15 07:42:45 -05:00
Patrik Oldsberg 274ef53e13 create-app: update e2e test config to run app and backend separately
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-11 14:28:39 +02:00
Patrik Oldsberg 1cd81a9c5e Merge pull request #30831 from backstage/rugvip/template-fix
create-app: fix bad JSON in next template
2025-08-08 14:52:48 +02:00
Patrik Oldsberg bbe34cbd47 create-app: fix bad JSON in next template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-08 00:43:01 +02:00
Fredrik Adelöw 8b1bf6e069 elevate app.packages to no longer be experimental
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-08-07 17:02:05 +02:00
Andre Wanlin f859b123d0 create-app - Adjusted package order
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-08-05 10:12:40 +02:00
Patrik Oldsberg 18a0900f1a cli: add template for new frontend system
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-05 09:15:24 +02:00
Patrik Oldsberg 4c7dc313aa create-app: add explicit NFS template to next-app
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-04 10:06:17 +02:00
benjdlambert bf24784a2d feat: added in search and user settings to sidebar
Signed-off-by: benjdlambert <ben@blam.sh>
2025-07-25 10:01:14 +02:00
benjdlambert 357d1c2304 chore: fixing version of icons
Signed-off-by: benjdlambert <ben@blam.sh>
2025-07-25 10:01:14 +02:00
benjdlambert d9fc7c4a71 chore: fix versions
Signed-off-by: benjdlambert <ben@blam.sh>
2025-07-25 10:01:14 +02:00
benjdlambert 01d7d9ae13 chore: moving things around a little bit
Signed-off-by: benjdlambert <ben@blam.sh>
2025-07-25 10:01:14 +02:00
benjdlambert aa9e905392 chore: refactor and rename a little bit
Signed-off-by: benjdlambert <ben@blam.sh>
2025-07-25 10:01:14 +02:00
benjdlambert f47c62993d chore: include bui version and rename folder to app
Signed-off-by: benjdlambert <ben@blam.sh>
2025-07-25 10:01:14 +02:00
benjdlambert 46ea29c5a5 chore: added versions for proper packages
Signed-off-by: benjdlambert <ben@blam.sh>
2025-07-25 10:01:14 +02:00
benjdlambert f97f9dd67e chore: update naming to next instead
Signed-off-by: benjdlambert <ben@blam.sh>
2025-07-25 10:01:14 +02:00
benjdlambert cd317e31da feat: starting to add a small app-next folder with some things
Signed-off-by: benjdlambert <ben@blam.sh>
2025-07-25 10:01:13 +02:00
benjdlambert 0d81483525 chore: reset tmeplate for now
Signed-off-by: benjdlambert <ben@blam.sh>

Signed-off-by: benjdlambert <ben@blam.sh>
2025-07-25 10:01:13 +02:00
Lynette Lopez d7a3d04e82 Add changeset
Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Add new package.json templates to `templatePackagePaths`

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Copy over templates/default-app files

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Copy over templates/default-app/.yarn/* files

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Copy over templates/default-app/examples/* files

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Copy over templates/default-app/packages/backend/* files

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Copy over templates/default-app/packages files

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Copy over templates/default-app/plugins/* files

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Combine templates/default-app/app-config.yaml.hbs & packages/app-next/app-config.yaml

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Combine templates/default-app/packages/app/* & packages/app-next/*

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Align App.tsx with template's backend package

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Misc. changes that align templates/default-app & templates/default-app-next

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Add default-app-next's frontend packages to versions file and mocks

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Add `--experimental-frontend` CLI flag

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Fix default-app-next's frontend package name

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Fix spacing around `scripts` block

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

PR review: Clarify changeset message

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

PR review: Reduce to one default template with two frontend packages (1/2)

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

PR review: Reduce to one default template with two frontend packages (2/2)

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

PR review: Trim down packages/app-next

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Bug: Normalize Windows paths while parsing them out

Signed-off-by: Lynette Lopez <lynettel@spotify.com>

Update packages/create-app/templates/default-app/packages/app-next/README.md

Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
Signed-off-by: Lynette Lopez <lynettelopez12@gmail.com>

Small follow up

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Fixed test

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-07-25 10:01:13 +02:00
Andre Wanlin 3a7dad9ffe dependencies - Updated better-sqlite3 to v12
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-07-23 13:36:47 +02:00
Patrik Oldsberg e92bb9b82a ui: remaining bits to rename canon to ui
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-07-15 11:28:20 +02:00
gaelgoth c4a0830215 Remove 'allowedHosts' from Publish action input in template files
Signed-off-by: gaelgoth <gothuey.gael@gmail.com>
2025-07-04 07:58:40 +02:00
Fredrik Adelöw 6d9a4dd220 Merge pull request #29788 from leboncoin/feat-remove-useurlreaderssearch
feat(catalog)!: remove catalog.useUrlReadersSearch and always use search
2025-06-19 16:46:53 +02:00
Aramis Sennyey 2a0290a2a8 Merge pull request #29573 from aramissennyeydd/sennyeya/api-reference-build
chore: start building new api reference docs alongside existing build
2025-05-23 11:31:33 -04:00
aramissennyeydd 6502efe809 ship .cache as default
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-05-08 22:27:54 -04:00
gaelgoth 8448948481 remove lerna-debug.log pattern
Signed-off-by: gaelgoth <gothuey.gael@gmail.com>
2025-05-05 18:33:58 +02:00