{"_id":"@ajatamayo/add-two","_rev":"3-2b1da06b663dfc45d8d2ebbe119a2997","name":"@ajatamayo/add-two","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"@ajatamayo/add-two","version":"1.0.0","keywords":["add","numbers","private"],"author":{"name":"aj tamayo","email":"ajatamayo@gmail.com"},"license":"MIT","_id":"@ajatamayo/add-two@1.0.0","maintainers":[{"name":"ajatamayo","email":"ajatamayo@gmail.com"}],"dist":{"shasum":"d742623514c83106d60d3347a8b858e25d0a33ec","tarball":"https://registry.npmjs.org/@ajatamayo/add-two/-/add-two-1.0.0.tgz","fileCount":5,"integrity":"sha512-r1q40Eexng76dkgsGNbZ3zvLHlg8298nxXsKoVGANn1yqXl3KnVVARADanP73k+ZuT17owyT/sbZo8pkuGxM5g==","signatures":[{"sig":"MEUCIQD1Vc8QJRlIBbLPIVzzywyBWwQDCSegFnQjryauibAU6QIgI1AKjyyAy2h0GMXadWEIIoFVs/9VcN0+y+yWzilqBKY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1250},"main":"index.js","gitHead":"abe83c0fcb6f61b5921324b2725d3169d6e40427","scripts":{"test":"node test.js"},"_npmUser":{"name":"ajatamayo","email":"ajatamayo@gmail.com"},"_npmVersion":"10.9.4","description":"A tiny private package that adds two numbers","directories":{},"_nodeVersion":"20.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/add-two_1.0.0_1780993226920_0.3857469492602026","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@ajatamayo/add-two","version":"1.1.2","keywords":["add","numbers","private"],"author":{"name":"aj tamayo","email":"ajatamayo@gmail.com"},"license":"MIT","_id":"@ajatamayo/add-two@1.1.2","maintainers":[{"name":"ajatamayo","email":"ajatamayo@gmail.com"}],"dist":{"shasum":"a8d9193c1ad15d9dfc5a0dbc8da1d3254c77dbad","tarball":"https://registry.npmjs.org/@ajatamayo/add-two/-/add-two-1.1.2.tgz","fileCount":6,"integrity":"sha512-wpyhVEEtCH8pPmfYu4cNhmQNePrpKowwUK5cfkl6HP2TlLHvaAtEIy4gZ/ybO41/SX/hEjmhfmLLkH8vOFqoHw==","signatures":[{"sig":"MEUCIQDTuvUkHLVk1bJEIGVMlWlUqVATOLptUZTJX9r8FCFhpgIgVe9mivHSPZ3gM4Qugn4CNF1CcLwhT5VICCo2dUAHsiM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3011},"main":"index.js","gitHead":"bdb15dcf29a1c624e7708baafb5b65c57f10ef0c","scripts":{"test":"node test.js"},"_npmUser":{"name":"ajatamayo","email":"ajatamayo@gmail.com"},"_npmVersion":"10.7.0","description":"A tiny private package that adds two numbers","directories":{},"_nodeVersion":"18.20.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/add-two_1.1.2_1780998573752_0.8098916506466649","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@ajatamayo/add-two","version":"1.1.3","description":"A tiny private package that adds two numbers","main":"index.js","scripts":{"test":"node test.js"},"keywords":["add","numbers","private"],"author":{"name":"aj tamayo","email":"ajatamayo@gmail.com"},"license":"MIT","publishConfig":{"access":"public"},"_id":"@ajatamayo/add-two@1.1.3","gitHead":"976e067ca1d02cfd7552c95a907091405340b95c","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-V07Cw6XJm5A5XyQPc2Vgw41UhO9hq2SFrlJrJofCCK170CpL+/QtJPPs9Tq53tY/BTpX+blUpmOTen85p3+b5w==","shasum":"c109d5170293d25d00b0c503c2ddb48c178bec3a","tarball":"https://registry.npmjs.org/@ajatamayo/add-two/-/add-two-1.1.3.tgz","fileCount":6,"unpackedSize":3704,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIQCnq+wzx33NA+c9V07lD4I6FtUHDoGuNJq7uqr2VF5fVAIfa+Coe0XFXDQd4K3toa3dMMYfLQur+uwvlUkSdMPuyA=="}]},"_npmUser":{"name":"ajatamayo","email":"ajatamayo@gmail.com"},"directories":{},"maintainers":[{"name":"ajatamayo","email":"ajatamayo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/add-two_1.1.3_1781084968040_0.19828636338240946"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-09T08:20:26.721Z","modified":"2026-06-10T09:49:28.317Z","1.0.0":"2026-06-09T08:20:27.068Z","1.1.2":"2026-06-09T09:49:33.901Z","1.1.3":"2026-06-10T09:49:28.163Z"},"author":{"name":"aj tamayo","email":"ajatamayo@gmail.com"},"license":"MIT","keywords":["add","numbers","private"],"description":"A tiny private package that adds two numbers","maintainers":[{"name":"ajatamayo","email":"ajatamayo@gmail.com"}],"readme":"# add-two\n\nTiny package that adds two numbers.\n\nUsage\n\nInstall (private package - authenticate first):\n\n```\nnpm install @ajatamayo/add-two\n```\n\nAPI\n\n```\nconst addTwo = require('@ajatamayo/add-two');\nconsole.log(addTwo(2,3)); // 5\n```\n\n## CI / Bitbucket Pipeline\n\nThis repository includes Bitbucket Pipelines to publish releases to npm. There are three custom pipelines you can run from the Bitbucket UI:\n\n- `release patch` — bumps the patch version, commits and pushes, then publishes.\n- `release minor` — bumps the minor version, commits and pushes, then publishes.\n- `release major` — bumps the major version, commits and pushes, then publishes.\n\nHow to run\n\n- In Bitbucket go to **Pipelines → Run pipeline** and select the custom pipeline you want (`release patch`, `release minor`, or `release major`).\n\nRequired Repository Variables\nSet these in **Repository settings → Pipelines → Repository variables** (secure):\n\n- `NPM_TOKEN` — npm access token with permission to publish the package.\n- `GIT_EMAIL` — email to use for the release commit (e.g. `ci@yourcompany.com`).\n- `GIT_NAME` — name to use for the release commit (e.g. `ci-bot`).\n\nBehavior and notes\n\n- The pipeline steps run `npm version <patch|minor|major>` which updates `package.json` and `package-lock.json`, creates a git commit and a tag (e.g. `v1.0.1`). The pipeline then pushes the commit and tag back to `main` and publishes to npm.\n- The commit message template is `Bump version to %s`.\n- The build step uses the official `atlassian/npm-publish` pipe which reads `NPM_TOKEN` for authentication.\n- Artifacts: `package.json` and `package-lock.json` are passed between steps so the publish step uses the bumped version.\n- Ensure the pipeline runs on `main` or adjust the branch checks in the pipeline definitions.\n\nSecurity\n\n- Keep `NPM_TOKEN` as a secure repository variable (don't commit them to the repository).\n- Use scoped npm tokens with the least privilege necessary (publish only).\n","readmeFilename":"README.md"}