You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/about/social.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,23 +7,23 @@
7
7
8
8
---
9
9
10
-
Our community server is probably the most important part of the community. Sneak peeks, feature suggestions, and important announcements live here.
10
+
Our community server is probably the most important part of the community, since sneak peeks, feature suggestions, and important announcements live here.
Basically Twitter but better because these guys kept their bird (I mean it's a butterfly not a bird but you get my point).
18
+
It's basically Twitter but better because these guys kept their bird (I mean it's a butterfly and not a bird but you get my point). We post updates and tips here.
Users who refer to this platform as "X" instead of "Twitter" will be prohibited from using FuckingNode.
26
+
Users who refer to this platform as "X" instead of "Twitter" will be prohibited from using FuckingNode. We make here the same posts we make on Bluesky, literally.
Copy file name to clipboardExpand all lines: docs/learn/audit.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
An attempt to make security reports easier.
4
4
5
5
!!! danger "Outdated"
6
-
**This section will not be updated until V3.3.** To prevent updates from taking ages, as we've recently planned a full rewrite of this feature, we will not waste our time on fixing a feature that is not considered stable for use anyway.
6
+
**This section will not be updated until V3.3**. To prevent updates from taking ages, as we've recently planned a full rewrite of this feature, we will not waste our time on fixing a feature that is not considered stable for use anyway.
Copy file name to clipboardExpand all lines: docs/manual/configuration.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ fuckingnode manager add --self
36
36
37
37
This is our recommended way, as you can run it right after running `npm init` and you don't have to type a long folder name.
38
38
39
-
**3 /** You also can waste your time opening the config file. It's a plain text file that stores absolute paths separated by line breaks. On Windows it lives at your local `%APPDATA%`, and on Linux & mac it lives on `HOME` (or `XDG_CONFIG_HOME`). It looks kinda like this:
39
+
**3 /** You also can waste your time opening the config file. It's a plain text file that stores absolute paths separated by line breaks. On :fontawesome-brands-windows: Windows it lives at your local `%APPDATA%`, and on :simple-linux: Linux & :simple-apple: macOS it lives on `HOME` (or `XDG_CONFIG_HOME`). It looks kinda like this:
@@ -76,15 +76,16 @@ The above would work as long as you have one added project with this package.jso
76
76
77
77
### Listing projects
78
78
79
-
Just run `fuckingnode manager list`. It'll beautifully show you all of your projects in a `name@version path` format, kinda like this (but with colors and cool stuff):
79
+
Just run `fuckingnode manager list`. It'll beautifully show you all of your projects in a `name@version path` format, like below, but with colors and cool stuff.
Later on we'll see how to "ignore" projects; here we'll tell you that you can pass `--ignored` to only list ignored projects, or `--alive` to only list non-ignored projects. If you try to mix both flags to create a loophole and break the matrix, you won't break anything; the flag you write first will overrule the second one.
Settings includes an additional `flush` command, that takes a `<file>` (`logs`, `updates`, `projects`, or `all`) as an argument, removing that from F\*ckingNode's configuration. Removing `logs` is particularly recommended. Removals of `projects` and `all` are discouraged - by the way, yes, we store all logs in a `.log` file, it lives in `%APPDATA%/FuckingNode` on Windows and `/home/USER/.config/FuckingNode` on Linux & macOS.
132
+
Settings includes an additional `flush` command, that takes a `<file>` (`logs`, `updates`, `projects`, or `all`) as an argument, removing that from F\*ckingNode's configuration. Removing `logs` is particularly recommended. Removals of `projects` and `all` are discouraged - by the way, yes, we store all logs in a `.log` file, it lives in `%APPDATA%/FuckingNode` on :fontawesome-brands-windows: Windows and `/home/USER/.config/FuckingNode` on :simple-linux: Linux & :simple-apple: macOS.
132
133
133
134
There's another settings command, `settings repair`. It simply resets settings to defaults.
Copy file name to clipboardExpand all lines: docs/manual/fknode-yaml.md
+38-1Lines changed: 38 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,8 +154,43 @@ Specifies a task to be executed upon running the `commit` command.
154
154
commitCmd: "commit" # equals "npm run commit"
155
155
```
156
156
157
+
## launchCmd
158
+
159
+
Specifies a task to be executed upon running the `launch` command. Only used for NodeJS and Bun, analog to [`launchFile`](#launchfile) in other runtimes.
160
+
161
+
- **Type**: `string`
162
+
- **Example**:
163
+
164
+
```yaml
165
+
launchCmd: "start" # equals "npm run start"
166
+
```
167
+
168
+
## launchFile
169
+
170
+
Specifies a path to a code file to be executed upon running the `launch` command. Only used for DenoJS, Cargo and Golang, analog to [`launchCmd`](#launchcmd) in other runtimes.
Copy file name to clipboardExpand all lines: docs/manual/index.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,10 @@ For further learning:
25
25
26
26
## TL;DR for getting started as soon as possible
27
27
28
+
### Step 0
29
+
30
+
Install it for your platform following the instructions [here](./install.md) (just like any professional tool, installation is as easy as running one CLI command).
31
+
28
32
### Step 1
29
33
30
34
Add your projects to FuckingNode's project list. This is done manually with the `fuckingnode manager add <path>` (or `fkadd <path>`) command. `<path>` can be any file path, or `--self` to use the CWD.
Copy file name to clipboardExpand all lines: docs/manual/launch.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
> `fuckingnode launcher <project>`, or `fklaunch <project>`
4
4
5
-
The `launch` command is a simple extra command that automatically launches your favorite editor with a project open and updates your dependencies. It can take a project's name from the `package.json` / `deno.json` / `Cargo.toml`, so it's as simple as doing `fklaunch my-project`.
5
+
The `launch` command is a command that automatically launches your favorite editor with a project open, and automatically runs a "launch task", e.g. `npm run start`. It can also auto-update your dependencies on launch. It can take a project's name from the `package.json` / `deno.json` / `Cargo.toml`, so it's as simple as doing `fklaunch my-project`.
6
6
7
7
## Usage
8
8
@@ -14,6 +14,8 @@ fuckingnode launch < PROJECT >
14
14
15
15
`PROJECT` is obvious and mandatory. It can be a relative file path, absolute file path, or the project's name as mentioned before.
16
16
17
+
By default it just launches your favorite editor with your project opened. For us to be able to run a task or update your dependencies, [setup those features from the project's `fknode.yaml` file](./fknode-yaml.md#launchcmd).
18
+
17
19
---
18
20
19
21
You've now learnt how to speed up launching your projects.
0 commit comments