Skip to content

Commit 473effd

Browse files
Merge pull request #3265 from PowerShell/andschwa/clean-up
Create new `ReleaseTools` module! This PR started with some minor cleanups with me trying to delete old, unused code and then turned into me writing some a new `ReleaseTools` module for my needs as maintainer. Fixes #3195.
2 parents 4294279 + f6ff90c commit 473effd

26 files changed

+266
-925
lines changed

build/InstallPreview.ps1

-35
This file was deleted.

build/PackagePreviewRelease.ps1

-43
This file was deleted.

extension-dev.code-workspace

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
"**/snippets/*.json": "jsonc",
1313
"**/.vsts-ci/**/*.yml": "azure-pipelines",
1414
},
15-
"typescript.tsdk": "./node_modules/typescript/lib"
15+
"typescript.tsdk": "./node_modules/typescript/lib",
16+
"powershell.codeFormatting.autoCorrectAliases": true,
17+
"powershell.codeFormatting.newLineAfterCloseBrace": false,
18+
"powershell.codeFormatting.trimWhitespaceAroundPipe": true,
19+
"powershell.codeFormatting.useCorrectCasing": true,
20+
"powershell.codeFormatting.whitespaceBeforeOpenBrace": false,
21+
"powershell.codeFormatting.whitespaceBetweenParameters": true,
22+
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline"
1623
}
1724
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"Snippets",
1717
"Linters"
1818
],
19-
"icon": "images/PowerShell_icon.png",
19+
"icon": "media/PowerShell_icon.png",
2020
"galleryBanner": {
2121
"color": "#ACD1EC",
2222
"theme": "light"
@@ -156,17 +156,17 @@
156156
"command": "PowerShell.RefreshCommandsExplorer",
157157
"title": "Refresh Command Explorer",
158158
"icon": {
159-
"light": "resources/light/sync.svg",
160-
"dark": "resources/dark/sync.svg"
159+
"light": "media/resources/light/sync.svg",
160+
"dark": "media/resources/dark/sync.svg"
161161
},
162162
"category": "PowerShell"
163163
},
164164
{
165165
"command": "PowerShell.InsertCommand",
166166
"title": "Insert Command",
167167
"icon": {
168-
"light": "resources/light/pencil.svg",
169-
"dark": "resources/dark/pencil.svg"
168+
"light": "media/resources/light/pencil.svg",
169+
"dark": "media/resources/dark/pencil.svg"
170170
},
171171
"category": "PowerShell"
172172
},
@@ -179,8 +179,8 @@
179179
"command": "PowerShell.ShowHelp",
180180
"title": "Get Help for Command",
181181
"icon": {
182-
"light": "resources/light/question.svg",
183-
"dark": "resources/dark/question.svg"
182+
"light": "media/resources/light/question.svg",
183+
"dark": "media/resources/dark/question.svg"
184184
},
185185
"category": "PowerShell"
186186
},
@@ -189,17 +189,17 @@
189189
"title": "Run",
190190
"category": "PowerShell",
191191
"icon": {
192-
"light": "resources/light/run.svg",
193-
"dark": "resources/dark/run.svg"
192+
"light": "media/resources/light/run.svg",
193+
"dark": "media/resources/dark/run.svg"
194194
}
195195
},
196196
{
197197
"command": "PowerShell.RunSelection",
198198
"title": "Run Selection",
199199
"category": "PowerShell",
200200
"icon": {
201-
"light": "resources/light/play.svg",
202-
"dark": "resources/dark/play.svg"
201+
"light": "media/resources/light/play.svg",
202+
"dark": "media/resources/dark/play.svg"
203203
}
204204
},
205205
{
@@ -277,26 +277,26 @@
277277
"title": "Close panel",
278278
"category": "PowerShell",
279279
"icon": {
280-
"light": "resources/light/ClosePanel.svg",
281-
"dark": "resources/dark/ClosePanel.svg"
280+
"light": "media/resources/light/ClosePanel.svg",
281+
"dark": "media/resources/dark/ClosePanel.svg"
282282
}
283283
},
284284
{
285285
"command": "workbench.action.positionPanelLeft",
286286
"title": "Move panel left",
287287
"category": "PowerShell",
288288
"icon": {
289-
"light": "resources/light/MovePanelLeft.svg",
290-
"dark": "resources/dark/MovePanelLeft.svg"
289+
"light": "media/resources/light/MovePanelLeft.svg",
290+
"dark": "media/resources/dark/MovePanelLeft.svg"
291291
}
292292
},
293293
{
294294
"command": "workbench.action.positionPanelBottom",
295295
"title": "Move panel to bottom",
296296
"category": "PowerShell",
297297
"icon": {
298-
"light": "resources/light/MovePanelBottom.svg",
299-
"dark": "resources/dark/MovePanelBottom.svg"
298+
"light": "media/resources/light/MovePanelBottom.svg",
299+
"dark": "media/resources/dark/MovePanelBottom.svg"
300300
}
301301
},
302302
{

0 commit comments

Comments
 (0)