Feature/release prep #3
Reference in New Issue
Block a user
Delete Branch "feature/release-prep"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request updates the project’s build and publish configuration, improves script reliability, and adds the maintainers. It also introduces the
shxpackage and updates the lockfile to reflect new dependencies required for cleaning and publishing workflows.Build/Publish Configuration Improvements:
mainentry inpackage.jsonfromdist/index.jstosrc/index.tsfor local development, and added apublishConfigsection to specify publishing from the builtdistfiles. [1] [2]prepublishOnlyscript to clean and rebuild the project before publishing, and introduced acleanscript usingshxfor cross-platform file removal.Dependency and Script Updates:
shxtodevDependenciesand updatedpnpm-lock.yamlto include all related dependencies (shx,shelljs, etc.). [1] [2] [3] [4]shxand its ecosystem (e.g.,shelljs,execa,pump, etc.). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28]Project Metadata:
maintainerssection topackage.json.Script Reliability:
checkscript to use explicitpnpm runcommands for linting and type checking, improving reliability.Pull Request Overview
This PR prepares the project for release by configuring build and publish workflows, adding maintainers, and improving script reliability. The changes enable proper development vs. published package configuration while ensuring cross-platform compatibility for build scripts.
shxand automated pre-publish workflowpnpm runcommandsFiles not reviewed (1)
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@@ -7,3 +6,3 @@"main": "dist/index.js","main": "src/index.ts","author": {"email": "hi@b00tload.space",Setting main to a TypeScript file may cause issues for consumers who don't have TypeScript configured. Consider keeping main pointing to the compiled JavaScript and using a separate field like 'source' for the TypeScript entry point during development.
@@ -7,3 +6,3 @@"main": "dist/index.js","main": "src/index.ts","author": {"email": "hi@b00tload.space",Not applicable, as this is solved later in the file, in the publish config.
lgtm