Skip to content

Commit dbc404d

Browse files
authored
Update extension name (#2638)
1 parent 18fc681 commit dbc404d

31 files changed

+301
-301
lines changed

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
uses: actions/upload-artifact@v4
187187
with:
188188
name: Extension
189-
path: out/package/code-*.vsix
189+
path: out/package/vscode-ps-rule-*.vsix
190190
retention-days: 3
191191
if-no-files-found: error
192192

docs/CHANGELOG-v3.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ See [upgrade notes][1] for helpful information when upgrading from previous vers
3030
What's changed since pre-release v3.0.0-B0315:
3131

3232
- New features:
33-
- VSCode extension set to use Microsoft verified name by @BernieWhite.
33+
- VSCode extension set to use Microsoft verified publisher name by @BernieWhite.
3434
[#2636](https://github.com/microsoft/PSRule/issues/2636)
3535
- General improvements:
3636
- Expose format options to emitters by @BernieWhite.

docs/updates/v3_0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version: 3.0
99

1010
The Visual Studio Code (VSCode) extension for PSRule now lives side-by-side with core components of [PSRule on GitHub][1].
1111

12-
As part of this change we are now publishing the extension as a **verified** Microsoft extension with the ID `ps-rule.code`.
12+
As part of this change we are now publishing the extension as a **verified** Microsoft extension with the ID `ps-rule.vscode-ps-rule`.
1313

1414
We hope this will not only help the community to log issues and get help on the correct repository,
1515
but also streamline how we deliver updates in the future.

esbuild.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ console.warn("build extension");
1515

1616
async function main() {
1717
const ctx = await esbuild.context({
18-
entryPoints: ['src/code/main.ts'],
18+
entryPoints: ['src/vscode-ps-rule/main.ts'],
1919
bundle: true,
2020
format: 'cjs',
2121
minify: production,

media/walkthroughs/getStarted/01_configureOptions.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- First, type `requires` and press Tab or Enter to complete the suggestion.
44
- Continue typing to replace `Module` with `PSRule` and press Tab or Enter to move to the version constraint.
5-
- Replace `'>=1.0.0'` with the minimum version of PSRule you want to use, such as `'>=2.8.1'`.
5+
- Replace `'>=1.0.0'` with the minimum version of PSRule you want to use, such as `'>=2.9.0'`.
66

77
## Configure additional modules
88

@@ -13,8 +13,8 @@ For example:
1313

1414
```yaml
1515
requires:
16-
PSRule: '>=2.8.1'
17-
PSRule.Rules.Azure: '>=1.26.1'
16+
PSRule: '>=2.9.0'
17+
PSRule.Rules.Azure: '>=1.39.3'
1818
```
1919
2020
### Configure other options

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "code",
2+
"name": "vscode-ps-rule",
33
"displayName": "PSRule",
44
"version": "0.0.1",
55
"publisher": "ps-rule",
@@ -488,7 +488,7 @@
488488
"zzz_lint": "eslint . --ext .ts,.tsx",
489489
"zzz_pretest": "npm run compile",
490490
"zzz_vscode:prepublish": "npm run -S esbuild-base -- --minify && dotnet publish ./src/PSRule.EditorServices/ --output server/",
491-
"zzz_esbuild-base": "esbuild ./src/code/main.ts --bundle --outfile=out/dist/main.js --external:vscode --format=cjs --platform=node",
491+
"zzz_esbuild-base": "esbuild ./src/vscode-ps-rule/main.ts --bundle --outfile=out/dist/main.js --external:vscode --format=cjs --platform=node",
492492
"zzz_esbuild": "npm run -S esbuild-base -- --sourcemap",
493493
"zzz_esbuild-watch": "npm run -S esbuild-base -- --sourcemap --watch",
494494
"zzz_build": "tsc -p ./ && dotnet build && node build.mjs",
@@ -500,7 +500,7 @@
500500
"build:esbuild": "node esbuild.mjs",
501501
"package": "npm run package:dotnet && npm run package:esbuild && npm run package:pack",
502502
"package:dotnet": "dotnet build ./src/PSRule.EditorServices/ --output server/",
503-
"package:pack": "vsce package --dependencies --pre-release --no-git-tag-version --no-update-package-json --githubBranch main --out out/package/ --readme-path src/code/README.md --changelog-path docs/CHANGELOG-v3.md --baseImagesUrl https://raw.githubusercontent.com/microsoft/PSRule/refs/heads/main/",
503+
"package:pack": "vsce package --dependencies --pre-release --no-git-tag-version --no-update-package-json --githubBranch main --out out/package/ --readme-path src/vscode-ps-rule/README.md --changelog-path docs/CHANGELOG-v3.md --baseImagesUrl https://raw.githubusercontent.com/microsoft/PSRule/refs/heads/main/",
504504
"package:esbuild": "node esbuild.mjs",
505505
"test": "npm run build:dotnet && npm run build:esbuild && vscode-test"
506506
},

src/code/extension.ts

-289
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)