0419acede2
This reverts commit 6d76b1729b.
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
226 lines
7.1 KiB
JSON
226 lines
7.1 KiB
JSON
{
|
|
"name": "@backstage/cli",
|
|
"version": "0.36.1-next.0",
|
|
"description": "CLI for developing Backstage plugins and apps",
|
|
"backstage": {
|
|
"role": "cli"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"backstage"
|
|
],
|
|
"homepage": "https://backstage.io",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/backstage/backstage",
|
|
"directory": "packages/cli"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"main": "dist/index.cjs.js",
|
|
"bin": {
|
|
"backstage-cli": "bin/backstage-cli"
|
|
},
|
|
"files": [
|
|
"asset-types",
|
|
"templates",
|
|
"config",
|
|
"bin",
|
|
"dist/**/*.js"
|
|
],
|
|
"scripts": {
|
|
"build": "backstage-cli package build",
|
|
"clean": "backstage-cli package clean",
|
|
"lint": "backstage-cli package lint",
|
|
"start": "nodemon --",
|
|
"test": "backstage-cli package test"
|
|
},
|
|
"nodemonConfig": {
|
|
"exec": "bin/backstage-cli",
|
|
"ext": "ts",
|
|
"watch": "./src"
|
|
},
|
|
"dependencies": {
|
|
"@backstage/cli-common": "workspace:^",
|
|
"@backstage/cli-defaults": "workspace:^",
|
|
"@backstage/cli-module-build": "workspace:^",
|
|
"@backstage/cli-module-test-jest": "workspace:^",
|
|
"@backstage/cli-node": "workspace:^",
|
|
"@backstage/errors": "workspace:^",
|
|
"@backstage/eslint-plugin": "workspace:^",
|
|
"@manypkg/get-packages": "^1.1.3",
|
|
"@spotify/eslint-config-base": "^15.0.0",
|
|
"@spotify/eslint-config-react": "^15.0.0",
|
|
"@spotify/eslint-config-typescript": "^15.0.0",
|
|
"@swc/core": "^1.15.6",
|
|
"@swc/jest": "^0.2.39",
|
|
"@types/webpack-env": "^1.15.2",
|
|
"@typescript-eslint/eslint-plugin": "^8.17.0",
|
|
"@typescript-eslint/parser": "^8.16.0",
|
|
"chalk": "^4.0.0",
|
|
"commander": "^14.0.3",
|
|
"cross-fetch": "^4.0.0",
|
|
"eslint": "^8.6.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-deprecation": "^3.0.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-jest": "^28.9.0",
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
"eslint-plugin-react": "^7.37.2",
|
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
"fs-extra": "^11.2.0",
|
|
"glob": "^7.1.7",
|
|
"jest-css-modules": "^2.1.0",
|
|
"pirates": "^4.0.6",
|
|
"postcss": "^8.1.0",
|
|
"sucrase": "^3.20.2",
|
|
"yaml": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@backstage/backend-plugin-api": "workspace:^",
|
|
"@backstage/backend-test-utils": "workspace:^",
|
|
"@backstage/catalog-client": "workspace:^",
|
|
"@backstage/config": "workspace:^",
|
|
"@backstage/core-app-api": "workspace:^",
|
|
"@backstage/core-components": "workspace:^",
|
|
"@backstage/core-plugin-api": "workspace:^",
|
|
"@backstage/dev-utils": "workspace:^",
|
|
"@backstage/errors": "workspace:^",
|
|
"@backstage/plugin-auth-backend": "workspace:^",
|
|
"@backstage/plugin-auth-backend-module-guest-provider": "workspace:^",
|
|
"@backstage/plugin-catalog-node": "workspace:^",
|
|
"@backstage/plugin-scaffolder-node": "workspace:^",
|
|
"@backstage/plugin-scaffolder-node-test-utils": "workspace:^",
|
|
"@backstage/test-utils": "workspace:^",
|
|
"@backstage/theme": "workspace:^",
|
|
"@jest/environment-jsdom-abstract": "^30.0.0",
|
|
"@types/fs-extra": "^11.0.0",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^22.13.14",
|
|
"jest": "^30.2.0",
|
|
"jsdom": "^27.1.0",
|
|
"nodemon": "^3.0.1"
|
|
},
|
|
"peerDependencies": {
|
|
"@jest/environment-jsdom-abstract": "^30.0.0",
|
|
"jest": "^29.0.0 || ^30.0.0",
|
|
"jest-environment-jsdom": "*",
|
|
"jsdom": "^27.1.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@jest/environment-jsdom-abstract": {
|
|
"optional": true
|
|
},
|
|
"jest-environment-jsdom": {
|
|
"optional": true
|
|
},
|
|
"jsdom": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"configSchema": {
|
|
"$schema": "https://backstage.io/schema/config-v1",
|
|
"title": "@backstage/cli",
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "object",
|
|
"properties": {
|
|
"baseUrl": {
|
|
"type": "string",
|
|
"visibility": "frontend"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"visibility": "frontend"
|
|
},
|
|
"datadogRum": {
|
|
"type": "object",
|
|
"description": "Datadog RUM events configuration",
|
|
"properties": {
|
|
"env": {
|
|
"type": "string",
|
|
"visibility": "frontend",
|
|
"description": "Environment for Datadog RUM events"
|
|
},
|
|
"clientToken": {
|
|
"type": "string",
|
|
"visibility": "frontend",
|
|
"description": "clientToken for Datadog RUM events"
|
|
},
|
|
"applicationId": {
|
|
"type": "string",
|
|
"visibility": "frontend",
|
|
"description": "applicationId for Datadog RUM events"
|
|
},
|
|
"site": {
|
|
"type": "string",
|
|
"visibility": "frontend",
|
|
"description": "site for Datadog RUM events"
|
|
},
|
|
"sessionSampleRate": {
|
|
"type": "number",
|
|
"visibility": "frontend",
|
|
"description": "sample rate of Datadog RUM events"
|
|
},
|
|
"sessionReplaySampleRate": {
|
|
"type": "number",
|
|
"visibility": "frontend",
|
|
"description": "sample rate of session replays based upon already sampled Datadog RUM events"
|
|
}
|
|
},
|
|
"required": [
|
|
"clientToken",
|
|
"applicationId"
|
|
]
|
|
},
|
|
"listen": {
|
|
"type": "object",
|
|
"description": "Listening configuration for local development",
|
|
"properties": {
|
|
"host": {
|
|
"type": "string",
|
|
"visibility": "frontend",
|
|
"description": "The host that the frontend should be bound to. Only used for local development."
|
|
},
|
|
"port": {
|
|
"type": "number",
|
|
"visibility": "frontend",
|
|
"description": "The port that the frontend should be bound to. Only used for local development."
|
|
}
|
|
}
|
|
},
|
|
"https": {
|
|
"type": "object",
|
|
"description": "Only used for local development. The https object is passed to webpack in order to enable using https on localhost.",
|
|
"properties": {
|
|
"certificate": {
|
|
"type": "object",
|
|
"description": "Parent object containing certificate and the private key",
|
|
"required": [
|
|
"key",
|
|
"cert"
|
|
],
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"visibility": "secret",
|
|
"description": "Https Certificate private key. Use $file to load in a file"
|
|
},
|
|
"cert": {
|
|
"type": "string",
|
|
"visibility": "secret",
|
|
"description": "Https Certificate. Use $file to load in a file"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|