|
37 | 37 | "scripts": { |
38 | 38 | "prepare": "node scripts/install-git-hooks.mjs", |
39 | 39 | "inspect": "npm run build && npx @modelcontextprotocol/inspector@latest node --env-file .env packages/node/dist/cli.mjs", |
40 | | - "inspect:npm": "npx @modelcontextprotocol/inspector@latest npx hevy-mcp@latest", |
41 | 40 | "measure:tokens": "tsx scripts/measure-token-cost.ts", |
42 | | - "update-dependencies": "npx --yes npm-check-updates --deep -u && npm install", |
43 | 41 | "test": "npm run build && node --env-file-if-exists=.env node_modules/vitest/vitest.mjs --run", |
44 | 42 | "test:unit": "vitest run --exclude 'tests/integration/**' --exclude 'tests/performance/**'", |
45 | 43 | "test:release-unit": "vitest run --exclude 'tests/integration/**'", |
|
57 | 55 | "test:live": "node --env-file-if-exists=.env scripts/run-live-vitest.mjs HEVY_API_KEY tests/integration/hevy-mcp.integration.test.ts", |
58 | 56 | "test:nightly": "node --env-file-if-exists=.env tests/nightly/test_hevy_mcp.mjs", |
59 | 57 | "test:performance": "npm run build && vitest run tests/performance/performance.test.ts", |
60 | | - "test:coverage": "npm run test:unit -- --coverage --coverage.reportsDirectory=coverage/unit && npm run test:mcp -- --coverage --coverage.reportsDirectory=coverage/mocked", |
61 | 58 | "test:pr": "nx run repository:test:pr", |
62 | 59 | "openapi": "node ./scripts/openapi-spec.js", |
63 | 60 | "check:openapi": "node ./scripts/check-openapi-spec.js", |
64 | 61 | "build": "npm run build --workspace hevy-mcp", |
65 | | - "build:standalone": "npm run build:standalone --workspace hevy-mcp", |
66 | 62 | "build:client": "npm run build:client --workspace @hevy-mcp/hevy-client && prettier --ignore-unknown --write packages/hevy-client/src/generated", |
67 | 63 | "prepack": "npm run check:server-manifest && npm run build", |
68 | 64 | "start": "node --env-file .env packages/node/dist/cli.mjs", |
|
72 | 68 | "check:types": "tsc --noEmit && npm run check:types --workspaces --if-present", |
73 | 69 | "check:control-plane": "node scripts/check-control-plane.mjs", |
74 | 70 | "check:generated": "node ./scripts/check-generated-client.mjs", |
75 | | - "check:boundaries": "node scripts/check-package-boundaries.mjs && npm run check:dependency-cruiser", |
76 | | - "check:exports": "node scripts/check-package-exports.mjs", |
77 | | - "check:publint": "publint run --strict --pack npm packages/node && publint run --strict --pack npm packages/cli", |
78 | | - "check:package-changesets": "node scripts/check-package-changesets.mjs", |
| 71 | + "check:boundaries": "node scripts/check-package-boundaries.mjs && depcruise --config .dependency-cruiser.cjs packages", |
79 | 72 | "build:packages": "npm run build --workspaces --if-present", |
80 | | - "check:dependency-cruiser": "depcruise --config .dependency-cruiser.cjs packages", |
81 | | - "check:changeset": "env -u GIT_DIR -u GIT_WORK_TREE changeset status --since=origin/main && env -u GIT_DIR -u GIT_WORK_TREE npm run check:package-changesets -- --since origin/main", |
82 | | - "nx:affected": "nx affected --target=control-plane --base=origin/main --head=HEAD", |
83 | | - "nx:control-plane": "nx run repository:control-plane", |
| 73 | + "check:changeset": "env -u GIT_DIR -u GIT_WORK_TREE changeset status --since=origin/main && env -u GIT_DIR -u GIT_WORK_TREE node scripts/check-package-changesets.mjs --since origin/main", |
84 | 74 | "check:server-manifest": "node scripts/server-manifest.mjs check", |
85 | | - "sync:server-manifest": "node scripts/server-manifest.mjs sync", |
86 | | - "version:changesets": "changeset version && npm run sync:server-manifest", |
87 | | - "version": "npm run sync:server-manifest && git add server.json packages/node/server.json", |
88 | | - "version:patch": "npm version patch", |
89 | | - "version:minor": "npm version minor", |
90 | | - "version:major": "npm version major", |
91 | | - "release": "changeset publish", |
92 | | - "commit": "commit", |
| 75 | + "version": "node scripts/server-manifest.mjs sync && git add server.json packages/node/server.json", |
93 | 76 | "worker:dev": "wrangler dev --x-new-config", |
94 | | - "worker:deploy": "cross-env WRANGLER_MODE=production wrangler deploy --x-new-config --env production", |
95 | 77 | "worker:dry-run": "wrangler deploy --x-new-config --dry-run --outdir .wrangler/dry-run && node scripts/check-worker-bundle.mjs" |
96 | 78 | }, |
97 | 79 | "devDependencies": { |
|
0 commit comments