From b65788b68f5358ebf09aad5e653951181121c981 Mon Sep 17 00:00:00 2001 From: Tomasz Szuba Date: Wed, 6 Mar 2024 17:13:49 +0100 Subject: [PATCH] Move @backstage/repo-tools to dev dependencies Signed-off-by: Tomasz Szuba --- .changeset/tame-points-clap.md | 6 ++++ plugins/catalog-backend/package.json | 50 ++++++++++++++-------------- plugins/todo-backend/package.json | 30 ++++++++--------- 3 files changed, 46 insertions(+), 40 deletions(-) create mode 100644 .changeset/tame-points-clap.md diff --git a/.changeset/tame-points-clap.md b/.changeset/tame-points-clap.md new file mode 100644 index 0000000000..1b7a81a2e1 --- /dev/null +++ b/.changeset/tame-points-clap.md @@ -0,0 +1,6 @@ +--- +'@backstage/plugin-catalog-backend': patch +'@backstage/plugin-todo-backend': patch +--- + +Move @backstage/repo-tools to dev dependencies diff --git a/plugins/catalog-backend/package.json b/plugins/catalog-backend/package.json index 0e3638e550..ed9db27f1c 100644 --- a/plugins/catalog-backend/package.json +++ b/plugins/catalog-backend/package.json @@ -1,18 +1,30 @@ { "name": "@backstage/plugin-catalog-backend", - "description": "The Backstage backend plugin that provides the Backstage catalog", "version": "1.18.0-next.1", - "main": "src/index.ts", - "types": "src/index.ts", - "license": "Apache-2.0", + "description": "The Backstage backend plugin that provides the Backstage catalog", + "backstage": { + "role": "backend-plugin" + }, "publishConfig": { "access": "public" }, + "keywords": [ + "backstage" + ], + "homepage": "https://backstage.io", + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/catalog-backend" + }, + "license": "Apache-2.0", "exports": { ".": "./src/index.ts", "./alpha": "./src/alpha.ts", "./package.json": "./package.json" }, + "main": "src/index.ts", + "types": "src/index.ts", "typesVersions": { "*": { "alpha": [ @@ -23,27 +35,20 @@ ] } }, - "backstage": { - "role": "backend-plugin" - }, - "homepage": "https://backstage.io", - "repository": { - "type": "git", - "url": "https://github.com/backstage/backstage", - "directory": "plugins/catalog-backend" - }, - "keywords": [ - "backstage" + "files": [ + "dist", + "migrations/**/*.{js,d.ts}", + "config.d.ts" ], "scripts": { - "start": "backstage-cli package start", "build": "backstage-cli package build", + "clean": "backstage-cli package clean", + "generate": "backstage-repo-tools package schema openapi generate --server --client-package packages/catalog-client", "lint": "backstage-cli package lint", - "test": "backstage-cli package test", "prepack": "backstage-cli package prepack", "postpack": "backstage-cli package postpack", - "clean": "backstage-cli package clean", - "generate": "backstage-repo-tools package schema openapi generate --server --client-package packages/catalog-client" + "start": "backstage-cli package start", + "test": "backstage-cli package test" }, "dependencies": { "@backstage/backend-common": "workspace:^", @@ -62,7 +67,6 @@ "@backstage/plugin-permission-common": "workspace:^", "@backstage/plugin-permission-node": "workspace:^", "@backstage/plugin-search-backend-module-catalog": "workspace:^", - "@backstage/repo-tools": "workspace:^", "@backstage/types": "workspace:^", "@opentelemetry/api": "^1.3.0", "@types/express": "^4.17.6", @@ -90,6 +94,7 @@ "@backstage/backend-test-utils": "workspace:^", "@backstage/cli": "workspace:^", "@backstage/plugin-permission-common": "workspace:^", + "@backstage/repo-tools": "workspace:^", "@types/core-js": "^2.5.4", "@types/git-url-parse": "^9.0.0", "@types/glob": "^8.0.0", @@ -102,10 +107,5 @@ "supertest": "^6.1.3", "wait-for-expect": "^3.0.2" }, - "files": [ - "dist", - "migrations/**/*.{js,d.ts}", - "config.d.ts" - ], "configSchema": "config.d.ts" } diff --git a/plugins/todo-backend/package.json b/plugins/todo-backend/package.json index 81c536dc7a..5d1c433a3e 100644 --- a/plugins/todo-backend/package.json +++ b/plugins/todo-backend/package.json @@ -1,33 +1,36 @@ { "name": "@backstage/plugin-todo-backend", - "description": "A Backstage backend plugin that lets you browse TODO comments in your source code", "version": "0.3.12-next.1", - "main": "src/index.ts", - "types": "src/index.ts", - "license": "Apache-2.0", + "description": "A Backstage backend plugin that lets you browse TODO comments in your source code", + "backstage": { + "role": "backend-plugin" + }, "publishConfig": { "access": "public", "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, - "backstage": { - "role": "backend-plugin" - }, "homepage": "https://backstage.io", "repository": { "type": "git", "url": "https://github.com/backstage/backstage", "directory": "plugins/todo-backend" }, + "license": "Apache-2.0", + "main": "src/index.ts", + "types": "src/index.ts", + "files": [ + "dist" + ], "scripts": { "build": "backstage-cli package build", + "clean": "backstage-cli package clean", + "generate": "backstage-repo-tools package schema openapi generate --server", "lint": "backstage-cli package lint", - "test": "backstage-cli package test", "prepack": "backstage-cli package prepack", "postpack": "backstage-cli package postpack", - "clean": "backstage-cli package clean", "start": "backstage-cli package start", - "generate": "backstage-repo-tools package schema openapi generate --server" + "test": "backstage-cli package test" }, "dependencies": { "@backstage/backend-common": "workspace:^", @@ -39,7 +42,6 @@ "@backstage/errors": "workspace:^", "@backstage/integration": "workspace:^", "@backstage/plugin-catalog-node": "workspace:^", - "@backstage/repo-tools": "workspace:^", "@types/express": "^4.17.6", "express": "^4.17.1", "leasot": "^12.0.0", @@ -48,10 +50,8 @@ }, "devDependencies": { "@backstage/cli": "workspace:^", + "@backstage/repo-tools": "workspace:^", "@types/supertest": "^2.0.8", "supertest": "^6.1.3" - }, - "files": [ - "dist" - ] + } }