forked from mymindstorm/rpm-spec-changelog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
175 lines (175 loc) · 4.24 KB
/
package.json
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
{
"name": "rpmspec-changelog",
"displayName": "RPMSpec Snippets and Mock build",
"description": "Inserts a properly formatted changelog line to your RPM spec file for you. Can also run mock directly for one or many OS",
"version": "1.5.5",
"publisher": "adadov",
"repository": {
"type": "https",
"url": "https://github.com/Adadov/rpmspec-changelog"
},
"bugs": {
"url": "https://github.com/Adadov/rpmspec-changelog/issues"
},
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Snippets",
"Other"
],
"activationEvents": [
"workspaceContains:*.spec",
"onCommand:workbench.action.tasks.runTask"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "rpmspecChangelog.insertRPMSpecChangelog",
"title": "RPM: Insert Changelog"
},
{
"command": "rpmspecChangelog.runMock",
"title": "RPM: Run mock for ..."
},
{
"command": "rpmspecChangelog.createArchive",
"title": "RPM: Create source archive from current"
}
],
"configurationDefaults": {},
"configuration": [
{
"id": "changelog",
"title": "RPMSpec Changelog",
"displayName": "SPEC Snippets & Mock",
"order": 1,
"properties": {
"rpmspecChangelog.maintainerName": {
"title": "Maintainer name",
"type": "string",
"description": "Use this instead of git config user.name",
"order": 1,
"scope": "resource"
},
"rpmspecChangelog.maintainerEmail": {
"type": "string",
"description": "Use this instead of git config user.email",
"order": 2,
"scope": "resource"
},
"rpmspecChangelog.logDebug": {
"order": 3,
"type": "boolean",
"description": "Show more logs",
"default": false,
"scope": "resource"
}
}
},
{
"id": "mock",
"title": "Mock Runner",
"displayName": "Mock Runner",
"order": 2,
"properties": {
"mock.profils": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"fedora-41-x86_64",
"fedora-42-x86_64",
"alma+epel-8-x86_64",
"alma+epel-9-x86_64"
],
"description": "Mock configurations list",
"order": 4,
"scope": "resource"
},
"mock.showAllProfils": {
"order": 5,
"type": "boolean",
"description": "Add an option to run mock for all profiles at once",
"default": true,
"scope": "resource"
},
"mock.canSelectMany": {
"order": 6,
"type": "boolean",
"description": "Allow to select multiple profiles to run",
"default": false,
"scope": "resource"
},
"mock.specFile": {
"order": 7,
"type": "string",
"description": "Fichier SPEC du projet",
"scope": "resource"
}
}
},
{
"id": "gitmock",
"title": "Git repository for mock SCM",
"displayName": "Git repository",
"order": 3,
"properties": {
"gitmock.repository": {
"type": "string",
"description": "Project repository URL",
"scope": "resource",
"order": 6
},
"gitmock.repositoryBranch": {
"type": "string",
"description": "Project repository branch",
"scope": "resource",
"order": 7
},
"gitmock.packageName": {
"type": "string",
"description": "Package name",
"scope": "resource",
"order": 8
}
}
}
],
"taskDefinitions": [
{
"type": "rpm",
"properties": {
"type": {
"type": "string",
"default": "rpm",
"description": ""
},
"name": {
"type": "string",
"description": "Configuration name (ex: fedora-41-x86_64)"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"vscode:publish": "vsce package && eval $([ -e .tokens ] && cat .tokens); export VSCE_PAT; vsce publish",
"compile": "tsc -b --sourceMap true --clean && tsc -p ./",
"lint": "eslint -c .eslintrc.json src/*.ts",
"watch": "tsc -watch --sourceMap true -p ./",
"dev": "tsc --sourceMap true -p ./",
"pretest": "npm run compile && npm run lint"
},
"devDependencies": {
"@types/node": "^18.19",
"@types/vscode": "^1.96",
"@typescript-eslint/eslint-plugin": "^8.18",
"@typescript-eslint/parser": "^8.18",
"@vscode/test-electron": "^2.4",
"eslint": "^8.57"
}
}