This document outlines the specific requirements for publishing the Daily Dev Habit CLI and its associated core packages to the @walruswebdev scope.
To allow your automated release scripts to function without manual interruption during the build, ensure your NPM Access Token is configured as follows:
walruswebwalruswebdev@walruswebdev/daily-devhabit-cliYour package.json uses a release script to ensure that what gets published is always the latest, cleanest version of your code.
npm publish interacts with the Release ScriptWhen you run your publishing command (npm run release), the following sequence occurs:
npm run build or a custom release.sh) executes first. This runs tsc to compile your TypeScript into the dist/ folder.node_modules are fresh and no stale build artifacts are present.npm publish --access public command is called, sending the contents of your dist/ and package.json to the registry.