bitjson / typescript-starter

Quickly create and configure a new library or Node.js project
https://bitjson.github.io/typescript-starter/
MIT License
3.48k stars 245 forks source link

Project Status #228

Closed miguelocarvajal closed 4 years ago

miguelocarvajal commented 4 years ago

When starting a new project I try to use the latest versions of all packages and I notice that TypeScript for example is still using version 3.5.3.

Thanks!

chrisk8er commented 4 years ago

same question... I really love this project personally.

alexciesielski commented 4 years ago

I just cloned the project and ran npm run build without modifying anything and it fails with

image

maustand commented 4 years ago

I just cloned the project and ran npm run build without modifying anything and it fails with

image

update Ava dependency and it will resolve this problem. they have fixed this issue after 3.x version but typescript-starter has old dependencies, so this is the reason that it does not work..

for more info: https://github.com/avajs/ava/issues/2332

magick93 commented 4 years ago

Upgrading ava solved this problem, for me.

But now I get an error when I run npm run watch:

  ✖ ’sources’ has been removed. Use ’ignoredByWatcher’ to provide glob patterns of files that the watcher should ignore.
crcastle commented 4 years ago

@magick93 tl;dr you can delete these three lines from your package.json to fix that:

  "ava": {
    "failFast": true,
    "files": [
      "build/main/**/*.spec.js"
-    ],
-    "sources": [
-      "build/main/**/*.js"
    ]
  },

In Ava 3, an ignoredByWatcher array replaces the sources array but it acts in the opposite way. Instead of watching the specified files, all files are watched except those specified in the ignoredByWatcher array.

bitjson commented 4 years ago

Hey everyone, sorry to keep you waiting on updates! typescript-starter has been upgraded to the latest version of all dependencies, and there are a few new improvements 🚀

Please open an issue if you notice any problems!