Skip to content

Commit 0dc81bf

Browse files
committed
Add missing page + Some more tweaks
1 parent 3aa1602 commit 0dc81bf

8 files changed

Lines changed: 64 additions & 9 deletions

File tree

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"fkstart",
2323
"fkstats",
2424
"fksurrender",
25+
"fkuncommit",
2526
"fontawesome",
2627
"framagit",
2728
"fuckingnode",

docs/about/why.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ _And the list goes on..._
1616

1717
## What we fixed, and how
1818

19-
I initially created FuckingNode as a `.ps1` script to automate `npm prune` and `pnpm store prune` across a fixed list of personal projects, and as you can see, it has grown into four major releases, eleven separate utilities (`clean`, `kickstart`, `release`, `commit`, `surrender`, `setup`, `stats`, `launch`, `build`, `migrate`, `audit`), DenoJS & BunJS support, and even a small amount of features bridged to Go and Cargo.
19+
I initially created FuckingNode as a `.ps1` script to automate `npm prune` and `pnpm store prune` across a fixed list of personal projects, and as you can see, it has grown into five major releases, thirteen separate utilities (`clean`, `kickstart`, `release`, `commit`, `uncommit`, `surrender`, `setup`, `stats`, `launch`, `build`, `migrate`, `audit`, `terminate`), DenoJS & BunJS support, and even a small amount of features bridged to Go and Cargo.
2020

2121
FuckingNode exists because it fixes all of the issues mentioned above.
2222

docs/index.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -542,12 +542,8 @@ <h2>
542542
</h2>
543543
</div>
544544
<p>
545-
<b style="color: #000; padding: 5px; background-color: #ffc832"
546-
>WEBSITE UNDER CONSTRUCTION! we're updating the documentation for
547-
FuckingNode 5, which should come out today. docs don't reflect the
548-
current CLI!</b>
549-
<!-- FuckingNode is a unique, state of the art CLI to automate headache
550-
giving tasks and make it easier to develop in N*deJS, Deno, or Bun. -->
545+
FuckingNode is a unique, state of the art CLI to automate headache
546+
giving tasks and make it easier to develop in N*deJS, Deno, or Bun.
551547
</p>
552548
<div class="buttons">
553549
<a href="manual/" class="btn">Get started!</a>
@@ -557,7 +553,10 @@ <h2>
557553
</div>
558554
</div>
559555
<div class="hero-visual">
560-
<img src="https://fuckingnode.github.io/hero.webp" alt="FuckingNode doing some cleanup">
556+
<img
557+
src="https://fuckingnode.github.io/hero.webp"
558+
alt="FuckingNode doing some cleanup"
559+
>
561560
</div>
562561
</section>
563562

@@ -657,6 +656,8 @@ <h2>You spend a bit too much time messing with config files</h2>
657656
</div>
658657
</section>
659658

659+
<p style="text-align: center;">There's actually a lot more features, find out by looking at our docs.</p>
660+
660661
<section id="faq">
661662
<h3>FAQ</h3>
662663
<p class="section-desc">

docs/install.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Function New-Shortcuts {
6868
"fkstart" = "kickstart"
6969
"fklaunch" = "launch"
7070
"fkcommit" = "commit"
71+
"fkuncommit" = "uncommit"
7172
"fkbuild" = "build"
7273
"fkrelease" = "release"
7374
"fksurrender" = "surrender"

docs/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ create_shortcuts() {
106106
["fkstart"]="kickstart"
107107
["fklaunch"]="launch"
108108
["fkcommit"]="commit"
109+
["fkuncommit"]="uncommit"
109110
["fkbuild"]="build"
110111
["fkrelease"]="release"
111112
["fksurrender"]="surrender"

docs/manual/commit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ You can also run the command with the `--yes` flag to skip this - though we don'
5555

5656
You've now learnt how to speed up commits.
5757

58-
Next: Release - How to speed up npm / jsr package releases?
58+
Next: Uncommit - How to speed up fixing fucked up commits?

docs/manual/uncommit.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: "FuckingNode Uncommitter"
3+
description: "Made a fucked up commit? Easily undo it."
4+
---
5+
6+
# Using FuckingNode: Unmake a commit
7+
8+
> `fuckingnode uncommit`, or `fkuncommit`
9+
10+
The `uncommit` command in FuckingNode allows you to quickly remake a commit. It automatically undoes the last local commit (storing its name), then hangs for you to modify its files as needed, and once you tell it to run, it re-runs `commit` (including `commitCmd` if any) and remakes the commit with the same message.
11+
12+
## Usage
13+
14+
To uncommit changes to your project, just run this from the root of the repo:
15+
16+
```bash
17+
fuckingnode uncommit
18+
```
19+
20+
### What to expect
21+
22+
You'll see a confirmation like this one, showing what will be made:
23+
24+
```txt
25+
❓ We will unstage all currently staged files (if any), and immediately undo commit 39a6d31.
26+
If you terminate the program you won't recover it, it's us who handle remaking it. Proceed?
27+
Confirm? [y/N]
28+
```
29+
30+
If you input `y`, the commit will be unmade and you'll see this:
31+
32+
```txt
33+
Undid commit 39a6d31 (some wrong commit, by ZakaHaceCosas at Sun Sep 28 15:30:47 2025 +0200)
34+
35+
Make any modifications to the existing files now.
36+
Use regular git commands (git add / git remove) from a separate terminal to stage/unstage files.
37+
Once done, come to this terminal and hit 'Y',
38+
we'll run your commitCmd (if any) and re-make the commit with the same message and files (unless changed) as before.
39+
You may hit 'n' as well, result will be the same.
40+
41+
waiting for you to hit 'Y' [y/N]
42+
```
43+
44+
After hitting `y` (or `n`), our [commit command](commit.md) will immediately run and your commit will be remade (unless a `commitCmd` exists and fails, of course).
45+
46+
---
47+
48+
You've now learnt how to speed up fixing fucked up commits.
49+
50+
Next: Release - How to speed up npm / jsr package releases?

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ nav:
2222
- Individual project configuration: "manual/fknode-yaml.md"
2323
- Feature - Kickstart: "manual/kickstart.md"
2424
- Feature - Commit: "manual/commit.md"
25+
- Feature - Uncommit: "manual/uncommit.md"
2526
- Feature - Build: "manual/build.md"
2627
- Feature - Release: "manual/release.md"
2728
- Feature - Launch: "manual/launch.md"

0 commit comments

Comments
 (0)