Commit Graph

2080 Commits

Author SHA1 Message Date
github-actions[bot] 73e7820731 Version Packages 2023-05-16 09:38:40 +00:00
Patrik Oldsberg 95b1df31ea Update packages/cli/src/commands/start/startFrontend.ts
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-05-13 19:43:41 +02:00
Patrik Oldsberg d548886872 cli: deprecate use of react 16
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-05-11 14:30:23 +02:00
Patrik Oldsberg d8e23ad2a3 Update packages/cli/src/commands/index.ts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-05-10 11:02:01 +02:00
Aramis Sennyey 473db605a4 Enable strict checking of config during CLI.
Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
2023-05-09 10:04:10 -04:00
github-actions[bot] e04bb20bdc Version Packages (next) 2023-04-25 15:53:19 +00:00
github-actions[bot] 6141c31839 Version Packages 2023-04-18 12:36:06 +00:00
github-actions[bot] ab75a16da7 Version Packages (next) 2023-04-11 14:21:21 +00:00
Patrik Oldsberg ea4f867796 Merge pull request #17280 from backstage/rugvip/monorepo
cli: move common utilities into new cli-node package
2023-04-11 10:13:08 +02:00
Fredrik Adelöw bb4a448e82 fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-04-06 17:03:27 +02:00
Patrik Oldsberg 5578c3de63 cli: refactor to use @backstage/cli-node
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-04-06 15:58:46 +02:00
Patrik Oldsberg 6438c324b1 cli-node: move back entry point helper
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-04-06 15:04:48 +02:00
Patrik Oldsberg 011217c8e0 cli-node: refactor role utils into PackageRoles + document, move stuff back
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-04-06 11:57:52 +02:00
Patrik Oldsberg b396202ac6 cli-node: lift over git
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-04-06 11:43:19 +02:00
Patrik Oldsberg 65a7a7620d cli-node: only copy the lockfile logic that is needed, revert rest
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-04-06 11:43:19 +02:00
Patrik Oldsberg c9321bea99 cli: forklift monorepo utils to cli-node
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-04-06 11:43:19 +02:00
renovate[bot] 9bbb00d5b4 fix(deps): update dependency @swc/helpers to ^0.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-05 12:58:24 +00:00
github-actions[bot] 9a5a1c4ba2 Version Packages (next) 2023-04-04 13:14:06 +00:00
Patrik Oldsberg 5786b18dca cli: lint fix
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-04-04 12:36:34 +02:00
Patrik Oldsberg 22d8703a26 cli: resolve config paths upfront
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-04-04 11:51:51 +02:00
Axel Hecht 3944ead310 Resolve config paths early for backend builds
Signed-off-by: Axel Hecht <axel@pike.org>
2023-03-31 15:00:53 +02:00
Axel Hecht e9e9c7962f Resolve --config options against both current directory and monorepo root.
Signed-off-by: Axel Hecht <axel@pike.org>
2023-03-29 20:10:53 +02:00
Axel Hecht 8075b67e64 Pass configs from build:backend to app builds. Fixes #15274
When using `build:backend` with `--config` options, they're
not passed down to the packaging of the FE app.
Thus, that's picking up the default configs, which includes
the `app-config.local.yaml`, but it's also missing the
production yaml, if requested.

Pass the given `configPaths` around for the backend build like
the frontend build already does.

Signed-off-by: Axel Hecht <axel@pike.org>
2023-03-29 20:10:53 +02:00
Patrik Oldsberg e480527a6d cli: add explicit type-fest dev dep to fix lib check issues
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-29 12:24:19 +02:00
Patrik Oldsberg 2898b6c8d5 fixes for TypeScript 5.0
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-29 12:24:19 +02:00
github-actions[bot] e32dc5e79d Version Packages (next) 2023-03-28 16:01:25 +00:00
Fredrik Adelöw 64d003fd63 Merge pull request #17132 from backstage/freben/pack-win
ensure that `productionPack` uses posix paths in `package.json` on all OSes
2023-03-28 15:59:58 +02:00
Fredrik Adelöw 0145608651 Merge pull request #17116 from backstage/freben/peers
get rid of majority of peer dependency warnings in yarn
2023-03-28 15:27:17 +02:00
Fredrik Adelöw b588ab7397 ensure that productionPack uses posix paths in package.json on all OSes
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-03-28 14:57:41 +02:00
Fredrik Adelöw 8d0d63f8f8 some more leftover deps
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-03-27 15:29:21 +02:00
Johan Haals 190e7c090c Merge pull request #17078 from backstage/jhaals/bump-zod
chore: Bump zod deps
2023-03-27 10:08:50 +02:00
Patrik Oldsberg 24432ae52f cli: fix package build to avoid duplicate modules for multiple entry points
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-24 16:48:40 +01:00
Johan Haals 1e4f5e91b8 chore: Bump zod deps
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-03-24 14:15:51 +01:00
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 586dc51872 Merge pull request #16836 from kuangp/feat/cli/md
feat(cli): support import of .md files
2023-03-21 16:45:49 +01:00
Phil Kuang 79e91d4c30 feat(cli): support import of .md files
Signed-off-by: Phil Kuang <pkuang@factset.com>
2023-03-21 10:10:33 -04:00
github-actions[bot] 5af2c4f412 Version Packages (next) 2023-03-21 13:38:30 +00:00
Patrik Oldsberg c611f57d78 cli: tweak posix path fix
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-20 10:15:42 +01:00
David Weber b9839d7135 fix: use posix for joining paths
Signed-off-by: David Weber <david.weber@w3tec.ch>
2023-03-18 11:28:28 +01:00
Johan Haals f9f9890925 Merge pull request #16526 from backstage/goa/cli-admin-command
cli: Add `onboard` command
2023-03-16 11:14:35 +01:00
Philipp Hugenroth 6b23db2b81 Update packages/cli/src/commands/onboard/README.md
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Philipp Hugenroth <tudi2d@users.noreply.github.com>
2023-03-15 15:09:03 +01:00
github-actions[bot] 24632ad94b Version Packages 2023-03-14 14:31:40 +00:00
Philipp Hugenroth 3c5b436237 Adjust PR to review
- Add comment in local config indicating override

- Restructure files & folders to avoid folders with only one index file

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 11:13:41 +01:00
Philipp Hugenroth 349b70af35 Update packages/cli/src/commands/onboard/README.md
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Philipp Hugenroth <tudi2d@users.noreply.github.com>
2023-03-14 10:40:13 +01:00
Marcus Eide b590c95ed8 cli: Remember provider selection from auth setup when setting up software templates
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 8e254c06bc cli: Use custom resolver to sign-in as guest instead, do not add user-info to catalog.
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 3d12166826 Chain Scaffolder inquirer prompts
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 87dc2beb21 Setup basic GitHub & GHE integration using CLI
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 55f802caa6 Add GitHub integration to Onboard CLI
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide c24703bd5a cli: Add GitLab option to setting up auth
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00