Commit Graph

2047 Commits

Author SHA1 Message Date
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
Marcus Eide 711f8c4272 cli: Fix typo
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide ff8bffb063 cli: Remove unused answer variable
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 284810a0a1 cli: Add better error message if a patch failed
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide e1771deebb cli: Rename command to onboard
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 4e4a0507ca cli: Consolidate oauth.ts into index.ts
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 977a5c8f96 cli: Simplify patching by reading target file from path
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 20fc473568 Don't use environment variables
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide ed89e40965 cli: Use .patch files instead
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 0a60451b6f Revert create-github-app changes
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth eaece17af0 Remove GHA approach for now
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 5663de4a37 cli: Add user entity to local catalog in auth flow
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 2f851a3945 cli: Add minimal instructions for how to try locally
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 67c693c6b2 cli: Add ability to patch existing files
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide e3e0b14ec4 cli: Move file logic to each type of github auth to simplify logic
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide ba46a19232 cli: Move to folder and split up into different questions
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide d9893cb794 cli: Fix github auth not including environment key
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 184602db0a cli: Handle appending config when setting up github auth
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide d844a31fc4 cli: Add validation for github credentials
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 250fb2af40 Add GHA option to auth flow
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Philipp Hugenroth 29534d2453 Add gh-auth
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide e1754adefa cli: Set admin command to hidden
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 7af6c36adf cli: Expand admin command to setup basic authenticaton for gihub
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:13 +01:00
Marcus Eide 1322688118 cli: Add admin skeleton command
Signed-off-by: Marcus Eide <eide@spotify.com>
2023-03-14 10:40:12 +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
github-actions[bot] b19b95fc09 Version Packages (next) 2023-02-28 13:04:36 +00:00
Dmitriy Lazarev a11b9a23f5 Keep custom exports entry points
Signed-off-by: Dmitriy Lazarev <w@kich.dev>
2023-02-28 14:59:01 +04:00
Johan Haals 3c38b7cd4d Update link to docs
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-02-27 10:07:05 +01:00
Patrik Oldsberg feb1cb63b5 Merge pull request #16562 from backstage/rugvip/check
cli: only try to lint source files with --check
2023-02-23 23:18:35 +01:00
Johan Haals 40a4245561 Merge pull request #16531 from backstage/renovate/msw-1.x
chore(deps): update dependency msw to v1
2023-02-23 14:50:18 +01:00
Johan Haals 9bf50a3667 cli: update msw version in templates
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-02-23 14:08:54 +01:00
Patrik Oldsberg 867f4752ca cli: only try to lint source files with --check
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-23 13:14:04 +01:00