Skip to content

Commit bfeccc6

Browse files
committed
1.0.0
1 parent 0876cd9 commit bfeccc6

3 files changed

Lines changed: 18 additions & 9 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ npm test # Run unit tests
7171
npm run package # Create .vsix
7272
```
7373

74-
Tests run against a real git-crypt-enabled repository (configured in test files as `TEST_REPO`).
74+
Tests create a temporary git-crypt repository via `test/fixture.ts` (requires `git-crypt` installed).
7575

7676
## Architecture
7777

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: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "git-crypt-vscode",
3-
"displayName": "Git Crypt Diff",
3+
"displayName": "git-crypt Diff",
44
"description": "View diffs of git-crypt encrypted files in VSCode",
5-
"version": "0.1.0",
5+
"version": "1.0.0",
66
"publisher": "j-256",
77
"license": "MIT",
88
"repository": {
@@ -12,9 +12,15 @@
1212
"engines": {
1313
"vscode": "^1.85.0"
1414
},
15-
"categories": ["SCM Providers"],
16-
"activationEvents": ["onStartupFinished"],
17-
"extensionDependencies": ["vscode.git"],
15+
"categories": [
16+
"SCM Providers"
17+
],
18+
"activationEvents": [
19+
"onStartupFinished"
20+
],
21+
"extensionDependencies": [
22+
"vscode.git"
23+
],
1824
"main": "./dist/extension.js",
1925
"contributes": {
2026
"commands": [
@@ -45,11 +51,14 @@
4551
},
4652
"scripts": {
4753
"preversion": "npm run build && npm test",
54+
"postversion": "git push origin main v$npm_package_version && npm run release",
55+
"release": "npm run package && gh release create v$npm_package_version git-crypt-vscode-$npm_package_version.vsix --title v$npm_package_version --generate-notes",
4856
"vscode:prepublish": "npm run build",
4957
"build": "node esbuild.js",
5058
"watch": "node esbuild.js --watch",
5159
"test": "node --import tsx --test test/*.test.ts",
52-
"package": "vsce package"
60+
"package": "vsce package",
61+
"publish": "vsce publish"
5362
},
5463
"devDependencies": {
5564
"@types/vscode": "^1.85.0",

0 commit comments

Comments
 (0)