@kubevirt-ui-ext/kubevirt-api 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubevirt-ui-ext/kubevirt-api",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "kubevirt OpenAPI automation for TypeScript",
5
5
  "type": "module",
6
6
  "exports": {
@@ -53,6 +53,16 @@
53
53
  "types": "./dist/nmstate/index.d.cts",
54
54
  "require": "./dist/nmstate/index.cjs"
55
55
  }
56
+ },
57
+ "./virt-template": {
58
+ "import": {
59
+ "types": "./dist/virt-template/index.d.ts",
60
+ "import": "./dist/virt-template/index.js"
61
+ },
62
+ "require": {
63
+ "types": "./dist/virt-template/index.d.cts",
64
+ "require": "./dist/virt-template/index.cjs"
65
+ }
56
66
  }
57
67
  },
58
68
  "files": [
@@ -61,12 +71,13 @@
61
71
  "scripts": {
62
72
  "generate": "bash ./scripts/generate.sh",
63
73
  "generate:nmstate": "bash ./scripts/generate-nmstate.sh",
74
+ "generate:virt-template": "bash ./scripts/generate-virt-template.sh",
64
75
  "generate:fix-console": "bash ./scripts/fix-console-models.sh",
65
76
  "generate:fix": "bash ./scripts/fix-generate-errors.sh",
66
- "generate:docs": "typedoc --out docs/ --gitRevision main --gitRemote upstream --readme none --entryPoints \"kubevirt/models/index.ts\" \"kubernetes/models/index.ts\" \"nmstate/models/index.ts\" \"containerized-data-importer/models/index.ts\" \"console/index.ts\" --plugin typedoc-plugin-reference-excluder --excludedFunctionOrMethod \".*\" ",
77
+ "generate:docs": "typedoc --out docs/ --gitRevision main --gitRemote upstream --readme none --entryPoints \"kubevirt/models/index.ts\" \"kubernetes/models/index.ts\" \"nmstate/models/index.ts\" \"virt-template/models/index.ts\" \"containerized-data-importer/models/index.ts\" \"console/index.ts\" --plugin typedoc-plugin-reference-excluder --excludedFunctionOrMethod \".*\" ",
67
78
  "clean": "rimraf ./generated",
68
- "clean:all": "rimraf ./docs ./generated ./kubevirt ./containerized-data-importer ./console/core/index.ts ./console-core-models.ts ./kubernetes ./nmstate/models ./nmstate/index.ts ./nmstate/runtime.ts swagger-*.json",
69
- "lint": "eslint console kubevirt kubernetes containerized-data-importer nmstate --color --no-inline-config",
79
+ "clean:all": "rimraf ./docs ./generated ./kubevirt ./containerized-data-importer ./console/core/index.ts ./console-core-models.ts ./kubernetes ./nmstate/models ./nmstate/index.ts ./nmstate/runtime.ts ./virt-template swagger-*.json",
80
+ "lint": "eslint console kubevirt kubernetes containerized-data-importer nmstate virt-template --color --no-inline-config",
70
81
  "lint:fix": "yarn lint --fix",
71
82
  "build": "yarn test && tsup",
72
83
  "test": "tsc --noEmit -p ./tsconfig.json"
@@ -107,7 +118,8 @@
107
118
  "containerized-data-importer/index.ts",
108
119
  "kubevirt/index.ts",
109
120
  "kubernetes/index.ts",
110
- "nmstate/index.ts"
121
+ "nmstate/index.ts",
122
+ "virt-template/index.ts"
111
123
  ],
112
124
  "splitting": false,
113
125
  "sourcemap": true,