chore: small cleanup

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-02-27 09:54:13 +01:00
parent 1748756611
commit d4d54d1b2b
3 changed files with 25 additions and 23 deletions
+3 -2
View File
@@ -12,9 +12,10 @@
'@backstage/plugin-scaffolder-backend-module-azure': patch
'@backstage/plugin-scaffolder-backend-module-gitea': patch
'@backstage/plugin-scaffolder-backend-module-rails': patch
'@backstage/plugin-scaffolder-node-test-utils': patch
'@backstage/plugin-scaffolder-node-test-utils': minor
'@backstage/plugin-scaffolder-backend': patch
---
Introduced createMockActionContext to unify the way of creating scaffolder mock context.
Introduced `createMockActionContext` to unify the way of creating scaffolder mock context.
It will help to maintain tests in a long run during structural changes of action context.
+1
View File
@@ -116,6 +116,7 @@
"features/software-templates/input-examples",
"features/software-templates/builtin-actions",
"features/software-templates/writing-custom-actions",
"features/software-templates/writing-tests-for-actions",
"features/software-templates/writing-custom-field-extensions",
"features/software-templates/writing-custom-step-layouts",
"features/software-templates/authorizing-parameters-steps-and-actions",
+21 -21
View File
@@ -1,9 +1,9 @@
{
"name": "@backstage/plugin-scaffolder-node-test-utils",
"version": "0.0.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"backstage": {
"role": "node-library"
},
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -12,29 +12,24 @@
"repository": {
"type": "git",
"url": "https://github.com/backstage/backstage",
"directory": "packages/scaffolder-test-utils"
},
"backstage": {
"role": "node-library"
"directory": "plugins/scaffolder-node-test-utils"
},
"license": "Apache-2.0",
"sideEffects": false,
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test",
"clean": "backstage-cli package clean",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@testing-library/jest-dom": "^6.0.0",
"@types/react": "*"
},
"main": "src/index.ts",
"types": "src/index.ts",
"files": [
"dist"
],
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"lint": "backstage-cli package lint",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"start": "backstage-cli package start",
"test": "backstage-cli package test"
},
"dependencies": {
"@backstage/backend-common": "workspace:^",
"@backstage/backend-test-utils": "workspace:^",
@@ -42,5 +37,10 @@
"@backstage/plugin-scaffolder-node": "workspace:^",
"@backstage/types": "workspace:^",
"winston": "^3.2.1"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@testing-library/jest-dom": "^6.0.0",
"@types/react": "*"
}
}