Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 6.5 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 6.5 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
{
"name": "junior-monorepo",
"private": true,
"packageManager": "pnpm@12.18.0+sha512.9d7882d5dc82147ecfc4e062aa34834e0ad0296710a1837a1115ae012127d36b7109e321ac1598a1dd0a65597681b1e99917e12ed0d749eae91187943363beb3",
"scripts": {
"acp:local": "node scripts/acp-local.mjs",
"dev": "node scripts/dev.mjs",
"dev:env": "pnpx vercel env pull .env.local --environment=development && pnpm run cloudflare:token",
"cli": "node scripts/cli-with-root-env.mjs",
"worktree": "node scripts/worktree.mjs",
"worktree:new": "node scripts/worktree.mjs new",
"worktree:list": "node scripts/worktree.mjs list",
"worktree:setup": "node scripts/worktree.mjs setup",
"cloudflare:token": "node scripts/refresh-cloudflare-tunnel-token.mjs",
"prepare": "simple-git-hooks",
"lint": "pnpm file-length:check && pnpm typecheck-coverage:check && pnpm oxlint-rules:check && pnpm migration-metadata:check && pnpm migration-locks:check && pnpm money-units:check && pnpm lockfile-families:check && pnpm test-architecture:check && pnpm type-assertions:check && pnpm await-in-loop:check && pnpm nav-request-budgets:check && pnpm dashboard-style:check && pnpm --filter @sentry/junior tool-annotations:check && pnpm --filter @sentry/junior tool-key-casing:check && pnpm --filter @sentry/junior tool-descriptions:check && pnpm --filter @sentry/junior tool-error-classification:check && oxlint && pnpm --filter @sentry/junior deps:check && pnpm ast-grep:lint && pnpm package:lint",
"lint:fix": "oxlint --fix",
"format": "oxfmt",
"format:check": "oxfmt --check",
"file-length:check": "node --test scripts/check-file-length.test.mjs && node scripts/check-file-length.mjs",
"migration-metadata:check": "node --test scripts/check-drizzle-migrations.test.mjs && node scripts/check-drizzle-migrations.mjs",
"migration-locks:check": "node --test scripts/check-migration-locks.test.mjs && node scripts/check-migration-locks.mjs && squawk --reporter gcc 'packages/*/migrations/*.sql'",
"money-units:check": "node --test scripts/check-money-units.test.mjs && node scripts/check-money-units.mjs",
"lockfile-families:check": "node --test scripts/check-lockfile-families.test.mjs && node scripts/check-lockfile-families.mjs",
"oxlint-rules:check": "node --test tools/oxlint/junior/rules/*.test.ts packages/junior-dashboard/oxlint/*.test.ts",
"test-architecture:check": "node --test scripts/check-test-architecture.test.mjs && node scripts/check-test-architecture.mjs",
"type-assertions:check": "node --test scripts/check-type-assertions.test.mjs && node scripts/check-type-assertions.mjs",
"await-in-loop:check": "node --test scripts/check-await-in-loop.test.mjs && node scripts/check-await-in-loop.mjs",
"nav-request-budgets:check": "node --test scripts/check-nav-request-budgets.test.mjs && node scripts/check-nav-request-budgets.mjs",
"dashboard-style:check": "node --test scripts/check-dashboard-styles.test.mjs && node scripts/check-dashboard-styles.mjs",
"dashboard-bundle-size:check": "node --test scripts/check-dashboard-bundle-size.test.mjs && node scripts/check-dashboard-bundle-size.mjs",
"ast-grep:lint": "ast-grep test --test-dir ast-grep/tests --skip-snapshot-tests && ast-grep scan --error=unused-suppression --error=no-suppress-all && node --test scripts/check-ast-grep-ignores.test.mjs && node scripts/check-ast-grep-ignores.mjs",
"lint-staged": "lint-staged",
"build": "pnpm -r --filter \"./packages/*\" --filter \"!@sentry/junior-docs\" run build",
"build:example": "pnpm --filter @sentry/junior-example build",
"docs:dev": "pnpm --filter @sentry/junior-docs dev",
"docs:build": "pnpm --filter @sentry/junior-docs build",
"docs:check": "pnpm --filter @sentry/junior-docs check",
"package:lint": "for pkg in packages/junior packages/junior-plugin-api packages/junior-memory packages/junior-dashboard packages/junior-github packages/junior-google packages/junior-agent-browser packages/junior-amplitude packages/junior-cloudflare packages/junior-datadog packages/junior-figma packages/junior-tts packages/junior-hex packages/junior-linear packages/junior-maintenance packages/junior-notion packages/junior-octolens packages/junior-pagerduty packages/junior-restream packages/junior-search packages/junior-sentry packages/junior-vercel packages/junior-xdotcom; do pnpm exec publint \"$pkg\" || exit $?; done",
"package-types:check": "node scripts/check-package-types.mjs",
"release:check": "node scripts/check-release-config.mjs",
"start": "pnpm --filter @sentry/junior-example dev",
"test": "pnpm build && pnpm -r --workspace-concurrency=1 --filter \"./packages/*\" --filter \"!@sentry/junior-docs\" --filter \"!@sentry/junior-evals\" run test",
"test:e2e:dashboard": "pnpm --filter \"@sentry/junior-dashboard...\" run build && playwright test -c packages/junior-dashboard/playwright.config.ts",
"test:watch": "pnpm --filter @sentry/junior test:watch",
"evals": "pnpm --filter @sentry/junior-evals evals",
"evals:behavioral": "pnpm --filter @sentry/junior-evals evals:behavioral",
"evals:integration": "pnpm --filter @sentry/junior-evals evals:integration",
"evals:guardian": "pnpm --filter @sentry/junior-evals evals:guardian",
"evals:record": "pnpm --filter @sentry/junior-evals evals:record",
"typecheck-coverage:check": "node scripts/check-typecheck-coverage.mjs",
"typecheck": "pnpm -r run typecheck && tsc --noEmit -p tools/oxlint && tsc --noEmit -p tools/configs",
"skills:check": "pnpm --filter @sentry/junior skills:check"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"pre-push": "pnpm lint"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}": "oxlint --fix",
"*.{js,jsx,ts,tsx,mjs,cjs,json,yml,yaml}": [
"pnpm file-length:check",
"pnpm test-architecture:check",
"pnpm dashboard-style:check",
"oxfmt --no-error-on-unmatched-pattern"
]
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.5",
"@ast-grep/cli": "^0.43.0",
"@octokit/graphql-schema": "^15.26.1",
"@oxlint/plugins": "1.93.0",
"@playwright/test": "^1.60.0",
"@primer/octicons": "19.21.1",
"@types/node": "catalog:",
"agent-browser": "^0.27.0",
"libpg-query": "18.2.2",
"lint-staged": "^17.0.5",
"oxfmt": "0.78.0",
"oxlint": "1.93.0",
"oxlint-tsgolint": "7.0.2007",
"publint": "^0.3.21",
"sentry": "0.47.0",
"simple-git-hooks": "^2.13.1",
"squawk-cli": "2.72.0",
"tsx": "^4.22.3",
"typescript": "catalog:",
"yaml": "^2.9.0"
},
"engines": {
"node": "24.x"
}
}