Code Monkey home page Code Monkey logo

Comments (7)

andreasvh-conceto avatar andreasvh-conceto commented on August 24, 2024 1

Thanks, this works like expected with the /*. We used this one in nestjs version 9 all the time successfully:

{"include": "../certs", "outDir": "./dist/certs2"}

After upgrade to nestjs 10 we figured out, that the behavior is different. All our certificates where not copied anymore.

But the main issue/confusion persist. Why nestcli produces different outputs depending on the flag watchAssets true / false. It should not have an effect after running nest build.

from nest-cli.

JacksonBates avatar JacksonBates commented on August 24, 2024 1

After upgrade to nestjs 10 we figured out, that the behavior is different. All our certificates where not copied anymore.

I just did this upgrade today and it took a while to also uncover this.

Previously ../someDir/ would add all the files and directories to the appropriate location in the dist, but now the glob requires ../someDir/*, or ../someDir/** if we're adding child folders too.

Was this change in behaviour intentional or documented? I couldn't find anything.

from nest-cli.

kamilmysliwiec avatar kamilmysliwiec commented on August 24, 2024 1

Thanks for the quick feedback @andreasvh-conceto. It seems that these are 2 different bugs and only one of them was solved in the new release.

I just pushed a quick hotfix and published a new version (10.4.4). Let me know if you're still running into this issue.

from nest-cli.

kamilmysliwiec avatar kamilmysliwiec commented on August 24, 2024

Why if you change this

{"include": "../certs/*", "outDir": "./dist/certs1"},
{"include": "../certs", "outDir": "./dist/certs2"}

to this

{"include": "../certs/*", "outDir": "./dist/certs1"},
{"include": "../certs/*", "outDir": "./dist/certs2"}

from nest-cli.

kamilmysliwiec avatar kamilmysliwiec commented on August 24, 2024

This should be fixed in 10.4.3

from nest-cli.

andreasvh-conceto avatar andreasvh-conceto commented on August 24, 2024

Hi @kamilmysliwiec ,

i increased the nest-cli version to 10.4.3 and the issue still persist. The behaviour is still different. You can try it out with the steps to reproduce from my initial post.

Best regards
Andreas

from nest-cli.

andreasvh-conceto avatar andreasvh-conceto commented on August 24, 2024

Hi @kamilmysliwiec ,

thank you very much. It is working now as expected! :)
Thanks for the quick fix.

Best regards :)

from nest-cli.

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.