Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Workflow Automation:
.github/workflows/npm-publish.ymlto automate publishing to npm upon creating a new release. This workflow includes steps for building, testing, and publishing the package usingpnpm..github/workflows/test.ymlto run tests onpushandpull_requestevents for themainbranch. It uses a matrix strategy to test against Node.js versions 18.x and 20.x.Documentation Enhancements:
README.mdto include detailed installation instructions for global usage via npm or pnpm, and clarified usage instructions for both host and container environments. [1] [2]README.mdexplaining the publishing process to npm using GitHub Actions.Package Configuration:
package.jsonto includebinentries for global commands (gcf-serverandgcf-client), added keywords, and improved metadata (e.g., repository URL, bugs URL).prepublishOnlyscript inpackage.jsonto ensure the package is built, linted, and tested before publishing.Dependency Updates:
@types/jest,@types/node,prettier,typescript, etc.) inpnpm-lock.yamlto their latest versions for improved compatibility and performance. [1] [2] [3]pnpm-lock.yamlto reduce clutter and ensure a clean dependency tree. [1] [2]Build Improvements:
add-shebang.jsto prepend a shebang (#!/usr/bin/env node) to the built scripts and make them executable for global npm installations.buildscript inpackage.jsonto include theadd-shebang.jsstep after building with Webpack.