Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@
"name": "Angular Runtime",
"package": "@netlify/angular-runtime",
"repo": "https://github.com/netlify/angular-runtime",
"version": "3.0.1"
"version": "4.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify `@netlify/angular-runtime`@4.0.0 exists and check for migration guide

echo "Checking if `@netlify/angular-runtime`@4.0.0 exists on npm..."
npm view `@netlify/angular-runtime`@4.0.0 version 2>/dev/null

echo -e "\nFetching available versions..."
npm view `@netlify/angular-runtime` versions --json | jq -r '.[]' | tail -10

echo -e "\nChecking repository for migration documentation..."
gh api repos/netlify/angular-runtime/releases --jq '.[] | select(.tag_name | contains("4.0")) | {tag_name, name, body}' | head -50

Repository: netlify/plugins

Length of output: 1768


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Locate how compatibility objects are structured in site/plugins.json
file="site/plugins.json"

echo "compatibility occurrences (showing nearby lines):"
rg -n '"compatibility"\s*:' "$file" | head -n 20

echo -e "\nShow Gatsby/Nextjs example blocks around first few compatibility occurrences:"
# Print a few relevant slices
for l in $(rg -n '"compatibility"\s*:' "$file" | head -n 5 | cut -d: -f1); do
  start=$((l-5)); end=$((l+25))
  echo -e "\n--- $file lines $start-$end (around $l) ---"
  sed -n "${start},${end}p" "$file" | nl -ba -w2 -s': ' | head -n 70
done

Repository: netlify/plugins

Length of output: 547


🏁 Script executed:

#!/bin/bash
set -euo pipefail

file="site/plugins.json"

echo "== compatibility key occurrences (first 15) =="
rg -n '"compatibility"\s*:' "$file" | head -n 15

echo -e "\n== compatibility blocks: show lines around first 4 occurrences =="
for l in $(rg -n '"compatibility"\s*:' "$file" | head -n 4 | cut -d: -f1); do
  start=$((l-5)); end=$((l+25))
  echo -e "\n--- $file lines $start-$end ---"
  sed -n "${start},${end}p" "$file" | awk '{printf "%6d: %s\n", NR+('$start'-1), $0}'
done

echo -e "\n== `@netlify/angular-runtime` entry around line 681 =="
sed -n '660,705p' "$file" | awk '{printf "%6d: %s\n", NR+660-1, $0}'

echo -e "\n== Search for angular-runtime entry =="
rg -n '"`@netlify/angular-runtime`"' "$file" -n

Repository: netlify/plugins

Length of output: 7908


🏁 Script executed:

#!/bin/bash
set -euo pipefail

file="site/plugins.json"

echo "== Find nodeVersion usage inside compatibility entries =="
rg -n '"nodeVersion"\s*:' "$file" | head -n 30

echo -e "\n== Find any migrationGuide values that point to GitHub releases tags =="
rg -n '"migrationGuide"\s*:\s*"https?://github\.com/.*/releases/tag/' "$file" | head -n 30

echo -e "\n== Find any migrationGuide values that point to github compare links =="
rg -n '"migrationGuide"\s*:\s*"https?://github\.com/.*/compare/' "$file" | head -n 30

echo -e "\n== Show full Angular Runtime entry (name/package/repo/version) =="
rg -n '"name": "Angular Runtime"' -n "$file"
start=$(rg -n '"name": "Angular Runtime"' "$file" | head -n 1 | cut -d: -f1)
sed -n "${start},$((start+25))p" "$file"

Repository: netlify/plugins

Length of output: 791


Add missing compatibility/migration guidance for @netlify/angular-runtime@4.0.0
@netlify/angular-runtime@4.0.0 exists on npm and its v4.0.0 release notes include breaking changes (Node 22+ / ESM). Add a "compatibility": [...] entry to the Angular Runtime record in site/plugins.json for "version": "4.0.0" including migrationGuide (e.g., https://github.com/netlify/angular-runtime/releases/tag/v4.0.0), optionally with nodeVersion: ">=22.0.0".

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@site/plugins.json` at line 681, The Angular Runtime entry with "version":
"4.0.0" in site/plugins.json is missing a compatibility/migration guidance
entry; add a "compatibility": [...] object for the `@netlify/angular-runtime`
v4.0.0 record that includes a migrationGuide pointing to the release notes
(e.g., https://github.com/netlify/angular-runtime/releases/tag/v4.0.0) and,
optionally, nodeVersion: ">=22.0.0" so consumers see the breaking changes
(locate the record by the version "4.0.0" and the `@netlify/angular-runtime`
plugin name).

},
{
"author": "netlify",
Expand Down