@ryanatkn/gro 0.189.0 → 0.189.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.
package/dist/args.js CHANGED
@@ -52,7 +52,9 @@ export const to_forwarded_args_by_command = (raw_rest_args = to_raw_rest_args())
52
52
  const args = argv_parse(argv);
53
53
  let command = args._.shift();
54
54
  if (!command) {
55
- throw Error(`Malformed args following a \`--\`. Expected a rest arg command: \`${argv.join(' ')}\``);
55
+ // Skip sections without a command name - these are handled by `to_implicit_forwarded_args`.
56
+ // This allows `gro run script.ts -- --help` to pass `--help` to the script.
57
+ continue;
56
58
  }
57
59
  // Gro commands get combined with their task name.
58
60
  if (command === 'gro') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryanatkn/gro",
3
- "version": "0.189.0",
3
+ "version": "0.189.1",
4
4
  "description": "task runner and toolkit extending SvelteKit",
5
5
  "motto": "generate, run, optimize",
6
6
  "glyph": "🌰",
@@ -86,16 +86,16 @@
86
86
  "@fuzdev/fuz_util": "^0.48.0",
87
87
  "@ryanatkn/eslint-config": "^0.9.0",
88
88
  "@sveltejs/adapter-static": "^3.0.10",
89
- "@sveltejs/kit": "^2.49.1",
89
+ "@sveltejs/kit": "^2.50.1",
90
90
  "@sveltejs/package": "^2.5.7",
91
- "@sveltejs/vite-plugin-svelte": "^6.2.1",
91
+ "@sveltejs/vite-plugin-svelte": "^6.2.4",
92
92
  "@types/node": "^24.10.1",
93
93
  "@webref/css": "^8.2.0",
94
94
  "esbuild": "^0.27.1",
95
95
  "eslint": "^9.39.1",
96
96
  "eslint-plugin-svelte": "^3.13.1",
97
- "svelte": "^5.45.6",
98
- "svelte-check": "^4.3.4",
97
+ "svelte": "^5.48.2",
98
+ "svelte-check": "^4.3.5",
99
99
  "typescript": "^5.9.3",
100
100
  "typescript-eslint": "^8.48.1",
101
101
  "vitest": "^4.0.15"
package/src/lib/args.ts CHANGED
@@ -57,9 +57,9 @@ export const to_forwarded_args_by_command = (
57
57
  const args = argv_parse(argv);
58
58
  let command = args._.shift();
59
59
  if (!command) {
60
- throw Error(
61
- `Malformed args following a \`--\`. Expected a rest arg command: \`${argv.join(' ')}\``,
62
- );
60
+ // Skip sections without a command name - these are handled by `to_implicit_forwarded_args`.
61
+ // This allows `gro run script.ts -- --help` to pass `--help` to the script.
62
+ continue;
63
63
  }
64
64
  // Gro commands get combined with their task name.
65
65
  if (command === 'gro') {