Commit Graph

89 Commits

Author SHA1 Message Date
Kashish Mittal 7c56d99f8a
include knip report checks in ci (#4046)
* include knip report checks in ci

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* add logs to debug workflow

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* fix workflow

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* regen knip reports

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* ignore prettier for  knip-report.md

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* add build:knip-reports script to all workspaces

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

---------

Signed-off-by: Kashish Mittal <kmittal@redhat.com>
2025-06-02 13:29:06 -04:00
Andre Wanlin 2445bb3e7f
repo-tools - Fixed Create Workspace Command (#4041)
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-05-22 12:57:05 -05:00
Andre Wanlin 17f3e4d1d4
repo-tools - Updates to follow latest conventions (#3770)
* repo-tools - Updates to follow latest conventions

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

* Revert change to root lock file

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

* Update lock file

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

* Ran dedupe

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

---------

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-04-22 14:47:16 -05:00
Beth Griggs 4de253fb96 meta: use Node.js "20 || 22" for new workspaces
Signed-off-by: Beth Griggs <bethanyngriggs@gmail.com>
2025-04-17 15:21:51 +01:00
Beth Griggs 491247a29f workspaces: add Node.js 22 to engines field across all workspaces
Manually updates the "engines" field of all workspace package.json files
to include Node.js 22. This intentionally replaces part of the generated
rennovate PR which attempted to globally replace rather than add Node.js
22 to the engines field.

For both community-plugins-maintainers and sda-se-reviewers owned
workspaces Node.js 18 is removed.

Note that this is only updates the workspace package.json - therefore it
should not impact end users installing plugins.

Refs: https://github.com/backstage/community-plugins/pull/2403
Signed-off-by: Beth Griggs <bethanyngriggs@gmail.com>
2025-04-17 15:21:51 +01:00
dependabot[bot] f54441a784
Bump @babel/helpers from 7.24.4 to 7.26.10 in /workspaces/repo-tools (#3222)
* Bump @babel/helpers from 7.24.4 to 7.26.10 in /workspaces/repo-tools

Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.24.4 to 7.26.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-helpers)

---
updated-dependencies:
- dependency-name: "@babel/helpers"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* repo-tools: dedupe

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2025-03-25 12:26:28 +01:00
dependabot[bot] 824ffd2cd4
deps: bump @babel/runtime from 7.24.4 to 7.26.10 in /workspaces/repo-tools (#3220)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.24.4 to 7.26.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-15 02:32:24 +00:00
Vincenzo Scamporlino 9d7e35670d
GitHub discussions: fix api reports and bump to v1.36.1 (#3168)
* github-discussions: add missing api-reports

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>

* repo-tools: skip api-reports

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>

* github-discussions: bump to backstage 1.36.1

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>

* github-discussions: bump changeset

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>

* github-discussions: tweak prettier config

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>

---------

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2025-03-10 20:12:08 +01:00
Juan Pablo Garcia Ripa ddd2878e14
update yarn to v4 (#2519)
* add yarn update docs and script

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* update docs

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* add contributing note

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* update yarn to v4

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* update lockfile on every workspace

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* declare existing csstype resolutions

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* dedupe workspaces

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* disable lint issues

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

---------

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2025-02-13 00:25:26 +01:00
Kashish Mittal 2c490dd7fe
update the package.json template in repo tools (#2493)
* update the package.json template in repo tools

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* update node-gyp to 10

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

---------

Signed-off-by: Kashish Mittal <kmittal@redhat.com>
Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2025-01-23 00:04:01 +00:00
Kashish Mittal c4c7903858
make knip a devDependency (#2025)
* move knip to devDependencies

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* fix rbac ci failures

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

---------

Signed-off-by: Kashish Mittal <kmittal@redhat.com>
Signed-off-by: Kashish Mittal <113269381+04kash@users.noreply.github.com>
2024-12-13 13:08:12 +01:00
Andre Wanlin 647d2f33f8
Added `ae-undocumented` flag (#1954)
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-11-18 14:08:43 -06:00
Kashish Mittal 1ac38e8312
chore: fix @backstage/repo-tools version in create-workspace (#1916)
Signed-off-by: Kashish Mittal <kmittal@redhat.com>
2024-11-14 11:17:48 -04:00
Kashish Mittal db1e89c72f
repo-tools: update @backstage/repo-tools version (#1894)
* repo-tools: update @backstage/repo-tools version

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* Update workspaces/repo-tools/packages/cli/src/lib/workspaces/templates/workspace/package.json.hbs

Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
Signed-off-by: Kashish Mittal <113269381+04kash@users.noreply.github.com>

---------

Signed-off-by: Kashish Mittal <kmittal@redhat.com>
Signed-off-by: Kashish Mittal <113269381+04kash@users.noreply.github.com>
Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2024-11-08 20:13:55 +00:00
Christoph Jerolimov e5cd1d3dea
chore(ci): ignore private repositories (esp. backstage app, backend) when release plugins (#1510)
Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com>
Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2024-11-04 16:48:25 +00:00
Andre Wanlin 2d16371d9a
repo-tools: remove API Extractor Resolution (#1709)
* Removed API Extractor Resolution
* Fixed typo
* Removed a few others that were missed
* Removed changeset based on feedback

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-10-31 17:19:01 +00:00
Vincenzo Scamporlino ddc7032a48 repo-tools: fix linting issues
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2024-09-24 11:13:37 +02:00
Vincenzo Scamporlino f9f17d39bc chore: fix workspace eslintrc files
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2024-09-24 11:13:37 +02:00
Vincenzo Scamporlino afa591c4c8 chore: test change
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2024-09-24 11:13:37 +02:00
Kashish Mittal 7c68b0002c
fix create-workspace templates (#1262)
* fix create-workspace templates

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* add changeset

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* Update catalog-info.yaml.hbs

Signed-off-by: Kashish Mittal <113269381+04kash@users.noreply.github.com>

* Update .gitignore.hbs

Signed-off-by: Kashish Mittal <113269381+04kash@users.noreply.github.com>

* Update package.json.hbs

Signed-off-by: Kashish Mittal <113269381+04kash@users.noreply.github.com>

* Delete workspaces/repo-tools/.changeset/breezy-stingrays-try.md

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>

---------

Signed-off-by: Kashish Mittal <kmittal@redhat.com>
Signed-off-by: Kashish Mittal <113269381+04kash@users.noreply.github.com>
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2024-09-20 23:09:45 +02:00
github-actions[bot] 8c1180d73e Version Packages 2024-09-03 12:12:35 +00:00
Johan Haals b4de64de57
update cli report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-09-02 08:57:52 +02:00
Johan Haals 29bf94d37c
cli: Add lint legacy-backend-exports command
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-09-02 08:54:11 +02:00
Kashish Mittal 41a136a96e Fix duplicate packages in yarn.lock
Signed-off-by: Kashish Mittal <kmittal@redhat.com>
2024-08-26 19:11:06 -04:00
Kashish Mittal 465894b130 fixed prettier issues
Signed-off-by: Kashish Mittal <kmittal@redhat.com>
2024-08-26 18:42:50 -04:00
Kashish Mittal d3e8b3c7cb updated reop-tools so that the README.md contains instructions to generate knip reports
Signed-off-by: Kashish Mittal <kmittal@redhat.com>
2024-08-26 18:21:18 -04:00
Kashish Mittal 2668efd60d added script to generate knip reports
Signed-off-by: Kashish Mittal <kmittal@redhat.com>
2024-08-26 18:20:13 -04:00
github-actions[bot] 50236743a1 Version Packages 2024-08-20 18:21:31 +00:00
Kashish Mittal 2e4e605b0d added changet and modified changeset config
Signed-off-by: Kashish Mittal <kmittal@redhat.com>
2024-08-20 13:57:35 -04:00
Kashish Mittal 9fda9e5511 cli: added @microsoft/api-extractor to resolutions when creating a new workspace using yarn create-workspace
Signed-off-by: Kashish Mittal <kmittal@redhat.com>
2024-08-20 12:14:24 -04:00
Phil Kuang 554176526f chore(lint-staged): setup precommit hook
Signed-off-by: Phil Kuang <pkuang@factset.com>
2024-08-14 13:18:23 -04:00
backstage-goalie[bot] b55ea4564c
fix(deps): update backstage monorepo
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2024-08-08 23:11:16 +00:00
Frank Kong 6c61edea2b
chore(repo-tools): fix typos in cli package name (#507)
Signed-off-by: Frank Kong <frkong@redhat.com>
Signed-off-by: Bethany Griggs <bgriggs@redhat.com>

Co-authored-by: Bethany Griggs <bgriggs@redhat.com>
Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2024-06-19 15:38:46 +02:00
Renovate Bot 6117944fb6 chore(deps): update dependency @spotify/prettier-config to v15
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2024-04-29 10:35:01 +00:00
blam cdfc2e8305 chore: fix msql
Signed-off-by: blam <ben@blam.sh>
2024-04-24 14:23:51 +02:00
blam 926694df5c chore: fixing issue with initial template
Signed-off-by: blam <ben@blam.sh>
2024-04-23 12:04:25 +02:00
blam 3601a98c8d chore: fixing api-reports
Signed-off-by: blam <ben@blam.sh>
2024-04-23 11:58:56 +02:00
blam 1d665215ee chore: fix workspaces
Signed-off-by: blam <ben@blam.sh>
2024-04-23 11:58:28 +02:00
blam 3ed630a7cc chore: fix newline
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2024-04-23 11:58:28 +02:00
blam bb77499196 chore: added default to template
Signed-off-by: blam <ben@blam.sh>
2024-04-23 11:58:28 +02:00
blam 6c0be994f2 chore: fix all workspaces to have api-reports
Signed-off-by: blam <ben@blam.sh>
2024-04-23 11:58:27 +02:00
blam eebfba20bb chore: fixing issues with some patches
Signed-off-by: blam <ben@blam.sh>
2024-04-18 20:43:34 +02:00
blam 90080279ca chore: added some more updates for workspace generation
Signed-off-by: blam <ben@blam.sh>
2024-04-18 17:04:56 +02:00
blam 970cde37a2 chore: updating repo tools
Signed-off-by: blam <ben@blam.sh>
2024-04-18 16:05:24 +02:00
blam 61efc7ec17 chore: update migrate script
Signed-off-by: blam <ben@blam.sh>
2024-04-18 16:04:07 +02:00
blam fa3c83d3be chore: fixing some small bugs and speed up the script
Signed-off-by: blam <ben@blam.sh>
2024-04-18 13:40:09 +02:00
Ben Lambert 50d6b014e6
Merge pull request #98 from backstage/blam/migrate-126
workspace(todo): migrate for 1.26
2024-04-18 11:23:22 +02:00
blam a23d6187fd chore: fix repo-tools versioning
Signed-off-by: blam <ben@blam.sh>
2024-04-18 11:00:55 +02:00
blam 7ca0dee1ae chore: make a little nicer
Signed-off-by: blam <ben@blam.sh>
2024-04-18 09:43:13 +02:00
blam cce4689477 chore: make some small changes to the migration script
Signed-off-by: blam <ben@blam.sh>
2024-04-18 09:29:42 +02:00