* Updated hey-api as the client-fetch is bundled as part of @hey-api/openapi-ts in newer versions * Regenerated a new package-lock.json file * Fix typescript issue * Update templates/UmbracoExtension/Client/package.json Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> * Updated client dependencies * Vite, TypeScript, hey-api * Chalk & Cross-Env for the generate-client script * Explicitly remove package-lock.json as it will be out of sync due to UMBRACO_VERSION_FROM_TEMPLATE * Regenerated Hey API client that now ships client rather than dependancy * Vite and Hey-API were already out of date (updated to the very latest) --------- Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
21 lines
579 B
JSON
21 lines
579 B
JSON
{
|
|
"name": "umbraco-extension",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"watch": "tsc && vite build --watch",
|
|
"build": "tsc && vite build",
|
|
"generate-client": "node scripts/generate-openapi.js https://localhost:44339/umbraco/swagger/umbracoextension/swagger.json"
|
|
},
|
|
"devDependencies": {
|
|
"@hey-api/openapi-ts": "^0.80.14",
|
|
"@umbraco-cms/backoffice": "^UMBRACO_VERSION_FROM_TEMPLATE",
|
|
"chalk": "^5.6.0",
|
|
"cross-env": "^10.0.0",
|
|
"node-fetch": "^3.3.2",
|
|
"typescript": "^5.9.2",
|
|
"vite": "^7.1.3"
|
|
}
|
|
}
|