Giter Club home page Giter Club logo

Comments (10)

Bugs5382 avatar Bugs5382 commented on June 3, 2024

@mcollina ping png :)

from fastify-autoload.

mcollina avatar mcollina commented on June 3, 2024

Essentially vitest + autoload + ts are incompatible with each other and nobody found a way to make it work. It seems vitest is doing something interesting to support its own magic which is incompatible with our magic. PRs are absolutely welcome.

from fastify-autoload.

Bugs5382 avatar Bugs5382 commented on June 3, 2024

Challenge accepted.

from fastify-autoload.

Bugs5382 avatar Bugs5382 commented on June 3, 2024

@mcollina So... this was pretty simple..

  fastify-autoload git:(master) npx npm-check-updates -u --enginesNode
Upgrading /Users/user/Code/fastify-autoload/package.json
[====================] 25/25 100%

 @fastify/pre-commit       ^2.0.2  →     ^2.1.0
 @fastify/url-data         ^5.0.0       ^5.4.0
 @swc-node/register        ^1.5.1       ^1.8.0
 @swc/core               ^1.2.129  →     ^1.4.2
 @types/jest              ^29.0.0     ^29.5.12
 @types/node              ^20.1.0  →  ^20.11.24
 @types/tap               ^15.0.5     ^15.0.11
 esbuild                  ^0.19.2      ^0.20.1
 esbuild-register          ^3.4.1       ^3.5.0
 fastify              ^4.0.0-rc.2      ^4.26.2
 fastify-plugin            ^4.0.0       ^4.5.1
 jest                     ^28.1.3      ^29.7.0
 standard                 ^17.0.0      ^17.1.0
 tap                      ^16.0.0      ^18.7.0
 ts-jest                  ^28.0.7      ^29.1.2
 ts-node                  ^10.4.0      ^10.9.2
 tsd                      ^0.29.0      ^0.30.7
 tsm                       ^2.2.1       ^2.3.0
 tsx                       ^3.7.1       ^4.7.1
 typescript                ^5.0.2       ^5.3.3
 vite                      ^5.0.0       ^5.1.4
 vitest                   ^0.34.1       ^1.3.1

I then attached my code locally, and it ran:

image

So, do you want to accept this many changes, or do you want me to pair it down to the minimum needed to pass both unit testing here and in my script?

from fastify-autoload.

mcollina avatar mcollina commented on June 3, 2024

Please send the PR :)

from fastify-autoload.

Bugs5382 avatar Bugs5382 commented on June 3, 2024

Roger. Let me get the unit tests working. Some of the unit test functionality has "warnings" due to the impending version 5 of Fastify.

from fastify-autoload.

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.