@ryanatkn/gro 0.180.0 → 0.182.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.
- package/LICENSE +1 -1
- package/README.md +7 -2
- package/dist/build.task.js +2 -2
- package/dist/build_cache.d.ts +1 -1
- package/dist/build_cache.d.ts.map +1 -1
- package/dist/build_cache.js +3 -3
- package/dist/changelog.d.ts +2 -2
- package/dist/changelog.d.ts.map +1 -1
- package/dist/changeset.task.js +3 -3
- package/dist/check.task.js +2 -2
- package/dist/child_process_logging.js +1 -1
- package/dist/clean.task.js +2 -2
- package/dist/cli.d.ts +5 -5
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +4 -4
- package/dist/commit.task.js +2 -2
- package/dist/deploy.task.js +4 -4
- package/dist/disknode.d.ts +1 -1
- package/dist/disknode.d.ts.map +1 -1
- package/dist/esbuild_helpers.d.ts +1 -1
- package/dist/esbuild_helpers.d.ts.map +1 -1
- package/dist/esbuild_plugin_external_worker.d.ts +1 -1
- package/dist/esbuild_plugin_external_worker.d.ts.map +1 -1
- package/dist/esbuild_plugin_sveltekit_shim_alias.js +1 -1
- package/dist/filer.d.ts +4 -4
- package/dist/filer.d.ts.map +1 -1
- package/dist/filer.js +2 -2
- package/dist/format.task.js +1 -1
- package/dist/format_directory.d.ts +2 -2
- package/dist/format_directory.d.ts.map +1 -1
- package/dist/gen.d.ts +4 -4
- package/dist/gen.d.ts.map +1 -1
- package/dist/gen.js +2 -2
- package/dist/gen.task.js +2 -2
- package/dist/gen_helpers.d.ts +3 -3
- package/dist/gen_helpers.d.ts.map +1 -1
- package/dist/github.d.ts +2 -2
- package/dist/github.d.ts.map +1 -1
- package/dist/github.js +1 -1
- package/dist/gro.config.default.d.ts.map +1 -1
- package/dist/gro.config.default.js +1 -3
- package/dist/gro_config.d.ts +1 -1
- package/dist/gro_config.d.ts.map +1 -1
- package/dist/gro_config.js +3 -3
- package/dist/gro_helpers.d.ts +1 -1
- package/dist/gro_helpers.d.ts.map +1 -1
- package/dist/gro_helpers.js +1 -1
- package/dist/gro_plugin_gen.js +3 -3
- package/dist/gro_plugin_server.d.ts +2 -2
- package/dist/gro_plugin_server.d.ts.map +1 -1
- package/dist/gro_plugin_server.js +5 -5
- package/dist/gro_plugin_sveltekit_app.d.ts +7 -5
- package/dist/gro_plugin_sveltekit_app.d.ts.map +1 -1
- package/dist/gro_plugin_sveltekit_app.js +7 -12
- package/dist/gro_plugin_sveltekit_library.js +1 -1
- package/dist/input_path.d.ts +2 -2
- package/dist/input_path.d.ts.map +1 -1
- package/dist/input_path.js +2 -2
- package/dist/invoke.js +2 -2
- package/dist/invoke_task.d.ts +2 -2
- package/dist/invoke_task.d.ts.map +1 -1
- package/dist/invoke_task.js +3 -3
- package/dist/lint.task.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/modules.d.ts +3 -3
- package/dist/modules.d.ts.map +1 -1
- package/dist/modules.js +2 -2
- package/dist/package_json.d.ts +2 -2
- package/dist/package_json.d.ts.map +1 -1
- package/dist/package_json.js +3 -3
- package/dist/parse_exports.d.ts +4 -4
- package/dist/parse_exports.d.ts.map +1 -1
- package/dist/parse_exports_context.d.ts +1 -1
- package/dist/parse_exports_context.d.ts.map +1 -1
- package/dist/parse_imports.d.ts +2 -2
- package/dist/parse_imports.d.ts.map +1 -1
- package/dist/parse_imports.js +1 -1
- package/dist/paths.d.ts +1 -1
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +1 -1
- package/dist/publish.task.js +3 -3
- package/dist/reinstall.task.js +1 -1
- package/dist/resolve_specifier.d.ts +1 -1
- package/dist/resolve_specifier.d.ts.map +1 -1
- package/dist/resolve_specifier.js +1 -1
- package/dist/run.task.js +1 -1
- package/dist/run_gen.d.ts +2 -2
- package/dist/run_gen.d.ts.map +1 -1
- package/dist/run_gen.js +2 -2
- package/dist/run_task.d.ts +2 -2
- package/dist/run_task.d.ts.map +1 -1
- package/dist/source_json.d.ts +3 -3
- package/dist/source_json.d.ts.map +1 -1
- package/dist/source_json.js +3 -3
- package/dist/svelte_config.js +1 -1
- package/dist/sveltekit_helpers.d.ts +3 -3
- package/dist/sveltekit_helpers.d.ts.map +1 -1
- package/dist/sveltekit_helpers.js +1 -1
- package/dist/sveltekit_shim_app_forms.js +1 -1
- package/dist/sveltekit_shim_app_navigation.js +1 -1
- package/dist/sveltekit_shim_app_paths.js +1 -1
- package/dist/sync.task.js +1 -1
- package/dist/task.d.ts +4 -4
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +2 -2
- package/dist/task_logging.d.ts +1 -1
- package/dist/task_logging.d.ts.map +1 -1
- package/dist/task_logging.js +2 -2
- package/dist/typecheck.task.js +1 -1
- package/dist/upgrade.task.js +2 -2
- package/dist/watch_dir.d.ts +1 -1
- package/dist/watch_dir.d.ts.map +1 -1
- package/dist/watch_dir.js +2 -2
- package/package.json +13 -13
- package/src/lib/build.task.ts +2 -2
- package/src/lib/build_cache.ts +4 -4
- package/src/lib/changelog.ts +2 -2
- package/src/lib/changeset.task.ts +3 -3
- package/src/lib/check.task.ts +2 -2
- package/src/lib/child_process_logging.ts +1 -1
- package/src/lib/clean.task.ts +2 -2
- package/src/lib/cli.ts +7 -7
- package/src/lib/commit.task.ts +2 -2
- package/src/lib/deploy.task.ts +4 -4
- package/src/lib/disknode.ts +1 -1
- package/src/lib/esbuild_helpers.ts +1 -1
- package/src/lib/esbuild_plugin_external_worker.ts +2 -2
- package/src/lib/esbuild_plugin_sveltekit_shim_alias.ts +1 -1
- package/src/lib/filer.ts +6 -6
- package/src/lib/format.task.ts +1 -1
- package/src/lib/format_directory.ts +2 -2
- package/src/lib/gen.task.ts +2 -2
- package/src/lib/gen.ts +6 -6
- package/src/lib/gen_helpers.ts +3 -3
- package/src/lib/github.ts +2 -2
- package/src/lib/gro.config.default.ts +1 -3
- package/src/lib/gro_config.ts +4 -4
- package/src/lib/gro_helpers.ts +1 -1
- package/src/lib/gro_plugin_gen.ts +3 -3
- package/src/lib/gro_plugin_server.ts +7 -7
- package/src/lib/gro_plugin_sveltekit_app.ts +17 -18
- package/src/lib/gro_plugin_sveltekit_library.ts +1 -1
- package/src/lib/input_path.ts +4 -4
- package/src/lib/invoke.ts +2 -2
- package/src/lib/invoke_task.ts +3 -3
- package/src/lib/lint.task.ts +1 -1
- package/src/lib/loader.ts +1 -1
- package/src/lib/modules.ts +5 -5
- package/src/lib/package_json.ts +4 -4
- package/src/lib/parse_exports.ts +4 -4
- package/src/lib/parse_exports_context.ts +2 -2
- package/src/lib/parse_imports.ts +3 -3
- package/src/lib/paths.ts +2 -2
- package/src/lib/publish.task.ts +3 -3
- package/src/lib/reinstall.task.ts +1 -1
- package/src/lib/resolve_specifier.ts +2 -2
- package/src/lib/run.task.ts +1 -1
- package/src/lib/run_gen.ts +4 -4
- package/src/lib/run_task.ts +2 -2
- package/src/lib/source_json.ts +5 -5
- package/src/lib/svelte_config.ts +1 -1
- package/src/lib/sveltekit_helpers.ts +4 -4
- package/src/lib/sveltekit_shim_app_forms.ts +1 -1
- package/src/lib/sveltekit_shim_app_navigation.ts +1 -1
- package/src/lib/sveltekit_shim_app_paths.ts +1 -1
- package/src/lib/sync.task.ts +1 -1
- package/src/lib/task.ts +6 -6
- package/src/lib/task_logging.ts +3 -3
- package/src/lib/typecheck.task.ts +1 -1
- package/src/lib/upgrade.task.ts +2 -2
- package/src/lib/watch_dir.ts +3 -3
package/src/lib/invoke_task.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {styleText as st} from 'node:util';
|
|
2
|
-
import {create_stopwatch, Timings} from '@
|
|
3
|
-
import {print_ms, print_timings} from '@
|
|
4
|
-
import {Logger} from '@
|
|
2
|
+
import {create_stopwatch, Timings} from '@fuzdev/fuz_util/timings.js';
|
|
3
|
+
import {print_ms, print_timings} from '@fuzdev/fuz_util/print.js';
|
|
4
|
+
import {Logger} from '@fuzdev/fuz_util/log.js';
|
|
5
5
|
|
|
6
6
|
import {to_forwarded_args, type Args} from './args.ts';
|
|
7
7
|
import {run_task} from './run_task.ts';
|
package/src/lib/lint.task.ts
CHANGED
package/src/lib/loader.ts
CHANGED
|
@@ -2,7 +2,7 @@ import {compile, compileModule, preprocess} from 'svelte/compiler';
|
|
|
2
2
|
import {fileURLToPath, pathToFileURL} from 'node:url';
|
|
3
3
|
import {dirname, join} from 'node:path';
|
|
4
4
|
import type {LoadHook, ResolveHook} from 'node:module';
|
|
5
|
-
import {escape_regexp} from '@
|
|
5
|
+
import {escape_regexp} from '@fuzdev/fuz_util/regexp.js';
|
|
6
6
|
import {readFileSync} from 'node:fs';
|
|
7
7
|
import ts_blank_space from 'ts-blank-space';
|
|
8
8
|
|
package/src/lib/modules.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {Timings} from '@
|
|
2
|
-
import {UnreachableError} from '@
|
|
3
|
-
import type {Result} from '@
|
|
4
|
-
import {print_error} from '@
|
|
1
|
+
import type {Timings} from '@fuzdev/fuz_util/timings.js';
|
|
2
|
+
import {UnreachableError} from '@fuzdev/fuz_util/error.js';
|
|
3
|
+
import type {Result} from '@fuzdev/fuz_util/result.js';
|
|
4
|
+
import {print_error} from '@fuzdev/fuz_util/print.js';
|
|
5
5
|
import {pathToFileURL} from 'node:url';
|
|
6
|
-
import type {PathId} from '@
|
|
6
|
+
import type {PathId} from '@fuzdev/fuz_util/path.js';
|
|
7
7
|
|
|
8
8
|
import type {ResolvedInputFile} from './input_path.ts';
|
|
9
9
|
import {print_path} from './paths.ts';
|
package/src/lib/package_json.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {z} from 'zod';
|
|
2
2
|
import {join} from 'node:path';
|
|
3
3
|
import {readFile, writeFile} from 'node:fs/promises';
|
|
4
|
-
import {plural, strip_end} from '@
|
|
5
|
-
import type {Logger} from '@
|
|
4
|
+
import {plural, strip_end} from '@fuzdev/fuz_util/string.js';
|
|
5
|
+
import type {Logger} from '@fuzdev/fuz_util/log.js';
|
|
6
6
|
import {styleText as st} from 'node:util';
|
|
7
|
-
import {PackageJson, PackageJsonExports} from '@
|
|
8
|
-
import {fs_search} from '@
|
|
7
|
+
import {PackageJson, PackageJsonExports} from '@fuzdev/fuz_util/package_json.js';
|
|
8
|
+
import {fs_search} from '@fuzdev/fuz_util/fs.js';
|
|
9
9
|
|
|
10
10
|
import {paths, gro_paths, IS_THIS_GRO} from './paths.ts';
|
|
11
11
|
import {
|
package/src/lib/parse_exports.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
2
|
import {extname} from 'node:path';
|
|
3
|
-
import type {Flavored} from '@
|
|
4
|
-
import type {Logger} from '@
|
|
5
|
-
import type {DeclarationKind} from '@
|
|
6
|
-
import type {PathId} from '@
|
|
3
|
+
import type {Flavored} from '@fuzdev/fuz_util/types.js';
|
|
4
|
+
import type {Logger} from '@fuzdev/fuz_util/log.js';
|
|
5
|
+
import type {DeclarationKind} from '@fuzdev/fuz_util/source_json.js';
|
|
6
|
+
import type {PathId} from '@fuzdev/fuz_util/path.js';
|
|
7
7
|
|
|
8
8
|
import {TS_MATCHER} from './constants.ts';
|
|
9
9
|
import {ParseExportsContext} from './parse_exports_context.ts';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import type {Logger} from '@
|
|
3
|
-
import type {DeclarationKind} from '@
|
|
2
|
+
import type {Logger} from '@fuzdev/fuz_util/log.js';
|
|
3
|
+
import type {DeclarationKind} from '@fuzdev/fuz_util/source_json.js';
|
|
4
4
|
|
|
5
5
|
import type {ExportDeclaration} from './parse_exports.ts';
|
|
6
6
|
|
package/src/lib/parse_imports.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {parseSync, type ImportDeclaration} from 'oxc-parser';
|
|
2
|
-
import type {Flavored} from '@
|
|
3
|
-
import {UnreachableError} from '@
|
|
4
|
-
import type {PathId} from '@
|
|
2
|
+
import type {Flavored} from '@fuzdev/fuz_util/types.js';
|
|
3
|
+
import {UnreachableError} from '@fuzdev/fuz_util/error.js';
|
|
4
|
+
import type {PathId} from '@fuzdev/fuz_util/path.js';
|
|
5
5
|
|
|
6
6
|
import {JS_MATCHER, TS_MATCHER, SVELTE_MATCHER, SVELTE_SCRIPT_MATCHER} from './constants.ts';
|
|
7
7
|
|
package/src/lib/paths.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {join, extname, relative, basename} from 'node:path';
|
|
2
2
|
import {fileURLToPath} from 'node:url';
|
|
3
|
-
import {ensure_end, strip_end} from '@
|
|
3
|
+
import {ensure_end, strip_end} from '@fuzdev/fuz_util/string.js';
|
|
4
4
|
import {styleText as st} from 'node:util';
|
|
5
|
-
import type {PathId} from '@
|
|
5
|
+
import type {PathId} from '@fuzdev/fuz_util/path.js';
|
|
6
6
|
|
|
7
7
|
import {
|
|
8
8
|
GRO_CONFIG_FILENAME,
|
package/src/lib/publish.task.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {spawn} from '@
|
|
1
|
+
import {spawn} from '@fuzdev/fuz_util/process.js';
|
|
2
2
|
import {z} from 'zod';
|
|
3
3
|
import {styleText as st} from 'node:util';
|
|
4
|
-
import {fs_exists} from '@
|
|
4
|
+
import {fs_exists} from '@fuzdev/fuz_util/fs.js';
|
|
5
5
|
import {
|
|
6
6
|
GitBranch,
|
|
7
7
|
GitOrigin,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
git_checkout,
|
|
10
10
|
git_fetch,
|
|
11
11
|
git_pull,
|
|
12
|
-
} from '@
|
|
12
|
+
} from '@fuzdev/fuz_util/git.js';
|
|
13
13
|
|
|
14
14
|
import {TaskError, type Task} from './task.ts';
|
|
15
15
|
import {load_package_json, parse_repo_url} from './package_json.ts';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {extname, isAbsolute, join, relative} from 'node:path';
|
|
2
|
-
import {fs_exists} from '@
|
|
3
|
-
import type {PathId} from '@
|
|
2
|
+
import {fs_exists} from '@fuzdev/fuz_util/fs.js';
|
|
3
|
+
import type {PathId} from '@fuzdev/fuz_util/path.js';
|
|
4
4
|
|
|
5
5
|
import {replace_extension} from './paths.ts';
|
|
6
6
|
|
package/src/lib/run.task.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {z} from 'zod';
|
|
2
2
|
import {styleText as st} from 'node:util';
|
|
3
|
-
import {fs_exists} from '@
|
|
3
|
+
import {fs_exists} from '@fuzdev/fuz_util/fs.js';
|
|
4
4
|
|
|
5
5
|
import {TaskError, type Task} from './task.ts';
|
|
6
6
|
import {resolve_gro_module_path, spawn_with_loader} from './gro_helpers.ts';
|
package/src/lib/run_gen.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {styleText as st} from 'node:util';
|
|
2
|
-
import {print_error} from '@
|
|
3
|
-
import type {Timings} from '@
|
|
4
|
-
import type {Logger} from '@
|
|
5
|
-
import {map_concurrent} from '@
|
|
2
|
+
import {print_error} from '@fuzdev/fuz_util/print.js';
|
|
3
|
+
import type {Timings} from '@fuzdev/fuz_util/timings.js';
|
|
4
|
+
import type {Logger} from '@fuzdev/fuz_util/log.js';
|
|
5
|
+
import {map_concurrent} from '@fuzdev/fuz_util/async.js';
|
|
6
6
|
|
|
7
7
|
import {
|
|
8
8
|
type GenResults,
|
package/src/lib/run_task.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {styleText as st} from 'node:util';
|
|
2
|
-
import type {Timings} from '@
|
|
3
|
-
import type {Logger} from '@
|
|
2
|
+
import type {Timings} from '@fuzdev/fuz_util/timings.js';
|
|
3
|
+
import type {Logger} from '@fuzdev/fuz_util/log.js';
|
|
4
4
|
import {z} from 'zod';
|
|
5
5
|
|
|
6
6
|
import {parse_args, type Args} from './args.ts';
|
package/src/lib/source_json.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {join} from 'node:path';
|
|
2
|
-
import {ensure_end, strip_start} from '@
|
|
3
|
-
import {fs_exists, fs_search} from '@
|
|
2
|
+
import {ensure_end, strip_start} from '@fuzdev/fuz_util/string.js';
|
|
3
|
+
import {fs_exists, fs_search} from '@fuzdev/fuz_util/fs.js';
|
|
4
4
|
import ts from 'typescript';
|
|
5
|
-
import type {PackageJson, PackageJsonExports} from '@
|
|
6
|
-
import {SourceJson, type ModuleJson, type DeclarationKind} from '@
|
|
7
|
-
import type {Logger} from '@
|
|
5
|
+
import type {PackageJson, PackageJsonExports} from '@fuzdev/fuz_util/package_json.js';
|
|
6
|
+
import {SourceJson, type ModuleJson, type DeclarationKind} from '@fuzdev/fuz_util/source_json.js';
|
|
7
|
+
import type {Logger} from '@fuzdev/fuz_util/log.js';
|
|
8
8
|
|
|
9
9
|
import {paths, replace_extension} from './paths.ts';
|
|
10
10
|
import {parse_exports} from './parse_exports.ts';
|
package/src/lib/svelte_config.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type {Config as SvelteConfig} from '@sveltejs/kit';
|
|
2
2
|
import type {CompileOptions, ModuleCompileOptions, PreprocessorGroup} from 'svelte/compiler';
|
|
3
3
|
import {join} from 'node:path';
|
|
4
|
-
import {EMPTY_OBJECT} from '@
|
|
4
|
+
import {EMPTY_OBJECT} from '@fuzdev/fuz_util/object.js';
|
|
5
5
|
|
|
6
6
|
import {SVELTE_CONFIG_FILENAME} from './constants.ts';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {Result} from '@
|
|
2
|
-
import type {Logger} from '@
|
|
1
|
+
import type {Result} from '@fuzdev/fuz_util/result.js';
|
|
2
|
+
import type {Logger} from '@fuzdev/fuz_util/log.js';
|
|
3
3
|
import {join} from 'node:path';
|
|
4
|
-
import type {PackageJson} from '@
|
|
5
|
-
import {fs_exists} from '@
|
|
4
|
+
import type {PackageJson} from '@fuzdev/fuz_util/package_json.js';
|
|
5
|
+
import {fs_exists} from '@fuzdev/fuz_util/fs.js';
|
|
6
6
|
|
|
7
7
|
import {has_dep} from './package_json.ts';
|
|
8
8
|
import {default_svelte_config, type ParsedSvelteConfig} from './svelte_config.ts';
|
|
@@ -6,7 +6,7 @@ import type {
|
|
|
6
6
|
deserialize as base_deserialize,
|
|
7
7
|
enhance as base_enhance,
|
|
8
8
|
} from '$app/forms';
|
|
9
|
-
import {noop, noop_async} from '@
|
|
9
|
+
import {noop, noop_async} from '@fuzdev/fuz_util/function.js';
|
|
10
10
|
|
|
11
11
|
export const applyAction: typeof base_applyAction = noop_async;
|
|
12
12
|
export const deserialize: typeof base_deserialize = () => ({}) as any;
|
|
@@ -11,7 +11,7 @@ import type {
|
|
|
11
11
|
preloadCode as base_preloadCode,
|
|
12
12
|
preloadData as base_preloadData,
|
|
13
13
|
} from '$app/navigation';
|
|
14
|
-
import {noop, noop_async} from '@
|
|
14
|
+
import {noop, noop_async} from '@fuzdev/fuz_util/function.js';
|
|
15
15
|
|
|
16
16
|
export const afterNavigate: typeof base_afterNavigate = noop;
|
|
17
17
|
export const beforeNavigate: typeof base_beforeNavigate = noop;
|
package/src/lib/sync.task.ts
CHANGED
package/src/lib/task.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {Logger} from '@
|
|
2
|
-
import {ensure_end, strip_end, strip_start} from '@
|
|
1
|
+
import type {Logger} from '@fuzdev/fuz_util/log.js';
|
|
2
|
+
import {ensure_end, strip_end, strip_start} from '@fuzdev/fuz_util/string.js';
|
|
3
3
|
import type {z} from 'zod';
|
|
4
|
-
import type {Timings} from '@
|
|
4
|
+
import type {Timings} from '@fuzdev/fuz_util/timings.js';
|
|
5
5
|
import {styleText as st} from 'node:util';
|
|
6
|
-
import type {Result} from '@
|
|
6
|
+
import type {Result} from '@fuzdev/fuz_util/result.js';
|
|
7
7
|
import {isAbsolute, join, relative} from 'node:path';
|
|
8
|
-
import type {PathId} from '@
|
|
9
|
-
import {fs_search} from '@
|
|
8
|
+
import type {PathId} from '@fuzdev/fuz_util/path.js';
|
|
9
|
+
import {fs_search} from '@fuzdev/fuz_util/fs.js';
|
|
10
10
|
|
|
11
11
|
import type {Args} from './args.ts';
|
|
12
12
|
import type {GroConfig} from './gro_config.ts';
|
package/src/lib/task_logging.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {styleText as st} from 'node:util';
|
|
2
|
-
import type {Logger} from '@
|
|
3
|
-
import {plural} from '@
|
|
4
|
-
import {print_value} from '@
|
|
2
|
+
import type {Logger} from '@fuzdev/fuz_util/log.js';
|
|
3
|
+
import {plural} from '@fuzdev/fuz_util/string.js';
|
|
4
|
+
import {print_value} from '@fuzdev/fuz_util/print.js';
|
|
5
5
|
import {z} from 'zod';
|
|
6
6
|
|
|
7
7
|
import type {ArgSchema} from './args.ts';
|
package/src/lib/upgrade.task.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {spawn} from '@
|
|
1
|
+
import {spawn} from '@fuzdev/fuz_util/process.js';
|
|
2
2
|
import {z} from 'zod';
|
|
3
3
|
import {rm} from 'node:fs/promises';
|
|
4
|
-
import {GitOrigin, git_pull} from '@
|
|
4
|
+
import {GitOrigin, git_pull} from '@fuzdev/fuz_util/git.js';
|
|
5
5
|
|
|
6
6
|
import {TaskError, type Task} from './task.ts';
|
|
7
7
|
import {extract_deps, load_package_json, type PackageJsonDep} from './package_json.ts';
|
package/src/lib/watch_dir.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {watch, type ChokidarOptions, type FSWatcher, type Matcher} from 'chokidar';
|
|
2
2
|
import {relative} from 'node:path';
|
|
3
3
|
import {statSync} from 'node:fs';
|
|
4
|
-
import {create_deferred, type Deferred} from '@
|
|
5
|
-
import type {PathFilter} from '@
|
|
6
|
-
import {EMPTY_OBJECT} from '@
|
|
4
|
+
import {create_deferred, type Deferred} from '@fuzdev/fuz_util/async.js';
|
|
5
|
+
import type {PathFilter} from '@fuzdev/fuz_util/path.js';
|
|
6
|
+
import {EMPTY_OBJECT} from '@fuzdev/fuz_util/object.js';
|
|
7
7
|
|
|
8
8
|
const TMP_FILE_PATTERN = /\.tmp\./;
|
|
9
9
|
|