-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 5.12 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 5.12 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
{
"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 --config packages/config-eslint/eslint.monorepo.config.ts --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",
"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.lock && 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",
"lint": "turbo lint",
"lint:actions": "FORCE_COLOR=1 npx node-actionlint",
"lint:changed": "turbo lint --filter=[HEAD~1]",
"lint:repo": "backstage-cli repo fix --check",
"lint:repo:fix": "backstage-cli repo fix",
"plugin:create": "backstage-cli new --category plugin --scope @ai-crew-suite",
"plugin:new": "backstage-cli new --scope @ai-crew-suite",
"postinstall": "yarn python:setup",
"preinstall": "npx only-allow yarn && yarn sync",
"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": "crew storybook",
"storybook:build": "crew storybook:build",
"sync": "crew sync:refs",
"test": "yarn test:unit && yarn test:e2e && yarn 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": "crew test:e2e",
"test:unit": "turbo run test:unit",
"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": "turbo run test:unit -- --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": {
"@ai-crew-suite/cli": "workspace:*",
"@backstage/cli": "backstage:^",
"@backstage/cli-defaults": "backstage:^",
"@backstage/cli-module-new": "backstage:^",
"@backstage/config": "backstage:^",
"@changesets/cli": "^3.0.2",
"@playwright/test": "^1.63.0",
"@types/node": "^22.20.1",
"concurrently": "^10.0.5",
"http-server": "^14.1.1",
"husky": "^9.1.7",
"i18next": "26.4.2",
"lint-staged": "^17.5.0",
"node-gyp": "^13.0.2",
"only-allow": "^1.2.2",
"prettier": "^3.9.6",
"prop-types": "^15.8.1",
"storybook": "^10.6.0",
"turbo": "^2.10.12",
"typescript": "6.0.3",
"whatwg-fetch": "^3.6.20"
},
"resolutions": {
"@types/node": "^26.1.1",
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "6.0.3"
}
}