@mimik/hofa-npmjs-tester 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
1
+ # bitbucket-pipelines.yml
2
+ image: node:24-alpine
3
+
4
+ pipelines:
5
+ branches:
6
+ develop:
7
+ - step:
8
+ name: Build and Publish
9
+ runs-on:
10
+ - backend.services
11
+ script:
12
+ - npm install
13
+ - pipe: atlassian/npm-publish:1.1.1
14
+ variables:
15
+ NPM_TOKEN: $NPM_TOKEN
16
+ # EXTRA_ARGS: "--access public"
package/index.js CHANGED
@@ -0,0 +1,3 @@
1
+ module.exports = function greet(name) {
2
+ return `Hello, ${name}! Welcome to my npm package.`;
3
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mimik/hofa-npmjs-tester",
3
3
  "main": "index.js",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "description": "Test npm publish and bitbucket pipeline .",
6
6
  "author": "hofa.chiang@mimik.com",
7
7
  "license": "ISC",