AlaskaAirlines / WC-Generator

Auro's automated web component generator
https://auro.alaskaair.com/getting-started/developers/generator/install
Apache License 2.0
5 stars 9 forks source link

New releases of semantic-release throwing typescript error #552

Closed blackfalcon closed 3 months ago

blackfalcon commented 3 months ago

General Support Request

See the following requested dependency updates

 Minor Update New backwards-compatible features.
❯◯ semantic-release devDep  23.0.2  ❯  23.1.1  https://github.com/semantic-release/semantic-release#readme

 Major Update Potentially breaking API changes. Use caution.
 ◯ @semantic-release/npm devDep     11.0.3  ❯  12.0.1  https://github.com/semantic-release/npm#readme

When updating to these new versions, you will see the following error

> @aurodesignsystem/auro-datepicker@2.5.2 types
> tsc

node_modules/mime/dist/src/Mime.d.ts:5:5 - error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.

5     #private;
      ~~~~~~~~

Found 1 error in node_modules/mime/dist/src/Mime.d.ts:5

Possible Solution

Possibly wait until next release of semantic-release of try to understand this obscure typescript error.

Additional context

Typescript is hipster scam!

Exit criteria

This issue can be closed once the build error has been mitigated.

jason-capsule42 commented 3 months ago

This can be resolved by adding the following to config options to our tsconfig file.

    "target": "ES2022",
    "moduleResolution": "node"