Skip to content

chore: merge develop into main - #32

Merged
sergak01 merged 2 commits into
mainfrom
develop
Apr 22, 2026
Merged

chore: merge develop into main#32
sergak01 merged 2 commits into
mainfrom
develop

Conversation

@sergak01

@sergak01 sergak01 commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Title

chore: merge develop into main

Summary

This PR merges the latest develop changes into main, including updated MI API guidance for AI add-ons and dependency baseline upgrades for the root package and templates.

Key changes

  • Add official MI API Access docs link to ai-addons/cursor/.cursor/rules/metric-insights-custom-script.mdc and ai-addons/claude/CLAUDE.md.
  • Clarify that MI API documentation has partial coverage and recommend validating behavior with runtime responses/release notes/support.
  • Bump root dependencies: prettier to ^3.8.3, typescript to ^6.0.3, webpack to ^5.106.2.
  • Update template dependencies:
    • templates/custom-script-js/package.json: prettier to ^3.8.3
    • templates/custom-script-ts/package.json: prettier to ^3.8.3, typescript to ^6.0.3
  • Refresh package-lock.json after dependency updates.

Included commits

Diff stat

  • 6 files changed, 33 insertions(+), 35 deletions(-)

Testing

  • npm audit --json (root): 0 vulnerabilities
  • npm test -- test/scaffold.spec.mjs: 10 passed

Summary by CodeRabbit

Release Notes

  • Documentation

    • Added clarification that API documentation coverage is incomplete. Users are now directed to validate undocumented endpoints and fields through runtime responses and support resources.
  • Chores

    • Updated development tooling dependencies.

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
@coderabbitai

coderabbitai Bot commented Apr 22, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This 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

Cohort / File(s) Summary
Documentation Updates
ai-addons/claude/CLAUDE.md, ai-addons/cursor/.cursor/rules/metric-insights-custom-script.mdc
Added subsections documenting official MI API docs with partial coverage, directing users to validate undocumented endpoints/fields via runtime responses and support resources.
Root Dependencies
package.json
Bumped development dependencies: prettier (^3.8.2 → ^3.8.3), typescript (^6.0.2 → ^6.0.3), webpack (^5.106.1 → ^5.106.2).
Template Dependencies
templates/custom-script-js/package.json, templates/custom-script-ts/package.json
Updated prettier to ^3.8.3 across both templates; updated typescript to ^6.0.3 in TypeScript template.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • MaksymovVolodymyr
  • michailozdemir
  • Sadilenko

Poem

🐰 Docs now whisper of API gaps so wide,
Dependencies dance to their newest stride,
Prettier prints, TypeScript takes flight,
Templates aligned, everything's right!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: merge develop into main' clearly and specifically describes the primary action of this PR—merging the develop branch into main. While it does not detail individual changes (which is not required), it accurately summarizes the main intent of the changeset from the author's perspective.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

📥 Commits

Reviewing files that changed from the base of the PR and between c95e494 and 41eedb0.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (5)
  • ai-addons/claude/CLAUDE.md
  • ai-addons/cursor/.cursor/rules/metric-insights-custom-script.mdc
  • package.json
  • templates/custom-script-js/package.json
  • templates/custom-script-ts/package.json

Comment thread package.json
@sergak01
sergak01 merged commit f1191dc into main Apr 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants