Skip to content

Commit dcc0b27

Browse files
committed
chore: some feat, style, docs, and build changes
- feat: add release.yml and FUNDING.yml - style: align code with frkato coding standards - docs: update README.md - build: downgrade version to start from 0.x.x
1 parent 47d30fd commit dcc0b27

7 files changed

Lines changed: 56 additions & 11 deletions

File tree

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# CODEOWNERS for Frakto
2+
# All files in the repository are the responsibility of the fraktodev organization team
3+
4+
* @fraktodev

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: danybranding
2+
buy_me_a_coffee: danybranding

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The assistant must propose and implement **elegant, maintainable, and scalable**
3535
- Interpret tasks as a senior engineer would
3636
- Make reasonable assumptions and clearly state them
3737
- Call out ambiguities, risks, or incomplete instructions
38-
- When formatting, follow project rules precisely — especially docblocks, spacing, and property order
38+
- Never insert code into the editor, unless specifically requested by the developer.
3939

4040
## Emoji policy
4141

@@ -78,7 +78,7 @@ Multiple types can be combined in a single commit message, separated by commas:
7878
docs: update README.md, fix: corrected button alignment, feat: added dark mode toggle
7979
```
8080

81-
Do **not** use capital letters, parentheses, or colons within the type (e.g., avoid `Feat(...)` or `feat():`).
81+
Do **not** use capital letters, parentheses, or colons within the type (e.g., avoid `Feat(...)` or `feat():`) and keep messages short, if needed longer, use commit body.
8282

8383
#### Allowed commit type
8484

.github/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release Template
2+
description: >
3+
This release focuses on [insert key focus: stability, performance, new features, cleanup, etc.].
4+
5+
body: |
6+
### Features (Only if applies)
7+
- [Feature 1: short description of what was added and why]
8+
- [Feature 2: optional context or impacted modules]
9+
10+
### Improvements (Only if applies)
11+
- [Code refactor, dependency upgrade, performance enhancement]
12+
- [UI/UX adjustments, content or copy tweaks]
13+
14+
### Bug Fixes (Only if applies)
15+
- [#issue-id] Fixed a bug where [describe the problem]
16+
- [#issue-id] Prevented [undesired behavior] in [component/module]
17+
18+
### Technical Notes (Only if applies)
19+
- Updated dependencies: [e.g., React 18, Electron 28]
20+
- New environment variable: `MY_ENV_VAR` (default: `false`)
21+
- Moved [file/module] to [new path or structure]
22+
23+
---
24+
25+
### Migration Notes (Only if applies)
26+
- [Any breaking changes, deprecations, or manual steps required]
27+
28+
---
29+
30+
### Internal
31+
32+
- **Full Changelog**: <URL>

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<br>
66
<strong>Frakto Code Engine</strong>
77
<p><em>Fragment. Optimize. Reconstruct.</em></p>
8-
<img src="https://img.shields.io/badge/version-1.1.0-blue.svg" alt="Version">
8+
<img src="https://img.shields.io/badge/version-0.1.0-blue.svg" alt="Version">
99
<img src="https://img.shields.io/badge/VSCode-%5E1.90.0-blue.svg" alt="VS Code">
1010
<img src="https://img.shields.io/badge/License-MIT-brightgreen.svg" alt="License">
1111
<img src="https://img.shields.io/badge/Prs-welcome-brightgreen.svg" alt="Contributions welcome">
@@ -172,6 +172,7 @@ MIT License — Copyright © 2025 [Frakto](https://github.com/fraktodev/)
172172

173173
This project is maintained with love and dedication. If you find it helpful, please consider:
174174

175-
[![Leave a Review](https://img.shields.io/badge/Leave-a_Review-blue?style=flat&logo=visualstudiocode)](https://marketplace.visualstudio.com/items?itemName=frakto.frakto-code-engine&ssr=false#review-details)
176-
[![Star on GitHub](https://img.shields.io/badge/Star-on_GitHub-black?style=flat&logo=github)](https://github.com/fraktodev/frakto-code-engine)
177-
[![Buy Me a Coffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-%E2%98%95-yellow.svg?style=flat)](https://coff.ee/danybranding)
175+
[![Leave a Review](https://img.shields.io/badge/Leave-a_Review-4A90E2?style=flat&logo=visualstudiocode)](https://marketplace.visualstudio.com/items?itemName=frakto.frakto-code-engine&ssr=false#review-details)
176+
[![Star on GitHub](https://img.shields.io/badge/GitHub-Star-4A90E2?style=flat&logo=github)](https://github.com/fraktodev/frakto-code-engine)
177+
[![Buy Me a Coffee](https://img.shields.io/badge/Buy%20Me-a%20Coffee-E67E22.svg?logo=buymeacoffee&logoColor=white)](https://coff.ee/danybranding)
178+
[![Become a Sponsor](https://img.shields.io/badge/GitHub-Sponsor-8B5CF6?style=flat&logo=github)](https://github.com/sponsors/danybranding)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "frakto-code-engine",
33
"displayName": "Frakto Code Engine",
4-
"version": "1.1.0",
4+
"version": "0.1.0",
55
"description": "%description%",
66
"homepage": "https://frakto.dev",
77
"author": "Frakto Team",

src/extension.mts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Dependencies
2-
import { spawn } from 'child_process';
3-
import { minimatch } from 'minimatch';
42
import * as path from 'path';
53
import * as vscode from 'vscode';
4+
import { spawn } from 'child_process';
5+
import { minimatch } from 'minimatch';
66

77
// Configs
88
const fraktoConfig = vscode.workspace.getConfiguration('frakto');
@@ -189,6 +189,12 @@ const runExternal = async (
189189
return;
190190
}
191191

192+
/**
193+
* Handles the output from the external script.
194+
*
195+
* @param resolve - The promise resolve function.
196+
* @param reject - The promise reject function.
197+
*/
192198
return new Promise((resolve, reject) => {
193199
let stdout = '';
194200
let stderr = '';
@@ -200,7 +206,7 @@ const runExternal = async (
200206
cwd: path.dirname(execFile),
201207
env: {
202208
...process.env,
203-
// eslint-disable-next-line
209+
204210
FRAKTO_PAYLOAD: JSON.stringify(payload)
205211
}
206212
};
@@ -247,7 +253,7 @@ const runExternal = async (
247253

248254
// Debug log
249255
if (parsed.debug) {
250-
// eslint-disable-next-line
256+
// eslint-disable-next-line no-console
251257
console.log(parsed.debug);
252258
}
253259

0 commit comments

Comments
 (0)