duffman / tspath

TypeScript path alias resolver
GNU Lesser General Public License v2.1
151 stars 33 forks source link

--filter and --force don't work #18

Open wakecoder opened 6 years ago

wakecoder commented 6 years ago

When running tspath --force it still prompts the user. However, if I run tspath -f it doesn't.

Likewise, when I run tspath --filter="rr" it ignores the filter and still processes .js files. This is important because, by default tspath isn't processing the d.ts files.

Lastly, I noticed the version on NPM is 1.3.7 but github shows 1.3.5. Not sure how this is the case. When I pull down 1.3.5 from github it appears to work correctly with --force and --filter. However, 1.3.7 installed via NPM displays the issues I noted above.

vennekilde commented 5 years ago

The problem appears to be the way the project is built The dist folder contains the newest 1.3.7 source, but it completely ignores it in favor of the dist/src folder, which is a 2 year old version of 1.3.5

tgouala commented 4 years ago

I have the same problem here. It makes it hard to use the tool in a CI. This issue is quite old, is there any plan to fix it or workaround ? Thanks !

tgouala commented 4 years ago

Just find out -f works.