openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

replace deprecated 'typings' field with standard 'types' in package.json

Open kaizencode-art opened this issue 6 months ago • 3 comments

Description

Replaces deprecated "typings" field with "types" in package.json.

Without this fix, some IDEs (e.g., VS Code) fail to resolve type definitions correctly when using this package, due to "typings" being ignored in favor of the standard "types" field.

kaizencode-art avatar Jun 03 '25 17:06 kaizencode-art

please follow step 3 to update the samples

wing328 avatar Jun 03 '25 18:06 wing328

@wing328 any idea what's the ci issue ?

kaizencode-art avatar Jun 04 '25 19:06 kaizencode-art

cc @TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @topce (2018/10) @akehir (2019/07) @petejohansonxo (2019/11) @amakhrov (2020/02) @davidgamero (2022/03) @mkusaka (2022/04) @joscha (2024/10)

wing328 avatar Sep 25 '25 07:09 wing328

@wing328 any idea what's the ci issue ?

I can't seem to open the CircleCI page for some reason - what's the message in there?

joscha avatar Sep 25 '25 09:09 joscha

me neither - i got "page not found"

anyway node 0 tests in circleci is not related to typescript: https://github.com/OpenAPITools/openapi-generator/blob/master/CI/circle_parallel.sh#L116

so it can be ignored for this change

wing328 avatar Sep 25 '25 09:09 wing328

@kaizencode-art thanks for this contribution!

macjohnny avatar Sep 25 '25 12:09 macjohnny