Skip to content

fix(cli): generate comprehensive license as LICENSE for npm publish#936

Merged
fengmk2 merged 1 commit intomainfrom
fix-npm-publish-license
Mar 16, 2026
Merged

fix(cli): generate comprehensive license as LICENSE for npm publish#936
fengmk2 merged 1 commit intomainfrom
fix-npm-publish-license

Conversation

@fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Mar 16, 2026

Generate the bundled dependency license file directly as LICENSE instead
of LICENSE.md, so npm publish includes the comprehensive license. Remove
the separate syncLicenseFromRoot() that copied the simple MIT license
from root, since generateLicenseFile() already includes it.

@netlify
Copy link

netlify bot commented Mar 16, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit fb09fc3
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69b778247162860008b59d43

@fengmk2 fengmk2 self-assigned this Mar 16, 2026
@fengmk2 fengmk2 requested review from Brooooooklyn and cpojer March 16, 2026 03:05
Copy link
Member Author

fengmk2 commented Mar 16, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fengmk2 fengmk2 marked this pull request as ready for review March 16, 2026 03:06
@fengmk2 fengmk2 force-pushed the fix-npm-publish-license branch from 9e06a97 to dfe6cb1 Compare March 16, 2026 03:06
Generate the bundled dependency license file directly as LICENSE instead
of LICENSE.md, so npm publish includes the comprehensive license. Remove
the separate syncLicenseFromRoot() that copied the simple MIT license
from root, since generateLicenseFile() already includes it.
@fengmk2 fengmk2 force-pushed the fix-npm-publish-license branch from dfe6cb1 to fb09fc3 Compare March 16, 2026 03:25
Copy link
Member Author

fengmk2 commented Mar 16, 2026

Merge activity

  • Mar 16, 3:25 AM UTC: Graphite rebased this pull request as part of a merge.
  • Mar 16, 3:42 AM UTC: @fengmk2 merged this pull request with Graphite.

@fengmk2 fengmk2 merged commit fe3189b into main Mar 16, 2026
37 checks passed
@fengmk2 fengmk2 deleted the fix-npm-publish-license branch March 16, 2026 03:42
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