Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

npm publish pipe ignores bundle file

I executing the following script to publish a package to registry ,Publish script didn't include the main bundle of my package on publishing. Can anyone help me to figure out what would be the reason ?

 

bitbucket-pipeline.yml

  branches:

    master:

      - step:

          caches:

            - node

          script

            - npm install

            - npm run build

      - step:

          namePublish

          deploymentproduction

          script:

            - pipeatlassian/npm-publish:0.2.0

              variables:

                NPM_REGISTRY_URL$NPM_URL

                NPM_TOKEN$NPM_TOKEN

                DEBUG'true'

 

 

Log:

npm publish .

npm notice

npm notice package: package name@version

npm notice === Tarball Contents ===

npm notice 1.4kB package.json           

npm notice 855B  bitbucket-pipelines.yml

npm notice 72B   CHANGELOG.md           

npm notice 1.1kB LICENSE              

------------------------missing bundle file ----------------------------------------- 

npm notice 835B  README.md              

npm notice === Tarball Details ===

npm notice name:          package name        

npm notice version:       1.0.1                                   

npm notice package size:  2.2 kB                                  

npm notice unpacked size: 4.2 kB                                  

npm notice shasum:        69def67f84fceced0e9c60fe377aa796d60e1037

npm notice integrity:     sha512-PT40MOj8rk6L+[...]jn/7bnwmFt0IA==

npm notice total files:   5                                       

npm notice

+ packagename@version

1 answer

Hi @Sarranya Ramesh ,

thank you for your question!

Check is your package.json file in the current directory or provide custom FOLDER param.

More details you can find here npm-publish pipe.

Cheers,
Alex

 

 

Thanks Alex , will try out !!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

75 views 4 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you