generated from redhat-developer/new-project-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.79 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 3.79 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
{
"name": "redhat-sandbox",
"packageManager": "pnpm@10.28.0+sha512.05df71d1421f21399e053fde567cea34d446fa02c76571441bfc1c7956e98e363088982d940465fd34480d4d90a0668bc12362f8aa88000a64e83d0b0e47be48",
"displayName": "Developer Sandbox",
"description": "Sign up and provisioning for Developer Sandbox",
"version": "0.0.6",
"icon": "icon.png",
"publisher": "redhat",
"license": "Apache-2.0",
"type": "module",
"engines": {
"podman-desktop": "^1.10.0"
},
"main": "./dist/extension.cjs",
"contributes": {
"configuration": {
"title": "Developer Sandbox",
"properties": {
"redhat.sandbox.form.description": {
"type": "markdown",
"scope": "KubernetesProviderConnectionFactory",
"markdownDescription": "You will need to sign in with Red Hat SSO into your Developer account. If Developer Sandbox is not activated, please [open Developer Sandbox page](https://sandbox.redhat.com/?sc_cid=7013a000003SUmgAAG) in your browser and click 'Try it' button in OpenShift box."
},
"redhat.sandbox.context.name": {
"type": "string",
"default": "dev-sandbox-context",
"scope": "KubernetesProviderConnectionFactory",
"description": "Context name for Developer Sandbox to easily find it in your Kubernetes contexts",
"placeholder": "my-dev-sandbox"
},
"redhat.sandbox.context.default": {
"type": "boolean",
"default": false,
"scope": "KubernetesProviderConnectionFactory",
"description": "Set as current context"
},
"redhat.sandbox.registrationServiceUrl" : {
"type": "string",
"default": "https://registration-service-toolchain-host-operator.apps.sandbox.x8i5.p1.openshiftapps.com",
"description": "Developer Sandbox Registration Service URL"
},
"redhat.sandbox.registrationServiceTimeout" : {
"type": "number",
"minimum": 0,
"default": "30",
"description": "Developer Sandbox Registration Service timeout (seconds)"
}
}
},
"commands": [
{
"command": "sandbox.open.login.url",
"title": "Log into Developer Sandbox"
}
],
"menus": {
"dashboard/image": [
{
"command": "sandbox.image.push.to.cluster",
"title": "Push image to Developer Sandbox cluster"
}
]
},
"icons": {
"sandbox-icon": {
"description": "Developer Sandbox icon",
"default": {
"fontPath": "sandbox-icon.woff2",
"fontCharacter": "\\e900"
}
}
}
},
"scripts": {
"build": "vite build && node ./scripts/build.cjs",
"watch": "vite build -w",
"format:check": "prettier --check \"**/*.ts\" \"scripts/*.cjs\"",
"format:fix": "prettier --write \"**/*.ts\" \"scripts/*.cjs\"",
"test": "vitest run --coverage",
"test:e2e:setup": "xvfb-maybe --auto-servernum --server-args='-screen 0 1280x960x24' --",
"test:e2e": "pnpm run test:e2e:setup npx playwright test tests/src"
},
"dependencies": {
"@kubernetes/client-node": "^1.4.0",
"@podman-desktop/api": "^1.26.1",
"fs-extra": "^11.3.4",
"got": "^14.6.6"
},
"devDependencies": {
"@playwright/test": "1.58.2",
"@podman-desktop/tests-playwright": "^1.26.1",
"@types/fs-extra": "^11.0.4",
"@types/node": "^24",
"@vitest/coverage-v8": "^4.0.15",
"byline": "^5.0.0",
"copyfiles": "^2.4.1",
"cross-env": "10.1.0",
"jsdom": "^29.0.1",
"mkdirp": "^3.0.1",
"prettier": "^3.8.1",
"typescript": "^6.0.2",
"vite": "^8.0.3",
"vitest": "^4.0.15",
"vscode-uri": "^3.1.0",
"xvfb-maybe": "^0.2.1",
"js-yaml": "^4.1.1",
"adm-zip": "^0.5.16"
},
"extensionDependencies": [
"redhat.redhat-authentication"
]
}