@newrelic/preflight 1.57.2 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -0
  2. package/package.json +12 -10
package/README.md CHANGED
@@ -116,6 +116,16 @@ Restart your AI tool — hooks and the MCP server load at session start. Every t
116
116
 
117
117
  **Cursor** — [Add to Cursor](https://cursor.com/en/install-mcp?name=newrelic-preflight&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBuZXdyZWxpYy9wcmVmbGlnaHQiLCItLXN0ZGlvIl19) installs the MCP server via a one-click deeplink; run `preflight setup` afterwards for hook capture.
118
118
 
119
+ **Homebrew (macOS)**:
120
+
121
+ ```bash
122
+ brew tap newrelic-experimental/preflight
123
+ brew trust newrelic-experimental/preflight
124
+ brew install preflight
125
+ ```
126
+
127
+ Run `preflight setup` afterwards for hook capture.
128
+
119
129
  ---
120
130
 
121
131
  ## Works With
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newrelic/preflight",
3
- "version": "1.57.2",
3
+ "version": "1.58.0",
4
4
  "mcpName": "io.github.newrelic-experimental/preflight",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -48,12 +48,13 @@
48
48
  "test": "jest",
49
49
  "test:integration": "jest --testPathPatterns='src/multi-instance\\.integration\\.test\\.ts' --testPathIgnorePatterns=/node_modules/ --testTimeout=120000",
50
50
  "test:web": "vitest run",
51
- "setup:e2e": "npx playwright install chromium && npm run build",
51
+ "setup:e2e": "playwright install chromium && npm run build",
52
52
  "pretest:e2e": "npm run setup:e2e",
53
53
  "test:e2e": "playwright test",
54
54
  "pretest:e2e:update": "npm run setup:e2e",
55
55
  "test:e2e:update": "playwright test --update-snapshots",
56
- "lint": "eslint src/",
56
+ "test:e2e:update:linux": "bash e2e/record-linux-baselines.sh",
57
+ "lint": "eslint src/ scripts/ e2e/ *.config.ts",
57
58
  "format": "prettier --write .",
58
59
  "format:check": "prettier --check .",
59
60
  "deploy:alerts": "node dist/index.js deploy-alerts",
@@ -63,13 +64,13 @@
63
64
  "deploy:dashboard:all": "node dist/index.js deploy-dashboards --all",
64
65
  "deploy:dashboard:update": "node dist/index.js deploy-dashboards --all --update",
65
66
  "deploy:dashboard:teardown": "node dist/index.js deploy-dashboards --all --teardown",
66
- "backfill:sessions": "npx tsx scripts/backfill-sessions.ts",
67
- "regenerate:otlp-descriptor": "npx tsx scripts/regenerate-otlp-descriptor.ts",
68
- "check:bundle-size": "npx tsx scripts/check-bundle-size.ts",
69
- "check:docs-inventory": "npx tsx scripts/check-docs-inventory.ts",
70
- "replay:git-counts": "npx tsx scripts/replay-git-counts.ts",
71
- "check:claude-code-changelog": "npx tsx scripts/check-claude-code-changelog.ts",
72
- "whats-new:draft": "npx tsx scripts/draft-whats-new.ts",
67
+ "backfill:sessions": "tsx scripts/backfill-sessions.ts",
68
+ "regenerate:otlp-descriptor": "tsx scripts/regenerate-otlp-descriptor.ts",
69
+ "check:bundle-size": "tsx scripts/check-bundle-size.ts",
70
+ "check:docs-inventory": "tsx scripts/check-docs-inventory.ts",
71
+ "replay:git-counts": "tsx scripts/replay-git-counts.ts",
72
+ "check:claude-code-changelog": "tsx scripts/check-claude-code-changelog.ts",
73
+ "whats-new:draft": "tsx scripts/draft-whats-new.ts",
73
74
  "dev": "node dist/index.js --local",
74
75
  "dev:all": "npm run build && npm run dev",
75
76
  "dev:full": "npm run build:server && { npm run dev & BACK=$!; npm run dev:web; kill $BACK 2>/dev/null || true; }",
@@ -144,6 +145,7 @@
144
145
  "rimraf": "6.1.3",
145
146
  "tailwindcss": "4.3.3",
146
147
  "ts-jest": "29.4.12",
148
+ "tsx": "4.23.15",
147
149
  "typescript": "6.0.3",
148
150
  "vite": "8.2.2",
149
151
  "vitest": "4.1.11",