Skip to content

chore(nuxt): use tsdown/package.json to update builder version at module.json#33

Open
userquin wants to merge 1 commit into
devframes:mainfrom
userquin:update-module-json-builder-version
Open

chore(nuxt): use tsdown/package.json to update builder version at module.json#33
userquin wants to merge 1 commit into
devframes:mainfrom
userquin:update-module-json-builder-version

Conversation

@userquin

@userquin userquin commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Same fix applied in this PR at VueUse: vueuse/vueuse#5503

Copilot AI review requested due to automatic review settings June 16, 2026 12:30
@netlify

netlify Bot commented Jun 16, 2026

Copy link
Copy Markdown

Deploy Preview for devfra ready!

Name Link
🔨 Latest commit 6369d3c
🔍 Latest deploy log https://app.netlify.com/projects/devfra/deploys/6a3141e9256fa90008cf1c60
😎 Deploy Preview https://deploy-preview-33--devfra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI 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.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the Nuxt package build hook to record the installed tsdown version in generated module metadata instead of using the version range from devDependencies.

Changes:

  • Read tsdown’s package version from tsdown/package.json
  • Remove reliance on devDependencies.tsdown when generating the module JSON

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +45 to +46
const tsdownPkg = require('tsdown/package.json')
const { name, version } = require('./package.json')

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this is at build time in the repo here

"version": "${version}",
"builder": {
"tsdown": "${devDependencies.tsdown}"
"tsdown": "${tsdownPkg.version}"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this is at build time in the repo here

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