Skip to content

Commit b7e7d44

Browse files
author
thinksyncs
committed
Add marketplace icon asset
1 parent 41680c0 commit b7e7d44

4 files changed

Lines changed: 21 additions & 22 deletions

File tree

‎README.md‎

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,31 @@ Workspace Guard is a TypeScript library and CLI for reducing the risk of opening
88
- Extension-host helpers for workspace detection and guarded actions
99
- Telemetry hardening helpers with rollback support
1010

11-
## Project Layout
11+
## TL;DR
1212

13-
- `src/core/pathPolicy.ts`: path expansion, normalization, `realpath`, and risk classification
14-
- `src/core/escapeFolder.ts`: escape-folder resolution and initialization
15-
- `src/cli/homeguardCode.ts`: CLI planning and `code` process execution
16-
- `src/extension/homeguardExtension.ts`: workspace detection and activation flow
17-
- `src/extension/workspaceSafetyGuard.ts`: action-level guards for save/git/terminal/task/publish
18-
- `src/core/telemetry.ts`: telemetry audit and hardening profile
19-
- `src/core/settingsBackup.ts`: settings backup and rollback
13+
- Use `homeguard-code` to stop accidental `~` opens in VS Code
14+
- Use `workspace-guard-scan` to review `.github` automation risk before trusting a repo
15+
- Publish the extension through the GitHub `Release Extension` workflow with `VSCE_PAT`
2016

21-
## Install
17+
## Quick Start
2218

2319
```bash
2420
npm install
25-
```
26-
27-
## Build
28-
29-
```bash
3021
npm run build
22+
npm test
23+
npx homeguard-code ~
24+
npx workspace-guard-scan .
3125
```
3226

33-
## Test
27+
## Project Layout
3428

35-
```bash
36-
npm test
37-
```
29+
- `src/core/pathPolicy.ts`: path expansion, normalization, `realpath`, and risk classification
30+
- `src/core/escapeFolder.ts`: escape-folder resolution and initialization
31+
- `src/cli/homeguardCode.ts`: CLI planning and `code` process execution
32+
- `src/extension/homeguardExtension.ts`: workspace detection and activation flow
33+
- `src/extension/workspaceSafetyGuard.ts`: action-level guards for save/git/terminal/task/publish
34+
- `src/core/telemetry.ts`: telemetry audit and hardening profile
35+
- `src/core/settingsBackup.ts`: settings backup and rollback
3836

3937
## CI
4038

‎assets/workspace-guard-icon.png‎

18.5 KB
Loading

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "workspace-guard",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"private": true,
55
"displayName": "Workspace Guard",
66
"publisher": "ToppyMicroServices",
77
"description": "Guard risky VS Code workspaces such as your home directory and high-risk folders.",
8+
"icon": "assets/workspace-guard-icon.png",
89
"main": "./dist/src/vscodeExtension.js",
910
"engines": {
1011
"vscode": "^1.110.0"
@@ -195,7 +196,7 @@
195196
"files": [
196197
"dist/src/**",
197198
"README.md",
198-
"assets/homeguard-icon.svg"
199+
"assets/workspace-guard-icon.png"
199200
],
200201
"scripts": {
201202
"build": "tsc -p tsconfig.json",

0 commit comments

Comments
 (0)