Skip to content

Commit 358d995

Browse files
authored
Merge pull request #36 from ric-v/main
Repository and Documentation Updates:
2 parents 8a97d4a + 9d27222 commit 358d995

6 files changed

Lines changed: 41 additions & 24 deletions

File tree

.vscodeignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,15 @@ webpack.config.js
2121
.eslintrc.json
2222
.vscodeignore
2323
CHANGELOG.md
24+
MARKETPLACE.md
25+
README.md.bak
26+
README.md.tmp
2427
pattern
2528
pat
29+
pat-open-vsx
30+
Makefile
31+
coverage/**
32+
.nyc_output/**
33+
docs/**
34+
.nycrc
35+
index.js

MARKETPLACE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,16 +180,16 @@ code --install-extension ric-v.postgres-explorer
180180

181181
## 📚 Resources
182182

183-
- 📖 [Full Documentation](https://dev-asterix.github.io/yape-postgres-ext-vsc/)
184-
- 🐛 [Report Issues](https://github.com/dev-asterix/yape-postgres-ext-vsc/issues)
185-
- 💡 [Request Features](https://github.com/dev-asterix/yape-postgres-ext-vsc/issues/new?template=feature_request.md)
186-
-[Star on GitHub](https://github.com/dev-asterix/yape-postgres-ext-vsc)
183+
- 📖 [Full Documentation](https://dev-asterix.github.io/yape/)
184+
- 🐛 [Report Issues](https://github.com/dev-asterix/yape/issues)
185+
- 💡 [Request Features](https://github.com/dev-asterix/yape/issues/new?template=feature_request.md)
186+
-[Star on GitHub](https://github.com/dev-asterix/yape)
187187

188188
---
189189

190190
## 📝 License
191191

192-
This extension is licensed under the [MIT License](https://github.com/dev-asterix/yape-postgres-ext-vsc/blob/main/LICENSE).
192+
This extension is licensed under the [MIT License](https://github.com/dev-asterix/yape/blob/main/LICENSE).
193193

194194
---
195195

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,15 @@ build:
2828

2929
# Package the extension
3030
package: build
31-
$(VSCE_CMD) package
31+
@echo "Replacing README.md with MARKETPLACE.md for packaging..."
32+
@if [ -f README.md ]; then cp README.md README.md.bak; fi
33+
@cp MARKETPLACE.md README.md
34+
@trap 'if [ -f README.md.bak ]; then mv README.md.bak README.md; fi' EXIT INT TERM; \
35+
$(VSCE_CMD) package; \
36+
EXIT_CODE=$$?; \
37+
if [ -f README.md.bak ]; then mv README.md.bak README.md; fi; \
38+
echo "Restored original README.md"; \
39+
exit $$EXIT_CODE
3240

3341
# Publish the extension to VS Code Marketplace and Open VSX Registry
3442
publish: package

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
[![Version](https://img.shields.io/visual-studio-marketplace/v/ric-v.postgres-explorer?style=for-the-badge&logo=visual-studio-code&logoColor=white&color=0066CC)](https://marketplace.visualstudio.com/items?itemName=ric-v.postgres-explorer)
88
[![Downloads](https://img.shields.io/visual-studio-marketplace/d/ric-v.postgres-explorer?style=for-the-badge&logo=visual-studio-code&logoColor=white&color=2ECC71)](https://marketplace.visualstudio.com/items?itemName=ric-v.postgres-explorer)
99
[![Rating](https://img.shields.io/visual-studio-marketplace/r/ric-v.postgres-explorer?style=for-the-badge&logo=visual-studio-code&logoColor=white&color=F39C12)](https://marketplace.visualstudio.com/items?itemName=ric-v.postgres-explorer)
10-
[![Status](https://img.shields.io/badge/status-beta-blue?style=for-the-badge&logo=git&logoColor=white)](https://github.com/dev-asterix/yape-postgres-ext-vsc)
10+
[![Status](https://img.shields.io/badge/status-beta-blue?style=for-the-badge&logo=git&logoColor=white)](https://github.com/dev-asterix/yape)
1111

1212
A comprehensive PostgreSQL database management extension featuring interactive SQL notebooks, real-time monitoring dashboard, AI-powered assistance, and advanced database operations—all within VS Code.
1313

14-
[📖 **Documentation**](https://dev-asterix.github.io/yape-postgres-ext-vsc/)[🛒 **Marketplace**](https://marketplace.visualstudio.com/items?itemName=ric-v.postgres-explorer)[🤝 **Contributing**](#-contributing)
14+
[📖 **Documentation**](https://dev-asterix.github.io/yape/)[🛒 **Marketplace**](https://marketplace.visualstudio.com/items?itemName=ric-v.postgres-explorer)[🤝 **Contributing**](#-contributing)
1515

1616
</div>
1717

@@ -51,7 +51,7 @@ Then: **PostgreSQL icon** → **Add Connection** → Enter details → **Connect
5151
## 🏗️ Project Structure
5252

5353
```
54-
yape-postgres-ext-vsc/
54+
yape/
5555
├── src/
5656
│ ├── extension.ts # Extension entry point
5757
│ ├── commands/ # Command implementations
@@ -96,8 +96,8 @@ yape-postgres-ext-vsc/
9696

9797
```bash
9898
# Clone the repository
99-
git clone https://github.com/dev-asterix/yape-postgres-ext-vsc.git
100-
cd yape-postgres-ext-vsc
99+
git clone https://github.com/dev-asterix/yape.git
100+
cd yape
101101

102102
# Install dependencies
103103
npm install
@@ -148,8 +148,8 @@ Tests are located in `src/test/unit/` using Mocha + Chai + Sinon.
148148

149149
## 🤝 Contributing
150150

151-
- 🐛 [Report Bugs](https://github.com/dev-asterix/yape-postgres-ext-vsc/issues/new?template=bug_report.md)
152-
- 💡 [Request Features](https://github.com/dev-asterix/yape-postgres-ext-vsc/issues/new?template=feature_request.md)
151+
- 🐛 [Report Bugs](https://github.com/dev-asterix/yape/issues/new?template=bug_report.md)
152+
- 💡 [Request Features](https://github.com/dev-asterix/yape/issues/new?template=feature_request.md)
153153
- 🔧 Fork → Branch → PR
154154

155155
### Commit Convention

docs/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<a href="#features">Features</a>
3737
<a href="#workflow">Workflow</a>
3838
<a href="#ai-powered">AI</a>
39-
<a href="https://github.com/dev-asterix/yape-postgres-ext-vsc">GitHub</a>
39+
<a href="https://github.com/dev-asterix/yape">GitHub</a>
4040
<button id="theme-toggle" class="theme-toggle" aria-label="Toggle Theme">&#127769;</button>
4141
<a href="https://marketplace.visualstudio.com/items?itemName=ric-v.postgres-explorer"
4242
class="nav-cta">Install</a>
@@ -341,14 +341,14 @@ <h4>Schema Understanding</h4>
341341
<div class="footer-links-grid">
342342
<div class="footer-col">
343343
<h4>Resources</h4>
344-
<a href="https://github.com/dev-asterix/yape-postgres-ext-vsc#readme">Documentation</a>
344+
<a href="https://github.com/dev-asterix/yape#readme">Documentation</a>
345345
<a
346-
href="https://github.com/dev-asterix/yape-postgres-ext-vsc/blob/main/CHANGELOG.md">Changelog</a>
346+
href="https://github.com/dev-asterix/yape/blob/main/CHANGELOG.md">Changelog</a>
347347
</div>
348348
<div class="footer-col">
349349
<h4>Community</h4>
350-
<a href="https://github.com/dev-asterix/yape-postgres-ext-vsc">GitHub</a>
351-
<a href="https://github.com/dev-asterix/yape-postgres-ext-vsc/issues">Report Issues</a>
350+
<a href="https://github.com/dev-asterix/yape">GitHub</a>
351+
<a href="https://github.com/dev-asterix/yape/issues">Report Issues</a>
352352
</div>
353353
<div class="footer-col">
354354
<h4>Install</h4>

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
{
22
"name": "postgres-explorer",
33
"displayName": "PostgreSQL Explorer",
4-
"version": "0.5.0",
4+
"version": "0.5.3",
55
"description": "PostgreSQL database explorer for VS Code with notebook support",
66
"publisher": "ric-v",
77
"private": false,
88
"license": "MIT",
9-
"readme": "MARKETPLACE.md",
109
"repository": {
1110
"type": "git",
12-
"url": "https://github.com/dev-asterix/yape-postgres-ext-vsc.git"
11+
"url": "https://github.com/dev-asterix/yape.git"
1312
},
1413
"bugs": {
15-
"url": "https://github.com/dev-asterix/yape-postgres-ext-vsc/issues"
14+
"url": "https://github.com/dev-asterix/yape/issues"
1615
},
17-
"homepage": "https://github.com/dev-asterix/yape-postgres-ext-vsc#readme",
18-
"icon": "resources/postgres-vsc-icon.png",
16+
"homepage": "https://github.com/dev-asterix/yape#readme",
17+
"icon": "resources/postgres-explorer.png",
1918
"galleryBanner": {
2019
"color": "#C80000",
2120
"theme": "dark"

0 commit comments

Comments
 (0)