Core: Installation of @ngx-translate/core also installs “semantic-release” (since version 12.1.0)

Created on 13 Feb 2020  ·  9Comments  ·  Source: ngx-translate/core

Current behavior

The @ngx-translate/core package seems to depend on semantic-release since v12.1.0:

Expected behavior

No installation of semantic-release since it’s a devDependency.

Minimal reproduction of the problem with instructions

npm install @ngx-translate/core
less package-lock.json

Most helpful comment

Can you try 12.1.2 please? Hopefully it should be fixed for good now (based on https://www.npmjs.com/package/@ngx-translate/core/v/12.1.2?activeTab=dependencies)

All 9 comments

Thanks, good catch! It'll be fixed in the next version (I won't release a new version just for that)

Shouldn't it be a dependency on the root package.json?

Or install without adding to package.json at all?

btw: latest semantic-release is v17.0.3 and you are using v8.2.3

As long as it works, I'm reluctant to change the setup since it does
releases automatically and it works fine 😁

@ocombe Is it released? I still have it installed with @ngx-translate/core 12.1.1 :
image

Same issue here. The latest version still installs [email protected] and generates warnings in Angular 9 when the latter tries to compile all npm dependencies as esm2015. Please remove it from the dependencies, since it's not a requirement to run your app code.

https://www.npmjs.com/package/@ngx-translate/core/v/12.1.1?activeTab=dependencies

Can you try 12.1.2 please? Hopefully it should be fixed for good now (based on https://www.npmjs.com/package/@ngx-translate/core/v/12.1.2?activeTab=dependencies)

Seems fixed, thanks!

Yep, it's fixed. Thank you @ocombe 🙏

Was this page helpful?
0 / 5 - 0 ratings

Related issues

louisdoe picture louisdoe  ·  3Comments

pndewit picture pndewit  ·  3Comments

crebuh picture crebuh  ·  3Comments

jvquarck picture jvquarck  ·  3Comments

IterationCorp picture IterationCorp  ·  3Comments