import-js / eslint-import-resolver-typescript

This plugin adds `TypeScript` support to `eslint-plugin-import`
https://www.npmjs.com/package/eslint-import-resolver-typescript
ISC License
709 stars 62 forks source link

eslint-import-resolver-typescript v3.6.3 is not released #306

Closed ocavue closed 1 week ago

ocavue commented 1 month ago

Although the latest package.json in the Git repo has 3.6.3 as the version number, the latest published version in NPM is still 3.6.1, which was published 10 months ago.

https://github.com/import-js/eslint-import-resolver-typescript/blob/c9b5626ee69bd529c7e391e40928a4fb28dce179/package.json#L3

Peeja commented 1 month ago

This appears to be because https://github.com/import-js/eslint-import-resolver-typescript/commit/cecec359343a5b975e596dc11b9caae0455232aa#diff-e813096d69c49812e40e00be9ac8fa14d77f0ec1f97ab4c45cb096b3bedd35de deleted the .npmrc.

We do have NPM_TOKEN in the env, but we also need //registry.npmjs.org/:_authToken=${NPM_TOKEN} in .npmrc by the time changesets runs.

nbouvrette commented 1 month ago

I presume until version 3.6.3 is available eslint-plugin-import-x is not supported meaning that ESLint 9 is also not supported? I'm getting all sort of npm errors right now when trying to upgrade.

SukkaW commented 4 weeks ago

I'm getting all sort of npm errors right now when trying to upgrade.

Just blame npm. In short, npm is bad. Yarn and pnpm both believe peerDeps conflicts should be warnings, not errors, and I believe that, too. Use --legacy-peer-deps is a viable workaround.

SukkaW commented 4 weeks ago

We do have NPM_TOKEN in the env, but we also need //registry.npmjs.org/:_authToken=${NPM_TOKEN} in .npmrc by the time changesets runs.

actions/setup-node should have done this automatically, this is not the root cause.

nbouvrette commented 4 weeks ago

Thanks @SukkaW npm install --legacy-peer-deps seems to have bypassed the problem. Having said this, I presume once 3.6.3 (or newer) is released, this should no longer be required?

JounQin commented 3 weeks ago

@ljharb I believe I had admin role previously on this repository, can you change that back? So that I can check the NPM_TOKEN secret manually which I believe is not expired.

ljharb commented 3 weeks ago

You can't ever check a secret, only replace it. If you have a new value, I'll be happy to replace it for you.

JounQin commented 3 weeks ago

Hmm... I don't feel great to share a secret token.

nbouvrette commented 2 weeks ago

@ljharb is it possible to grand @JounQin back access so he can try to replace the token himself? It's been over a month that this issue has been opened already

ljharb commented 2 weeks ago

yeah, that makes the most sense. done.

JounQin commented 1 week ago

released