@runfile/cli 0.14.0 → 0.15.1

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.
@@ -17,7 +17,7 @@ $ run dev --port=4000
17
17
  "dev": {
18
18
  "description": "Starts the dev server",
19
19
  "commands": "vite",
20
- "env": { "PORT": "{{ ARGS.port ? 3000 }}" }
20
+ "env": { "PORT": "{{ ARGS.port ? '3000' }}" }
21
21
  },
22
22
  "build": {
23
23
  "description": "Type-checks and builds in parallel",
@@ -29,7 +29,7 @@ $ run dev --port=4000
29
29
  "then": "wsl --shell-type login -- vite build"
30
30
  }
31
31
  ],
32
- "envFiles": [".env", ".env.{{ ARGS.env ? development }}"],
32
+ "envFiles": [".env", ".env.{{ ARGS.env ? 'development' }}"],
33
33
  "parallel": true
34
34
  },
35
35
  "type-check": {
@@ -60,7 +60,7 @@ curl -fsSL https://github.com/Skiley/runfile/releases/latest/download/install.sh
60
60
 
61
61
  Windows (via PowerShell):
62
62
 
63
- ```bash
63
+ ```powershell
64
64
  iwr https://github.com/Skiley/runfile/releases/latest/download/install.ps1 | iex
65
65
  ```
66
66
 
@@ -254,7 +254,7 @@ and work as full substitution bodies *or* as chain segments:
254
254
  "echo deploying-{{ to_upper(ARGS.env) }}",
255
255
  "curl -H \"X-Auth: {{ base64_encode(ENV.TOKEN) }}\" ...",
256
256
  "echo {{ concat('hello-', ARGS.name, '-2026') }}",
257
- "echo {{ join(' AND ', flag-1, flag-2, ARGS.extra) }}",
257
+ "echo {{ join(' AND ', 'flag-1', 'flag-2', ARGS.extra) }}",
258
258
  // Tokenise-and-rejoin-style transforms via replace_all:
259
259
  "go test {{ replace_all(ARGS.flags, ' ', ' -tag=') }}",
260
260
  // Strip every match of a regex (here: collapse whitespace runs to a single space):
Binary file
@@ -17,7 +17,7 @@ $ run dev --port=4000
17
17
  "dev": {
18
18
  "description": "Starts the dev server",
19
19
  "commands": "vite",
20
- "env": { "PORT": "{{ ARGS.port ? 3000 }}" }
20
+ "env": { "PORT": "{{ ARGS.port ? '3000' }}" }
21
21
  },
22
22
  "build": {
23
23
  "description": "Type-checks and builds in parallel",
@@ -29,7 +29,7 @@ $ run dev --port=4000
29
29
  "then": "wsl --shell-type login -- vite build"
30
30
  }
31
31
  ],
32
- "envFiles": [".env", ".env.{{ ARGS.env ? development }}"],
32
+ "envFiles": [".env", ".env.{{ ARGS.env ? 'development' }}"],
33
33
  "parallel": true
34
34
  },
35
35
  "type-check": {
@@ -60,7 +60,7 @@ curl -fsSL https://github.com/Skiley/runfile/releases/latest/download/install.sh
60
60
 
61
61
  Windows (via PowerShell):
62
62
 
63
- ```bash
63
+ ```powershell
64
64
  iwr https://github.com/Skiley/runfile/releases/latest/download/install.ps1 | iex
65
65
  ```
66
66
 
@@ -254,7 +254,7 @@ and work as full substitution bodies *or* as chain segments:
254
254
  "echo deploying-{{ to_upper(ARGS.env) }}",
255
255
  "curl -H \"X-Auth: {{ base64_encode(ENV.TOKEN) }}\" ...",
256
256
  "echo {{ concat('hello-', ARGS.name, '-2026') }}",
257
- "echo {{ join(' AND ', flag-1, flag-2, ARGS.extra) }}",
257
+ "echo {{ join(' AND ', 'flag-1', 'flag-2', ARGS.extra) }}",
258
258
  // Tokenise-and-rejoin-style transforms via replace_all:
259
259
  "go test {{ replace_all(ARGS.flags, ' ', ' -tag=') }}",
260
260
  // Strip every match of a regex (here: collapse whitespace runs to a single space):
Binary file
@@ -17,7 +17,7 @@ $ run dev --port=4000
17
17
  "dev": {
18
18
  "description": "Starts the dev server",
19
19
  "commands": "vite",
20
- "env": { "PORT": "{{ ARGS.port ? 3000 }}" }
20
+ "env": { "PORT": "{{ ARGS.port ? '3000' }}" }
21
21
  },
22
22
  "build": {
23
23
  "description": "Type-checks and builds in parallel",
@@ -29,7 +29,7 @@ $ run dev --port=4000
29
29
  "then": "wsl --shell-type login -- vite build"
30
30
  }
31
31
  ],
32
- "envFiles": [".env", ".env.{{ ARGS.env ? development }}"],
32
+ "envFiles": [".env", ".env.{{ ARGS.env ? 'development' }}"],
33
33
  "parallel": true
34
34
  },
35
35
  "type-check": {
@@ -60,7 +60,7 @@ curl -fsSL https://github.com/Skiley/runfile/releases/latest/download/install.sh
60
60
 
61
61
  Windows (via PowerShell):
62
62
 
63
- ```bash
63
+ ```powershell
64
64
  iwr https://github.com/Skiley/runfile/releases/latest/download/install.ps1 | iex
65
65
  ```
66
66
 
@@ -254,7 +254,7 @@ and work as full substitution bodies *or* as chain segments:
254
254
  "echo deploying-{{ to_upper(ARGS.env) }}",
255
255
  "curl -H \"X-Auth: {{ base64_encode(ENV.TOKEN) }}\" ...",
256
256
  "echo {{ concat('hello-', ARGS.name, '-2026') }}",
257
- "echo {{ join(' AND ', flag-1, flag-2, ARGS.extra) }}",
257
+ "echo {{ join(' AND ', 'flag-1', 'flag-2', ARGS.extra) }}",
258
258
  // Tokenise-and-rejoin-style transforms via replace_all:
259
259
  "go test {{ replace_all(ARGS.flags, ' ', ' -tag=') }}",
260
260
  // Strip every match of a regex (here: collapse whitespace runs to a single space):
Binary file
@@ -17,7 +17,7 @@ $ run dev --port=4000
17
17
  "dev": {
18
18
  "description": "Starts the dev server",
19
19
  "commands": "vite",
20
- "env": { "PORT": "{{ ARGS.port ? 3000 }}" }
20
+ "env": { "PORT": "{{ ARGS.port ? '3000' }}" }
21
21
  },
22
22
  "build": {
23
23
  "description": "Type-checks and builds in parallel",
@@ -29,7 +29,7 @@ $ run dev --port=4000
29
29
  "then": "wsl --shell-type login -- vite build"
30
30
  }
31
31
  ],
32
- "envFiles": [".env", ".env.{{ ARGS.env ? development }}"],
32
+ "envFiles": [".env", ".env.{{ ARGS.env ? 'development' }}"],
33
33
  "parallel": true
34
34
  },
35
35
  "type-check": {
@@ -60,7 +60,7 @@ curl -fsSL https://github.com/Skiley/runfile/releases/latest/download/install.sh
60
60
 
61
61
  Windows (via PowerShell):
62
62
 
63
- ```bash
63
+ ```powershell
64
64
  iwr https://github.com/Skiley/runfile/releases/latest/download/install.ps1 | iex
65
65
  ```
66
66
 
@@ -254,7 +254,7 @@ and work as full substitution bodies *or* as chain segments:
254
254
  "echo deploying-{{ to_upper(ARGS.env) }}",
255
255
  "curl -H \"X-Auth: {{ base64_encode(ENV.TOKEN) }}\" ...",
256
256
  "echo {{ concat('hello-', ARGS.name, '-2026') }}",
257
- "echo {{ join(' AND ', flag-1, flag-2, ARGS.extra) }}",
257
+ "echo {{ join(' AND ', 'flag-1', 'flag-2', ARGS.extra) }}",
258
258
  // Tokenise-and-rejoin-style transforms via replace_all:
259
259
  "go test {{ replace_all(ARGS.flags, ' ', ' -tag=') }}",
260
260
  // Strip every match of a regex (here: collapse whitespace runs to a single space):
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.14.0",
3
+ "version": "0.15.1",
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",