@newrelic/preflight 1.24.0 → 1.25.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 +7 -0
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -98,6 +98,13 @@ When prompted, pick a mode:
98
98
 
99
99
  Restart your AI tool — hooks and the MCP server load at session start. Every tool call is captured automatically. Open **http://localhost:7777** to watch your session live.
100
100
 
101
+ > **Using Claude Code?** You can skip the npm install above and add Preflight as a [Claude Code plugin](docs/PLUGIN.md) instead:
102
+ >
103
+ > ```
104
+ > /plugin marketplace add newrelic-experimental/preflight
105
+ > /plugin install newrelic-preflight@newrelic-preflight-marketplace
106
+ > ```
107
+
101
108
  ---
102
109
 
103
110
  ## Works With
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newrelic/preflight",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "private": false,
@@ -41,6 +41,8 @@
41
41
  "build:web": "vite build",
42
42
  "build": "npm run build:server && npm run build:web",
43
43
  "build:clean": "tsc --build --clean && rimraf dist/web",
44
+ "build:plugin-hook": "esbuild src/hooks/collector-script.ts --bundle --platform=node --target=node22 --format=esm --outfile=plugin/.claude-plugin/scripts/collector-script.js",
45
+ "verify:plugin-hook": "npm run build:plugin-hook && git diff --exit-code plugin/.claude-plugin/scripts/collector-script.js",
44
46
  "dev:web": "vite",
45
47
  "test": "jest",
46
48
  "test:integration": "jest --testPathPattern='src/multi-instance\\.integration\\.test\\.ts' --testTimeout=120000",
@@ -116,6 +118,7 @@
116
118
  "@typescript-eslint/parser": "8.68.0",
117
119
  "@vitejs/plugin-react": "6.0.2",
118
120
  "@vitest/coverage-v8": "4.1.11",
121
+ "esbuild": "0.28.2",
119
122
  "eslint": "10.9.1",
120
123
  "eslint-config-prettier": "^10.1.8",
121
124
  "eslint-plugin-react": "7.37.5",