Skip to content

Commit ff1f987

Browse files
committed
Rename extension to adr-manager-vscode, the Marketplace requires globally unique extension and display names
1 parent 3ca26dd commit ff1f987

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/extension-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
cache: true
2424
- run: pnpm install --frozen-lockfile
25-
- run: pnpm --filter vscode-adr-manager test # `pretest` auto-runs typecheck + compile + lint
25+
- run: pnpm --filter adr-manager-vscode test # `pretest` auto-runs typecheck + compile + lint
2626
- run: pnpm vsix
2727
- uses: actions/upload-artifact@v4
2828
with:

.github/workflows/extension-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
with:
2525
cache: true
2626
- run: pnpm install --frozen-lockfile
27-
- run: pnpm --filter vscode-adr-manager exec vsce publish --no-dependencies
27+
- run: pnpm --filter adr-manager-vscode exec vsce publish --no-dependencies
2828
env:
2929
VSCE_PAT: ${{ secrets.VSCE_PAT }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
44
[![Extension · CI](https://github.com/adr/adr-manager-apps/actions/workflows/extension-ci.yml/badge.svg)](https://github.com/adr/adr-manager-apps/actions/workflows/extension-ci.yml)
55
[![Web · Tests](https://github.com/adr/adr-manager-apps/actions/workflows/web-tests.yml/badge.svg)](https://github.com/adr/adr-manager-apps/actions/workflows/web-tests.yml)
6-
[![VS Code Marketplace](https://img.shields.io/visual-studio-marketplace/v/adr-org.vscode-adr-manager?label=marketplace)](https://marketplace.visualstudio.com/items?itemName=adr-org.vscode-adr-manager)
6+
[![VS Code Marketplace](https://img.shields.io/visual-studio-marketplace/v/adr-org.adr-manager-vscode?label=marketplace)](https://marketplace.visualstudio.com/items?itemName=adr-org.adr-manager-vscode)
77

88
ADR Manager Apps is the monorepo for the web-based **ADR Manager** and the **ADR Manager VS Code extension**.
99
Both apps help teams create, edit, validate, and manage Architectural Decision Records (ADRs) written in Markdown with the [MADR](https://adr.github.io/madr/) template.
1010

1111
- **Web app**: manage MADRs in GitHub repositories, live at <https://adr.github.io/adr-manager-apps/>
12-
- **VS Code extension**: manage MADRs in local workspaces, on the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=adr-org.vscode-adr-manager)
12+
- **VS Code extension**: manage MADRs in local workspaces, on the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=adr-org.adr-manager-vscode)
1313

1414
The apps share a common core and tooling, and are developed, tested, versioned, and released together from one pnpm workspace.
1515

apps/vscode-adr-manager/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Patch Changes
66

7-
- Initial release under the adr-org publisher as adr-org.vscode-adr-manager, continuing the work previously published as StevenChen.vscode-adr-manager.
7+
- Initial release under the adr-org publisher as adr-org.adr-manager-vscode, continuing the work previously published as StevenChen.vscode-adr-manager.
88
- 2098a7d: Modernize the extension build and trim dependencies. The extension host is now bundled with esbuild and the webviews with Vite, replacing webpack and rollup. lodash was replaced by the native String.padStart. The codicon font is now shipped inside the extension bundle, fixing webview icons that were broken in the packaged extension because it loaded them from node_modules.
99

1010
Development history before this listing (versions 0.0.1 to 0.1.8) shipped as [StevenChen.vscode-adr-manager](https://marketplace.visualstudio.com/items?itemName=StevenChen.vscode-adr-manager).

apps/vscode-adr-manager/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "vscode-adr-manager",
3-
"displayName": "ADR Manager",
2+
"name": "adr-manager-vscode",
3+
"displayName": "ADR Manager for VS Code",
44
"description": "A VS Code extension for the ADR Manager, for documenting and managing MADRs in VS Code.",
55
"version": "0.0.1",
66
"publisher": "adr-org",

apps/vscode-adr-manager/src/plugins/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import * as vscode from "vscode";
44

55
// Extension constants
6-
export const EXTENSION = vscode.extensions.getExtension("adr-org.vscode-adr-manager");
6+
export const EXTENSION = vscode.extensions.getExtension("adr-org.adr-manager-vscode");
77
export const EXTENSION_URI = vscode.Uri.parse(EXTENSION!.extensionPath);
88

99
export const initialMarkdownContent = `# Use Markdown Architectural Decision Records

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
"scripts": {
1212
"build": "pnpm -r --if-present build",
1313
"build:web": "pnpm --filter adr-manager build",
14-
"build:ext": "pnpm --filter vscode-adr-manager package",
14+
"build:ext": "pnpm --filter adr-manager-vscode package",
1515
"dev": "concurrently -n web,ext -c blue,magenta \"pnpm dev:web\" \"pnpm watch:ext\"",
1616
"dev:web": "pnpm --filter adr-manager dev",
17-
"watch:ext": "pnpm --filter vscode-adr-manager watch",
17+
"watch:ext": "pnpm --filter adr-manager-vscode watch",
1818
"test": "pnpm -r --if-present test",
1919
"lint": "pnpm -r --if-present lint",
2020
"typecheck": "pnpm -r --if-present typecheck",
2121
"test:web": "pnpm --filter adr-manager test",
22-
"test:ext": "pnpm --filter vscode-adr-manager test",
22+
"test:ext": "pnpm --filter adr-manager-vscode test",
2323
"e2e:web": "pnpm --filter adr-manager e2e:test",
24-
"lint:ext": "pnpm --filter vscode-adr-manager lint",
25-
"vsix": "pnpm --filter vscode-adr-manager exec vsce package --no-dependencies",
24+
"lint:ext": "pnpm --filter adr-manager-vscode lint",
25+
"vsix": "pnpm --filter adr-manager-vscode exec vsce package --no-dependencies",
2626
"format": "prettier --write . --ignore-unknown",
2727
"format:check": "prettier --check . --ignore-unknown",
2828
"changeset": "changeset",

0 commit comments

Comments
 (0)