Giter VIP home page Giter VIP logo

Comments (33)

derberg avatar derberg commented on August 15, 2024 1

@toukirkhan please go ahead

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

@derberg can I look into this?

from bundler.

derberg avatar derberg commented on August 15, 2024

tip: you can test it locally, if your fix works by running npm publish --dry-run, if I remember the command correct 😄

if terminal will print only 👇🏼

npm notice === Tarball Contents === 
npm notice 11.4kB LICENSE     
npm notice 7.1kB  README.md   
npm notice 3.0kB  package.json
npm notice === Tarball Details === 

then it is not fixed.
it is fixed if index.js will be listed too

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

alright @derberg working on this one!!

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

@derberg am using npm publish --dry -run it only shows package.json in tarball contents, am I doing something wrong?

from bundler.

derberg avatar derberg commented on August 15, 2024

@toukirkhan can you show full log, please, and what modifications you already did

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

yeah am attaching the screenshots @derberg

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

image

I have changed "lib/" to "/lib"

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

also it has shown the tarball contents you mentioned above once

from bundler.

derberg avatar derberg commented on August 15, 2024

strange you see only package.json

anyway, I forgot to tell you that you need to install bundler npm i and then run npm run build to actually generate lib dir first. Publish dry run do not show lib probably because you do not have it there on a local drive

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

from bundler.

derberg avatar derberg commented on August 15, 2024

ok 🤔 , can you share, like drop the view of the directory from which you run npm publish?

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

yeah sure

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

@derberg okay I got it changed lib but it still does not show index.html

from bundler.

derberg avatar derberg commented on August 15, 2024

you mean index.js right?
can you show latest logs?

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

@derberg yeah

from bundler.

derberg avatar derberg commented on August 15, 2024

I saw that in picture your terminal says that npm run build doesn't exist. This is weirt. Are you sure bundler is the directory where you cloned the project? can you print all files you have there ls is command in UNIX, not sure windows

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

image

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

I saw that in picture your terminal says that npm run build doesn't exist. This is weirt. Are you sure bundler is the directory where you cloned the project? can you print all files you have there ls is command in UNIX, not sure windows

yeah sure

from bundler.

Souvikns avatar Souvikns commented on August 15, 2024

I think best would be if @toukirkhan you can open a PR, and we can check it.

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

image

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

I think best would be if @toukirkhan you can open a PR, and we can check it.

it won't be a great idea because it does not resolves the issue

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

@derberg i did npm run build
image

from bundler.

derberg avatar derberg commented on August 15, 2024

Ok, I think I know what the problem is

you do ls and other command runs from inside the node_modules where bundler is installed, and yes it shows that package is empty, which is wrong.

now please explain why in bundler directory you installed @asyncapi/bundler

what is exactly in bundler directory, main one, not bundler\none_modules\@asyncapi\bundler?

from bundler.

derberg avatar derberg commented on August 15, 2024

so if C:\Users\Lenovo\Desktop\bundler is a place where you cloned your fork

then you should do:

C:\Users\Lenovo\Desktop\bundler> npm i
C:\Users\Lenovo\Desktop\bundler> npm run build
C:\Users\Lenovo\Desktop\bundler> npm publish --dry-run

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

Ok, I think I know what the problem is

you do ls and other command runs from inside the node_modules where bundler is installed, and yes it shows that package is empty, which is wrong.

now please explain why in bundler directory you installed @asyncapi/bundler

what is exactly in bundler directory, main one, not bundler\none_modules\@asyncapi\bundler?

bundler directory is a directory in my desktop inside which I have installed the bundler

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

so if C:\Users\Lenovo\Desktop\bundler is a place where you cloned your fork

then you should do:

C:\Users\Lenovo\Desktop\bundler> npm i
C:\Users\Lenovo\Desktop\bundler> npm run build
C:\Users\Lenovo\Desktop\bundler> npm publish --dry-run

yeah finally I got this!!

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

I have run the command inside the cloned bundler repo and made a dry run and it shows this
image

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

now where should I make the changes?

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

here is the directory
image

from bundler.

derberg avatar derberg commented on August 15, 2024

yup, perfect. from your logs it looks like it is the fix we expect. go ahead and open up a PR

from bundler.

toukirkhan avatar toukirkhan commented on August 15, 2024

@derberg okay cool! am opnening it rn

from bundler.

asyncapi-bot avatar asyncapi-bot commented on August 15, 2024

🎉 This issue has been resolved in version 0.3.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

from bundler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.