Skip to content

Conversation

@johnsoncodehk
Copy link
Member

@johnsoncodehk johnsoncodehk commented Dec 12, 2025

  • Only install and use @vscode/vsce and lerna-lite in CI to reduce local node_modules size. (313.1 MB -> 202.8 MB)

  • Add bump-version-comment.yml workflow: Trigger CI to update version numbers in package.json files when commenting @bump-patch or @bump-minor.

  • Add release.yml workflow: When pushing a commit with a message formatted as v[0-9]+\.[0-9]+\.[0-9]+, push tags in CI and publish to npm, Open VSX, and VSCode Marketplace.

@johnsoncodehk johnsoncodehk changed the title chore: move lerna-lite to CI chore: move @vscode/vsce and lerna-lite to CI Dec 13, 2025
@johnsoncodehk johnsoncodehk changed the title chore: move @vscode/vsce and lerna-lite to CI chore: only install @vscode/vsce and lerna-lite in CI Dec 13, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR optimizes the development setup by moving @vscode/vsce and lerna-lite packages to CI-only installation, reducing local node_modules size from 313.1 MB to 202.8 MB. The packages are now installed globally in CI workflows using pnpm add -g when needed for publishing operations.

Key Changes:

  • Removed @vscode/vsce and lerna-lite packages from local devDependencies
  • Updated package scripts to use npx for extension packaging
  • Created new CI workflows for package and extension publishing
  • Streamlined existing CI workflows with consistent Node.js version (24) and formatting

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Removed @lerna-lite/cli and @lerna-lite/publish from devDependencies
extensions/vscode/package.json Removed @vscode/vsce devDependency, updated pack script to use npx, removed release script
lerna.json Removed command configurations, test-workspace from packages list, and extra config options
test-workspace/package.json Removed version field
pnpm-lock.yaml Removed all dependencies related to vsce and lerna-lite
.github/workflows/publish-packages.yml New workflow for publishing packages with global lerna-lite installation
.github/workflows/publish-extension.yml New workflow for publishing extensions with global vsce installation
.github/workflows/bump-version-comment.yml New workflow for version bumping via PR comments
.github/workflows/*.yml Updated Node.js version to 24, improved formatting and naming
.github/workflows/extension-release.yml Deleted (replaced by publish-extension.yml)
.github/workflows/close-cannot-repoduce-issues.yml Deleted

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

@johnsoncodehk johnsoncodehk marked this pull request as draft December 13, 2025 01:18
@johnsoncodehk johnsoncodehk marked this pull request as ready for review December 13, 2025 04:25
@johnsoncodehk johnsoncodehk changed the title chore: only install @vscode/vsce and lerna-lite in CI chore: reduce local dependencies and update workflows Dec 13, 2025
@johnsoncodehk johnsoncodehk merged commit 47498d1 into master Dec 13, 2025
8 checks passed
@johnsoncodehk johnsoncodehk deleted the move-lerna-lite branch December 13, 2025 04:27
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