mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 08:23:45 +00:00
replace deprecated 'typings' field with standard 'types' in package.json (#21371)
* replace deprecated 'typings' field with standard 'types' in package.json * regenerate samples after replacing 'typings' with 'types' field --------- Co-authored-by: winiga <winiga@rocketmail.com>
This commit is contained in:
parent
89edad5b8a
commit
dc0d5c6839
@ -15,7 +15,7 @@
|
|||||||
{{/packageAsSourceOnlyLibrary}}
|
{{/packageAsSourceOnlyLibrary}}
|
||||||
{{^packageAsSourceOnlyLibrary}}
|
{{^packageAsSourceOnlyLibrary}}
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
{{#supportsES6}}
|
{{#supportsES6}}
|
||||||
"module": "./dist/esm/index.js",
|
"module": "./dist/esm/index.js",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
||||||
},
|
},
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"module": "./dist/esm/index.js",
|
"module": "./dist/esm/index.js",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
||||||
},
|
},
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
||||||
},
|
},
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"module": "./dist/esm/index.js",
|
"module": "./dist/esm/index.js",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
||||||
},
|
},
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
||||||
},
|
},
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user