Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adjust some epxress dependencies to be the same as the others Signed-off-by: Fredrik Adelöw <[email protected]> * cli: added package-exports migration command Signed-off-by: Patrik Oldsberg <[email protected]> * cli: add exports support for package builds Signed-off-by: Patrik Oldsberg <[email protected]> * cli: unify production packing logic and add support for exports field Signed-off-by: Patrik Oldsberg <[email protected]> * cli: add automatic exports compatibility entry point addition to files field Signed-off-by: Patrik Oldsberg <[email protected]> * cli: make migrate package-exports remove legacy publishConfig fields Signed-off-by: Patrik Oldsberg <[email protected]> * update /alpha imports to fix all type issues Signed-off-by: Patrik Oldsberg <[email protected]> * cli: hardcode build entry point to src/index.ts for non-exports for compatiblity Signed-off-by: Patrik Oldsberg <[email protected]> * cli: fix production pack compatibility entry point writing Signed-off-by: Patrik Oldsberg <[email protected]> * cli: trim typesVersions from published packages Signed-off-by: Patrik Oldsberg <[email protected]> * cli: make migrate package-exports add ./package.json Signed-off-by: Patrik Oldsberg <[email protected]> * cli: ignore package.json entry point Signed-off-by: Patrik Oldsberg <[email protected]> * prefer subpath over sub-path Signed-off-by: Patrik Oldsberg <[email protected]> * cli: add missing publishConfig types Signed-off-by: Patrik Oldsberg <[email protected]> * cli: bit of reafactor for clarity in packageExports Signed-off-by: Patrik Oldsberg <[email protected]> * update cli reports Signed-off-by: Patrik Oldsberg <[email protected]> * cli: avoid error when attempting to production pack packages without dist dir Signed-off-by: Patrik Oldsberg <[email protected]> * remove index entry from typesVersions Signed-off-by: Patrik Oldsberg <[email protected]> * cli: always make package.json available in exports in published packages Signed-off-by: Patrik Oldsberg <[email protected]> * Version Packages (next) * chore(deps): update dependency del to v7 Signed-off-by: Renovate Bot <[email protected]> * chore(deps): update dependency msw to v1 Signed-off-by: Renovate Bot <[email protected]> * cli: fix local dev entry points Signed-off-by: Patrik Oldsberg <[email protected]> * cli: only try to lint source files with --check Signed-off-by: Patrik Oldsberg <[email protected]> * cli: update msw version in templates Signed-off-by: Johan Haals <[email protected]> * Update link to docs Signed-off-by: Johan Haals <[email protected]> * Keep custom exports entry points Signed-off-by: Dmitriy Lazarev <[email protected]> * Version Packages (next) * cli: add node-plugin template Signed-off-by: Patrik Oldsberg <[email protected]> * cli: add web-plugin template Signed-off-by: Patrik Oldsberg <[email protected]> * Update packages/cli/templates/default-node-plugin-package/src/index.ts.hbs Co-authored-by: Fredrik Adelöw <[email protected]> Signed-off-by: Patrik Oldsberg <[email protected]> * cli: Add admin skeleton command Signed-off-by: Marcus Eide <[email protected]> * cli: Expand admin command to setup basic authenticaton for gihub Signed-off-by: Marcus Eide <[email protected]> * cli: Set admin command to hidden Signed-off-by: Marcus Eide <[email protected]> * Add gh-auth Signed-off-by: Philipp Hugenroth <[email protected]> * Add GHA option to auth flow Signed-off-by: Philipp Hugenroth <[email protected]> * cli: Add validation for github credentials Signed-off-by: Marcus Eide <[email protected]> * cli: Handle appending config when setting up github auth Signed-off-by: Marcus Eide <[email protected]> * cli: Fix github auth not including environment key Signed-off-by: Marcus Eide <[email protected]> * cli: Move to folder and split up into different questions Signed-off-by: Marcus Eide <[email protected]> * cli: Move file logic to each type of github auth to simplify logic Signed-off-by: Marcus Eide <[email protected]> * cli: Add ability to patch existing files Signed-off-by: Marcus Eide <[email protected]> * cli: Add minimal instructions for how to try locally Signed-off-by: Marcus Eide <[email protected]> * cli: Add user entity to local catalog in auth flow Signed-off-by: Marcus Eide <[email protected]> * Remove GHA approach for now Signed-off-by: Philipp Hugenroth <[email protected]> * Revert create-github-app changes Signed-off-by: Philipp Hugenroth <[email protected]> * cli: Use .patch files instead Signed-off-by: Marcus Eide <[email protected]> * Don't use environment variables Signed-off-by: Philipp Hugenroth <[email protected]> * cli: Simplify patching by reading target file from path Signed-off-by: Marcus Eide <[email protected]> * cli: Consolidate oauth.ts into index.ts Signed-off-by: Marcus Eide <[email protected]> * cli: Rename command to onboard Signed-off-by: Marcus Eide <[email protected]> * cli: Add better error message if a patch failed Signed-off-by: Marcus Eide <[email protected]> * cli: Remove unused answer variable Signed-off-by: Marcus Eide <[email protected]> * cli: Fix typo Signed-off-by: Marcus Eide <[email protected]> * cli: Add GitLab option to setting up auth Signed-off-by: Marcus Eide <[email protected]> * Add GitHub integration to Onboard CLI Signed-off-by: Philipp Hugenroth <[email protected]> * Setup basic GitHub & GHE integration using CLI Signed-off-by: Philipp Hugenroth <[email protected]> * Chain Scaffolder inquirer prompts Signed-off-by: Philipp Hugenroth <[email protected]> * cli: Use custom resolver to sign-in as guest instead, do not add user-info to catalog. Signed-off-by: Marcus Eide <[email protected]> * cli: Remember provider selection from auth setup when setting up software templates Signed-off-by: Marcus Eide <[email protected]> * Update packages/cli/src/commands/onboard/README.md Co-authored-by: Patrik Oldsberg <[email protected]> Signed-off-by: Philipp Hugenroth <[email protected]> * 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 <[email protected]> * Version Packages * Update packages/cli/src/commands/onboard/README.md Co-authored-by: Johan Haals <[email protected]> Signed-off-by: Philipp Hugenroth <[email protected]> * fix: use posix for joining paths Signed-off-by: David Weber <[email protected]> * cli: tweak posix path fix Signed-off-by: Patrik Oldsberg <[email protected]> * Version Packages (next) * feat(cli): support import of .md files Signed-off-by: Phil Kuang <[email protected]> * do the rest too Signed-off-by: Fredrik Adelöw <[email protected]> * chore: Bump zod deps Signed-off-by: Johan Haals <[email protected]> * cli: fix package build to avoid duplicate modules for multiple entry points Signed-off-by: Patrik Oldsberg <[email protected]> * some more leftover deps Signed-off-by: Fredrik Adelöw <[email protected]> * ensure that productionPack uses posix paths in package.json on all OSes Signed-off-by: Fredrik Adelöw <[email protected]> * Version Packages (next) * fixes for TypeScript 5.0 Signed-off-by: Patrik Oldsberg <[email protected]> * cli: add explicit type-fest dev dep to fix lib check issues Signed-off-by: Patrik Oldsberg <[email protected]> * 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 <[email protected]> * Resolve --config options against both current directory and monorepo root. Signed-off-by: Axel Hecht <[email protected]> * Resolve config paths early for backend builds Signed-off-by: Axel Hecht <[email protected]> * cli: resolve config paths upfront Signed-off-by: Patrik Oldsberg <[email protected]> * cli: lint fix Signed-off-by: Patrik Oldsberg <[email protected]> * Version Packages (next) * Add generate and verify commands. Signed-off-by: Aramis Sennyey <[email protected]> * Add changeset and API report. Signed-off-by: Aramis Sennyey <[email protected]> * Validate that the file is valid OpenAPI 3.1. Signed-off-by: Aramis Sennyey <[email protected]> * FIx tsc error. Signed-off-by: Aramis Sennyey <[email protected]> * Add role checks. Signed-off-by: Aramis Sennyey <[email protected]> * Add CLI command for full repo check. Signed-off-by: Aramis Sennyey <[email protected]> * Update yarn.lock. Signed-off-by: Aramis Sennyey <[email protected]> * Move CLI tooling to repo-tools. Signed-off-by: Aramis Sennyey <[email protected]> * fix(deps): update dependency @swc/helpers to ^0.5.0 Signed-off-by: Renovate Bot <[email protected]> * cli: forklift monorepo utils to cli-node Signed-off-by: Patrik Oldsberg <[email protected]> * cli-node: only copy the lockfile logic that is needed, revert rest Signed-off-by: Patrik Oldsberg <[email protected]> * cli-node: lift over git Signed-off-by: Patrik Oldsberg <[email protected]> * cli-node: refactor role utils into PackageRoles + document, move stuff back Signed-off-by: Patrik Oldsberg <[email protected]> * cli-node: move back entry point helper Signed-off-by: Patrik Oldsberg <[email protected]> * cli: refactor to use @backstage/cli-node Signed-off-by: Patrik Oldsberg <[email protected]> * fixup Signed-off-by: Fredrik Adelöw <[email protected]> * Version Packages (next) * Version Packages * Version Packages (next) * Enable strict checking of config during CLI. Signed-off-by: Aramis Sennyey <[email protected]> * Update packages/cli/src/commands/index.ts Signed-off-by: Patrik Oldsberg <[email protected]> * cli: deprecate use of react 16 Signed-off-by: Patrik Oldsberg <[email protected]> * Update packages/cli/src/commands/start/startFrontend.ts Co-authored-by: Fredrik Adelöw <[email protected]> Signed-off-by: Patrik Oldsberg <[email protected]> * Version Packages * Version Packages Signed-off-by: Christopher Diaz <[email protected]> * Add discover feature to onboard command Co-authored-by: Fredrik Adelöw <[email protected]> Co-authored-by: Johan Haals <[email protected]> Co-authored-by: Philipp Hugenroth <[email protected]> Signed-off-by: Marcus Eide <[email protected]> * Add doc reference to catalog format adr Signed-off-by: Marcus Eide <[email protected]> * Clarify where the discovered entities will be created Signed-off-by: Marcus Eide <[email protected]> * Early return if nothing selected Signed-off-by: Marcus Eide <[email protected]> * Simplify PR after review Co-authored-by: Patrik Oldsberg <[email protected]> Signed-off-by: Philipp Hugenroth <[email protected]> * Fix lint factory & changeset Signed-off-by: Philipp Hugenroth <[email protected]> * Version Packages (next) * Version Packages (next) * fix-17201 Signed-off-by: npiyush97 <[email protected]> * added some tweaks Signed-off-by: npiyush97 <[email protected]> * Update packages/cli/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.tsx.hbs Co-authored-by: Johan Haals <[email protected]> Signed-off-by: PIYUSH NEGI <[email protected]> * feat: provide a decorated fetch environment for js-dom Signed-off-by: blam <[email protected]> * chore: woops, need fetch here too Signed-off-by: blam <[email protected]> * chore: namespace these a little bit Signed-off-by: blam <[email protected]> * chore: fix cli useage Signed-off-by: blam <[email protected]> * chore: fix the fetch method Signed-off-by: blam <[email protected]> * Version Packages (next) * feat: fix this another way Signed-off-by: blam <[email protected]> * chore: review comments Signed-off-by: blam <[email protected]> * Add --alwaysYarnPack flag to build-workspace command Signed-off-by: Eric Peterson <[email protected]> * Version Packages * Pass flag from command down to function Signed-off-by: Eric Peterson <[email protected]> * Version Packages (next) * chore(deps): update dependency esbuild to ^0.18.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: use Material UI vs. MUI where relevant Signed-off-by: Olivier Tassinari <[email protected]> * ugrade semver to 7.5.2 resolves #18439 Signed-off-by: Andy Muldoon <[email protected]> * Version Packages (next) * Watching config change; update over MessageChannel Co-authored-by: Jack Palmer <[email protected]> Co-authored-by: Patrik Oldsberg <[email protected]> Co-authored-by: Vincenzo Scamporlino <[email protected]> Signed-off-by: Philipp Hugenroth <[email protected]> * cli: move config to buildBundle Signed-off-by: Vincenzo Scamporlino <[email protected]> * cli: move validation Co-Authored-by: Philipp Hugenroth <[email protected]> Signed-off-by: Vincenzo Scamporlino <[email protected]> * cli: add missing dependency Co-Authored-by: Philipp Hugenroth <[email protected]> Signed-off-by: Vincenzo Scamporlino <[email protected]> * cli: safely invoke watch Signed-off-by: Vincenzo Scamporlino <[email protected]> * Version Packages * Fix tsc Signed-off-by: Philipp Hugenroth <[email protected]> * feat(cli): enable to print the config schema non merged Signed-off-by: djamaile <[email protected]> * refactor: add --merged and --no-merged flag Signed-off-by: djamaile <[email protected]> * refactor: change flags from --merged to --merge Signed-off-by: djamaile <[email protected]> * Version Packages (next) * Version Packages (next) * chore(deps): update dependency esbuild to ^0.19.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * bump nodemon to 3.0 Signed-off-by: Patrik Oldsberg <[email protected]> * Version Packages * cli: add backend dev entry point Signed-off-by: Patrik Oldsberg <[email protected]> * cli: added backend module templating factory Signed-off-by: Patrik Oldsberg <[email protected]> * cli: add test for backendModule factory Signed-off-by: Patrik Oldsberg <[email protected]> * DO NOT SHIP: include all backend config in frontend Signed-off-by: Patrik Oldsberg <[email protected]> * cli: remove config hack Signed-off-by: Patrik Oldsberg <[email protected]> * Version Packages (next) * Add maintainer-owned `catalog-info.yaml` files Signed-off-by: Eric Peterson <[email protected]> * Version Packages (next) * remove dependencies on @types/node Signed-off-by: Fredrik Adelöw <[email protected]> * fix(deps): update dependency run-script-webpack-plugin to ^0.2.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Version Packages (next) * Explore first options to load plugin modules from package name Co-authored-by: Patrik Oldsberg <[email protected]> Co-authored-by: Jonathan Roebuck <[email protected]> Co-authored-by: Jack Palmer <[email protected]> Co-authored-by: Vincenzo Scamporlino <[email protected]> Signed-off-by: Philipp Hugenroth <[email protected]> * cli: auto detect frontend plugins Co-authored-by: Patrik Oldsberg <[email protected]> Co-authored-by: Jonathan Roebuck <[email protected]> Co-authored-by: Jack Palmer <[email protected]> Co-authored-by: Philipp Hugenroth <[email protected]> Signed-off-by: Vincenzo Scamporlino <[email protected]> * Allow explicit package list & add UI Co-authored-by: Vincenzo Scamporlino <[email protected]> Signed-off-by: Philipp Hugenroth <[email protected]> * cli: avoid global object Signed-off-by: Vincenzo Scamporlino <[email protected]> * Fix tsc Co-authored-by: Vincenzo Scamporlino <[email protected]> Signed-off-by: Philipp Hugenroth <[email protected]> * cli: default to all packages Co-authored-by: Jack Palmer <[email protected]> Co-authored-by: Philipp Hugenroth <[email protected]> Signed-off-by: Vincenzo Scamporlino <[email protected]> * cli: write module instead of using a virtual module Co-authored-by: Philipp Hugenroth <[email protected]> Signed-off-by: Vincenzo Scamporlino <[email protected]> * cli: detect plugins at build time Signed-off-by: Vincenzo Scamporlino <[email protected]> * cli: refactor detectPlugins Signed-off-by: Vincenzo Scamporlino <[email protected]> * Abstract detection logic in seperate file Co-authored-by: Vincenzo Scamporlino <[email protected]> Signed-off-by: Philipp Hugenroth <[email protected]> * cli: rollback BundlingOptions changes Signed-off-by: Vincenzo Scamporlino <[email protected]> * cli: use export Signed-off-by: Vincenzo Scamporlino <[email protected]> * cli: wrap with underscores Signed-off-by: Vincenzo Scamporlino <[email protected]> * Fix rebase Signed-off-by: Philipp Hugenroth <[email protected]> * feat: Add watching functionality to plugin detection Signed-off-by: Jack Palmer <[email protected]> * cli: refactor pacakge detection Co-authored-by: Fredrik Adelöw <[email protected]> Co-authored-by: Johan Haals <[email protected]> Co-authored-by: Camila Belo <[email protected]> Co-authored-by: Philipp Hugenroth <[email protected]> Signed-off-by: Patrik Oldsberg <[email protected]> * cli: refactor package detection to support inc/ecl + entry point Co-authored-by: Philipp Hugenroth <[email protected]> Co-authored-by: Johan Haals <[email protected]> Signed-off-by: Patrik Oldsberg <[email protected]> * cli: rename discovery.ts Co-authored-by: Johan Haals <[email protected]> Co-authored-by: Philipp Hugenroth <[email protected]> Signed-off-by: Patrik Oldsberg <[email protected]> * cli: switch package discovery to use global Signed-off-by: Patrik Oldsberg <[email protected]> * cli,frontend-app-api: cleanup Signed-off-by: Patrik Oldsberg <[email protected]> * cli,frontend-app-api: more cleanup Signed-off-by: Patrik Oldsberg <[email protected]> * cli,frontend-app-api: switch experimental discovery to use default export Co-authored-by: Fredrik Adelöw <[email protected]> Co-authored-by: Johan Haals <[email protected]> Co-authored-by: Camila Belo <[email protected]> Co-authored-by: Philipp Hugenroth <[email protected]> Signed-off-by: Patrik Oldsberg <[email protected]> * cli: remove package fix command Signed-off-by: Patrik Oldsberg <[email protected]> * cli: fix tsx entry points Co-authored-by: Johan Haals <[email protected]> Co-authored-by: Philipp Hugenroth <[email protected]> Co-authored-by: Camila Belo <[email protected]> Signed-off-by: Patrik Oldsberg <[email protected]> * cli: introduce repo fix command Signed-off-by: Patrik Oldsberg <[email protected]> * cli: adjust repo fix check msg based on repo scripts Signed-off-by: Patrik Oldsberg <[email protected]> * cli: make repo fix also add sideEffects: false Signed-off-by: Patrik Oldsberg <[email protected]> * cli: add sideEffects: false to plugin templates Signed-off-by: Patrik Oldsberg <[email protected]> * cli: update API report Signed-off-by: Patrik Oldsberg <[email protected]> * cli: add esm loader for exterminal backend start Co-authored-by: Fredrik Adelöw <[email protected]> Co-authored-by: Johan Haals <[email protected]> Co-authored-by: Camila Belo <[email protected]> Co-authored-by: Philipp Hugenroth <[email protected]> Signed-off-by: Patrik Oldsberg <[email protected]> * Log duplicates instead of throwing error Signed-off-by: Andre Wanlin <[email protected]> * Got test working Signed-off-by: Andre Wanlin <[email protected]> * Version Packages (next) * feat(cli): scope package to @janus-idp Signed-off-by: Tomas Coufal <[email protected]> * fix(cli): add missing jest eslint plugin dependency * fix(cli): bump mock-fs dependency Older version is not compatible with LTS node. More details: tschaub/mock-fs#359 * chore(cli): address sonar warnings --------- Signed-off-by: Fredrik Adelöw <[email protected]> Signed-off-by: Patrik Oldsberg <[email protected]> Signed-off-by: Renovate Bot <[email protected]> Signed-off-by: Johan Haals <[email protected]> Signed-off-by: Dmitriy Lazarev <[email protected]> Signed-off-by: Marcus Eide <[email protected]> Signed-off-by: Philipp Hugenroth <[email protected]> Signed-off-by: Philipp Hugenroth <[email protected]> Signed-off-by: David Weber <[email protected]> Signed-off-by: Phil Kuang <[email protected]> Signed-off-by: Axel Hecht <[email protected]> Signed-off-by: Aramis Sennyey <[email protected]> Signed-off-by: Christopher Diaz <[email protected]> Signed-off-by: npiyush97 <[email protected]> Signed-off-by: PIYUSH NEGI <[email protected]> Signed-off-by: blam <[email protected]> Signed-off-by: Eric Peterson <[email protected]> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Olivier Tassinari <[email protected]> Signed-off-by: Andy Muldoon <[email protected]> Signed-off-by: Vincenzo Scamporlino <[email protected]> Signed-off-by: djamaile <[email protected]> Signed-off-by: Jack Palmer <[email protected]> Signed-off-by: Andre Wanlin <[email protected]> Signed-off-by: Tomas Coufal <[email protected]> Co-authored-by: Fredrik Adelöw <[email protected]> Co-authored-by: Patrik Oldsberg <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Ben Lambert <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Johan Haals <[email protected]> Co-authored-by: headphonejames <[email protected]> Co-authored-by: Dmitriy Lazarev <[email protected]> Co-authored-by: Marcus Eide <[email protected]> Co-authored-by: Philipp Hugenroth <[email protected]> Co-authored-by: Philipp Hugenroth <[email protected]> Co-authored-by: David Weber <[email protected]> Co-authored-by: Phil Kuang <[email protected]> Co-authored-by: Axel Hecht <[email protected]> Co-authored-by: Aramis Sennyey <[email protected]> Co-authored-by: Christopher Diaz <[email protected]> Co-authored-by: npiyush97 <[email protected]> Co-authored-by: PIYUSH NEGI <[email protected]> Co-authored-by: Johan Haals <[email protected]> Co-authored-by: blam <[email protected]> Co-authored-by: Eric Peterson <[email protected]> Co-authored-by: Eric Peterson <[email protected]> Co-authored-by: Olivier Tassinari <[email protected]> Co-authored-by: Andy Muldoon <[email protected]> Co-authored-by: Jack Palmer <[email protected]> Co-authored-by: Vincenzo Scamporlino <[email protected]> Co-authored-by: djamaile <[email protected]> Co-authored-by: Jonathan Roebuck <[email protected]> Co-authored-by: Vincenzo Scamporlino <[email protected]> Co-authored-by: Jack Palmer <[email protected]> Co-authored-by: Camila Belo <[email protected]> Co-authored-by: Andre Wanlin <[email protected]> Co-authored-by: Martin Maroši <[email protected]>
- Loading branch information