@ryanatkn/gro 0.180.0 → 0.181.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/README.md +1 -1
- 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 +3 -3
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +2 -2
- 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.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.js +1 -1
- 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 +8 -8
- 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 +4 -4
- 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.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 +2 -2
- 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/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
|
|