-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 5.98 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 5.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "root",
"version": "0.0.1",
"private": true,
"engines": {
"node": "22 || 24"
},
"packageManager": "yarn@4.18.0",
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"eslint --fix"
],
"*.{json,md,css,scss}": [
"prettier --write"
]
},
"prettier": "@backstage/cli/config/prettier",
"workspaces": [
"packages/*",
"plugins/**/*"
],
"scripts": {
"build": "turbo build",
"build:image": "yarn workspace backend build:image",
"clean": "turbo clean",
"clean:node_modules": "find plugins -name node_modules -type d -exec rm -rf {} +",
"debug:action": "python3 .github/test/runner.py",
"dev": "turbo start --filter=app --filter=backend --concurrency=10",
"dev:all": "turbo run start --filter=backend-legacy --filter=backend-modern --filter=app",
"dev:ci:modern": "concurrently \"http-server packages/app/dist -a localhost --port 3000 --gzip --proxy http://localhost:3000?\" \"turbo run start --filter=backend-modern\"",
"dev:ci:legacy": "concurrently \"http-server packages/app/dist -a localhost --port 3000 --gzip --proxy http://localhost:3000?\" \"turbo run start --filter=backend-legacy\"",
"dev:legacy": "turbo run start --filter=backend-legacy --filter=app",
"dev:modern": "turbo run start --filter=backend-modern --filter=app",
"lint": "turbo lint",
"lint:changed": "turbo lint --filter=[HEAD~1]",
"lint:actions": "FORCE_COLOR=1 npx node-actionlint",
"install:actions": ".venv/bin/pip install -r requirements.txt",
"install:app": "sh -c 'yarn workspace app add \"$@\"' --",
"install:clean": "rm -f package-lock.json && yarn cache clean && yarn install",
"install:nested": "sh -c 'yarn workspaces foreach -A exec yarn add \"$@\"' --",
"install:playwright-chromium": "npx playwright install chromium",
"install:playwright": "npx playwright install --with-deps",
"install:rebuild:native": "npm rebuild better-sqlite3 isolated-vm tree-sitter tree-sitter-json @tree-sitter-grammars/tree-sitter-yaml cpu-features msgpackr-extract",
"install:root": "sh -c 'yarn add -D \"$@\"' --",
"install:setup": "husky",
"install:upgrade:core": "yarn backstage-cli versions:bump --release main",
"install:upgrade:third-party": "turbo clean && yarn up",
"plugin:create": "backstage-cli new --category plugin --scope @webstackbuilders",
"plugin:new": "backstage-cli new --scope @webstackbuilders",
"postinstall": "npm run python:setup",
"python:setup": "./scripts/setup-python.sh",
"python:run-runner": "bash -c 'source .venv/bin/activate'",
"release": "changeset version && yarn prettier --write \"{packages,plugins}/*/{package.json,CHANGELOG.md}\" && yarn install",
"start": "turbo start --filter=app",
"start-backend": "turbo start-backend --filter=backend",
"start-backend:ci": "yarn workspace backend backstage-cli package build && yarn workspace backend node . --config ../../app-config.yaml --config ../../app-config.production.yaml",
"start:ci": "concurrently \"yarn start\" \"yarn start-backend:ci\"",
"storybook": "turbo run storybook --filter=@webstackbuilders/storybook-workspace-infra",
"storybook:build": "turbo run storybook:build --filter=@webstackbuilders/storybook-workspace-infra",
"storybook:rebuild-types": "yarn tsc --build packages/storybook/tsconfig.json",
"test": "yarn run test:unit && yarn run test:e2e && yarn run test:unit:coverage",
"test:e2e:show-report": "FORCE_COLOR=1 npx playwright show-report",
"test:e2e:smoke": "FORCE_COLOR=1 CI=1 npx playwright test --grep \"@smoke\"",
"test:e2e:ui": "FORCE_COLOR=1 CI=1 npx playwright test --ui",
"test:e2e": "FORCE_COLOR=1 CI=1 npx playwright test",
"test:unit": "FORCE_COLOR=1 npx vitest run --config test/vitest.config.ts",
"test:unit:actions": "FORCE_COLOR=1 ANSIBLE_DEPRECATION_WARNINGS=False PYTHONWARNINGS=ignore::DeprecationWarning:ansible.* sh -c 'if [ -x .venv/bin/python ]; then .venv/bin/python -m pytest --import-mode=importlib .github/actions; else python3 -m pytest --import-mode=importlib .github/actions; fi'",
"test:unit:coverage": "FORCE_COLOR=1 npx vitest run --coverage",
"typecheck": "turbo typecheck",
"typecheck:full": "turbo typecheck --force",
"venv:make": "python3 -m venv .venv",
"venv:install": ".venv/bin/pip install -r requirements.txt",
"venv:setup": "yarn venv:make && yarn venv:install"
},
"devDependencies": {
"@backstage/cli": "backstage:^",
"@backstage/cli-defaults": "backstage:^",
"@backstage/cli-module-new": "backstage:^",
"@backstage/config": "backstage:^",
"@backstage/eslint-plugin": "backstage:^",
"@changesets/cli": "^3.0.1",
"@jest/environment-jsdom-abstract": "^30.4.1",
"@playwright/test": "^1.62.1",
"@spotify/eslint-config-base": "^15.0.0",
"@spotify/eslint-config-react": "^15.0.0",
"@spotify/eslint-config-typescript": "^15.0.0",
"@types/jest": "^30.0.0",
"@types/node": "^26.3.0",
"@typescript-eslint/eslint-plugin": "^8.68.0",
"@typescript-eslint/parser": "^8.68.0",
"@vitest/coverage-v8": "^4.1.11",
"concurrently": "^10.0.5",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.16.2",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-notice": "^1.0.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-unused-imports": "^4.4.1",
"http-server": "^14.1.1",
"husky": "^9.1.7",
"i18next": "26.4.0",
"jest": "^30.4.2",
"jsdom": "^30.0.1",
"lint-staged": "^17.3.0",
"node-gyp": "^13.0.1",
"prettier": "^3.9.6",
"prop-types": "^15.8.1",
"storybook": "^10.5.10",
"turbo": "^2.10.12",
"typescript": "6.0.3",
"typescript-eslint": "^8.68.0",
"vitest": "^4.1.11",
"whatwg-fetch": "^3.6.20"
},
"resolutions": {
"@types/node": "^26.1.1",
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "6.0.3"
}
}