Skip to content

Commit e490a29

Browse files
committed
feat: update vscode-extension to version 0.18.0 and adjust pre-release versioning logic
1 parent 27a116e commit e490a29

4 files changed

Lines changed: 8 additions & 14 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,12 @@ jobs:
124124
- name: Normalize VS Code pre-release version (next only)
125125
if: github.ref == 'refs/heads/next'
126126
run: |
127-
# VS Code convention: even minor = stable, odd minor = pre-release.
128-
# Use (stable_minor + 1) as pre-release minor, and github.run_number as patch
129-
# so every CI run gets a unique, monotonically increasing version.
130-
# (git rev-list --count is unreliable in shallow clones)
127+
# Publish next builds as proper semver pre-releases of the upcoming stable.
128+
# Example: 0.18.0 -> 0.18.0-next.123
129+
# This keeps preview builds below the eventual stable release while still
130+
# giving each CI run a unique, monotonically increasing suffix.
131131
BASE=$(node -p "require('./packages/vscode-extension/package.json').version.replace(/-next.*$/, '')")
132-
MAJOR=$(echo "$BASE" | cut -d. -f1)
133-
STABLE_MINOR=$(echo "$BASE" | cut -d. -f2)
134-
PRE_MINOR=$(( STABLE_MINOR + 1 ))
135-
PATCH=${{ github.run_number }}
136-
npm version "$MAJOR.$PRE_MINOR.$PATCH" --no-git-tag-version --workspace=n8n-as-code
132+
npm version "$BASE-next.${{ github.run_number }}" --no-git-tag-version --workspace=n8n-as-code
137133
138134
- name: Build all packages
139135
run: npm run build

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"packages/transformer": "0.2.8",
33
"packages/skills": "0.16.15",
44
"packages/cli": "0.11.2",
5-
"packages/vscode-extension": "0.16.2"
5+
"packages/vscode-extension": "0.18.0"
66
}

packages/vscode-extension/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# <img src="https://raw.githubusercontent.com/EtienneLescot/n8n-as-code/main/res/logo.png" alt="n8n-as-code logo" width="32" height="32"> n8n-as-code : VS Code Extension
22

3-
> **⚠️ BREAKING CHANGE (v0.11.0)**: Workflows are now stored as **TypeScript files** (`.workflow.ts`) instead of JSON. This provides better IntelliSense, type safety, and AI-assisted editing.
4-
53
**n8n-as-code** transforms VS Code into a powerful IDE for your n8n workflows. Your automations become code: Git versioning, AI-assisted editing, and seamless synchronization.
64

75
![n8n-as-code demo](https://raw.githubusercontent.com/EtienneLescot/n8n-as-code/main/res/n8n-as-code.gif)
@@ -20,7 +18,7 @@
2018
## 🎨 Features
2119

2220
### 🔄 Git-like Synchronization
23-
The extension follows a git-like model: **List**, **Fetch**, **Pull**, and **Push**. You have full control over when changes are synchronized.
21+
The extension follows a git-like model: **List**, **Pull**, and **Push**. You have full control over when changes are synchronized.
2422

2523
### 🛡️ Conflict Management
2624
The system intelligently detects conflicts to prevent data loss:

packages/vscode-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "n8n-as-code",
33
"displayName": "n8n as code",
44
"description": "Edit your n8n workflows directly in VS Code with AI assistance.",
5-
"version": "0.16.2",
5+
"version": "0.18.0",
66
"private": true,
77
"publisher": "etienne-lescot",
88
"files": [

0 commit comments

Comments
 (0)