@runfile/cli 0.32.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -629,11 +629,24 @@ $ run :generate zed-tasks
629
629
  $ run :generate jetbrains-run-configurations
630
630
  ```
631
631
 
632
+ Pass `--stdout` to any of these to print the generated configuration to standard output instead of
633
+ writing it to disk — handy for previewing, piping, or diffing in CI. The output is the freshly
634
+ generated config (not merged with any existing file on disk) and nothing is created or modified.
635
+ For `jetbrains-run-configurations`, which produces one file per target, each block is delimited by a
636
+ `<!-- .run/<file> -->` comment when more than one is emitted.
637
+
632
638
  Skip a target from the generated configs by setting `metadata.excludeFromGenerateCommand: true`. The
633
639
  `metadata` block on `globals` and on each target is **fully open** — any property of any JSON type
634
640
  (strings, numbers, booleans, arrays, deeply-nested objects) is accepted and round-trips untouched, so
635
641
  editor extensions and CI scripts can stash arbitrary tooling-specific fields here.
636
642
 
643
+ Every file Runfile writes honors your project's [**`.editorconfig`**](https://editorconfig.org): the
644
+ output is formatted to match the settings that apply to each written path — the editor files above
645
+ (`.vscode/tasks.json`, `.zed/tasks.json`, `.run/*.run.xml`) as well as the `Runfile.json` produced by
646
+ `:init` and `:convert`. `indent_style` / `indent_size` / `tab_width` drive indentation, `end_of_line`
647
+ sets the newline sequence, `insert_final_newline` and `trim_trailing_whitespace` are applied, and
648
+ `charset = utf-8-bom` prepends a BOM. When no `.editorconfig` applies, the previous defaults are kept.
649
+
637
650
  #### Migrate in seconds
638
651
 
639
652
  ```bash
Binary file
@@ -629,11 +629,24 @@ $ run :generate zed-tasks
629
629
  $ run :generate jetbrains-run-configurations
630
630
  ```
631
631
 
632
+ Pass `--stdout` to any of these to print the generated configuration to standard output instead of
633
+ writing it to disk — handy for previewing, piping, or diffing in CI. The output is the freshly
634
+ generated config (not merged with any existing file on disk) and nothing is created or modified.
635
+ For `jetbrains-run-configurations`, which produces one file per target, each block is delimited by a
636
+ `<!-- .run/<file> -->` comment when more than one is emitted.
637
+
632
638
  Skip a target from the generated configs by setting `metadata.excludeFromGenerateCommand: true`. The
633
639
  `metadata` block on `globals` and on each target is **fully open** — any property of any JSON type
634
640
  (strings, numbers, booleans, arrays, deeply-nested objects) is accepted and round-trips untouched, so
635
641
  editor extensions and CI scripts can stash arbitrary tooling-specific fields here.
636
642
 
643
+ Every file Runfile writes honors your project's [**`.editorconfig`**](https://editorconfig.org): the
644
+ output is formatted to match the settings that apply to each written path — the editor files above
645
+ (`.vscode/tasks.json`, `.zed/tasks.json`, `.run/*.run.xml`) as well as the `Runfile.json` produced by
646
+ `:init` and `:convert`. `indent_style` / `indent_size` / `tab_width` drive indentation, `end_of_line`
647
+ sets the newline sequence, `insert_final_newline` and `trim_trailing_whitespace` are applied, and
648
+ `charset = utf-8-bom` prepends a BOM. When no `.editorconfig` applies, the previous defaults are kept.
649
+
637
650
  #### Migrate in seconds
638
651
 
639
652
  ```bash
Binary file
@@ -629,11 +629,24 @@ $ run :generate zed-tasks
629
629
  $ run :generate jetbrains-run-configurations
630
630
  ```
631
631
 
632
+ Pass `--stdout` to any of these to print the generated configuration to standard output instead of
633
+ writing it to disk — handy for previewing, piping, or diffing in CI. The output is the freshly
634
+ generated config (not merged with any existing file on disk) and nothing is created or modified.
635
+ For `jetbrains-run-configurations`, which produces one file per target, each block is delimited by a
636
+ `<!-- .run/<file> -->` comment when more than one is emitted.
637
+
632
638
  Skip a target from the generated configs by setting `metadata.excludeFromGenerateCommand: true`. The
633
639
  `metadata` block on `globals` and on each target is **fully open** — any property of any JSON type
634
640
  (strings, numbers, booleans, arrays, deeply-nested objects) is accepted and round-trips untouched, so
635
641
  editor extensions and CI scripts can stash arbitrary tooling-specific fields here.
636
642
 
643
+ Every file Runfile writes honors your project's [**`.editorconfig`**](https://editorconfig.org): the
644
+ output is formatted to match the settings that apply to each written path — the editor files above
645
+ (`.vscode/tasks.json`, `.zed/tasks.json`, `.run/*.run.xml`) as well as the `Runfile.json` produced by
646
+ `:init` and `:convert`. `indent_style` / `indent_size` / `tab_width` drive indentation, `end_of_line`
647
+ sets the newline sequence, `insert_final_newline` and `trim_trailing_whitespace` are applied, and
648
+ `charset = utf-8-bom` prepends a BOM. When no `.editorconfig` applies, the previous defaults are kept.
649
+
637
650
  #### Migrate in seconds
638
651
 
639
652
  ```bash
Binary file
@@ -629,11 +629,24 @@ $ run :generate zed-tasks
629
629
  $ run :generate jetbrains-run-configurations
630
630
  ```
631
631
 
632
+ Pass `--stdout` to any of these to print the generated configuration to standard output instead of
633
+ writing it to disk — handy for previewing, piping, or diffing in CI. The output is the freshly
634
+ generated config (not merged with any existing file on disk) and nothing is created or modified.
635
+ For `jetbrains-run-configurations`, which produces one file per target, each block is delimited by a
636
+ `<!-- .run/<file> -->` comment when more than one is emitted.
637
+
632
638
  Skip a target from the generated configs by setting `metadata.excludeFromGenerateCommand: true`. The
633
639
  `metadata` block on `globals` and on each target is **fully open** — any property of any JSON type
634
640
  (strings, numbers, booleans, arrays, deeply-nested objects) is accepted and round-trips untouched, so
635
641
  editor extensions and CI scripts can stash arbitrary tooling-specific fields here.
636
642
 
643
+ Every file Runfile writes honors your project's [**`.editorconfig`**](https://editorconfig.org): the
644
+ output is formatted to match the settings that apply to each written path — the editor files above
645
+ (`.vscode/tasks.json`, `.zed/tasks.json`, `.run/*.run.xml`) as well as the `Runfile.json` produced by
646
+ `:init` and `:convert`. `indent_style` / `indent_size` / `tab_width` drive indentation, `end_of_line`
647
+ sets the newline sequence, `insert_final_newline` and `trim_trailing_whitespace` are applied, and
648
+ `charset = utf-8-bom` prepends a BOM. When no `.editorconfig` applies, the previous defaults are kept.
649
+
637
650
  #### Migrate in seconds
638
651
 
639
652
  ```bash
package/bin/linux-x64/run CHANGED
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runfile/cli",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "description": "Runfile CLI — an easy-to-use, batteries-included task runner",
5
5
  "repository": "https://github.com/Skiley/runfile",
6
6
  "homepage": "https://github.com/Skiley/runfile",