GithubHelp home page GithubHelp logo

Comments (7)

webpro avatar webpro commented on May 18, 2024

That would indeed make a lot of sense. I'll check it out soon. Feel free to submit PR.

from release-it.

webpro avatar webpro commented on May 18, 2024

Thinking of it, I'm a bit wary to just empty/delete the "dist" folder. Projects might have stuff in there (although maybe they should't), and this could easily be part of the build command itself (or e.g. npm script).

So I think it's a major change and I'm not sure it's worth it. Thoughts?

from release-it.

Necroskillz avatar Necroskillz commented on May 18, 2024

Exactly - project might have stuff in there ... which we did, and it was stuff we didn't wan't to release.

Imho the build command should build everything that is needed to be released, so the stuff you get from dist folder is exactly what you want to release, and you shouldn't rely on other stuff just 'being there'.

Sure, you can have clean as part of the build command also, so maybe deleting dist folder could be made optional, although by default I see no reason not to delete it.

from release-it.

webpro avatar webpro commented on May 18, 2024

So I've released v1.0.0 and the distBase folder gets wiped :-)

from release-it.

Necroskillz avatar Necroskillz commented on May 18, 2024

You didn't publish to npm btw :P

from release-it.

webpro avatar webpro commented on May 18, 2024

Oh my, thanks :-) Now I did!

from release-it.

Manjiri1101 avatar Manjiri1101 commented on May 18, 2024

my yarn build is not working
its throwing the error:
warning package.json: No license field
$ yarn clean:code
warning package.json: No license field
$ rm -rf dist
'rm' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1
can anyone please help me
I am also affreaid of removing "dist" folder

from release-it.

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.