Skip to content

Commit 9633479

Browse files
committed
feat: prepare extension for marketplace publishing (v0.4.1)
1 parent 2ec94c8 commit 9633479

File tree

4 files changed

+78
-2
lines changed

4 files changed

+78
-2
lines changed

.vscodeignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# This file is part of the vscode-ddev-phpstan extension.
2+
# © OpenForgeProject
3+
# Licensed under the GNU General Public License v3.0 (GPL-3.0)
4+
5+
# Build and development files
6+
src/**/*.ts
7+
esbuild.ts
8+
tsconfig.json
9+
eslint.config.mjs
10+
.vscode-test.mjs
11+
12+
# Test files
13+
.vscode-test/**
14+
**/*.test.js
15+
**/*.test.ts
16+
17+
# Development tools
18+
.trunk/**
19+
.vscode/**
20+
.github/**
21+
22+
# Node modules and dependencies
23+
node_modules/**
24+
package-lock.json
25+
26+
# Git files
27+
.git/**
28+
.gitignore
29+
30+
# Logs and temporary files
31+
*.log
32+
npm-debug.log*
33+
yarn-debug.log*
34+
yarn-error.log*
35+
36+
# Environment files
37+
.env
38+
.env.local
39+
.env.development.local
40+
.env.test.local
41+
.env.production.local
42+
43+
# IDE files
44+
.idea/**
45+
.DS_Store
46+
Thumbs.db
47+
48+
# Build artifacts (keep only dist/)
49+
# All other build outputs should be ignored

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.4.1] - 2025-10-01
11+
12+
### Added
13+
14+
- **Publishing Preparation**: Complete setup for VS Code Marketplace and Open VSX Registry
15+
- Added `.vscodeignore` file to exclude development files from extension package
16+
- Added publishing scripts for both VS Code Marketplace (`publish:vscode`) and Open VSX Registry (`publish:ovsx`)
17+
- Optimized package size by excluding source files, build tools, and development dependencies
18+
- Package size reduced to 155.64 KB with only essential runtime files
19+
20+
### Improved
21+
22+
- **Package Quality**: Enhanced extension package with proper file exclusions
23+
- **Distribution**: Ready for automated publishing via GitHub Actions
24+
- **Developer Experience**: Clear publishing workflow with npm scripts
25+
26+
### Technical Details
27+
28+
- Extension package now includes only: compiled JavaScript, assets, documentation, and license
29+
- Source TypeScript files excluded from distribution package
30+
- Build tools and configuration files excluded from package
31+
- Maintained full functionality while reducing package size
32+
- GitHub Actions ready for automated marketplace publishing
33+
1034
## [0.4.0] - 2025-09-30
1135

1236
### Changed

assets/icon.png

47.9 KB
Loading

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
"name": "vscode-ddev-phpstan",
33
"displayName": "DDEV PHPStan",
44
"description": "PHP static analysis with PHPStan in DDEV containers for VS Code",
5-
"version": "0.4.0",
5+
"version": "0.4.1",
66
"publisher": "OpenForgeProject",
77
"license": "GPL-3.0",
8+
"icon": "assets/icon.png",
89
"engines": {
910
"vscode": "^1.100.0"
1011
},
@@ -120,7 +121,9 @@
120121
"package": "tsx esbuild.ts --production",
121122
"vscode:prepublish": "npm run package",
122123
"test": "npm run compile-tests && vscode-test",
123-
"lint": "eslint src --ext ts"
124+
"lint": "eslint src --ext ts",
125+
"publish:vscode": "vsce publish",
126+
"publish:ovsx": "ovsx publish"
124127
},
125128
"devDependencies": {
126129
"@types/mocha": "^10.0.9",

0 commit comments

Comments
 (0)