123 lines
4.8 KiB
JSON
123 lines
4.8 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"engines": {
|
|
"node": "18 || 20"
|
|
},
|
|
"scripts": {
|
|
"dev": "concurrently 'yarn start' 'yarn start-backend'",
|
|
"start": "yarn workspace example-app start",
|
|
"start-backend": "yarn workspace example-backend start",
|
|
"build:backend": "yarn workspace example-backend build",
|
|
"build:all": "backstage-cli repo build --all",
|
|
"build:api-reports": "yarn build:api-reports:only --tsc",
|
|
"build:api-reports:only": "backstage-repo-tools api-reports --allow-warnings 'packages/core-components,plugins/+(catalog|catalog-import|git-release-manager|jenkins|kubernetes)' -o ae-wrong-input-file-type --validate-release-tags",
|
|
"build:api-docs": "LANG=en_EN yarn build:api-reports --docs",
|
|
"build:plugins-report": "node ./scripts/build-plugins-report",
|
|
"tsc": "tsc",
|
|
"tsc:full": "backstage-cli repo clean && tsc --skipLibCheck false --incremental false",
|
|
"clean": "backstage-cli repo clean",
|
|
"test": "backstage-cli repo test",
|
|
"test:all": "backstage-cli repo test --coverage",
|
|
"test:e2e": "playwright test",
|
|
"fix": "backstage-cli repo fix",
|
|
"lint": "backstage-cli repo lint --since origin/master",
|
|
"lint:docs": "node ./scripts/check-docs-quality",
|
|
"lint:all": "backstage-cli repo lint",
|
|
"lint:type-deps": "backstage-repo-tools type-deps",
|
|
"docker-build": "yarn tsc && yarn workspace example-backend build --build-dependencies && yarn workspace example-backend build-image",
|
|
"new": "backstage-cli new --scope backstage --baseVersion 0.0.0 --no-private",
|
|
"create-plugin": "echo \"use 'yarn new' instead\"",
|
|
"release": "node scripts/prepare-release.js && changeset version && yarn prettier --write '{packages,plugins}/*/{package.json,CHANGELOG.md}' '.changeset/*.json' && yarn install --no-immutable",
|
|
"prettier:check": "prettier --check .",
|
|
"prettier:fix": "prettier --write .",
|
|
"storybook": "yarn ./storybook run start",
|
|
"snyk:test": "npx snyk test --yarn-workspaces --strict-out-of-sync=false",
|
|
"snyk:test:package": "yarn snyk:test --include",
|
|
"build-storybook": "yarn ./storybook run build-storybook",
|
|
"techdocs-cli": "node scripts/techdocs-cli.js",
|
|
"techdocs-cli:dev": "cross-env TECHDOCS_CLI_DEV_MODE=true node scripts/techdocs-cli.js",
|
|
"prepare": "husky install",
|
|
"postinstall": "husky install || true"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*",
|
|
"plugins/*"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"jest-haste-map@^29.7.0": "patch:jest-haste-map@npm%3A29.7.0#./.yarn/patches/jest-haste-map-npm-29.7.0-e3be419eff.patch",
|
|
"@material-ui/pickers@^3.3.10": "patch:@material-ui/pickers@npm%3A3.3.11#./.yarn/patches/@material-ui-pickers-npm-3.3.11-1c8f68ea20.patch",
|
|
"@material-ui/pickers@^3.2.10": "patch:@material-ui/pickers@npm%3A3.3.11#./.yarn/patches/@material-ui-pickers-npm-3.3.11-1c8f68ea20.patch"
|
|
},
|
|
"version": "1.22.0-next.2",
|
|
"dependencies": {
|
|
"@backstage/errors": "workspace:^",
|
|
"@manypkg/get-packages": "^1.1.3",
|
|
"@useoptic/optic": "^0.50.10"
|
|
},
|
|
"devDependencies": {
|
|
"@backstage/cli": "workspace:*",
|
|
"@backstage/codemods": "workspace:*",
|
|
"@backstage/create-app": "workspace:*",
|
|
"@backstage/e2e-test-utils": "workspace:*",
|
|
"@backstage/repo-tools": "workspace:*",
|
|
"@changesets/cli": "^2.14.0",
|
|
"@octokit/rest": "^19.0.3",
|
|
"@playwright/test": "^1.32.3",
|
|
"@spotify/eslint-plugin": "^14.1.3",
|
|
"@spotify/prettier-config": "^14.0.0",
|
|
"@techdocs/cli": "workspace:*",
|
|
"@types/node": "^18.17.8",
|
|
"@types/webpack": "^5.28.0",
|
|
"command-exists": "^1.2.9",
|
|
"concurrently": "^8.0.0",
|
|
"cross-env": "^7.0.0",
|
|
"e2e-test": "workspace:*",
|
|
"eslint": "^8.6.0",
|
|
"eslint-plugin-notice": "^0.9.10",
|
|
"eslint-plugin-react": "^7.28.0",
|
|
"eslint-plugin-testing-library": "^6.0.0",
|
|
"fs-extra": "10.1.0",
|
|
"husky": "^8.0.0",
|
|
"lint-staged": "^15.0.0",
|
|
"minimist": "^1.2.5",
|
|
"node-gyp": "^10.0.0",
|
|
"prettier": "^2.2.1",
|
|
"semver": "^7.5.3",
|
|
"shx": "^0.3.2",
|
|
"ts-node": "^10.4.0",
|
|
"typescript": "~5.2.0"
|
|
},
|
|
"prettier": "@spotify/prettier-config",
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx,mjs,cjs}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{json,md}": [
|
|
"prettier --write"
|
|
],
|
|
"*.md": [
|
|
"node ./scripts/check-docs-quality"
|
|
],
|
|
"{plugins,packages}/*/catalog-info.yaml": [
|
|
"yarn backstage-repo-tools generate-catalog-info --ci"
|
|
],
|
|
"{.github/CODEOWNERS,package.json}": [
|
|
"yarn backstage-repo-tools generate-catalog-info",
|
|
"git add */catalog-info.yaml"
|
|
],
|
|
"./yarn.lock": [
|
|
"node ./scripts/verify-lockfile-duplicates --fix"
|
|
],
|
|
"*/yarn.lock": [
|
|
"node ./scripts/verify-lockfile-duplicates --fix"
|
|
]
|
|
},
|
|
"packageManager": "yarn@3.2.3"
|
|
}
|