Skip to content

Conversation

@michaelcozzolino
Copy link

@michaelcozzolino michaelcozzolino commented Dec 14, 2025

The DirectiveModifiers type is pretty useful when implementing a custom directive

Summary by CodeRabbit

  • New Features
    • DirectiveModifiers type is now publicly exported, providing developers with new capabilities for custom directive implementations.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Dec 14, 2025

Walkthrough

A new public type export DirectiveModifiers was added to the runtime-core package's index file, extending the public API to expose this directive-related type alongside existing directive exports.

Changes

Cohort / File(s) Summary
Type Export Addition
packages/runtime-core/src/index.ts
Added DirectiveModifiers to public type exports from ./directives module

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Single-line type export addition with no logic changes
  • Straightforward API surface expansion

Poem

🐰 A tiny hop, a type set free,
DirectiveModifiers now for all to see!
The API grows with whiskers and care,
One simple export floating through the air! ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title accurately describes the main change: exporting the DirectiveModifiers type from runtime-core package. It matches the primary modification in the changeset.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

@edison1105 edison1105 changed the title feat(runtime-core): Export DirectiveModifiers type types(runtime-core): Export DirectiveModifiers type Dec 15, 2025
@edison1105 edison1105 changed the title types(runtime-core): Export DirectiveModifiers type types(runtime-core): export DirectiveModifiers type Dec 15, 2025
@github-actions
Copy link

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 103 kB 39 kB 35.1 kB
vue.global.prod.js 161 kB 58.9 kB 52.6 kB

Usages

Name Size Gzip Brotli
createApp (CAPI only) 47 kB 18.3 kB 16.8 kB
createApp 55.1 kB 21.4 kB 19.6 kB
createSSRApp 59.4 kB 23.2 kB 21.1 kB
defineCustomElement 60.7 kB 23.1 kB 21.1 kB
overall 69.4 kB 26.6 kB 24.3 kB

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 15, 2025

Open in StackBlitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@14198
npm i https://pkg.pr.new/@vue/compiler-core@14198
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@14198
npm i https://pkg.pr.new/@vue/compiler-dom@14198
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@14198
npm i https://pkg.pr.new/@vue/compiler-sfc@14198
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@14198
npm i https://pkg.pr.new/@vue/compiler-ssr@14198
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@14198
npm i https://pkg.pr.new/@vue/reactivity@14198
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@14198
npm i https://pkg.pr.new/@vue/runtime-core@14198
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@14198
npm i https://pkg.pr.new/@vue/runtime-dom@14198
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@14198
npm i https://pkg.pr.new/@vue/server-renderer@14198
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@14198
npm i https://pkg.pr.new/@vue/shared@14198
yarn add https://pkg.pr.new/@vue/[email protected]

vue

pnpm add https://pkg.pr.new/vue@14198
npm i https://pkg.pr.new/vue@14198
yarn add https://pkg.pr.new/[email protected]

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@14198
npm i https://pkg.pr.new/@vue/compat@14198
yarn add https://pkg.pr.new/@vue/[email protected]

commit: 240eeb2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants