You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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:
name: Publish
deployment: production
script:
- pipe: atlassian/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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.