Giter Site home page Giter Site logo

Comments (6)

travi avatar travi commented on July 20, 2024

Please provide more detail. I use the same approach in many of my packages and have not seen a problem.

What does "doesn't work" mean? Are you getting an error? A link to a public reproduction would be very helpful

from npm.

darlenya avatar darlenya commented on July 20, 2024

Sorry you are right.
It does only publish package.json and the readme.md. All the other files are ignored. When adding the entry:
"overrides": { "npm": "10.2.4" }

All the files in the dist folder were added as expected. Normally the 'files' entry in the package.json should overwrite the '.gitignore' data. But this does not work any more.

The Problem exists since the 6th or 7th of December. We are using renovate in our project so we updated on a daily basis the dependencies.

I will create a public repo

from npm.

darlenya avatar darlenya commented on July 20, 2024

Here is the repo. The readme describes how to reproduce the issue locally.

https://github.com/darlenya/semantic-release-demo

from npm.

travi avatar travi commented on July 20, 2024

Just a quick thought without investigating yet, I normally only define the directory, without the globbing pattern, dist/. It could be possible that npm changed something about globbing in that npm version? Maybe try removing the pattern beyond the directory?

from npm.

darlenya avatar darlenya commented on July 20, 2024

Yes, you are right, this works.
Also

dist/**/*.*

or

dist/**/*.js

works

from npm.

darlenya avatar darlenya commented on July 20, 2024

Issue solved. Need to change the glob pattern

from npm.

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.