Conversation
Document official MI API docs as partial coverage in AI add-ons, and bump safe dependency versions in root and templates to keep generated projects current and secure.
AI-100 chore: update MI API guidance and dependency baselines
📝 WalkthroughWalkthroughThis PR adds documentation guidance regarding partial Metric Insights API coverage in AI assistant configuration files and updates development dependency versions (prettier, typescript, webpack) across root and template package.json files. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@package.json`:
- Around line 102-103: Update tsconfig.json's compilerOptions to explicitly set
the build to ES5 and restore previous resolution/types/strict behavior: add
"target": "es5", set "moduleResolution" back to "node" (or "node10" if
required), add an explicit "types": ["node"] (and any other global libs used),
and set "strict": false (or mirror the repo's prior strict settings). If you
need a temporary bypass for TS 6 deprecations, add "ignoreDeprecations": "6.0".
Modify the top-level tsconfig.json (compilerOptions section) to include these
keys so the project keeps IE11/Babel targets and known behavior when upgrading
TypeScript.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 5df07d4c-32ce-45a3-9b57-d81ed05a21cb
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (5)
ai-addons/claude/CLAUDE.mdai-addons/cursor/.cursor/rules/metric-insights-custom-script.mdcpackage.jsontemplates/custom-script-js/package.jsontemplates/custom-script-ts/package.json
Title
chore: merge develop into main
Summary
This PR merges the latest
developchanges intomain, including updated MI API guidance for AI add-ons and dependency baseline upgrades for the root package and templates.Key changes
ai-addons/cursor/.cursor/rules/metric-insights-custom-script.mdcandai-addons/claude/CLAUDE.md.prettierto^3.8.3,typescriptto^6.0.3,webpackto^5.106.2.templates/custom-script-js/package.json:prettierto^3.8.3templates/custom-script-ts/package.json:prettierto^3.8.3,typescriptto^6.0.3package-lock.jsonafter dependency updates.Included commits
41eedb0Merge pull request AI-100 chore: update MI API guidance and dependency baselines #31 from mi-examples/ai-100d068d44chore: update MI API guidance and dependency baselinesDiff stat
Testing
npm audit --json(root): 0 vulnerabilitiesnpm test -- test/scaffold.spec.mjs: 10 passedSummary by CodeRabbit
Release Notes
Documentation
Chores