@ryanatkn/gro 0.176.0 → 0.177.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/dist/args.d.ts +5 -5
- package/dist/args.d.ts.map +1 -1
- package/dist/build.task.d.ts.map +1 -1
- package/dist/build.task.js +2 -2
- package/dist/build_cache.d.ts +12 -12
- package/dist/build_cache.d.ts.map +1 -1
- package/dist/build_cache.js +4 -4
- package/dist/changelog.d.ts +2 -2
- package/dist/changelog.d.ts.map +1 -1
- package/dist/changelog.js +1 -1
- package/dist/changeset.task.d.ts.map +1 -1
- package/dist/changeset.task.js +9 -9
- package/dist/changeset_helpers.d.ts +4 -4
- package/dist/changeset_helpers.d.ts.map +1 -1
- package/dist/changeset_helpers.js +2 -2
- package/dist/check.task.d.ts.map +1 -1
- package/dist/check.task.js +3 -3
- package/dist/clean.task.js +2 -2
- package/dist/cli.d.ts +6 -6
- package/dist/cli.d.ts.map +1 -1
- package/dist/commit.task.js +2 -2
- package/dist/deploy.task.d.ts.map +1 -1
- package/dist/deploy.task.js +13 -13
- package/dist/dev.task.d.ts +2 -2
- package/dist/dev.task.d.ts.map +1 -1
- package/dist/disknode.d.ts +4 -4
- package/dist/disknode.d.ts.map +1 -1
- package/dist/esbuild_helpers.d.ts +2 -2
- package/dist/esbuild_helpers.d.ts.map +1 -1
- package/dist/esbuild_plugin_external_worker.d.ts +5 -5
- package/dist/esbuild_plugin_external_worker.d.ts.map +1 -1
- package/dist/esbuild_plugin_svelte.d.ts +4 -4
- package/dist/esbuild_plugin_svelte.d.ts.map +1 -1
- package/dist/esbuild_plugin_sveltekit_shim_alias.d.ts +2 -2
- package/dist/esbuild_plugin_sveltekit_shim_alias.d.ts.map +1 -1
- package/dist/esbuild_plugin_sveltekit_shim_app.d.ts +5 -5
- package/dist/esbuild_plugin_sveltekit_shim_app.d.ts.map +1 -1
- package/dist/esbuild_plugin_sveltekit_shim_env.d.ts +2 -2
- package/dist/esbuild_plugin_sveltekit_shim_env.d.ts.map +1 -1
- package/dist/filer.d.ts +15 -15
- package/dist/filer.d.ts.map +1 -1
- package/dist/filer.js +2 -2
- package/dist/format.task.d.ts.map +1 -1
- package/dist/format.task.js +2 -2
- package/dist/format_directory.d.ts +2 -2
- package/dist/format_directory.d.ts.map +1 -1
- package/dist/gen.d.ts +73 -73
- package/dist/gen.d.ts.map +1 -1
- package/dist/gen.js +1 -1
- package/dist/gen.task.d.ts.map +1 -1
- package/dist/gen.task.js +8 -8
- package/dist/gen_helpers.d.ts +4 -4
- package/dist/gen_helpers.d.ts.map +1 -1
- package/dist/gen_helpers.js +1 -1
- package/dist/github.d.ts +4 -4
- package/dist/github.d.ts.map +1 -1
- package/dist/github.js +3 -3
- package/dist/gro.config.default.d.ts +2 -2
- package/dist/gro.config.default.d.ts.map +1 -1
- package/dist/gro_config.d.ts +25 -25
- package/dist/gro_config.d.ts.map +1 -1
- package/dist/gro_config.js +2 -2
- package/dist/gro_helpers.d.ts +2 -2
- package/dist/gro_helpers.d.ts.map +1 -1
- package/dist/gro_plugin_gen.d.ts +3 -3
- package/dist/gro_plugin_gen.d.ts.map +1 -1
- package/dist/gro_plugin_gen.js +2 -2
- package/dist/gro_plugin_server.d.ts +7 -7
- package/dist/gro_plugin_server.d.ts.map +1 -1
- package/dist/gro_plugin_sveltekit_app.d.ts +10 -10
- package/dist/gro_plugin_sveltekit_app.d.ts.map +1 -1
- package/dist/gro_plugin_sveltekit_app.js +2 -2
- package/dist/gro_plugin_sveltekit_library.d.ts +4 -4
- package/dist/gro_plugin_sveltekit_library.d.ts.map +1 -1
- package/dist/gro_plugin_sveltekit_library.js +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/input_path.d.ts +30 -30
- package/dist/input_path.d.ts.map +1 -1
- package/dist/input_path.js +2 -2
- package/dist/invoke.js +1 -1
- package/dist/invoke_task.d.ts +3 -3
- package/dist/invoke_task.d.ts.map +1 -1
- package/dist/invoke_task.js +4 -4
- package/dist/lint.task.d.ts.map +1 -1
- package/dist/lint.task.js +2 -2
- package/dist/modules.d.ts +20 -20
- package/dist/modules.d.ts.map +1 -1
- package/dist/modules.js +2 -2
- package/dist/package_json.d.ts +16 -16
- package/dist/package_json.d.ts.map +1 -1
- package/dist/package_json.js +6 -6
- package/dist/parse_exports.d.ts +7 -7
- package/dist/parse_exports.d.ts.map +1 -1
- package/dist/parse_exports.js +3 -3
- package/dist/parse_exports_context.d.ts +3 -3
- package/dist/parse_exports_context.d.ts.map +1 -1
- package/dist/parse_exports_context.js +1 -1
- package/dist/parse_imports.d.ts +3 -3
- package/dist/parse_imports.d.ts.map +1 -1
- package/dist/parse_imports.js +2 -2
- package/dist/paths.d.ts +6 -6
- package/dist/paths.d.ts.map +1 -1
- package/dist/plugin.d.ts +13 -13
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin.js +1 -1
- package/dist/publish.task.d.ts.map +1 -1
- package/dist/publish.task.js +12 -12
- package/dist/reinstall.task.d.ts.map +1 -1
- package/dist/reinstall.task.js +4 -4
- package/dist/resolve_specifier.d.ts +4 -4
- package/dist/resolve_specifier.d.ts.map +1 -1
- package/dist/run.task.d.ts.map +1 -1
- package/dist/run.task.js +3 -3
- package/dist/run_gen.d.ts +4 -4
- package/dist/run_gen.d.ts.map +1 -1
- package/dist/run_task.d.ts +4 -4
- package/dist/run_task.d.ts.map +1 -1
- package/dist/run_task.js +3 -3
- package/dist/search_fs.d.ts +6 -6
- package/dist/search_fs.d.ts.map +1 -1
- package/dist/src_json.d.ts +6 -6
- package/dist/src_json.d.ts.map +1 -1
- package/dist/src_json.js +3 -3
- package/dist/svelte_config.d.ts +3 -3
- package/dist/svelte_config.d.ts.map +1 -1
- package/dist/sveltekit_helpers.d.ts +5 -5
- package/dist/sveltekit_helpers.d.ts.map +1 -1
- package/dist/sveltekit_helpers.js +5 -5
- package/dist/sveltekit_shim_app.d.ts +2 -2
- package/dist/sveltekit_shim_app.d.ts.map +1 -1
- package/dist/sync.task.d.ts.map +1 -1
- package/dist/sync.task.js +2 -2
- package/dist/task.d.ts +54 -54
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +3 -3
- package/dist/task_logging.d.ts +3 -3
- package/dist/task_logging.d.ts.map +1 -1
- package/dist/test.task.d.ts.map +1 -1
- package/dist/test.task.js +4 -4
- package/dist/typecheck.task.d.ts.map +1 -1
- package/dist/typecheck.task.js +4 -4
- package/dist/upgrade.task.d.ts.map +1 -1
- package/dist/upgrade.task.js +5 -5
- package/dist/watch_dir.d.ts +10 -10
- package/dist/watch_dir.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/lib/args.ts +9 -9
- package/src/lib/build.task.ts +2 -2
- package/src/lib/build_cache.ts +18 -18
- package/src/lib/changelog.ts +10 -10
- package/src/lib/changeset.task.ts +16 -16
- package/src/lib/changeset_helpers.ts +4 -4
- package/src/lib/check.task.ts +3 -3
- 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 +15 -15
- package/src/lib/dev.task.ts +2 -2
- package/src/lib/disknode.ts +4 -4
- package/src/lib/esbuild_helpers.ts +2 -2
- package/src/lib/esbuild_plugin_external_worker.ts +7 -7
- package/src/lib/esbuild_plugin_svelte.ts +4 -4
- package/src/lib/esbuild_plugin_sveltekit_shim_alias.ts +2 -2
- package/src/lib/esbuild_plugin_sveltekit_shim_app.ts +5 -5
- package/src/lib/esbuild_plugin_sveltekit_shim_env.ts +2 -2
- package/src/lib/filer.ts +35 -35
- package/src/lib/format.task.ts +2 -2
- package/src/lib/format_directory.ts +2 -2
- package/src/lib/gen.task.ts +19 -19
- package/src/lib/gen.ts +85 -85
- package/src/lib/gen_helpers.ts +17 -17
- package/src/lib/github.ts +6 -6
- package/src/lib/gro.config.default.ts +2 -2
- package/src/lib/gro_config.ts +28 -28
- package/src/lib/gro_helpers.ts +2 -2
- package/src/lib/gro_plugin_gen.ts +5 -5
- package/src/lib/gro_plugin_server.ts +8 -8
- package/src/lib/gro_plugin_sveltekit_app.ts +15 -15
- package/src/lib/gro_plugin_sveltekit_library.ts +6 -6
- package/src/lib/index.ts +3 -3
- package/src/lib/input_path.ts +56 -56
- package/src/lib/invoke.ts +2 -2
- package/src/lib/invoke_task.ts +7 -7
- package/src/lib/lint.task.ts +2 -2
- package/src/lib/modules.ts +31 -31
- package/src/lib/package_json.ts +27 -27
- package/src/lib/parse_exports.ts +15 -15
- package/src/lib/parse_exports_context.ts +9 -9
- package/src/lib/parse_imports.ts +6 -6
- package/src/lib/paths.ts +6 -6
- package/src/lib/plugin.ts +17 -17
- package/src/lib/publish.task.ts +13 -13
- package/src/lib/reinstall.task.ts +4 -4
- package/src/lib/resolve_specifier.ts +5 -5
- package/src/lib/run.task.ts +3 -3
- package/src/lib/run_gen.ts +14 -14
- package/src/lib/run_task.ts +8 -8
- package/src/lib/search_fs.ts +13 -13
- package/src/lib/src_json.ts +13 -13
- package/src/lib/svelte_config.ts +2 -2
- package/src/lib/sveltekit_helpers.ts +12 -12
- package/src/lib/sveltekit_shim_app.ts +3 -3
- package/src/lib/sync.task.ts +2 -2
- package/src/lib/task.ts +63 -63
- package/src/lib/task_logging.ts +11 -11
- package/src/lib/test.task.ts +4 -4
- package/src/lib/typecheck.task.ts +4 -4
- package/src/lib/upgrade.task.ts +7 -7
- package/src/lib/watch_dir.ts +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esbuild_helpers.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,KAAK,OAAO,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"esbuild_helpers.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,KAAK,OAAO,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAE3D,eAAO,MAAM,kBAAkB,GAAI,KAAK,MAAM,EAAE,cAAc,OAAO,CAAC,WAAW,KAAG,IAOnF,CAAC;AAMF;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,GACrC,KAAK,OAAO,EACZ,UAAU,kBAAkB,CAAC,UAAU,CAAC,EACxC,aAAU,EACV,aAAyC,KACvC,MAAM,CAAC,MAAM,EAAE,MAAM,CAQtB,CAAC;AAEH,eAAO,MAAM,4BAA4B,EAAE,OAAO,CAAC,gBAKlD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as esbuild from 'esbuild';
|
|
2
2
|
import type { Logger } from '@ryanatkn/belt/log.js';
|
|
3
3
|
import type { CompileOptions, ModuleCompileOptions, PreprocessorGroup } from 'svelte/compiler';
|
|
4
|
-
import type {
|
|
5
|
-
export interface
|
|
4
|
+
import type { ParsedSvelteConfig } from './svelte_config.ts';
|
|
5
|
+
export interface EsbuildPluginExternalWorkerOptions {
|
|
6
6
|
dev: boolean;
|
|
7
7
|
build_options: esbuild.BuildOptions;
|
|
8
8
|
dir?: string;
|
|
@@ -10,8 +10,8 @@ export interface Esbuild_Plugin_External_Worker_Options {
|
|
|
10
10
|
svelte_compile_module_options?: ModuleCompileOptions;
|
|
11
11
|
svelte_preprocessors?: PreprocessorGroup | Array<PreprocessorGroup>;
|
|
12
12
|
alias?: Record<string, string>;
|
|
13
|
-
base_url?:
|
|
14
|
-
assets_url?:
|
|
13
|
+
base_url?: ParsedSvelteConfig['base_url'];
|
|
14
|
+
assets_url?: ParsedSvelteConfig['assets_url'];
|
|
15
15
|
public_prefix?: string;
|
|
16
16
|
private_prefix?: string;
|
|
17
17
|
env_dir?: string;
|
|
@@ -19,5 +19,5 @@ export interface Esbuild_Plugin_External_Worker_Options {
|
|
|
19
19
|
ambient_env?: Record<string, string>;
|
|
20
20
|
log?: Logger;
|
|
21
21
|
}
|
|
22
|
-
export declare const esbuild_plugin_external_worker: ({ dev, build_options, dir, svelte_compile_options, svelte_compile_module_options, svelte_preprocessors, alias, base_url, assets_url, public_prefix, private_prefix, env_dir, env_files, ambient_env, log, }:
|
|
22
|
+
export declare const esbuild_plugin_external_worker: ({ dev, build_options, dir, svelte_compile_options, svelte_compile_module_options, svelte_preprocessors, alias, base_url, assets_url, public_prefix, private_prefix, env_dir, env_files, ambient_env, log, }: EsbuildPluginExternalWorkerOptions) => esbuild.Plugin;
|
|
23
23
|
//# sourceMappingURL=esbuild_plugin_external_worker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esbuild_plugin_external_worker.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_plugin_external_worker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAElD,OAAO,KAAK,EAAC,cAAc,EAAE,oBAAoB,EAAE,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAU7F,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"esbuild_plugin_external_worker.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_plugin_external_worker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAElD,OAAO,KAAK,EAAC,cAAc,EAAE,oBAAoB,EAAE,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAU7F,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAE3D,MAAM,WAAW,kCAAkC;IAClD,GAAG,EAAE,OAAO,CAAC;IACb,aAAa,EAAE,OAAO,CAAC,YAAY,CAAC;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,sBAAsB,CAAC,EAAE,cAAc,CAAC;IACxC,6BAA6B,CAAC,EAAE,oBAAoB,CAAC;IACrD,oBAAoB,CAAC,EAAE,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAC1C,UAAU,CAAC,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,8BAA8B,GAAI,6MAgB5C,kCAAkC,KAAG,OAAO,CAAC,MA4C9C,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as esbuild from 'esbuild';
|
|
2
2
|
import { type CompileOptions, type ModuleCompileOptions, type PreprocessorGroup } from 'svelte/compiler';
|
|
3
|
-
import { type
|
|
4
|
-
export interface
|
|
3
|
+
import { type ParsedSvelteConfig } from './svelte_config.ts';
|
|
4
|
+
export interface EsbuildPluginSvelteOptions {
|
|
5
5
|
dev: boolean;
|
|
6
|
-
base_url:
|
|
6
|
+
base_url: ParsedSvelteConfig['base_url'];
|
|
7
7
|
dir?: string;
|
|
8
8
|
svelte_compile_options?: CompileOptions;
|
|
9
9
|
svelte_compile_module_options?: ModuleCompileOptions;
|
|
@@ -11,5 +11,5 @@ export interface Esbuild_Plugin_Svelte_Options {
|
|
|
11
11
|
ts_transform_options?: esbuild.TransformOptions;
|
|
12
12
|
is_ts?: (filename: string) => boolean;
|
|
13
13
|
}
|
|
14
|
-
export declare const esbuild_plugin_svelte: (options:
|
|
14
|
+
export declare const esbuild_plugin_svelte: (options: EsbuildPluginSvelteOptions) => esbuild.Plugin;
|
|
15
15
|
//# sourceMappingURL=esbuild_plugin_svelte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esbuild_plugin_svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_plugin_svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAIN,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EAGN,KAAK,
|
|
1
|
+
{"version":3,"file":"esbuild_plugin_svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_plugin_svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAIN,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EAGN,KAAK,kBAAkB,EACvB,MAAM,oBAAoB,CAAC;AAG5B,MAAM,WAAW,0BAA0B;IAC1C,GAAG,EAAE,OAAO,CAAC;IACb,QAAQ,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IACzC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,sBAAsB,CAAC,EAAE,cAAc,CAAC;IACxC,6BAA6B,CAAC,EAAE,oBAAoB,CAAC;IACrD,oBAAoB,CAAC,EAAE,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACpE,oBAAoB,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC;IAChD,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;CACtC;AAED,eAAO,MAAM,qBAAqB,GAAI,SAAS,0BAA0B,KAAG,OAAO,CAAC,MAmEnF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as esbuild from 'esbuild';
|
|
2
|
-
export interface
|
|
2
|
+
export interface EsbuildPluginSveltekitShimAliasOptions {
|
|
3
3
|
dir?: string;
|
|
4
4
|
alias?: Record<string, string>;
|
|
5
5
|
}
|
|
6
|
-
export declare const esbuild_plugin_sveltekit_shim_alias: ({ dir, alias, }:
|
|
6
|
+
export declare const esbuild_plugin_sveltekit_shim_alias: ({ dir, alias, }: EsbuildPluginSveltekitShimAliasOptions) => esbuild.Plugin;
|
|
7
7
|
//# sourceMappingURL=esbuild_plugin_sveltekit_shim_alias.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esbuild_plugin_sveltekit_shim_alias.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_plugin_sveltekit_shim_alias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,SAAS,CAAC;AAIxC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"esbuild_plugin_sveltekit_shim_alias.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_plugin_sveltekit_shim_alias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,SAAS,CAAC;AAIxC,MAAM,WAAW,sCAAsC;IACtD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/B;AAED,eAAO,MAAM,mCAAmC,GAAI,iBAGjD,sCAAsC,KAAG,OAAO,CAAC,MAclD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as esbuild from 'esbuild';
|
|
2
|
-
import type {
|
|
3
|
-
export interface
|
|
2
|
+
import type { ParsedSvelteConfig } from './svelte_config.ts';
|
|
3
|
+
export interface EsbuildPluginSveltekitShimAppOptions {
|
|
4
4
|
dev: boolean;
|
|
5
|
-
base_url:
|
|
6
|
-
assets_url:
|
|
5
|
+
base_url: ParsedSvelteConfig['base_url'];
|
|
6
|
+
assets_url: ParsedSvelteConfig['assets_url'];
|
|
7
7
|
}
|
|
8
|
-
export declare const esbuild_plugin_sveltekit_shim_app: ({ dev, base_url, assets_url, }:
|
|
8
|
+
export declare const esbuild_plugin_sveltekit_shim_app: ({ dev, base_url, assets_url, }: EsbuildPluginSveltekitShimAppOptions) => esbuild.Plugin;
|
|
9
9
|
//# sourceMappingURL=esbuild_plugin_sveltekit_shim_app.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esbuild_plugin_sveltekit_shim_app.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_plugin_sveltekit_shim_app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,SAAS,CAAC;AAOxC,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"esbuild_plugin_sveltekit_shim_app.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_plugin_sveltekit_shim_app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,SAAS,CAAC;AAOxC,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAG3D,MAAM,WAAW,oCAAoC;IACpD,GAAG,EAAE,OAAO,CAAC;IACb,QAAQ,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IACzC,UAAU,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC;CAC7C;AAED,eAAO,MAAM,iCAAiC,GAAI,gCAI/C,oCAAoC,KAAG,OAAO,CAAC,MAqBhD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as esbuild from 'esbuild';
|
|
2
|
-
export interface
|
|
2
|
+
export interface EsbuildPluginSveltekitShimEnvOptions {
|
|
3
3
|
dev: boolean;
|
|
4
4
|
public_prefix?: string;
|
|
5
5
|
private_prefix?: string;
|
|
@@ -7,5 +7,5 @@ export interface Esbuild_Plugin_Sveltekit_Shim_Env_Options {
|
|
|
7
7
|
env_files?: Array<string>;
|
|
8
8
|
ambient_env?: Record<string, string>;
|
|
9
9
|
}
|
|
10
|
-
export declare const esbuild_plugin_sveltekit_shim_env: ({ dev, public_prefix, private_prefix, env_dir, env_files, ambient_env, }:
|
|
10
|
+
export declare const esbuild_plugin_sveltekit_shim_env: ({ dev, public_prefix, private_prefix, env_dir, env_files, ambient_env, }: EsbuildPluginSveltekitShimEnvOptions) => esbuild.Plugin;
|
|
11
11
|
//# sourceMappingURL=esbuild_plugin_sveltekit_shim_env.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esbuild_plugin_sveltekit_shim_env.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_plugin_sveltekit_shim_env.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,SAAS,CAAC;AAKxC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"esbuild_plugin_sveltekit_shim_env.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/esbuild_plugin_sveltekit_shim_env.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,SAAS,CAAC;AAKxC,MAAM,WAAW,oCAAoC;IACpD,GAAG,EAAE,OAAO,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC;AAID,eAAO,MAAM,iCAAiC,GAAI,0EAO/C,oCAAoC,KAAG,OAAO,CAAC,MAuBhD,CAAC"}
|
package/dist/filer.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { OmitStrict } from '@ryanatkn/belt/types.js';
|
|
2
2
|
import type { Logger } from '@ryanatkn/belt/log.js';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import { watch_dir, type
|
|
3
|
+
import type { PackageJson } from '@ryanatkn/belt/package_json.js';
|
|
4
|
+
import type { FileFilter, PathId } from '@ryanatkn/belt/path.js';
|
|
5
|
+
import { watch_dir, type WatcherChange, type WatchDirOptions } from './watch_dir.ts';
|
|
6
6
|
import type { Disknode } from './disknode.ts';
|
|
7
|
-
export type
|
|
8
|
-
export interface
|
|
7
|
+
export type OnFilerChange = (change: WatcherChange, disknode: Disknode) => void;
|
|
8
|
+
export interface FilerOptions {
|
|
9
9
|
watch_dir?: typeof watch_dir;
|
|
10
|
-
watch_dir_options?: Partial<
|
|
11
|
-
package_json_cache?: Record<string,
|
|
10
|
+
watch_dir_options?: Partial<OmitStrict<WatchDirOptions, 'on_change'>>;
|
|
11
|
+
package_json_cache?: Record<string, PackageJson>;
|
|
12
12
|
log?: Logger;
|
|
13
13
|
}
|
|
14
14
|
export declare class Filer {
|
|
15
15
|
#private;
|
|
16
|
-
readonly root_dir:
|
|
17
|
-
readonly files: Map<
|
|
18
|
-
constructor(options?:
|
|
16
|
+
readonly root_dir: PathId;
|
|
17
|
+
readonly files: Map<PathId, Disknode>;
|
|
18
|
+
constructor(options?: FilerOptions);
|
|
19
19
|
get inited(): boolean;
|
|
20
|
-
get_by_id: (id:
|
|
21
|
-
get_or_create: (id:
|
|
20
|
+
get_by_id: (id: PathId) => Disknode | undefined;
|
|
21
|
+
get_or_create: (id: PathId) => Disknode;
|
|
22
22
|
filter(predicate: (disknode: Disknode) => boolean): Array<Disknode> | null;
|
|
23
23
|
/**
|
|
24
24
|
* Initialize the filer to populate files without watching.
|
|
@@ -26,8 +26,8 @@ export declare class Filer {
|
|
|
26
26
|
* Used by gen files to access the file graph.
|
|
27
27
|
*/
|
|
28
28
|
init(): Promise<void>;
|
|
29
|
-
watch(listener:
|
|
29
|
+
watch(listener: OnFilerChange): Promise<() => void>;
|
|
30
30
|
close(): Promise<void>;
|
|
31
31
|
}
|
|
32
|
-
export declare const filter_dependents: (disknode: Disknode, get_by_id: (id:
|
|
32
|
+
export declare const filter_dependents: (disknode: Disknode, get_by_id: (id: PathId) => Disknode | undefined, filter?: FileFilter, results?: Set<PathId>, searched?: Set<PathId>, log?: Logger) => Set<PathId>;
|
|
33
33
|
//# sourceMappingURL=filer.d.ts.map
|
package/dist/filer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filer.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/filer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"filer.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/filer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAIxD,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gCAAgC,CAAC;AAChE,OAAO,KAAK,EAAC,UAAU,EAAE,MAAM,EAAC,MAAM,wBAAwB,CAAC;AAE/D,OAAO,EACN,SAAS,EAET,KAAK,aAAa,EAClB,KAAK,eAAe,EAEpB,MAAM,gBAAgB,CAAC;AAOxB,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAI5C,MAAM,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;AAEhF,MAAM,WAAW,YAAY;IAC5B,SAAS,CAAC,EAAE,OAAO,SAAS,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC,CAAC;IACtE,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACjD,GAAG,CAAC,EAAE,MAAM,CAAC;CACb;AAED,qBAAa,KAAK;;IACjB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAG1B,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAa;gBAYtC,OAAO,GAAE,YAA2B;IAUhD,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED,SAAS,GAAI,IAAI,MAAM,KAAG,QAAQ,GAAG,SAAS,CAE5C;IAEF,aAAa,GAAI,IAAI,MAAM,KAAG,QAAQ,CAkBpC;IAEF,MAAM,CAAC,SAAS,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,GAAG,KAAK,CAAC,QAAQ,CAAC,GAAG,IAAI;IAU1E;;;;OAIG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAmDrB,KAAK,CAAC,QAAQ,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC;IAiBzD,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CA6LtB;AAGD,eAAO,MAAM,iBAAiB,GAC7B,UAAU,QAAQ,EAClB,WAAW,CAAC,EAAE,EAAE,MAAM,KAAK,QAAQ,GAAG,SAAS,EAC/C,SAAS,UAAU,EACnB,UAAS,GAAG,CAAC,MAAM,CAAa,EAChC,WAAU,GAAG,CAAC,MAAM,CAAa,EACjC,MAAM,MAAM,KACV,GAAG,CAAC,MAAM,CAkBZ,CAAC"}
|
package/dist/filer.js
CHANGED
|
@@ -3,7 +3,7 @@ import { readFileSync, statSync } from 'node:fs';
|
|
|
3
3
|
import { dirname, resolve } from 'node:path';
|
|
4
4
|
import { isBuiltin } from 'node:module';
|
|
5
5
|
import { fileURLToPath, pathToFileURL } from 'node:url';
|
|
6
|
-
import {
|
|
6
|
+
import { UnreachableError } from '@ryanatkn/belt/error.js';
|
|
7
7
|
import { watch_dir, } from "./watch_dir.js";
|
|
8
8
|
import { paths } from "./paths.js";
|
|
9
9
|
import { parse_imports } from "./parse_imports.js";
|
|
@@ -296,7 +296,7 @@ export class Filer {
|
|
|
296
296
|
break;
|
|
297
297
|
}
|
|
298
298
|
default:
|
|
299
|
-
throw new
|
|
299
|
+
throw new UnreachableError(change.type);
|
|
300
300
|
}
|
|
301
301
|
if (disknode && this.#listeners.size > 0) {
|
|
302
302
|
this.#notify_change(change, disknode);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.task.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/format.task.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,
|
|
1
|
+
{"version":3,"file":"format.task.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/format.task.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAY,KAAK,IAAI,EAAC,MAAM,WAAW,CAAC;AAI/C,cAAc;AACd,eAAO,MAAM,IAAI;;kBAKf,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAExC,cAAc;AACd,eAAO,MAAM,IAAI,EAAE,IAAI,CAAC,IAAI,CAqB3B,CAAC"}
|
package/dist/format.task.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { print_spawn_result } from '@ryanatkn/belt/process.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import {
|
|
3
|
+
import { TaskError } from "./task.js";
|
|
4
4
|
import { format_directory } from "./format_directory.js";
|
|
5
5
|
import { paths } from "./paths.js";
|
|
6
6
|
/** @nodocs */
|
|
@@ -19,7 +19,7 @@ export const task = {
|
|
|
19
19
|
// TODO forward prettier args
|
|
20
20
|
const format_result = await format_directory(log, paths.source, check, undefined, undefined, undefined, config.pm_cli);
|
|
21
21
|
if (!format_result.ok) {
|
|
22
|
-
throw new
|
|
22
|
+
throw new TaskError(`Failed ${check ? 'formatting check' : 'to format'}. ${print_spawn_result(format_result)}`);
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SpawnResult } from '@ryanatkn/belt/process.js';
|
|
2
2
|
import type { Logger } from '@ryanatkn/belt/log.js';
|
|
3
3
|
import { type Cli } from './cli.ts';
|
|
4
4
|
/**
|
|
@@ -7,5 +7,5 @@ import { type Cli } from './cli.ts';
|
|
|
7
7
|
* This is separated from `./format_file` to avoid importing all of the `prettier` code
|
|
8
8
|
* inside modules that import this one. (which has a nontrivial cost)
|
|
9
9
|
*/
|
|
10
|
-
export declare const format_directory: (log: Logger, dir: string, check?: boolean, extensions?: string, root_paths?: string, prettier_cli?: string | Cli, pm_cli?: string) => Promise<
|
|
10
|
+
export declare const format_directory: (log: Logger, dir: string, check?: boolean, extensions?: string, root_paths?: string, prettier_cli?: string | Cli, pm_cli?: string) => Promise<SpawnResult>;
|
|
11
11
|
//# sourceMappingURL=format_directory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format_directory.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/format_directory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"format_directory.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/format_directory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAclD,OAAO,EAAyB,KAAK,GAAG,EAAC,MAAM,UAAU,CAAC;AAY1D;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAC5B,KAAK,MAAM,EACX,KAAK,MAAM,EACX,eAAa,EACb,mBAA+B,EAC/B,mBAA+B,EAC/B,eAAc,MAAM,GAAG,GAA0B,EACjD,SAAQ,MAAuB,KAC7B,OAAO,CAAC,WAAW,CAcrB,CAAC"}
|
package/dist/gen.d.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import type { Logger } from '@ryanatkn/belt/log.js';
|
|
2
2
|
import type { Result } from '@ryanatkn/belt/result.js';
|
|
3
3
|
import type { Timings } from '@ryanatkn/belt/timings.js';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
7
|
-
import { type
|
|
8
|
-
import {
|
|
4
|
+
import type { PathId } from '@ryanatkn/belt/path.js';
|
|
5
|
+
import type { GroConfig } from './gro_config.ts';
|
|
6
|
+
import type { ParsedSvelteConfig } from './svelte_config.ts';
|
|
7
|
+
import { type LoadModulesFailure, type ModuleMeta } from './modules.ts';
|
|
8
|
+
import { InputPath, type ResolvedInputFile, type ResolvedInputPath } from './input_path.ts';
|
|
9
9
|
import type { Filer } from './filer.ts';
|
|
10
|
-
import type {
|
|
10
|
+
import type { InvokeTask } from './task.ts';
|
|
11
11
|
export declare const GEN_FILE_PATTERN_TEXT = "gen";
|
|
12
12
|
export declare const GEN_FILE_PATTERN: string;
|
|
13
13
|
export declare const is_gen_path: (path: string) => boolean;
|
|
14
|
-
export interface
|
|
15
|
-
origin_id:
|
|
16
|
-
files: Array<
|
|
14
|
+
export interface GenResult {
|
|
15
|
+
origin_id: PathId;
|
|
16
|
+
files: Array<GenFile>;
|
|
17
17
|
}
|
|
18
|
-
export interface
|
|
19
|
-
id:
|
|
18
|
+
export interface GenFile {
|
|
19
|
+
id: PathId;
|
|
20
20
|
content: string;
|
|
21
|
-
origin_id:
|
|
21
|
+
origin_id: PathId;
|
|
22
22
|
format: boolean;
|
|
23
23
|
}
|
|
24
|
-
export type
|
|
25
|
-
export interface
|
|
24
|
+
export type GenDependencies = 'all' | GenDependenciesConfig | GenDependenciesResolver;
|
|
25
|
+
export interface GenDependenciesConfig {
|
|
26
26
|
patterns?: Array<RegExp>;
|
|
27
|
-
files?: Array<
|
|
27
|
+
files?: Array<PathId>;
|
|
28
28
|
}
|
|
29
|
-
export type
|
|
30
|
-
export type Gen =
|
|
31
|
-
export type
|
|
32
|
-
export interface
|
|
33
|
-
generate:
|
|
34
|
-
dependencies?:
|
|
29
|
+
export type GenDependenciesResolver = (ctx: GenContext) => GenDependenciesConfig | 'all' | null | Promise<GenDependenciesConfig | 'all' | null>;
|
|
30
|
+
export type Gen = GenFunction | GenConfig;
|
|
31
|
+
export type GenFunction = (ctx: GenContext) => RawGenResult | Promise<RawGenResult>;
|
|
32
|
+
export interface GenConfig {
|
|
33
|
+
generate: GenFunction;
|
|
34
|
+
dependencies?: GenDependencies;
|
|
35
35
|
}
|
|
36
|
-
export interface
|
|
37
|
-
config:
|
|
38
|
-
svelte_config:
|
|
36
|
+
export interface GenContext {
|
|
37
|
+
config: GroConfig;
|
|
38
|
+
svelte_config: ParsedSvelteConfig;
|
|
39
39
|
filer: Filer;
|
|
40
40
|
log: Logger;
|
|
41
41
|
timings: Timings;
|
|
42
|
-
invoke_task:
|
|
42
|
+
invoke_task: InvokeTask;
|
|
43
43
|
/**
|
|
44
44
|
* Same as `import.meta.url` but in path form.
|
|
45
45
|
*/
|
|
46
|
-
origin_id:
|
|
46
|
+
origin_id: PathId;
|
|
47
47
|
/**
|
|
48
48
|
* The `origin_id` relative to the root dir.
|
|
49
49
|
*/
|
|
@@ -53,90 +53,90 @@ export interface Gen_Context {
|
|
|
53
53
|
* Only available when resolving dependencies dynamically.
|
|
54
54
|
* `undefined` during actual generation.
|
|
55
55
|
*/
|
|
56
|
-
changed_file_id:
|
|
56
|
+
changed_file_id: PathId | undefined;
|
|
57
57
|
}
|
|
58
|
-
export type
|
|
59
|
-
export interface
|
|
58
|
+
export type RawGenResult = string | RawGenFile | null | Array<RawGenResult>;
|
|
59
|
+
export interface RawGenFile {
|
|
60
60
|
content: string;
|
|
61
61
|
filename?: string;
|
|
62
62
|
format?: boolean;
|
|
63
63
|
}
|
|
64
|
-
export interface
|
|
65
|
-
results: Array<
|
|
66
|
-
successes: Array<
|
|
67
|
-
failures: Array<
|
|
64
|
+
export interface GenResults {
|
|
65
|
+
results: Array<GenfileModuleResult>;
|
|
66
|
+
successes: Array<GenfileModuleResultSuccess>;
|
|
67
|
+
failures: Array<GenfileModuleResultFailure>;
|
|
68
68
|
input_count: number;
|
|
69
69
|
output_count: number;
|
|
70
70
|
elapsed: number;
|
|
71
71
|
}
|
|
72
|
-
export type
|
|
73
|
-
export interface
|
|
72
|
+
export type GenfileModuleResult = GenfileModuleResultSuccess | GenfileModuleResultFailure;
|
|
73
|
+
export interface GenfileModuleResultSuccess {
|
|
74
74
|
ok: true;
|
|
75
|
-
id:
|
|
76
|
-
files: Array<
|
|
75
|
+
id: PathId;
|
|
76
|
+
files: Array<GenFile>;
|
|
77
77
|
elapsed: number;
|
|
78
78
|
}
|
|
79
|
-
export interface
|
|
79
|
+
export interface GenfileModuleResultFailure {
|
|
80
80
|
ok: false;
|
|
81
|
-
id:
|
|
81
|
+
id: PathId;
|
|
82
82
|
reason: string;
|
|
83
83
|
error: Error;
|
|
84
84
|
elapsed: number;
|
|
85
85
|
}
|
|
86
|
-
export declare const to_gen_result: (origin_id:
|
|
86
|
+
export declare const to_gen_result: (origin_id: PathId, raw_result: RawGenResult) => GenResult;
|
|
87
87
|
export declare const to_output_file_name: (filename: string) => string;
|
|
88
|
-
export type
|
|
89
|
-
file:
|
|
88
|
+
export type AnalyzedGenResult = {
|
|
89
|
+
file: GenFile;
|
|
90
90
|
existing_content: string;
|
|
91
91
|
is_new: false;
|
|
92
92
|
has_changed: boolean;
|
|
93
93
|
} | {
|
|
94
|
-
file:
|
|
94
|
+
file: GenFile;
|
|
95
95
|
existing_content: null;
|
|
96
96
|
is_new: true;
|
|
97
97
|
has_changed: true;
|
|
98
98
|
};
|
|
99
|
-
export declare const analyze_gen_results: (gen_results:
|
|
100
|
-
export declare const analyze_gen_result: (file:
|
|
101
|
-
export declare const write_gen_results: (gen_results:
|
|
102
|
-
export interface
|
|
103
|
-
resolved_input_files: Array<
|
|
104
|
-
resolved_input_files_by_root_dir: Map<
|
|
105
|
-
resolved_input_paths: Array<
|
|
99
|
+
export declare const analyze_gen_results: (gen_results: GenResults) => Promise<Array<AnalyzedGenResult>>;
|
|
100
|
+
export declare const analyze_gen_result: (file: GenFile) => Promise<AnalyzedGenResult>;
|
|
101
|
+
export declare const write_gen_results: (gen_results: GenResults, analyzed_gen_results: Array<AnalyzedGenResult>, log: Logger) => Promise<void>;
|
|
102
|
+
export interface FoundGenfiles {
|
|
103
|
+
resolved_input_files: Array<ResolvedInputFile>;
|
|
104
|
+
resolved_input_files_by_root_dir: Map<PathId, Array<ResolvedInputFile>>;
|
|
105
|
+
resolved_input_paths: Array<ResolvedInputPath>;
|
|
106
106
|
}
|
|
107
|
-
export type
|
|
108
|
-
value:
|
|
109
|
-
},
|
|
110
|
-
export type
|
|
107
|
+
export type FindGenfilesResult = Result<{
|
|
108
|
+
value: FoundGenfiles;
|
|
109
|
+
}, FindGenfilesFailure>;
|
|
110
|
+
export type FindGenfilesFailure = {
|
|
111
111
|
type: 'unmapped_input_paths';
|
|
112
|
-
unmapped_input_paths: Array<
|
|
113
|
-
resolved_input_paths: Array<
|
|
112
|
+
unmapped_input_paths: Array<InputPath>;
|
|
113
|
+
resolved_input_paths: Array<ResolvedInputPath>;
|
|
114
114
|
reasons: Array<string>;
|
|
115
115
|
} | {
|
|
116
116
|
type: 'input_directories_with_no_files';
|
|
117
|
-
input_directories_with_no_files: Array<
|
|
118
|
-
resolved_input_files: Array<
|
|
119
|
-
resolved_input_files_by_root_dir: Map<
|
|
120
|
-
resolved_input_paths: Array<
|
|
117
|
+
input_directories_with_no_files: Array<InputPath>;
|
|
118
|
+
resolved_input_files: Array<ResolvedInputFile>;
|
|
119
|
+
resolved_input_files_by_root_dir: Map<PathId, Array<ResolvedInputFile>>;
|
|
120
|
+
resolved_input_paths: Array<ResolvedInputPath>;
|
|
121
121
|
reasons: Array<string>;
|
|
122
122
|
};
|
|
123
123
|
/**
|
|
124
124
|
* Finds modules from input paths. (see `src/lib/input_path.ts` for more)
|
|
125
125
|
*/
|
|
126
|
-
export declare const find_genfiles: (input_paths: Array<
|
|
127
|
-
export interface
|
|
126
|
+
export declare const find_genfiles: (input_paths: Array<InputPath>, root_dirs: Array<PathId>, config: GroConfig, timings?: Timings) => FindGenfilesResult;
|
|
127
|
+
export interface GenfileModule {
|
|
128
128
|
gen: Gen;
|
|
129
129
|
}
|
|
130
|
-
export type
|
|
131
|
-
export interface
|
|
132
|
-
modules: Array<
|
|
133
|
-
found_genfiles:
|
|
130
|
+
export type GenfileModuleMeta = ModuleMeta<GenfileModule>;
|
|
131
|
+
export interface LoadedGenfiles {
|
|
132
|
+
modules: Array<GenfileModuleMeta>;
|
|
133
|
+
found_genfiles: FoundGenfiles;
|
|
134
134
|
}
|
|
135
|
-
export type
|
|
136
|
-
value:
|
|
137
|
-
},
|
|
138
|
-
export type
|
|
139
|
-
export declare const load_genfiles: (found_genfiles:
|
|
140
|
-
export declare const validate_gen_module: (mod: Record<string, any>) => mod is
|
|
141
|
-
export declare const normalize_gen_config: (gen: Gen) =>
|
|
135
|
+
export type LoadGenfilesResult = Result<{
|
|
136
|
+
value: LoadedGenfiles;
|
|
137
|
+
}, LoadGenfilesFailure>;
|
|
138
|
+
export type LoadGenfilesFailure = LoadModulesFailure<GenfileModuleMeta>;
|
|
139
|
+
export declare const load_genfiles: (found_genfiles: FoundGenfiles, timings?: Timings) => Promise<LoadGenfilesResult>;
|
|
140
|
+
export declare const validate_gen_module: (mod: Record<string, any>) => mod is GenfileModule;
|
|
141
|
+
export declare const normalize_gen_config: (gen: Gen) => GenConfig;
|
|
142
142
|
//# sourceMappingURL=gen.d.ts.map
|
package/dist/gen.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gen.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/gen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAGlD,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,0BAA0B,CAAC;AACrD,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAGvD,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"gen.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/gen.ts"],"names":[],"mappings":"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"}
|
package/dist/gen.js
CHANGED
|
@@ -4,7 +4,7 @@ import { styleText as st } from 'node:util';
|
|
|
4
4
|
import { existsSync } from 'node:fs';
|
|
5
5
|
import { print_path } from "./paths.js";
|
|
6
6
|
import { load_modules } from "./modules.js";
|
|
7
|
-
import {
|
|
7
|
+
import { InputPath, resolve_input_files, resolve_input_paths, } from "./input_path.js";
|
|
8
8
|
import { search_fs } from "./search_fs.js";
|
|
9
9
|
export const GEN_FILE_PATTERN_TEXT = 'gen';
|
|
10
10
|
export const GEN_FILE_PATTERN = '.' + GEN_FILE_PATTERN_TEXT + '.';
|
package/dist/gen.task.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gen.task.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/gen.task.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,
|
|
1
|
+
{"version":3,"file":"gen.task.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/gen.task.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAY,KAAK,IAAI,EAAC,MAAM,WAAW,CAAC;AAgB/C,cAAc;AACd,eAAO,MAAM,IAAI;;;;kBAaf,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAExC,cAAc;AACd,eAAO,MAAM,IAAI,EAAE,IAAI,CAAC,IAAI,CAqG3B,CAAC"}
|
package/dist/gen.task.js
CHANGED
|
@@ -2,9 +2,9 @@ import { styleText as st } from 'node:util';
|
|
|
2
2
|
import { print_ms, print_error } from '@ryanatkn/belt/print.js';
|
|
3
3
|
import { plural } from '@ryanatkn/belt/string.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import {
|
|
5
|
+
import { TaskError } from "./task.js";
|
|
6
6
|
import { run_gen } from "./run_gen.js";
|
|
7
|
-
import {
|
|
7
|
+
import { RawInputPath, to_input_paths } from "./input_path.js";
|
|
8
8
|
import { format_file } from "./format_file.js";
|
|
9
9
|
import { print_path } from "./paths.js";
|
|
10
10
|
import { log_error_reasons } from "./task_logging.js";
|
|
@@ -13,12 +13,12 @@ import { SOURCE_DIRNAME } from "./constants.js";
|
|
|
13
13
|
/** @nodocs */
|
|
14
14
|
export const Args = z.strictObject({
|
|
15
15
|
_: z
|
|
16
|
-
.array(
|
|
16
|
+
.array(RawInputPath)
|
|
17
17
|
.meta({ description: 'input paths to generate' })
|
|
18
18
|
.default([SOURCE_DIRNAME]),
|
|
19
19
|
root_dirs: z
|
|
20
20
|
.array(z.string())
|
|
21
|
-
.meta({ description: 'root directories to resolve input paths against' }) // TODO `
|
|
21
|
+
.meta({ description: 'root directories to resolve input paths against' }) // TODO `PathId` schema
|
|
22
22
|
.default([process.cwd()]),
|
|
23
23
|
check: z
|
|
24
24
|
.boolean()
|
|
@@ -42,7 +42,7 @@ export const task = {
|
|
|
42
42
|
}
|
|
43
43
|
else {
|
|
44
44
|
log_error_reasons(log, found.reasons);
|
|
45
|
-
throw new
|
|
45
|
+
throw new TaskError('Failed to find gen modules.');
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
const found_genfiles = found.value;
|
|
@@ -50,7 +50,7 @@ export const task = {
|
|
|
50
50
|
const loaded = await load_genfiles(found_genfiles, timings);
|
|
51
51
|
if (!loaded.ok) {
|
|
52
52
|
log_error_reasons(log, loaded.reasons);
|
|
53
|
-
throw new
|
|
53
|
+
throw new TaskError('Failed to load gen modules.');
|
|
54
54
|
}
|
|
55
55
|
const loaded_genfiles = loaded.value;
|
|
56
56
|
// run `gen` on each of the modules
|
|
@@ -74,7 +74,7 @@ export const task = {
|
|
|
74
74
|
log.error(st('red', `Generated file ${print_path(analyzed.file.id)} via ${print_path(analyzed.file.origin_id)} ${analyzed.is_new ? 'is new' : 'has changed'}.`));
|
|
75
75
|
}
|
|
76
76
|
if (has_unexpected_changes) {
|
|
77
|
-
throw new
|
|
77
|
+
throw new TaskError('Failed gen check. Some generated files have unexpectedly changed.' +
|
|
78
78
|
' Run `gro gen` and try again.');
|
|
79
79
|
}
|
|
80
80
|
log.info('check passed, no files have changed');
|
|
@@ -97,7 +97,7 @@ export const task = {
|
|
|
97
97
|
for (const result of gen_results.failures) {
|
|
98
98
|
log.error(result.reason, '\n', print_error(result.error));
|
|
99
99
|
}
|
|
100
|
-
throw new
|
|
100
|
+
throw new TaskError(`Failed to generate ${fail_count} file${plural(fail_count)}.`);
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
103
|
};
|
package/dist/gen_helpers.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Logger } from '@ryanatkn/belt/log.js';
|
|
2
2
|
import type { Timings } from '@ryanatkn/belt/timings.js';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { PathId } from '@ryanatkn/belt/path.js';
|
|
4
|
+
import type { GroConfig } from './gro_config.ts';
|
|
5
5
|
import { type Filer } from './filer.ts';
|
|
6
|
-
import type {
|
|
6
|
+
import type { InvokeTask } from './task.ts';
|
|
7
7
|
/**
|
|
8
8
|
* Check if a file change should trigger a gen file.
|
|
9
9
|
*/
|
|
10
|
-
export declare const should_trigger_gen: (gen_file_id:
|
|
10
|
+
export declare const should_trigger_gen: (gen_file_id: PathId, changed_file_id: PathId, config: GroConfig, filer: Filer, log: Logger, timings: Timings, invoke_task: InvokeTask) => Promise<boolean>;
|
|
11
11
|
//# sourceMappingURL=gen_helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gen_helpers.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/gen_helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"gen_helpers.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/gen_helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAoB,KAAK,KAAK,EAAC,MAAM,YAAY,CAAC;AACzD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,WAAW,CAAC;AAY1C;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAC9B,aAAa,MAAM,EACnB,iBAAiB,MAAM,EACvB,QAAQ,SAAS,EACjB,OAAO,KAAK,EACZ,KAAK,MAAM,EACX,SAAS,OAAO,EAChB,aAAa,UAAU,KACrB,OAAO,CAAC,OAAO,CAqCjB,CAAC"}
|