-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
176 lines (176 loc) · 5.14 KB
/
Copy pathpackage.json
File metadata and controls
176 lines (176 loc) · 5.14 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "vscode-jenkins-node-editor",
"displayName": "Jenkins Node Editor",
"description": "Visual node-based editor for Jenkinsfile pipelines",
"version": "0.1.0",
"publisher": "PlanesZwalker",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other",
"Visualization"
],
"keywords": [
"jenkins",
"pipeline",
"jenkinsfile",
"node editor",
"CI/CD",
"groovy"
],
"repository": {
"type": "git",
"url": "https://github.com/PlanesZwalker/vscode-jenkins-node-editor"
},
"license": "Apache-2.0",
"icon": "media/icon.png",
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"customEditors": [
{
"viewType": "jenkinsNodeEditor.editor",
"displayName": "Jenkins Node Editor",
"selector": [
{
"filenamePattern": "Jenkinsfile"
},
{
"filenamePattern": "*.jenkinsfile"
},
{
"filenamePattern": "*.Jenkinsfile"
},
{
"filenamePattern": "Jenkinsfile.*"
}
],
"priority": "option"
}
],
"commands": [
{
"command": "jenkinsNodeEditor.openEditor",
"title": "Open Jenkins Node Editor",
"category": "Jenkins",
"icon": "$(type-hierarchy)"
},
{
"command": "jenkinsNodeEditor.validate",
"title": "Validate Jenkinsfile",
"category": "Jenkins"
},
{
"command": "jenkinsNodeEditor.runBuild",
"title": "Run Jenkins Build",
"category": "Jenkins"
},
{
"command": "jenkinsNodeEditor.setToken",
"title": "Set Jenkins API Token (Secure)",
"category": "Jenkins"
}
],
"menus": {
"editor/title": [
{
"command": "jenkinsNodeEditor.openEditor",
"when": "resourceFilename =~ /[Jj]enkinsfile/ || resourceExtname =~ /\\.[Jj]enkinsfile/",
"group": "navigation"
}
],
"editor/context": [
{
"command": "jenkinsNodeEditor.openEditor",
"when": "resourceFilename =~ /[Jj]enkinsfile/ || resourceExtname =~ /\\.[Jj]enkinsfile/",
"group": "navigation@1"
}
],
"explorer/context": [
{
"command": "jenkinsNodeEditor.openEditor",
"when": "resourceFilename =~ /[Jj]enkinsfile/ || resourceExtname =~ /\\.[Jj]enkinsfile/",
"group": "navigation@1"
}
]
},
"configuration": {
"title": "Jenkins Node Editor",
"properties": {
"jenkinsNodeEditor.jenkinsUrl": {
"type": "string",
"default": "",
"description": "Jenkins server URL (e.g. http://localhost:8080)"
},
"jenkinsNodeEditor.jenkinsUser": {
"type": "string",
"default": "",
"description": "Jenkins username for API authentication"
},
"jenkinsNodeEditor.jenkinsToken": {
"type": "string",
"default": "",
"markdownDescription": "**Deprecated** — use the `Jenkins: Set Jenkins API Token (Secure)` command instead. The token will be stored in VS Code SecretStorage, not in this settings file.",
"deprecationMessage": "Store the token securely: run 'Jenkins: Set Jenkins API Token (Secure)' from the command palette."
},
"jenkinsNodeEditor.autoLayout": {
"type": "boolean",
"default": true,
"description": "Automatically layout the graph when opening a Jenkinsfile"
},
"jenkinsNodeEditor.syncDelay": {
"type": "number",
"default": 300,
"description": "Debounce delay in milliseconds before syncing graph changes to file"
}
}
}
},
"scripts": {
"build": "npm run build:ext && npm run build:web",
"build:ext": "node esbuild.config.js",
"build:web": "vite build --config vite.config.ts",
"watch": "concurrently \"node esbuild.config.js --watch\" \"vite build --watch --config vite.config.ts\"",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "vitest run",
"test:e2e": "node ./test/runTests.js",
"lint": "eslint src --ext .ts,.tsx",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"package": "vsce package",
"publish": "vsce publish",
"vscode:prepublish": "npm run build"
},
"devDependencies": {
"@types/dagre": "^0.7.3",
"@types/node": "^20.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/vscode": "^1.85.0",
"@vitejs/plugin-react": "^4.2.0",
"@vscode/test-electron": "^2.3.0",
"@vscode/vsce": "^2.22.0",
"autoprefixer": "^10.4.0",
"concurrently": "^8.2.0",
"esbuild": "^0.20.0",
"eslint": "^8.56.0",
"glob": "^10.3.0",
"mocha": "^10.3.0",
"postcss": "^8.4.0",
"prettier": "^3.2.0",
"tailwindcss": "^3.4.0",
"typescript": "^5.3.0",
"vite": "^5.0.0",
"vitest": "^1.2.0"
},
"dependencies": {
"@xyflow/react": "^12.0.0",
"clsx": "^2.1.0",
"dagre": "^0.8.5",
"immer": "^11.1.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"zundo": "^2.3.0",
"zustand": "^4.5.0"
}
}