-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.97 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 3.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "rhel-vms",
"displayName": "RHEL VMs",
"description": "Create Red Hat Enterprise Linux VMs easily",
"version": "0.5.0-next",
"icon": "icon.png",
"license": "Apache-2.0",
"publisher": "redhat",
"engines": {
"podman-desktop": ">=1.10.0"
},
"main": "./dist/extension.js",
"extensionDependencies": [
"redhat.redhat-authentication"
],
"contributes": {
"configuration": {
"title": "RHEL VMs",
"properties": {
"macadam.factory.machine.name": {
"type": "string",
"scope": "VmProviderConnectionFactory",
"default": "rhel",
"description": "Machine Name"
},
"macadam.factory.machine.image-path": {
"type": "string",
"format": "file",
"scope": "VmProviderConnectionFactory",
"default": "",
"description": "Image Path (Optional)"
},
"macadam.factory.machine.cpus": {
"type": "number",
"format": "cpu",
"default": "HOST_HALF_CPU_CORES",
"minimum": 1,
"maximum": "HOST_TOTAL_CPU",
"scope": "VmProviderConnectionFactory",
"description": "CPU(s)"
},
"macadam.factory.machine.memory": {
"type": "number",
"format": "memory",
"minimum": 1000000000,
"default": 4000000000,
"maximum": "HOST_TOTAL_MEMORY",
"scope": "VmProviderConnectionFactory",
"step": 500000000,
"description": "Memory"
},
"macadam.factory.machine.diskSize": {
"type": "number",
"format": "diskSize",
"default": 100000000000,
"minimum": 10000000000,
"maximum": "HOST_TOTAL_DISKSIZE",
"step": 500000000,
"scope": "VmProviderConnectionFactory",
"description": "Disk size"
},
"macadam.factory.machine.win.provider": {
"type": "string",
"default": "wsl",
"enum": [
"wsl",
"hyperv"
],
"scope": "VmProviderConnectionFactory",
"description": "Provider Type",
"when": "macadam.wslHypervEnabled"
}
}
}
},
"scripts": {
"generate:subscription-v1": "npx openapi-typescript src/rh-api/subscription-schema-v1.json -o src-gen/subscription-v1.d.ts",
"build": "pnpm generate:subscription-v1 && vite build",
"test": "vitest run --coverage --passWithNoTests",
"test:watch": "vitest watch --coverage --passWithNoTests",
"format:check": "prettier --check \"src/**/*.ts\"",
"format:fix": "prettier --write \"src/**/*.ts\"",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck:backend": "tsc --noEmit",
"watch": "vite build -w",
"test:e2e": "cd tests/playwright && npm run test:e2e"
},
"dependencies": {
"@crc-org/macadam.js": "0.0.1-202505091029-52992f0",
"@podman-desktop/api": "1.18.0",
"compare-versions": "^6.1.1",
"openapi-fetch": "^0.13.5",
"semver": "^7.7.1",
"ssh2": "^1.16.0"
},
"devDependencies": {
"@eslint/compat": "^1.2.8",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.24.0",
"@types/node": "^22",
"@types/ssh2": "^1.15.5",
"@typescript-eslint/eslint-plugin": "^8.30.1",
"@typescript-eslint/parser": "^8.30.1",
"@vitest/coverage-v8": "^3.1.1",
"eslint": "^9.24.0",
"eslint-import-resolver-custom-alias": "^1.3.2",
"eslint-import-resolver-typescript": "^4.3.2",
"eslint-plugin-etc": "^2.0.3",
"eslint-plugin-file-progress": "^3.0.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-redundant-undefined": "^1.0.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sonarjs": "^3.0.2",
"eslint-plugin-unicorn": "^58.0.0",
"globals": "^16.0.0",
"openapi-typescript": "^7.7.1",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.30.1",
"vite": "^6.3.4",
"vitest": "^3.1.1"
}
}