Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
fix: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dbhagen committed Nov 8, 2024
1 parent ae167fe commit bfa678b
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ nodeLinker: node-modules

npmScopes:
liatrio:
npmRegistryServer: "https://npm.pkg.github.com"
npmAlwaysAuth: true
npmRegistryServer: "https://npm.pkg.github.com"

yarnPath: .yarn/releases/yarn-4.5.1.cjs
1 change: 0 additions & 1 deletion backstage-plugin-autogov-common/eslintrc.js

This file was deleted.

1 change: 0 additions & 1 deletion backstage-plugin-autogov-processor-backend/.eslintrc.js

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { LoggerService } from "@backstage/backend-plugin-api";
import { Config } from "@backstage/config";
import express from "express";

import Router from "express-promise-router";
import expressRouter from "express-promise-router";
import fetch from "node-fetch";

export interface RouterOptions {
Expand All @@ -16,7 +16,7 @@ export async function createRouter(
): Promise<express.Router> {
const { logger, config } = options;

const router = Router();
const router = expressRouter();
router.use(express.json());

router.get("/health", (_, response) => {
Expand Down
1 change: 0 additions & 1 deletion backstage-plugin-github-releases-autogov/.eslintrc.js

This file was deleted.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@
"lint": "backstage-cli repo lint",
"lint:all": "yarn lint && yarn prettier:check",
"build:all": "yarn --cwd backstage-plugin-github-releases-autogov build && yarn --cwd backstage-plugin-github-releases-assets-backend build && yarn --cwd backstage-plugin-autogov-common build",
"tsc:all": "yarn --cwd backstage-plugin-github-releases-autogov tsc:full && yarn --cwd backstage-plugin-github-releases-assets-backend tsc:full && yarn --cwd backstage-plugin-autogov-common tsc:full",
"install:all": "yarn --cwd backstage-plugin-github-releases-autogov install && yarn --cwd backstage-plugin-github-releases-assets-backend install && yarn --cwd backstage-plugin-autogov-common install",
"test:all": "yarn install:all && yarn build:all && yarn tsc:all && yarn --cwd backstage-plugin-github-releases-autogov test --no-watch && yarn --cwd backstage-plugin-github-releases-assets-backend test --no-watch && yarn --cwd backstage-plugin-autogov-common test --no-watch",
"test:all": "yarn install:all && yarn build:all && yarn tsc:full && yarn --cwd backstage-plugin-github-releases-autogov test --no-watch && yarn --cwd backstage-plugin-github-releases-assets-backend test --no-watch && yarn --cwd backstage-plugin-autogov-common test --no-watch",
"prettier:check": "npx --yes prettier --check .",
"prettier:fix": "npx --yes prettier --write .",
"tsc:full": "tsc --skipLibCheck true --incremental false",
"prepare": "husky",
"clean": "backstage-cli repo clean"
},
"packageManager": "yarn@4.5.1"
}
}

0 comments on commit bfa678b

Please sign in to comment.