@ryanatkn/gro 0.154.0 → 0.156.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.
Files changed (196) hide show
  1. package/dist/build.task.d.ts +1 -1
  2. package/dist/build.task.js +2 -2
  3. package/dist/changelog.js +1 -1
  4. package/dist/changeset.task.d.ts +1 -1
  5. package/dist/changeset.task.js +6 -6
  6. package/dist/check.task.d.ts +1 -1
  7. package/dist/check.task.js +3 -3
  8. package/dist/clean.task.d.ts +1 -1
  9. package/dist/clean.task.js +2 -2
  10. package/dist/clean_fs.js +2 -2
  11. package/dist/cli.d.ts +1 -1
  12. package/dist/cli.js +2 -2
  13. package/dist/commit.task.d.ts +1 -1
  14. package/dist/commit.task.js +1 -1
  15. package/dist/constants.d.ts +0 -1
  16. package/dist/constants.d.ts.map +1 -1
  17. package/dist/constants.js +0 -1
  18. package/dist/deploy.task.d.ts +1 -1
  19. package/dist/deploy.task.js +5 -5
  20. package/dist/dev.task.d.ts +2 -2
  21. package/dist/dev.task.js +2 -2
  22. package/dist/esbuild_helpers.d.ts +1 -1
  23. package/dist/esbuild_helpers.d.ts.map +1 -1
  24. package/dist/esbuild_helpers.js +1 -2
  25. package/dist/esbuild_plugin_external_worker.d.ts +1 -1
  26. package/dist/esbuild_plugin_external_worker.js +7 -7
  27. package/dist/esbuild_plugin_svelte.d.ts +1 -1
  28. package/dist/esbuild_plugin_svelte.js +4 -4
  29. package/dist/esbuild_plugin_sveltekit_local_imports.js +2 -2
  30. package/dist/esbuild_plugin_sveltekit_shim_app.d.ts +1 -1
  31. package/dist/esbuild_plugin_sveltekit_shim_app.js +2 -2
  32. package/dist/esbuild_plugin_sveltekit_shim_env.js +3 -3
  33. package/dist/filer.d.ts +3 -3
  34. package/dist/filer.js +6 -6
  35. package/dist/format.task.d.ts +1 -1
  36. package/dist/format.task.js +3 -3
  37. package/dist/format_directory.d.ts +1 -1
  38. package/dist/format_directory.js +5 -5
  39. package/dist/format_file.js +1 -1
  40. package/dist/gen.d.ts +5 -5
  41. package/dist/gen.js +4 -4
  42. package/dist/gen.task.d.ts +1 -1
  43. package/dist/gen.task.js +8 -8
  44. package/dist/git.js +1 -1
  45. package/dist/gro.config.default.d.ts +1 -1
  46. package/dist/gro.config.default.js +16 -8
  47. package/dist/gro.d.ts +1 -1
  48. package/dist/gro.js +3 -2
  49. package/dist/gro_config.d.ts +4 -4
  50. package/dist/gro_config.js +12 -4
  51. package/dist/gro_helpers.d.ts.map +1 -1
  52. package/dist/gro_helpers.js +5 -2
  53. package/dist/gro_plugin_gen.d.ts +2 -2
  54. package/dist/gro_plugin_gen.js +4 -4
  55. package/dist/gro_plugin_server.d.ts +1 -1
  56. package/dist/gro_plugin_server.js +11 -11
  57. package/dist/gro_plugin_sveltekit_app.d.ts +3 -3
  58. package/dist/gro_plugin_sveltekit_app.js +10 -10
  59. package/dist/gro_plugin_sveltekit_library.d.ts +2 -2
  60. package/dist/gro_plugin_sveltekit_library.js +3 -3
  61. package/dist/index.d.ts +4 -4
  62. package/dist/index.js +2 -2
  63. package/dist/input_path.d.ts +1 -1
  64. package/dist/input_path.js +3 -3
  65. package/dist/invoke.js +4 -4
  66. package/dist/invoke_task.d.ts +4 -4
  67. package/dist/invoke_task.js +7 -7
  68. package/dist/lint.task.d.ts +1 -1
  69. package/dist/lint.task.js +3 -3
  70. package/dist/loader.d.ts.map +1 -1
  71. package/dist/loader.js +70 -47
  72. package/dist/module.js +2 -2
  73. package/dist/modules.d.ts +2 -2
  74. package/dist/modules.js +10 -2
  75. package/dist/package.d.ts +1 -0
  76. package/dist/package.d.ts.map +1 -1
  77. package/dist/package.gen.d.ts +1 -1
  78. package/dist/package.gen.js +5 -5
  79. package/dist/package.js +6 -6
  80. package/dist/package_json.js +5 -5
  81. package/dist/package_meta.d.ts +2 -2
  82. package/dist/package_meta.js +1 -1
  83. package/dist/parse_imports.d.ts +1 -1
  84. package/dist/parse_imports.js +2 -2
  85. package/dist/paths.d.ts +1 -1
  86. package/dist/paths.js +2 -2
  87. package/dist/plugin.d.ts +3 -3
  88. package/dist/plugin.d.ts.map +1 -1
  89. package/dist/publish.task.d.ts +1 -1
  90. package/dist/publish.task.js +8 -8
  91. package/dist/reinstall.task.d.ts +1 -1
  92. package/dist/reinstall.task.js +2 -2
  93. package/dist/release.task.d.ts +1 -1
  94. package/dist/release.task.js +2 -2
  95. package/dist/resolve.task.d.ts +1 -1
  96. package/dist/resolve.task.js +2 -2
  97. package/dist/resolve_specifier.d.ts +1 -1
  98. package/dist/resolve_specifier.js +1 -1
  99. package/dist/run.task.d.ts +1 -1
  100. package/dist/run.task.js +2 -2
  101. package/dist/run_gen.d.ts +3 -3
  102. package/dist/run_gen.js +3 -3
  103. package/dist/run_task.d.ts +5 -5
  104. package/dist/run_task.js +4 -4
  105. package/dist/search_fs.d.ts +1 -1
  106. package/dist/src_json.d.ts +1 -1
  107. package/dist/src_json.js +2 -2
  108. package/dist/svelte_config.js +10 -2
  109. package/dist/sveltekit_helpers.d.ts +3 -3
  110. package/dist/sveltekit_helpers.js +6 -6
  111. package/dist/sveltekit_shim_app.d.ts +1 -1
  112. package/dist/sveltekit_shim_app_state.js +1 -1
  113. package/dist/sveltekit_shim_env.js +1 -1
  114. package/dist/sync.task.d.ts +1 -1
  115. package/dist/sync.task.js +3 -3
  116. package/dist/task.d.ts +7 -7
  117. package/dist/task.js +4 -4
  118. package/dist/task_logging.d.ts +1 -1
  119. package/dist/task_logging.js +1 -1
  120. package/dist/test.task.d.ts +1 -1
  121. package/dist/test.task.js +3 -3
  122. package/dist/typecheck.task.d.ts +1 -1
  123. package/dist/typecheck.task.js +6 -6
  124. package/dist/upgrade.task.d.ts +1 -1
  125. package/dist/upgrade.task.js +6 -6
  126. package/dist/watch_dir.d.ts +1 -1
  127. package/package.json +5 -4
  128. package/src/lib/build.task.ts +3 -3
  129. package/src/lib/changelog.ts +1 -1
  130. package/src/lib/changeset.task.ts +6 -6
  131. package/src/lib/check.task.ts +3 -3
  132. package/src/lib/clean.task.ts +3 -3
  133. package/src/lib/clean_fs.ts +2 -2
  134. package/src/lib/cli.ts +3 -3
  135. package/src/lib/commit.task.ts +2 -2
  136. package/src/lib/constants.ts +0 -1
  137. package/src/lib/deploy.task.ts +5 -5
  138. package/src/lib/dev.task.ts +3 -3
  139. package/src/lib/esbuild_helpers.ts +2 -3
  140. package/src/lib/esbuild_plugin_external_worker.ts +9 -9
  141. package/src/lib/esbuild_plugin_svelte.ts +4 -4
  142. package/src/lib/esbuild_plugin_sveltekit_local_imports.ts +2 -2
  143. package/src/lib/esbuild_plugin_sveltekit_shim_app.ts +3 -3
  144. package/src/lib/esbuild_plugin_sveltekit_shim_env.ts +3 -3
  145. package/src/lib/filer.ts +8 -8
  146. package/src/lib/format.task.ts +3 -3
  147. package/src/lib/format_directory.ts +5 -5
  148. package/src/lib/format_file.ts +1 -1
  149. package/src/lib/gen.task.ts +8 -8
  150. package/src/lib/gen.ts +7 -7
  151. package/src/lib/git.ts +1 -1
  152. package/src/lib/gro.config.default.ts +8 -8
  153. package/src/lib/gro.ts +4 -2
  154. package/src/lib/gro_config.ts +7 -7
  155. package/src/lib/gro_helpers.ts +5 -2
  156. package/src/lib/gro_plugin_gen.ts +6 -6
  157. package/src/lib/gro_plugin_server.ts +13 -13
  158. package/src/lib/gro_plugin_sveltekit_app.ts +11 -11
  159. package/src/lib/gro_plugin_sveltekit_library.ts +4 -4
  160. package/src/lib/index.ts +4 -4
  161. package/src/lib/input_path.ts +4 -4
  162. package/src/lib/invoke.ts +4 -4
  163. package/src/lib/invoke_task.ts +8 -8
  164. package/src/lib/lint.task.ts +3 -3
  165. package/src/lib/loader.ts +75 -64
  166. package/src/lib/module.ts +2 -2
  167. package/src/lib/modules.ts +3 -3
  168. package/src/lib/package.gen.ts +6 -6
  169. package/src/lib/package.ts +8 -8
  170. package/src/lib/package_json.ts +5 -5
  171. package/src/lib/package_meta.ts +3 -3
  172. package/src/lib/parse_imports.ts +3 -3
  173. package/src/lib/paths.ts +3 -3
  174. package/src/lib/plugin.ts +8 -5
  175. package/src/lib/publish.task.ts +8 -8
  176. package/src/lib/reinstall.task.ts +2 -2
  177. package/src/lib/release.task.ts +3 -3
  178. package/src/lib/resolve.task.ts +2 -2
  179. package/src/lib/resolve_specifier.ts +2 -2
  180. package/src/lib/run.task.ts +2 -2
  181. package/src/lib/run_gen.ts +5 -5
  182. package/src/lib/run_task.ts +7 -7
  183. package/src/lib/search_fs.ts +1 -1
  184. package/src/lib/src_json.ts +2 -2
  185. package/src/lib/svelte_config.ts +1 -1
  186. package/src/lib/sveltekit_helpers.ts +6 -6
  187. package/src/lib/sveltekit_shim_app.ts +1 -1
  188. package/src/lib/sveltekit_shim_app_state.ts +1 -1
  189. package/src/lib/sveltekit_shim_env.ts +1 -1
  190. package/src/lib/sync.task.ts +3 -3
  191. package/src/lib/task.ts +9 -9
  192. package/src/lib/task_logging.ts +3 -3
  193. package/src/lib/test.task.ts +3 -3
  194. package/src/lib/typecheck.task.ts +6 -6
  195. package/src/lib/upgrade.task.ts +6 -6
  196. package/src/lib/watch_dir.ts +1 -1
package/dist/package.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // generated by src/lib/package.gen.ts
2
2
  export const package_json = {
3
3
  name: '@ryanatkn/gro',
4
- version: '0.154.0',
4
+ version: '0.156.0',
5
5
  description: 'task runner and toolkit extending SvelteKit',
6
6
  motto: 'generate, run, optimize',
7
7
  glyph: '🌰',
@@ -25,7 +25,7 @@ export const package_json = {
25
25
  deploy: 'gro deploy',
26
26
  },
27
27
  type: 'module',
28
- engines: { node: '>=22.11' },
28
+ engines: { node: '>=22.15' },
29
29
  bin: { gro: 'dist/gro.js' },
30
30
  keywords: [
31
31
  'web',
@@ -47,6 +47,7 @@ export const package_json = {
47
47
  'oxc-parser': '^0.67.0',
48
48
  prettier: '^3.5.3',
49
49
  'prettier-plugin-svelte': '^3.3.3',
50
+ 'ts-blank-space': '^0.6.1',
50
51
  'ts-morph': '^25.0.1',
51
52
  tslib: '^2.8.1',
52
53
  zod: '^3.24.3',
@@ -56,7 +57,7 @@ export const package_json = {
56
57
  '@changesets/changelog-git': '^0.2.1',
57
58
  '@changesets/types': '^6.1.0',
58
59
  '@ryanatkn/eslint-config': '^0.8.0',
59
- '@ryanatkn/fuz': '^0.140.0',
60
+ '@ryanatkn/fuz': '^0.141.1',
60
61
  '@ryanatkn/moss': '^0.28.0',
61
62
  '@sveltejs/adapter-static': '^3.0.8',
62
63
  '@sveltejs/kit': '^2.20.8',
@@ -72,7 +73,7 @@ export const package_json = {
72
73
  'typescript-eslint': '^8.31.1',
73
74
  uvu: '^0.5.6',
74
75
  },
75
- optionalDependencies: { '@ryanatkn/moss': '^0.28.0' },
76
+ optionalDependencies: { '@ryanatkn/moss': '>=0.27.0 <0.29.0' },
76
77
  prettier: {
77
78
  plugins: ['prettier-plugin-svelte'],
78
79
  useTabs: true,
@@ -257,7 +258,7 @@ export const package_json = {
257
258
  };
258
259
  export const src_json = {
259
260
  name: '@ryanatkn/gro',
260
- version: '0.154.0',
261
+ version: '0.156.0',
261
262
  modules: {
262
263
  '.': {
263
264
  path: 'index.ts',
@@ -385,7 +386,6 @@ export const src_json = {
385
386
  { name: 'TSCONFIG_FILENAME', kind: 'variable' },
386
387
  { name: 'TS_MATCHER', kind: 'variable' },
387
388
  { name: 'JS_MATCHER', kind: 'variable' },
388
- { name: 'JSON_MATCHER', kind: 'variable' },
389
389
  { name: 'SVELTE_SCRIPT_MATCHER', kind: 'variable' },
390
390
  { name: 'EVERYTHING_MATCHER', kind: 'variable' },
391
391
  { name: 'JS_CLI_DEFAULT', kind: 'variable' },
@@ -3,11 +3,11 @@ import { join } from 'node:path';
3
3
  import { readFileSync, writeFileSync } from 'node:fs';
4
4
  import { count_graphemes, plural, strip_end } from '@ryanatkn/belt/string.js';
5
5
  import { styleText as st } from 'node:util';
6
- import { paths, gro_paths, IS_THIS_GRO, replace_extension } from './paths.js';
7
- import { SVELTEKIT_DIST_DIRNAME } from './constants.js';
8
- import { search_fs } from './search_fs.js';
9
- import { has_sveltekit_library } from './sveltekit_helpers.js';
10
- import { GITHUB_REPO_MATCHER } from './github.js';
6
+ import { paths, gro_paths, IS_THIS_GRO, replace_extension } from "./paths.js";
7
+ import { SVELTEKIT_DIST_DIRNAME } from "./constants.js";
8
+ import { search_fs } from "./search_fs.js";
9
+ import { has_sveltekit_library } from "./sveltekit_helpers.js";
10
+ import { GITHUB_REPO_MATCHER } from "./github.js";
11
11
  // TODO @many belongs elsewhere
12
12
  export const Url = z.string();
13
13
  // TODO @many belongs elsewhere
@@ -1,5 +1,5 @@
1
- import type { Package_Json, Url } from './package_json.js';
2
- import type { Src_Json } from './src_json.js';
1
+ import type { Package_Json, Url } from './package_json.ts';
2
+ import type { Src_Json } from './src_json.ts';
3
3
  export interface Package_Meta {
4
4
  repo_url: Url;
5
5
  package_json: Package_Json;
@@ -13,7 +13,7 @@ export const parse_package_meta = (package_json, src_json) => {
13
13
  : package_json.repository.url
14
14
  : null);
15
15
  if (!repo_url) {
16
- throw new Error('failed to parse package_meta - `repo_url` is required in package_json');
16
+ throw Error('failed to parse package_meta - `repo_url` is required in package_json');
17
17
  }
18
18
  const homepage_url = package_json.homepage ?? null;
19
19
  const published = !package_json.private && !!package_json.exports && package_json.version !== '0.0.1';
@@ -1,5 +1,5 @@
1
1
  import type { Flavored } from '@ryanatkn/belt/types.js';
2
- import type { Path_Id } from './path.js';
2
+ import type { Path_Id } from './path.ts';
3
3
  export type Import_Specifier = Flavored<string, 'Import_Specifier'>;
4
4
  export declare const parse_imports: (id: Path_Id, contents: string, ignore_types?: boolean) => Array<Import_Specifier>;
5
5
  //# sourceMappingURL=parse_imports.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { parseSync } from 'oxc-parser';
2
2
  import { Unreachable_Error } from '@ryanatkn/belt/error.js';
3
- import { SVELTE_MATCHER } from './svelte_helpers.js';
4
- import { JS_MATCHER, TS_MATCHER, SVELTE_SCRIPT_MATCHER } from './constants.js';
3
+ import { SVELTE_MATCHER } from "./svelte_helpers.js";
4
+ import { JS_MATCHER, TS_MATCHER, SVELTE_SCRIPT_MATCHER } from "./constants.js";
5
5
  // TODO this is probably way more complicated that it should be, maybe report the issues upstream unless I made a mistake here
6
6
  /**
7
7
  * Extracts the string value from a module request, handling different quote styles.
package/dist/paths.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Path_Id } from './path.js';
1
+ import type { Path_Id } from './path.ts';
2
2
  export declare const LIB_DIRNAME: string;
3
3
  export declare const LIB_PATH: string;
4
4
  export declare const LIB_DIR: string;
package/dist/paths.js CHANGED
@@ -2,8 +2,8 @@ import { join, extname, relative, basename } from 'node:path';
2
2
  import { fileURLToPath } from 'node:url';
3
3
  import { strip_end } from '@ryanatkn/belt/string.js';
4
4
  import { styleText as st } from 'node:util';
5
- import { GRO_CONFIG_PATH, GRO_DEV_DIR, GRO_DIR, SOURCE_DIR, SVELTEKIT_DIST_DIRNAME, } from './constants.js';
6
- import { default_svelte_config } from './svelte_config.js';
5
+ import { GRO_CONFIG_PATH, GRO_DEV_DIR, GRO_DIR, SOURCE_DIR, SVELTEKIT_DIST_DIRNAME, } from "./constants.js";
6
+ import { default_svelte_config } from "./svelte_config.js";
7
7
  /*
8
8
 
9
9
  A path `id` is an absolute path to the source/.gro/dist directory.
package/dist/plugin.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Task_Context } from './task.js';
1
+ import type { Task_Context } from './task.ts';
2
2
  /**
3
3
  * Gro `Plugin`s enable custom behavior during `gro dev` and `gro build`.
4
4
  * In contrast, `Adapter`s use the results of `gro build` to produce final artifacts.
@@ -16,8 +16,8 @@ export interface Plugin_Context<T_Args = object> extends Task_Context<T_Args> {
16
16
  }
17
17
  /** See `Plugins.create` for a usage example. */
18
18
  export declare class Plugins<T_Plugin_Context extends Plugin_Context> {
19
- private ctx;
20
- private instances;
19
+ readonly ctx: T_Plugin_Context;
20
+ readonly instances: Array<Plugin<T_Plugin_Context>>;
21
21
  constructor(ctx: T_Plugin_Context, instances: Array<Plugin>);
22
22
  static create<T_Plugin_Context extends Plugin_Context>(ctx: T_Plugin_Context): Promise<Plugins<T_Plugin_Context>>;
23
23
  setup(): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,WAAW,CAAC;AAE5C;;;GAGG;AACH,MAAM,WAAW,MAAM,CAAC,gBAAgB,SAAS,cAAc,GAAG,cAAc;IAC/E,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3D;AAED,MAAM,MAAM,qBAAqB,CAAC,gBAAgB,SAAS,cAAc,GAAG,cAAc,IAAI,CAC7F,GAAG,EAAE,gBAAgB,KACjB,KAAK,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAEhF,MAAM,WAAW,cAAc,CAAC,MAAM,GAAG,MAAM,CAAE,SAAQ,YAAY,CAAC,MAAM,CAAC;IAC5E,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CACf;AAED,gDAAgD;AAChD,qBAAa,OAAO,CAAC,gBAAgB,SAAS,cAAc;IAE1D,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,SAAS;gBADT,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;WAGpB,MAAM,CAAC,gBAAgB,SAAS,cAAc,EAC1D,GAAG,EAAE,gBAAgB,GACnB,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAS/B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAetB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAatB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;CAc/B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GAC1B,SAAS,KAAK,CAAC,MAAM,CAAC,EACtB,YAAY,MAAM,EAClB,aAAsB,KACpB,KAAK,CAAC,MAAM,CAMd,CAAC"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,WAAW,CAAC;AAE5C;;;GAGG;AACH,MAAM,WAAW,MAAM,CAAC,gBAAgB,SAAS,cAAc,GAAG,cAAc;IAC/E,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3D;AAED,MAAM,MAAM,qBAAqB,CAAC,gBAAgB,SAAS,cAAc,GAAG,cAAc,IAAI,CAC7F,GAAG,EAAE,gBAAgB,KACjB,KAAK,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAEhF,MAAM,WAAW,cAAc,CAAC,MAAM,GAAG,MAAM,CAAE,SAAQ,YAAY,CAAC,MAAM,CAAC;IAC5E,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CACf;AAED,gDAAgD;AAChD,qBAAa,OAAO,CAAC,gBAAgB,SAAS,cAAc;IAC3D,QAAQ,CAAC,GAAG,EAAE,gBAAgB,CAAC;IAC/B,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC;gBAExC,GAAG,EAAE,gBAAgB,EAAE,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;WAK9C,MAAM,CAAC,gBAAgB,SAAS,cAAc,EAC1D,GAAG,EAAE,gBAAgB,GACnB,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAS/B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAetB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAatB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;CAc/B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GAC1B,SAAS,KAAK,CAAC,MAAM,CAAC,EACtB,YAAY,MAAM,EAClB,aAAsB,KACpB,KAAK,CAAC,MAAM,CAMd,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type Task } from './task.js';
2
+ import { type Task } from './task.ts';
3
3
  export declare const Args: z.ZodObject<{
4
4
  branch: z.ZodDefault<z.ZodString>;
5
5
  origin: z.ZodDefault<z.ZodString>;
@@ -2,14 +2,14 @@ import { spawn } from '@ryanatkn/belt/process.js';
2
2
  import { z } from 'zod';
3
3
  import { styleText as st } from 'node:util';
4
4
  import { existsSync } from 'node:fs';
5
- import { Task_Error } from './task.js';
6
- import { load_package_json, parse_repo_url } from './package_json.js';
7
- import { find_cli, spawn_cli } from './cli.js';
8
- import { has_sveltekit_library } from './sveltekit_helpers.js';
9
- import { update_changelog } from './changelog.js';
10
- import { load_from_env } from './env.js';
11
- import { Git_Branch, Git_Origin, git_check_clean_workspace, git_checkout, git_fetch, git_pull, } from './git.js';
12
- import { CHANGESET_CLI } from './changeset_helpers.js';
5
+ import { Task_Error } from "./task.js";
6
+ import { load_package_json, parse_repo_url } from "./package_json.js";
7
+ import { find_cli, spawn_cli } from "./cli.js";
8
+ import { has_sveltekit_library } from "./sveltekit_helpers.js";
9
+ import { update_changelog } from "./changelog.js";
10
+ import { load_from_env } from "./env.js";
11
+ import { Git_Branch, Git_Origin, git_check_clean_workspace, git_checkout, git_fetch, git_pull, } from "./git.js";
12
+ import { CHANGESET_CLI } from "./changeset_helpers.js";
13
13
  export const Args = z
14
14
  .object({
15
15
  branch: Git_Branch.describe('branch to publish from').default('main'),
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type Task } from './task.js';
2
+ import { type Task } from './task.ts';
3
3
  export declare const Args: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
4
4
  export type Args = z.infer<typeof Args>;
5
5
  export declare const task: Task<Args>;
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  import { spawn } from '@ryanatkn/belt/process.js';
3
3
  import { rm } from 'node:fs/promises';
4
- import { Task_Error } from './task.js';
5
- import { LOCKFILE_FILENAME, NODE_MODULES_DIRNAME } from './constants.js';
4
+ import { Task_Error } from "./task.js";
5
+ import { LOCKFILE_FILENAME, NODE_MODULES_DIRNAME } from "./constants.js";
6
6
  export const Args = z.object({}).strict();
7
7
  export const task = {
8
8
  summary: `refreshes ${LOCKFILE_FILENAME} with the latest and cleanest deps`,
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import type { Task } from './task.js';
2
+ import type { Task } from './task.ts';
3
3
  export declare const Args: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
4
4
  export type Args = z.infer<typeof Args>;
5
5
  export declare const task: Task<Args>;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { has_sveltekit_library, has_sveltekit_app } from './sveltekit_helpers.js';
3
- import { load_package_json } from './package_json.js';
2
+ import { has_sveltekit_library, has_sveltekit_app } from "./sveltekit_helpers.js";
3
+ import { load_package_json } from "./package_json.js";
4
4
  export const Args = z.object({}).strict();
5
5
  export const task = {
6
6
  summary: 'publish and deploy',
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type Task } from './task.js';
2
+ import { type Task } from './task.ts';
3
3
  export declare const Args: z.ZodObject<{
4
4
  _: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
5
5
  verbose: z.ZodDefault<z.ZodBoolean>;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { styleText as st } from 'node:util';
3
- import { TASK_FILE_SUFFIXES } from './task.js';
4
- import { resolve_input_paths, to_input_paths } from './input_path.js';
3
+ import { TASK_FILE_SUFFIXES } from "./task.js";
4
+ import { resolve_input_paths, to_input_paths } from "./input_path.js";
5
5
  export const Args = z
6
6
  .object({
7
7
  _: z.array(z.string(), { description: 'the input paths to resolve' }).default(['']),
@@ -1,4 +1,4 @@
1
- import type { Path_Id } from './path.js';
1
+ import type { Path_Id } from './path.ts';
2
2
  export interface Resolved_Specifier {
3
3
  /**
4
4
  * The resolved filesystem path for the specifier.
@@ -1,6 +1,6 @@
1
1
  import { extname, isAbsolute, join, relative } from 'node:path';
2
2
  import { existsSync } from 'node:fs';
3
- import { replace_extension } from './paths.js';
3
+ import { replace_extension } from "./paths.js";
4
4
  /**
5
5
  * Maps an import `specifier` relative to `dir`,
6
6
  * and infer the correct extension following Vite conventions.
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type Task } from './task.js';
2
+ import { type Task } from './task.ts';
3
3
  export declare const Args: z.ZodObject<{
4
4
  _: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
5
5
  }, "strict", z.ZodTypeAny, {
package/dist/run.task.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  import { styleText as st } from 'node:util';
3
3
  import { existsSync } from 'node:fs';
4
- import { Task_Error } from './task.js';
5
- import { resolve_gro_module_path, spawn_with_loader } from './gro_helpers.js';
4
+ import { Task_Error } from "./task.js";
5
+ import { resolve_gro_module_path, spawn_with_loader } from "./gro_helpers.js";
6
6
  export const Args = z
7
7
  .object({
8
8
  _: z
package/dist/run_gen.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import type { Timings } from '@ryanatkn/belt/timings.js';
2
2
  import type { Logger } from '@ryanatkn/belt/log.js';
3
- import { type Gen_Results, type Genfile_Module_Meta } from './gen.js';
4
- import type { format_file as base_format_file } from './format_file.js';
5
- import type { Gro_Config } from './gro_config.js';
3
+ import { type Gen_Results, type Genfile_Module_Meta } from './gen.ts';
4
+ import type { format_file as base_format_file } from './format_file.ts';
5
+ import type { Gro_Config } from './gro_config.ts';
6
6
  export declare const GEN_NO_PROD_MESSAGE = "gen runs only during development";
7
7
  export declare const run_gen: (gen_modules: Array<Genfile_Module_Meta>, config: Gro_Config, log: Logger, timings: Timings, format_file?: typeof base_format_file) => Promise<Gen_Results>;
8
8
  //# sourceMappingURL=run_gen.d.ts.map
package/dist/run_gen.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { styleText as st } from 'node:util';
2
2
  import { print_error } from '@ryanatkn/belt/print.js';
3
- import { to_gen_result, } from './gen.js';
4
- import { print_path, to_root_path } from './paths.js';
5
- import { default_svelte_config } from './svelte_config.js';
3
+ import { to_gen_result, } from "./gen.js";
4
+ import { print_path, to_root_path } from "./paths.js";
5
+ import { default_svelte_config } from "./svelte_config.js";
6
6
  export const GEN_NO_PROD_MESSAGE = 'gen runs only during development';
7
7
  export const run_gen = async (gen_modules, config, log, timings, format_file) => {
8
8
  let input_count = 0;
@@ -1,9 +1,9 @@
1
1
  import type { Timings } from '@ryanatkn/belt/timings.js';
2
- import { type Args } from './args.js';
3
- import type { invoke_task as base_invoke_task } from './invoke_task.js';
4
- import type { Gro_Config } from './gro_config.js';
5
- import { type Task_Module_Meta } from './task.js';
6
- import type { Filer } from './filer.js';
2
+ import { type Args } from './args.ts';
3
+ import type { invoke_task as base_invoke_task } from './invoke_task.ts';
4
+ import type { Gro_Config } from './gro_config.ts';
5
+ import { type Task_Module_Meta } from './task.ts';
6
+ import type { Filer } from './filer.ts';
7
7
  export type Run_Task_Result = {
8
8
  ok: true;
9
9
  output: unknown;
package/dist/run_task.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { styleText as st } from 'node:util';
2
2
  import { print_log_label } from '@ryanatkn/belt/print.js';
3
3
  import { System_Logger } from '@ryanatkn/belt/log.js';
4
- import { parse_args } from './args.js';
5
- import { log_task_help } from './task_logging.js';
6
- import { Task_Error } from './task.js';
7
- import { default_svelte_config } from './svelte_config.js';
4
+ import { parse_args } from "./args.js";
5
+ import { log_task_help } from "./task_logging.js";
6
+ import { Task_Error } from "./task.js";
7
+ import { default_svelte_config } from "./svelte_config.js";
8
8
  export const run_task = async (task_meta, unparsed_args, invoke_task, config, filer, timings) => {
9
9
  const { task } = task_meta.mod;
10
10
  const log = new System_Logger(print_log_label(task_meta.name));
@@ -1,4 +1,4 @@
1
- import type { File_Filter, Resolved_Path, Path_Filter } from './path.js';
1
+ import type { File_Filter, Resolved_Path, Path_Filter } from './path.ts';
2
2
  export interface Search_Fs_Options {
3
3
  /**
4
4
  * One or more filter functions, any of which can short-circuit the search by returning `false`.
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type Package_Json, type Package_Json_Exports } from './package_json.js';
2
+ import { type Package_Json, type Package_Json_Exports } from './package_json.ts';
3
3
  export declare const Src_Module_Declaration: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  kind: z.ZodNullable<z.ZodEnum<["type", "function", "variable", "class"]>>;
package/dist/src_json.js CHANGED
@@ -3,8 +3,8 @@ import { join } from 'node:path';
3
3
  import { strip_start } from '@ryanatkn/belt/string.js';
4
4
  import { Project } from 'ts-morph';
5
5
  import { existsSync } from 'node:fs';
6
- import { paths, replace_extension } from './paths.js';
7
- import { transform_empty_object_to_undefined, } from './package_json.js';
6
+ import { paths, replace_extension } from "./paths.js";
7
+ import { transform_empty_object_to_undefined, } from "./package_json.js";
8
8
  // TODO @many rename to prefix with `Src_Json_`?
9
9
  export const Src_Module_Declaration = z
10
10
  .object({
@@ -1,6 +1,14 @@
1
+ var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) {
2
+ if (typeof path === "string" && /^\.\.?\//.test(path)) {
3
+ return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
4
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
5
+ });
6
+ }
7
+ return path;
8
+ };
1
9
  import { join } from 'node:path';
2
10
  import { EMPTY_OBJECT } from '@ryanatkn/belt/object.js';
3
- import { SVELTE_CONFIG_FILENAME } from './constants.js';
11
+ import { SVELTE_CONFIG_FILENAME } from "./constants.js";
4
12
  /*
5
13
 
6
14
  This module is intended to have minimal dependencies to avoid over-imports in the CLI.
@@ -12,7 +20,7 @@ This module is intended to have minimal dependencies to avoid over-imports in th
12
20
  */
13
21
  export const load_svelte_config = async ({ dir = process.cwd(), config_filename = SVELTE_CONFIG_FILENAME, } = EMPTY_OBJECT) => {
14
22
  try {
15
- return (await import(join(dir, config_filename))).default;
23
+ return (await import(__rewriteRelativeImportExtension(join(dir, config_filename), true))).default;
16
24
  }
17
25
  catch (_err) {
18
26
  return null;
@@ -1,8 +1,8 @@
1
1
  import type { Result } from '@ryanatkn/belt/result.js';
2
2
  import type { Logger } from '@ryanatkn/belt/log.js';
3
- import { Package_Json } from './package_json.js';
4
- import { type Parsed_Svelte_Config } from './svelte_config.js';
5
- import { type Cli } from './cli.js';
3
+ import { Package_Json } from './package_json.ts';
4
+ import { type Parsed_Svelte_Config } from './svelte_config.ts';
5
+ import { type Cli } from './cli.ts';
6
6
  export declare const SVELTEKIT_CLI = "svelte-kit";
7
7
  export declare const SVELTE_CHECK_CLI = "svelte-check";
8
8
  export declare const SVELTE_PACKAGE_CLI = "svelte-package";
@@ -1,11 +1,11 @@
1
1
  import { existsSync } from 'node:fs';
2
2
  import { join } from 'node:path';
3
- import { Package_Json, has_dep } from './package_json.js';
4
- import { default_svelte_config } from './svelte_config.js';
5
- import { SVELTE_CONFIG_FILENAME, SVELTEKIT_DEV_DIRNAME, PM_CLI_DEFAULT } from './constants.js';
6
- import { find_cli, spawn_cli, to_cli_name } from './cli.js';
7
- import { Task_Error } from './task.js';
8
- import { serialize_args, to_forwarded_args } from './args.js';
3
+ import { Package_Json, has_dep } from "./package_json.js";
4
+ import { default_svelte_config } from "./svelte_config.js";
5
+ import { SVELTE_CONFIG_FILENAME, SVELTEKIT_DEV_DIRNAME, PM_CLI_DEFAULT } from "./constants.js";
6
+ import { find_cli, spawn_cli, to_cli_name } from "./cli.js";
7
+ import { Task_Error } from "./task.js";
8
+ import { serialize_args, to_forwarded_args } from "./args.js";
9
9
  export const SVELTEKIT_CLI = 'svelte-kit';
10
10
  export const SVELTE_CHECK_CLI = 'svelte-check';
11
11
  export const SVELTE_PACKAGE_CLI = 'svelte-package';
@@ -1,4 +1,4 @@
1
- import type { Parsed_Svelte_Config } from './svelte_config.js';
1
+ import type { Parsed_Svelte_Config } from './svelte_config.ts';
2
2
  export declare const SVELTEKIT_SHIM_APP_PATHS_MATCHER: RegExp;
3
3
  export declare const SVELTEKIT_SHIM_APP_ENVIRONMENT_MATCHER: RegExp;
4
4
  /**
@@ -21,6 +21,6 @@ export const page = {
21
21
  export const updated = {
22
22
  current: false,
23
23
  check: () => {
24
- throw new Error('Can only call updated.check() in the browser');
24
+ throw Error('Can only call updated.check() in the browser');
25
25
  },
26
26
  };
@@ -1,4 +1,4 @@
1
- import { load_env } from './env.js';
1
+ import { load_env } from "./env.js";
2
2
  // TODO might want to do more escaping and validation
3
3
  /**
4
4
  * Generates a module shim for SvelteKit's `$env` imports.
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type Task } from './task.js';
2
+ import { type Task } from './task.ts';
3
3
  export declare const Args: z.ZodObject<{
4
4
  sveltekit: z.ZodDefault<z.ZodBoolean>;
5
5
  'no-sveltekit': z.ZodDefault<z.ZodBoolean>;
package/dist/sync.task.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  import { spawn } from '@ryanatkn/belt/process.js';
3
- import { Task_Error } from './task.js';
4
- import { sync_package_json } from './package_json.js';
5
- import { sveltekit_sync } from './sveltekit_helpers.js';
3
+ import { Task_Error } from "./task.js";
4
+ import { sync_package_json } from "./package_json.js";
5
+ import { sveltekit_sync } from "./sveltekit_helpers.js";
6
6
  export const Args = z
7
7
  .object({
8
8
  sveltekit: z.boolean({ description: 'dual of no-sveltekit' }).default(true),
package/dist/task.d.ts CHANGED
@@ -2,13 +2,13 @@ import type { Logger } from '@ryanatkn/belt/log.js';
2
2
  import type { z } from 'zod';
3
3
  import type { Timings } from '@ryanatkn/belt/timings.js';
4
4
  import type { Result } from '@ryanatkn/belt/result.js';
5
- import type { Args } from './args.js';
6
- import type { Path_Id } from './path.js';
7
- import type { Gro_Config } from './gro_config.js';
8
- import type { Parsed_Svelte_Config } from './svelte_config.js';
9
- import { type Input_Path, type Resolved_Input_File, type Resolved_Input_Path } from './input_path.js';
10
- import { type Load_Modules_Failure, type Module_Meta } from './modules.js';
11
- import type { Filer } from './filer.js';
5
+ import type { Args } from './args.ts';
6
+ import type { Path_Id } from './path.ts';
7
+ import type { Gro_Config } from './gro_config.ts';
8
+ import type { Parsed_Svelte_Config } from './svelte_config.ts';
9
+ import { type Input_Path, type Resolved_Input_File, type Resolved_Input_Path } from './input_path.ts';
10
+ import { type Load_Modules_Failure, type Module_Meta } from './modules.ts';
11
+ import type { Filer } from './filer.ts';
12
12
  export interface Task<T_Args = Args, // same as `z.infer<typeof Args>`
13
13
  T_Args_Schema extends z.ZodType = z.ZodType, T_Return = unknown> {
14
14
  run: (ctx: Task_Context<T_Args>) => T_Return | Promise<T_Return>;
package/dist/task.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { ensure_end, strip_end, strip_start } from '@ryanatkn/belt/string.js';
2
2
  import { styleText as st } from 'node:util';
3
3
  import { isAbsolute, join, relative } from 'node:path';
4
- import { resolve_input_files, resolve_input_paths, } from './input_path.js';
5
- import { GRO_DIST_DIR, print_path } from './paths.js';
6
- import { search_fs } from './search_fs.js';
7
- import { load_modules } from './modules.js';
4
+ import { resolve_input_files, resolve_input_paths, } from "./input_path.js";
5
+ import { GRO_DIST_DIR, print_path } from "./paths.js";
6
+ import { search_fs } from "./search_fs.js";
7
+ import { load_modules } from "./modules.js";
8
8
  export const TASK_FILE_SUFFIX_TS = '.task.ts';
9
9
  export const TASK_FILE_SUFFIX_JS = '.task.js';
10
10
  export const TASK_FILE_SUFFIXES = [TASK_FILE_SUFFIX_TS, TASK_FILE_SUFFIX_JS]; // TODO from `Gro_Config`, but needs to be used everywhere the constants are
@@ -1,5 +1,5 @@
1
1
  import type { Logger } from '@ryanatkn/belt/log.js';
2
- import type { Loaded_Tasks, Task_Module_Meta } from './task.js';
2
+ import type { Loaded_Tasks, Task_Module_Meta } from './task.ts';
3
3
  export declare const log_tasks: (log: Logger, loaded_tasks: Loaded_Tasks, log_intro?: boolean) => void;
4
4
  export declare const log_error_reasons: (log: Logger, reasons: Array<string>) => void;
5
5
  export declare const log_task_help: (log: Logger, meta: Task_Module_Meta) => void;
@@ -2,7 +2,7 @@ import { styleText as st } from 'node:util';
2
2
  import { plural } from '@ryanatkn/belt/string.js';
3
3
  import { print_value } from '@ryanatkn/belt/print.js';
4
4
  import { ZodFirstPartyTypeKind } from 'zod';
5
- import { print_path } from './paths.js';
5
+ import { print_path } from "./paths.js";
6
6
  export const log_tasks = (log, loaded_tasks, log_intro = true) => {
7
7
  const { modules, found_tasks } = loaded_tasks;
8
8
  const { resolved_input_files_by_root_dir } = found_tasks;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type Task } from './task.js';
2
+ import { type Task } from './task.ts';
3
3
  export declare const Args: z.ZodObject<{
4
4
  _: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
5
5
  bail: z.ZodDefault<z.ZodBoolean>;
package/dist/test.task.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { styleText as st } from 'node:util';
2
2
  import { z } from 'zod';
3
- import { Task_Error } from './task.js';
4
- import { paths } from './paths.js';
5
- import { find_cli } from './cli.js';
3
+ import { Task_Error } from "./task.js";
4
+ import { paths } from "./paths.js";
5
+ import { find_cli } from "./cli.js";
6
6
  export const Args = z
7
7
  .object({
8
8
  _: z.array(z.string(), { description: 'file patterns to test' }).default([`\\.test\\.ts$`]), // TODO maybe use uvu's default instead of being restrictive?
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type Task } from './task.js';
2
+ import { type Task } from './task.ts';
3
3
  export declare const Args: z.ZodObject<{
4
4
  svelte_check_cli: z.ZodDefault<z.ZodString>;
5
5
  typescript_cli: z.ZodDefault<z.ZodString>;
@@ -1,11 +1,11 @@
1
1
  import { print_spawn_result } from '@ryanatkn/belt/process.js';
2
2
  import { z } from 'zod';
3
- import { Task_Error } from './task.js';
4
- import { serialize_args, to_forwarded_args } from './args.js';
5
- import { find_cli, spawn_cli, spawn_cli_process } from './cli.js';
6
- import { SVELTE_CHECK_CLI, sveltekit_sync_if_available } from './sveltekit_helpers.js';
7
- import { configure_colored_output_with_path_replacement } from './child_process_logging.js';
8
- import { paths } from './paths.js';
3
+ import { Task_Error } from "./task.js";
4
+ import { serialize_args, to_forwarded_args } from "./args.js";
5
+ import { find_cli, spawn_cli, spawn_cli_process } from "./cli.js";
6
+ import { SVELTE_CHECK_CLI, sveltekit_sync_if_available } from "./sveltekit_helpers.js";
7
+ import { configure_colored_output_with_path_replacement } from "./child_process_logging.js";
8
+ import { paths } from "./paths.js";
9
9
  export const Args = z
10
10
  .object({
11
11
  svelte_check_cli: z
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type Task } from './task.js';
2
+ import { type Task } from './task.ts';
3
3
  export declare const Args: z.ZodObject<{
4
4
  _: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
5
5
  only: z.ZodEffects<z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, string[], string | string[] | undefined>;