Commit Graph

348 Commits

Author SHA1 Message Date
Patrik Oldsberg 18c5040457 cli: link to logger service docs in backend plugin template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-10-14 16:11:52 +02:00
Patrik Oldsberg ac0dd751cd cli: update scaffolder-module template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-10-14 15:30:03 +02:00
Patrik Oldsberg 11a489f2fa Apply suggestions from code review
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-10-12 21:55:36 +02:00
Patrik Oldsberg a05fcbbe63 cli: update backend plugin template README
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-10-12 21:55:36 +02:00
Patrik Oldsberg 95999c5e2c cli: update backend plugin template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-10-12 21:55:36 +02:00
Patrik Oldsberg 80a1f41334 cli/templates: .eslintrc.js -> .eslintrc.js.hbs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-10-06 17:29:16 +02:00
Fredrik Adelöw 0b76c700be remove various little backend-common references
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-28 12:09:24 +02:00
Heikki Hellgren adabb40edb feat(cli): allow setting license for new command
This allows using custom licenses for new plugins when using the
backstage-cli new command

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-07-31 09:29:56 +03:00
Stephen Glass e53074fb0e Update default backend plugin to use RootConfigService
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2024-07-21 01:44:13 -04:00
Camila Belo b82aff92aa refactor(test-utils): deprecate the isDockerDisabledForTests function
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-07-10 17:06:00 +02:00
Fredrik Adelöw 614e0294f7 Merge pull request #25386 from stephenglass/fix/cli-backend-plugin-updates
fix: update cli default backend plugin to use non-deprecated imports
2024-06-25 10:32:59 +02:00
Ben Lambert 65f6f277e6 Merge pull request #24633 from aramissennyeydd/sennyeya/fix-template-link
fix(plugin-template): new plugins fail the verify-docs & verify-types check
2024-06-25 09:48:26 +02:00
Stephen Glass d22886250c Update cli default backend plugin to use non-deprecated imports
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2024-06-24 23:37:40 -04:00
Valentin VĂLCIU e2e320cac0 backstage-cli (templates): update dependencies of the backend plugins
* remove unneeded dependencies `winston` and `yn` from the template
  of backend plugins;
* use `msw` v2 on the backend plugins; migrating later from v1 to v2
  is not straight forward; it is better to start with v2;

Signed-off-by: Valentin VĂLCIU <axiac.ro@gmail.com>
2024-06-21 22:59:23 +03:00
Ben Lambert ea2126db8c Merge pull request #24986 from backstage/blam/add-module-support-to-scaffolder-action
feat: module export for scaffolder action cli template
2024-06-18 10:51:07 +02:00
blam 057bc1fde6 feat: added support for new backend system in scaffolder actions module
Signed-off-by: blam <ben@blam.sh>
2024-06-11 11:00:39 +02:00
Beth Griggs 90c5268cff cli: add peerDependencies to devDependencies in package.json.hbs templates
Fixes: https://github.com/backstage/backstage/issues/24674
Signed-off-by: Beth Griggs <bethanyngriggs@gmail.com>
2024-06-05 14:43:37 +01:00
Stephen Glass 788eca7add fix readme for new plugins created using cli
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2024-05-24 23:42:14 -04:00
Mike Ball 812dff05b9 chore(plugin-template): add missing semicolon
This adds a previously-missing semicolon to the
`ExampleFetchComponent.test.tsx` file templated out by `backstage-cli
new --select plugin`.

Signed-off-by: Mike Ball <mikedball@gmail.com>
2024-05-05 20:36:04 -04:00
aramissennyeydd 4ba352071a fix express types as well
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-05-05 10:42:01 -04:00
aramissennyeydd a60d73b4a8 fix plugin template for monorepo plugins
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-05-05 10:34:03 -04:00
Heikki Hellgren 6b5ddbe622 fix: backend cli util to use the correct id
instead of using `pluginId: 'testPlugin'` now it uses the right id for
example `pluginId: 'test'`.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-04-08 08:26:13 +03:00
Andre Wanlin 91192f4e51 New Backend Plugin Template Fixes
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-03-23 21:20:22 +01:00
Patrik Oldsberg 0bcdba3c5b cli: add auth backend deps to plugin template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-03-19 10:38:06 +01:00
Heikki Hellgren bdf9ec131f feat: new backend plugins to use new backend system
new plugins created with cli will now use the new backend system by
default

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-03-14 14:56:37 +02:00
Philipp Hugenroth b45c9df686 Merge pull request #23311 from backstage/philipph/platform-to-framework
Rename open platform to open source framework
2024-03-07 09:22:35 +01:00
Philipp Hugenroth ad9314d3a7 Rename platform to open source framework
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2024-02-28 11:10:57 +01:00
Philipp Hugenroth 319833b0a4 Fix tests
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2024-02-21 16:51:00 +01:00
Philipp Hugenroth 058d06ee33 Fix prettier in react plugin template
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2024-02-21 15:33:54 +01:00
Philipp Hugenroth e57f7d77cb Fix prettier in common plugin template
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2024-02-21 15:26:50 +01:00
Philipp Hugenroth ebc0ff67e1 Fix prettier in backend module template#
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2024-02-21 15:22:21 +01:00
Philipp Hugenroth e392c64a09 Fix frontend plugin template prettier issues
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2024-02-21 14:54:05 +01:00
Patrik Oldsberg f5b09c3a49 cli: bump react version in templates
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-01-22 17:44:01 +01:00
Patrik Oldsberg dae62494cd Merge pull request #21151 from backstage/philipph/create-plugin-packages
Update dependency versions in default frontend plugin templates
2024-01-20 11:28:33 +01:00
Gauri Maheshwari d6415acbaa [fix]: export module as a default
Signed-off-by: Gauri Maheshwari <100439627+gauriimaheshwarii@users.noreply.github.com>
2024-01-16 21:38:25 +05:30
blam d5ab1b32db fix: scaffolder module should depend on -node library
Signed-off-by: blam <ben@blam.sh>
2023-12-04 14:50:33 +01:00
Philipp Hugenroth 35725e2b83 Update dependencies in frontend plugin templates
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-11-09 12:03:39 +01:00
Johan Persson b9ec93430e Replace mock-fs with createMockDirectory in the cli packages.
Signed-off-by: Johan Persson <johanp@spotify.com>
2023-10-11 12:31:15 +02:00
Patrik Oldsberg 21cd3b1b24 cli: added node-library template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-20 12:57:06 +02:00
Patrik Oldsberg 956d226eee cli: add sideEffects: false to plugin templates
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-07 13:40:19 +02:00
Fredrik Adelöw 8cec7664e1 remove dependencies on @types/node
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-09-01 11:04:14 +02:00
Patrik Oldsberg 278d9326eb cli: added backend module templating factory
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-08-18 13:58:50 +02:00
blam 696df736b7 chore: fix cli useage
Signed-off-by: blam <ben@blam.sh>
2023-06-13 16:26:26 +02:00
PIYUSH NEGI 8dbe5a9e72 Update packages/cli/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.tsx.hbs
Co-authored-by: Johan Haals <johan@haals.se>
Signed-off-by: PIYUSH NEGI <43876655+npiyush97@users.noreply.github.com>
2023-06-08 16:57:08 +05:30
npiyush97 4df4bdb99d added some tweaks
Signed-off-by: npiyush97 <npiyush35@gmail.com>
2023-06-08 15:10:46 +05:30
npiyush97 7554059912 fix-17201
Signed-off-by: npiyush97 <npiyush35@gmail.com>
2023-06-06 09:35:27 +05:30
Fredrik Adelöw 3d6a253de5 do the rest too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-03-23 08:57:48 +01:00
Patrik Oldsberg b37a450fe5 Update packages/cli/templates/default-node-plugin-package/src/index.ts.hbs
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-10 15:03:31 +01:00
Patrik Oldsberg 09e87a95e2 cli: add web-plugin template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-10 13:42:59 +01:00
Patrik Oldsberg 9d8528eb8d cli: add node-plugin template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-10 13:07:56 +01:00