@ts-ioc-container/bundler 6.0.0 → 8.0.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 (63) hide show
  1. package/AGENTS.md +28 -15
  2. package/README.md +63 -28
  3. package/cjm/app.js +16 -6
  4. package/cjm/cli/usage.js +8 -5
  5. package/cjm/features/{build → bundle}/BuildConfig.js +42 -10
  6. package/cjm/features/{build → bundle}/BuildModule.js +6 -4
  7. package/cjm/features/{build/BuildController.js → bundle/BundleController.js} +39 -20
  8. package/cjm/features/{build → bundle}/domain/tokenCollisions.js +1 -1
  9. package/cjm/features/{build/services/BundleBuilder.js → bundle/services/BundleService.js} +25 -41
  10. package/cjm/features/bundle/services/BundleView.js +58 -0
  11. package/cjm/features/{build → bundle}/services/TicConfigService.js +16 -5
  12. package/cjm/index.js +22 -21
  13. package/cjm/schema/ticConfigSchema.js +3 -3
  14. package/cjm/services/ConsoleLogger.js +3 -0
  15. package/package.json +2 -2
  16. package/tic.schema.json +4 -10
  17. package/typings/app.d.ts +26 -7
  18. package/typings/cli/usage.d.ts.map +1 -1
  19. package/typings/features/{build → bundle}/BuildConfig.d.ts +51 -8
  20. package/typings/features/bundle/BuildConfig.d.ts.map +1 -0
  21. package/typings/features/bundle/BuildModule.d.ts.map +1 -0
  22. package/typings/features/bundle/BundleController.d.ts +45 -0
  23. package/typings/features/bundle/BundleController.d.ts.map +1 -0
  24. package/typings/features/bundle/domain/ImportPaths.d.ts.map +1 -0
  25. package/typings/features/bundle/domain/glob.d.ts.map +1 -0
  26. package/typings/features/bundle/domain/scan.d.ts.map +1 -0
  27. package/typings/features/bundle/domain/tokenCollisions.d.ts.map +1 -0
  28. package/typings/features/bundle/domain/tsconfig.d.ts.map +1 -0
  29. package/typings/features/bundle/services/BundleService.d.ts +39 -0
  30. package/typings/features/bundle/services/BundleService.d.ts.map +1 -0
  31. package/typings/features/bundle/services/BundleView.d.ts +33 -0
  32. package/typings/features/bundle/services/BundleView.d.ts.map +1 -0
  33. package/typings/features/{build → bundle}/services/TicConfigService.d.ts +14 -8
  34. package/typings/features/bundle/services/TicConfigService.d.ts.map +1 -0
  35. package/typings/index.d.ts +12 -12
  36. package/typings/schema/ticConfigSchema.d.ts.map +1 -1
  37. package/typings/services/ConsoleLogger.d.ts +4 -1
  38. package/typings/services/ConsoleLogger.d.ts.map +1 -1
  39. package/cjm/features/build/domain/emit.js +0 -34
  40. package/typings/features/build/BuildConfig.d.ts.map +0 -1
  41. package/typings/features/build/BuildController.d.ts +0 -37
  42. package/typings/features/build/BuildController.d.ts.map +0 -1
  43. package/typings/features/build/BuildModule.d.ts.map +0 -1
  44. package/typings/features/build/domain/ImportPaths.d.ts.map +0 -1
  45. package/typings/features/build/domain/emit.d.ts +0 -36
  46. package/typings/features/build/domain/emit.d.ts.map +0 -1
  47. package/typings/features/build/domain/glob.d.ts.map +0 -1
  48. package/typings/features/build/domain/scan.d.ts.map +0 -1
  49. package/typings/features/build/domain/tokenCollisions.d.ts.map +0 -1
  50. package/typings/features/build/domain/tsconfig.d.ts.map +0 -1
  51. package/typings/features/build/services/BundleBuilder.d.ts +0 -61
  52. package/typings/features/build/services/BundleBuilder.d.ts.map +0 -1
  53. package/typings/features/build/services/TicConfigService.d.ts.map +0 -1
  54. /package/cjm/features/{build → bundle}/domain/ImportPaths.js +0 -0
  55. /package/cjm/features/{build → bundle}/domain/glob.js +0 -0
  56. /package/cjm/features/{build → bundle}/domain/scan.js +0 -0
  57. /package/cjm/features/{build → bundle}/domain/tsconfig.js +0 -0
  58. /package/typings/features/{build → bundle}/BuildModule.d.ts +0 -0
  59. /package/typings/features/{build → bundle}/domain/ImportPaths.d.ts +0 -0
  60. /package/typings/features/{build → bundle}/domain/glob.d.ts +0 -0
  61. /package/typings/features/{build → bundle}/domain/scan.d.ts +0 -0
  62. /package/typings/features/{build → bundle}/domain/tokenCollisions.d.ts +0 -0
  63. /package/typings/features/{build → bundle}/domain/tsconfig.d.ts +0 -0
@@ -0,0 +1,39 @@
1
+ import { SingleToken } from 'ts-ioc-container';
2
+ import { type IFileSystemService } from '../../../services/NodeFileSystemService.js';
3
+ import type { BundleConfig } from '../BuildConfig.js';
4
+ import { type IBundleView } from './BundleView.js';
5
+ export interface Bundle {
6
+ /** Name of the generated class. */
7
+ bundle: string;
8
+ registrations: number;
9
+ /** Absolute paths of the files the bundle imports from, sorted. */
10
+ files: string[];
11
+ /** The generated bundle. Nothing is written: saving it is the caller's job (`tic build app.bundle.json > src/di/app.bundle.ts`). */
12
+ content: string;
13
+ /**
14
+ * Non-fatal problems found while building, e.g. a `paths.exclude` that drops a default
15
+ * test glob or two selected classes passing the same decorator token.
16
+ */
17
+ warnings: string[];
18
+ }
19
+ export interface IBundleService {
20
+ /**
21
+ * Generates the bundle a resolved config describes and returns it; nothing is written.
22
+ *
23
+ * @throws {TicConfigError} when the tsconfig is missing or invalid, or no tsconfig paths alias covers a selected class's file.
24
+ * @throws {NamespaceNotFoundError} when a path is neither a folder nor a tsconfig paths alias of one.
25
+ */
26
+ bundle(config: BundleConfig): Bundle;
27
+ }
28
+ export declare const IBundleServiceKey: SingleToken<IBundleService>;
29
+ export declare class BundleService implements IBundleService {
30
+ private readonly fs;
31
+ private readonly view;
32
+ constructor(fs: IFileSystemService, view: IBundleView);
33
+ /**
34
+ * @throws {TicConfigError} when the tsconfig is missing or invalid, or no tsconfig paths alias covers a selected class's file.
35
+ * @throws {NamespaceNotFoundError} when a path is neither a folder nor a tsconfig paths alias of one.
36
+ */
37
+ bundle(config: BundleConfig): Bundle;
38
+ }
39
+ //# sourceMappingURL=BundleService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BundleService.d.ts","sourceRoot":"","sources":["../../../../lib/features/bundle/services/BundleService.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,KAAK,kBAAkB,EAAyB,MAAM,yCAAyC,CAAC;AAEzG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAoB,KAAK,WAAW,EAAkB,MAAM,cAAc,CAAC;AAMlF,MAAM,WAAW,MAAM;IACrB,mCAAmC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,mEAAmE;IACnE,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,oIAAoI;IACpI,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAAC;CACtC;AAED,eAAO,MAAM,iBAAiB,6BAAoD,CAAC;AAEnF,qBACa,aAAc,YAAW,cAAc;IAEb,OAAO,CAAC,QAAQ,CAAC,EAAE;IAC1B,OAAO,CAAC,QAAQ,CAAC,IAAI;gBADG,EAAE,EAAE,kBAAkB,EAC7B,IAAI,EAAE,WAAW;IAGhE;;;OAGG;IACH,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM;CA6CrC"}
@@ -0,0 +1,33 @@
1
+ import { SingleToken } from 'ts-ioc-container';
2
+ import { type IRenderService } from '../../../services/HandlebarsRenderService.js';
3
+ import type { DiscoveredClass } from '../domain/scan.js';
4
+ export interface BundleViewInput {
5
+ /** Name of the generated class. */
6
+ name: string;
7
+ /** Shown in the header: the folders scanned. */
8
+ paths: string[];
9
+ classes: (DiscoveredClass & {
10
+ specifier: string;
11
+ })[];
12
+ }
13
+ /** The first line of every generated bundle; marks it as output, never input. */
14
+ export declare const GENERATED_HEADER = "// Generated by `tic build`";
15
+ /** Turns the selected classes into the generated bundle's source. */
16
+ export interface IBundleView {
17
+ /**
18
+ * Renders the generated bundle — static imports, and the bundle registering each selected class.
19
+ *
20
+ * @throws {Error} when the bundle protocol is not registered.
21
+ */
22
+ render(input: BundleViewInput): string;
23
+ }
24
+ export declare const IBundleViewKey: SingleToken<IBundleView>;
25
+ export declare class BundleView implements IBundleView {
26
+ private readonly renderer;
27
+ constructor(renderer: IRenderService);
28
+ /**
29
+ * @throws {Error} when the bundle protocol is not registered.
30
+ */
31
+ render(input: BundleViewInput): string;
32
+ }
33
+ //# sourceMappingURL=BundleView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BundleView.d.ts","sourceRoot":"","sources":["../../../../lib/features/bundle/services/BundleView.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,2CAA2C,CAAC;AACnG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC9B,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,CAAC,eAAe,GAAG;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;CACtD;AAED,iFAAiF;AACjF,eAAO,MAAM,gBAAgB,gCAAgC,CAAC;AAe9D,qEAAqE;AACrE,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,MAAM,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CAAC;CACxC;AAED,eAAO,MAAM,cAAc,0BAA8C,CAAC;AAE1E,qBACa,UAAW,YAAW,WAAW;IACD,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,cAAc;IAEpF;;OAEG;IACH,MAAM,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM;CAGvC"}
@@ -1,13 +1,15 @@
1
1
  import { SingleToken } from 'ts-ioc-container';
2
2
  import { type IFileSystemService } from '../../../services/NodeFileSystemService.js';
3
- import { type ResolvedConfig } from '../BuildConfig.js';
3
+ import { type BundleConfig } from '../BuildConfig.js';
4
4
  export interface ITicConfigService {
5
5
  /**
6
- * Reads and validates a config file: JSON for `.json`, YAML for `.yaml` / `.yml`.
6
+ * Reads and validates a config file: JSON for `.json`, YAML for `.yaml` / `.yml`. Given several,
7
+ * it merges them left to right (see `mergeConfigs`); they must sit in one folder, which their
8
+ * relative paths resolve against, and the last one names the bundle unless one sets `name`.
7
9
  *
8
- * @throws {TicConfigError} when the file is missing, has another extension, cannot be parsed, or does not match the config shape.
10
+ * @throws {TicConfigError} when a file is missing, has another extension, cannot be parsed, or does not match the config shape; when several files are in different folders.
9
11
  */
10
- load(file: string): ResolvedConfig;
12
+ load(files: string | string[]): BundleConfig;
11
13
  /**
12
14
  * Validates config text from somewhere other than a file — stdin, say. It is parsed as YAML,
13
15
  * which JSON is a subset of; its relative paths resolve against `dir`, and it has no file
@@ -15,19 +17,23 @@ export interface ITicConfigService {
15
17
  *
16
18
  * @throws {TicConfigError} when the text cannot be parsed, does not match the config shape, or has no `name`.
17
19
  */
18
- parse(text: string, dir: string): ResolvedConfig;
20
+ parse(text: string, dir: string): BundleConfig;
19
21
  }
20
22
  export declare const ITicConfigServiceKey: SingleToken<ITicConfigService>;
21
23
  export declare class TicConfigService implements ITicConfigService {
22
24
  private readonly fs;
23
25
  constructor(fs: IFileSystemService);
24
26
  /**
25
- * @throws {TicConfigError} when the file is missing, has another extension, cannot be parsed, or does not match the config shape.
27
+ * @throws {TicConfigError} when a file is missing, has another extension, cannot be parsed, or does not match the config shape; when several files are in different folders.
26
28
  */
27
- load(file: string): ResolvedConfig;
29
+ load(files: string | string[]): BundleConfig;
28
30
  /**
29
31
  * @throws {TicConfigError} when the text cannot be parsed, does not match the config shape, or has no `name`.
30
32
  */
31
- parse(text: string, dir: string): ResolvedConfig;
33
+ parse(text: string, dir: string): BundleConfig;
34
+ /**
35
+ * @throws {TicConfigError} when the file is missing, has another extension, or cannot be parsed.
36
+ */
37
+ private read;
32
38
  }
33
39
  //# sourceMappingURL=TicConfigService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TicConfigService.d.ts","sourceRoot":"","sources":["../../../../lib/features/bundle/services/TicConfigService.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAErE,OAAO,EAAE,KAAK,kBAAkB,EAAyB,MAAM,yCAAyC,CAAC;AACzG,OAAO,EAA2C,KAAK,YAAY,EAAwB,MAAM,gBAAgB,CAAC;AAElH,MAAM,WAAW,iBAAiB;IAChC;;;;;;OAMG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,YAAY,CAAC;IAE7C;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,YAAY,CAAC;CAChD;AAED,eAAO,MAAM,oBAAoB,gCAA0D,CAAC;AAE5F,qBACa,gBAAiB,YAAW,iBAAiB;IACT,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,kBAAkB;IAEtF;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,YAAY;IAiB5C;;OAEG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,YAAY;IAI9C;;OAEG;IACH,OAAO,CAAC,IAAI;CAMb"}
@@ -1,19 +1,19 @@
1
- export { build, run, loadConfig, createContainer } from './app.js';
1
+ export { build, run, loadConfig, createContainer, type BundleRequest, type BuildOptions } from './app.js';
2
2
  export { type CliIo, CliIoKey } from './domain/CliIo.js';
3
3
  export { type GlobalConfig, GlobalConfigKey, globalConfig } from './domain/GlobalConfig.js';
4
4
  export { Application, action, onDefault, DEFAULT_ACTION, commandArgs, parseOptions, validate, type IErrorHandler, IErrorHandlerKey, USAGE, } from './cli.js';
5
- export { BuildModule } from './features/build/BuildModule.js';
6
- export { BuildController, BUILD_OPTIONS, type BuildCliOptions } from './features/build/BuildController.js';
7
- export { BundleBuilder, IBundleBuilderKey, type IBundleBuilder, type BuildRequest, type BuildOptions, type BuildResult, } from './features/build/services/BundleBuilder.js';
8
- export { TicConfigService, ITicConfigServiceKey, type ITicConfigService, } from './features/build/services/TicConfigService.js';
9
- export { resolveConfig, BUNDLE_CONFIG_SCHEMA, parseConfig, CONFIG_FILE_SUFFIXES, STDIN, configFormat, DEFAULT_TSCONFIG, DEFAULT_EXCLUDE, DEFAULT_DECORATORS, toClassName, type BundleConfig, type ClassSelector, type ExportKind, type ResolvedClassSelector, type PathSelector, type ResolvedPathSelector, type ResolvedConfig, type ConfigFormat, } from './features/build/BuildConfig.js';
5
+ export { BuildModule } from './features/bundle/BuildModule.js';
6
+ export { BundleController, BUILD_OPTIONS, type BuildCliOptions } from './features/bundle/BundleController.js';
7
+ export { BundleService, IBundleServiceKey, type IBundleService, type Bundle, } from './features/bundle/services/BundleService.js';
8
+ export { TicConfigService, ITicConfigServiceKey, type ITicConfigService, } from './features/bundle/services/TicConfigService.js';
9
+ export { resolveConfig, BUNDLE_CONFIG_SCHEMA, BUNDLE_CONFIG_FILE_SCHEMA, mergeConfigs, parseConfig, CONFIG_FILE_SUFFIXES, STDIN, configFormat, DEFAULT_TSCONFIG, DEFAULT_EXCLUDE, DEFAULT_DECORATORS, toClassName, type BundleConfigFile, type ClassSelector, type ExportKind, type ResolvedClassSelector, type PathSelector, type ResolvedPathSelector, type BundleConfig, type ConfigFormat, } from './features/bundle/BuildConfig.js';
10
10
  export { ticConfigJsonSchema } from './schema/ticConfigSchema.js';
11
- export { ImportPaths } from './features/build/domain/ImportPaths.js';
12
- export { loadImportPaths } from './features/build/domain/tsconfig.js';
13
- export { findClasses, isSourceFile, listSourceFiles, type DiscoveredClass } from './features/build/domain/scan.js';
14
- export { emitBundle, bundleView, BUNDLE_PROTOCOL, GENERATED_HEADER, type EmitInput, type BundleView, } from './features/build/domain/emit.js';
15
- export { tokenCollisions } from './features/build/domain/tokenCollisions.js';
16
- export { globToRegExp } from './features/build/domain/glob.js';
11
+ export { ImportPaths } from './features/bundle/domain/ImportPaths.js';
12
+ export { loadImportPaths } from './features/bundle/domain/tsconfig.js';
13
+ export { findClasses, isSourceFile, listSourceFiles, type DiscoveredClass } from './features/bundle/domain/scan.js';
14
+ export { BundleView, IBundleViewKey, type IBundleView, type BundleViewInput, GENERATED_HEADER, } from './features/bundle/services/BundleView.js';
15
+ export { tokenCollisions } from './features/bundle/domain/tokenCollisions.js';
16
+ export { globToRegExp } from './features/bundle/domain/glob.js';
17
17
  export { HelpModule } from './features/help/HelpModule.js';
18
18
  export { CommonModule } from './modules/CommonModule.js';
19
19
  export { type IOutputService, IOutputServiceKey, StdOutputService } from './services/OutputService.js';
@@ -1 +1 @@
1
- {"version":3,"file":"ticConfigSchema.d.ts","sourceRoot":"","sources":["../../lib/schema/ticConfigSchema.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAoB7D"}
1
+ {"version":3,"file":"ticConfigSchema.d.ts","sourceRoot":"","sources":["../../lib/schema/ticConfigSchema.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAqB7D"}
@@ -2,9 +2,11 @@ import { SingleToken } from 'ts-ioc-container';
2
2
  import { type CliIo } from '../domain/CliIo.js';
3
3
  /**
4
4
  * Diagnostics, kept off stdout so a command's output stays machine-readable.
5
- * Every line is prefixed with `tic:`.
5
+ * Warnings and errors are prefixed with `tic:`.
6
6
  */
7
7
  export interface ILogger {
8
+ /** Progress, printed as is: `<message>`. */
9
+ info(message: string): void;
8
10
  /** A non-fatal problem: `tic: warning: <message>`. */
9
11
  warn(message: string): void;
10
12
  /** A fatal problem: `tic: <message>`. */
@@ -14,6 +16,7 @@ export declare const ILoggerKey: SingleToken<ILogger>;
14
16
  export declare class ConsoleLogger implements ILogger {
15
17
  private readonly io;
16
18
  constructor(io: CliIo);
19
+ info(message: string): void;
17
20
  warn(message: string): void;
18
21
  error(message: string): void;
19
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ConsoleLogger.d.ts","sourceRoot":"","sources":["../../lib/services/ConsoleLogger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,KAAK,KAAK,EAAY,MAAM,iBAAiB,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,OAAO;IACtB,sDAAsD;IACtD,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,yCAAyC;IACzC,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,UAAU,sBAAsC,CAAC;AAE9D,qBACa,aAAc,YAAW,OAAO;IACT,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,KAAK;IAE5D,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI3B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;CAG7B"}
1
+ {"version":3,"file":"ConsoleLogger.d.ts","sourceRoot":"","sources":["../../lib/services/ConsoleLogger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,KAAK,KAAK,EAAY,MAAM,iBAAiB,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,OAAO;IACtB,4CAA4C;IAC5C,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,sDAAsD;IACtD,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,yCAAyC;IACzC,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,UAAU,sBAAsC,CAAC;AAE9D,qBACa,aAAc,YAAW,OAAO;IACT,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,KAAK;IAE5D,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI3B,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI3B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;CAG7B"}
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BUNDLE_PROTOCOL = exports.GENERATED_HEADER = void 0;
4
- exports.bundleView = bundleView;
5
- exports.emitBundle = emitBundle;
6
- const HandlebarsRenderService_1 = require("../../../services/HandlebarsRenderService");
7
- exports.GENERATED_HEADER = '// Generated by `tic build`';
8
- exports.BUNDLE_PROTOCOL = 'Bundle.ts.hbs';
9
- const RUNTIME_IMPORTS = ['IContainer', 'IContainerModule', 'Registration'];
10
- function bundleView({ name, paths, classes }) {
11
- const taken = new Set([...RUNTIME_IMPORTS, 'container', name]);
12
- const uniqueName = (wanted) => {
13
- let candidate = wanted;
14
- for (let n = 2; taken.has(candidate); n++)
15
- candidate = `${wanted}_${n}`;
16
- taken.add(candidate);
17
- return candidate;
18
- };
19
- const byFile = new Map();
20
- const bindings = classes.map((cls) => {
21
- const binding = uniqueName(cls.localName);
22
- const entry = byFile.get(cls.file) ?? { specifier: cls.specifier, named: [] };
23
- byFile.set(cls.file, entry);
24
- if (cls.exportName === 'default')
25
- entry.defaultName = binding;
26
- else
27
- entry.named.push(binding === cls.exportName ? binding : `${cls.exportName} as ${binding}`);
28
- return binding;
29
- });
30
- return { paths, name, imports: [...byFile.values()], registrations: bindings };
31
- }
32
- function emitBundle(input) {
33
- return (0, HandlebarsRenderService_1.renderProtocol)(exports.BUNDLE_PROTOCOL, bundleView(input));
34
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"BuildConfig.d.ts","sourceRoot":"","sources":["../../../lib/features/build/BuildConfig.ts"],"names":[],"mappings":"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"}
@@ -1,37 +0,0 @@
1
- import { z } from 'zod';
2
- import { type CliIo } from '../../domain/CliIo.js';
3
- import { type ILogger } from '../../services/ConsoleLogger.js';
4
- import { type IOutputService } from '../../services/OutputService.js';
5
- import { type IBundleBuilder } from './services/BundleBuilder.js';
6
- export declare const BUILD_OPTIONS: z.ZodPipe<z.ZodObject<{
7
- positionals: z.ZodArray<z.ZodString>;
8
- }, z.core.$strip>, z.ZodTransform<{
9
- config: string;
10
- }, {
11
- positionals: string[];
12
- }>>;
13
- export type BuildCliOptions = z.output<typeof BUILD_OPTIONS>;
14
- /** `tic build [<config> | -]`: the bundle goes to stdout; without a config file, the config comes from stdin. */
15
- export declare class BuildController {
16
- private readonly io;
17
- private readonly builder;
18
- private readonly output;
19
- private readonly logger;
20
- constructor(io: CliIo, builder: IBundleBuilder, output: IOutputService, logger: ILogger);
21
- /**
22
- * Builds the bundle the config file `<config>` describes — or, without one (or with `-`),
23
- * the config piped into stdin — and prints it to stdout. Saving it is the shell's job:
24
- * `tic build app.bundle.json > src/di/app.bundle.ts`, `cat app.bundle.yml | tic build > out.ts`.
25
- * Warnings go to stderr, so they never end up in the bundle; an error names the config.
26
- *
27
- * @throws {UsageError} when an option is unknown, there is more than one `<config>`, or the config should come from stdin and nothing is piped in.
28
- * @throws {TicConfigError} when the config file is missing or unreadable, the config or its tsconfig is invalid, the bundle has no name, or no tsconfig paths alias covers a selected class's file.
29
- * @throws {NamespaceNotFoundError} when a path is neither a folder nor a tsconfig paths alias of one.
30
- */
31
- build({ config }: BuildCliOptions): void;
32
- /**
33
- * @throws {UsageError} when nothing is piped into stdin.
34
- */
35
- private stdin;
36
- }
37
- //# sourceMappingURL=BuildController.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BuildController.d.ts","sourceRoot":"","sources":["../../../lib/features/build/BuildController.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,KAAK,EAAY,MAAM,oBAAoB,CAAC;AAE1D,OAAO,EAAE,KAAK,OAAO,EAAc,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,8BAA8B,CAAC;AAEtF,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,0BAA0B,CAAC;AAElF,eAAO,MAAM,aAAa;;;;;;GAOxB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AAI7D,iHAAiH;AACjH,qBACa,eAAe;IAEF,OAAO,CAAC,QAAQ,CAAC,EAAE;IACV,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM;IAC9B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAHR,EAAE,EAAE,KAAK,EACA,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,cAAc,EAC7B,MAAM,EAAE,OAAO;IAG1D;;;;;;;;;OASG;IAEH,KAAK,CAAgE,EAAE,MAAM,EAAE,EAAE,eAAe,GAAG,IAAI;IAavG;;OAEG;IACH,OAAO,CAAC,KAAK;CAOd"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BuildModule.d.ts","sourceRoot":"","sources":["../../../lib/features/build/BuildModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAqB,MAAM,kBAAkB,CAAC;AAK7F,qBAAa,WAAY,YAAW,gBAAgB;IAClD,OAAO,CAAC,SAAS,EAAE,UAAU,GAAG,IAAI;CAMrC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImportPaths.d.ts","sourceRoot":"","sources":["../../../../lib/features/build/domain/ImportPaths.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAIjC,UAAU,KAAK;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAaD;;;GAGG;AACH,qBAAa,WAAW;IAmBpB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM;IAnB5B;;;OAGG;IACH,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,EAAE,CAAC,eAAe,EAAE,YAAY,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,WAAW;gBAczF,OAAO,EAAE,KAAK,EAAE,EACxB,SAAS,EAAE,MAAM;IAG5B;;;;OAIG;IACH,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM;IAa5D;;;;;OAKG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE;IAOpD;;;;OAIG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAK3C,OAAO,CAAC,SAAS;IAWjB,8GAA8G;IAC9G,OAAO,CAAC,YAAY;IAYpB,yGAAyG;IACzG,OAAO,CAAC,UAAU;CAanB"}
@@ -1,36 +0,0 @@
1
- import type { DiscoveredClass } from './scan.js';
2
- export interface EmitInput {
3
- /** Name of the generated class. */
4
- name: string;
5
- /** Shown in the header: the folders scanned. */
6
- paths: string[];
7
- classes: (DiscoveredClass & {
8
- specifier: string;
9
- })[];
10
- }
11
- /** The first line of every generated bundle; marks it as output, never input. */
12
- export declare const GENERATED_HEADER = "// Generated by `tic build`";
13
- /** What `protocols/Bundle.ts.hbs` renders. */
14
- export interface BundleView {
15
- paths: string[];
16
- name: string;
17
- imports: {
18
- specifier: string;
19
- defaultName?: string;
20
- named: string[];
21
- }[];
22
- registrations: string[];
23
- }
24
- /** The protocol a bundle is rendered from. */
25
- export declare const BUNDLE_PROTOCOL = "Bundle.ts.hbs";
26
- /**
27
- * Prepares the data the bundle protocol renders: unique local names, and one import
28
- * per file in file order.
29
- */
30
- export declare function bundleView({ name, paths, classes }: EmitInput): BundleView;
31
- /**
32
- * Renders the generated bundle — static imports, and the bundle registering each selected class —
33
- * from its protocol, `protocols/Bundle.ts.hbs`.
34
- */
35
- export declare function emitBundle(input: EmitInput): string;
36
- //# sourceMappingURL=emit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emit.d.ts","sourceRoot":"","sources":["../../../../lib/features/build/domain/emit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAE9C,MAAM,WAAW,SAAS;IACxB,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,CAAC,eAAe,GAAG;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;CACtD;AAED,iFAAiF;AACjF,eAAO,MAAM,gBAAgB,gCAAgC,CAAC;AAE9D,8CAA8C;AAC9C,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAC;IACxE,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,8CAA8C;AAC9C,eAAO,MAAM,eAAe,kBAAkB,CAAC;AAI/C;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,SAAS,GAAG,UAAU,CAsB1E;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAEnD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"glob.d.ts","sourceRoot":"","sources":["../../../../lib/features/build/domain/glob.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAiBjD;AAED,eAAO,MAAM,OAAO,GAAI,MAAM,MAAM,KAAG,MAAoC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"scan.d.ts","sourceRoot":"","sources":["../../../../lib/features/build/domain/scan.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE5D,wDAAwD;AACxD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,UAAU,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAC;IAClB,oFAAoF;IACpF,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,iEAAiE;IACjE,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB;;;;OAIG;IACH,cAAc,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAC;CACpD;AAKD,8EAA8E;AAC9E,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,KAAG,OAAiE,CAAC;AAE9G,mHAAmH;AACnH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,EAAE,CAc5F;AA2BD;;;GAGG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,qBAAqB,EAC/B,IAAI,SAA6B,GAChC,eAAe,EAAE,CAkFnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tokenCollisions.d.ts","sourceRoot":"","sources":["../../../../lib/features/build/domain/tokenCollisions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAE9C;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,eAAe,EAAE,GAAG,MAAM,EAAE,CAmBpE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tsconfig.d.ts","sourceRoot":"","sources":["../../../../lib/features/build/domain/tsconfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAK5C;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,WAAW,CAapH"}
@@ -1,61 +0,0 @@
1
- import { SingleToken } from 'ts-ioc-container';
2
- import { type IRenderService } from '../../../services/HandlebarsRenderService.js';
3
- import { type IFileSystemService } from '../../../services/NodeFileSystemService.js';
4
- import { type ITicConfigService } from './TicConfigService.js';
5
- /** What one build does. Paths resolve against the run's working directory. */
6
- export type BuildRequest = {
7
- /** Path of the config file — `*.json`, `*.yaml` or `*.yml` — relative to the working directory. */
8
- config: string;
9
- } | {
10
- /**
11
- * The config as text, e.g. read from stdin: YAML or JSON. Its relative paths resolve
12
- * against the working directory, and it must set `name`.
13
- */
14
- text: string;
15
- };
16
- export type BuildOptions = BuildRequest & {
17
- /** Default `process.cwd()`. */
18
- cwd?: string;
19
- };
20
- export interface BuildResult {
21
- /** Absolute path of the config file that was built; `undefined` for config text. */
22
- config?: string;
23
- /** Name of the generated class. */
24
- bundle: string;
25
- registrations: number;
26
- /** The generated bundle. Nothing is written: saving it is the caller's job (`tic build app.bundle.json > src/di/app.bundle.ts`). */
27
- content: string;
28
- /**
29
- * Non-fatal problems found while building, e.g. a `paths.exclude` that drops a default
30
- * test glob or two selected classes passing the same decorator token.
31
- */
32
- warnings: string[];
33
- }
34
- export interface IBundleBuilder {
35
- /**
36
- * Generates the bundle a config describes and returns it; nothing is written.
37
- *
38
- * @throws {TicConfigError} when the config file is missing or unreadable, the config or its tsconfig is invalid, the bundle has no name, or no tsconfig paths alias covers a selected class's file.
39
- * @throws {NamespaceNotFoundError} when a path is neither a folder nor a tsconfig paths alias of one.
40
- */
41
- build(request: BuildRequest): BuildResult;
42
- }
43
- export declare const IBundleBuilderKey: SingleToken<IBundleBuilder>;
44
- export declare class BundleBuilder implements IBundleBuilder {
45
- private readonly cwd;
46
- private readonly configs;
47
- private readonly fs;
48
- private readonly renderer;
49
- constructor(cwd: string, configs: ITicConfigService, fs: IFileSystemService, renderer: IRenderService);
50
- /**
51
- * @throws {TicConfigError} when the config file is missing or unreadable, the config or its tsconfig is invalid, the bundle has no name, or no tsconfig paths alias covers a selected class's file.
52
- * @throws {NamespaceNotFoundError} when a path is neither a folder nor a tsconfig paths alias of one.
53
- */
54
- build(request: BuildRequest): BuildResult;
55
- /**
56
- * @throws {TicConfigError} when the tsconfig is missing or invalid, or no tsconfig paths alias covers a selected class's file.
57
- * @throws {NamespaceNotFoundError} when a path is neither a folder nor a tsconfig paths alias of one.
58
- */
59
- private generate;
60
- }
61
- //# sourceMappingURL=BundleBuilder.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BundleBuilder.d.ts","sourceRoot":"","sources":["../../../../lib/features/build/services/BundleBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAErE,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,2CAA2C,CAAC;AACnG,OAAO,EAAE,KAAK,kBAAkB,EAAyB,MAAM,yCAAyC,CAAC;AAGzG,OAAO,EAAE,KAAK,iBAAiB,EAAwB,MAAM,oBAAoB,CAAC;AAOlF,8EAA8E;AAC9E,MAAM,MAAM,YAAY,GACpB;IACE,mGAAmG;IACnG,MAAM,EAAE,MAAM,CAAC;CAChB,GACD;IACE;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEN,MAAM,MAAM,YAAY,GAAG,YAAY,GAAG;IACxC,+BAA+B;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,oFAAoF;IACpF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,oIAAoI;IACpI,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW,CAAC;CAC3C;AAED,eAAO,MAAM,iBAAiB,6BAAoD,CAAC;AAEnF,qBACa,aAAc,YAAW,cAAc;IAEnB,OAAO,CAAC,QAAQ,CAAC,GAAG;IACf,OAAO,CAAC,QAAQ,CAAC,OAAO;IACvB,OAAO,CAAC,QAAQ,CAAC,EAAE;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAHV,GAAG,EAAE,MAAM,EACN,OAAO,EAAE,iBAAiB,EACzB,EAAE,EAAE,kBAAkB,EAC1B,QAAQ,EAAE,cAAc;IAG1E;;;OAGG;IACH,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAezC;;;OAGG;IACH,OAAO,CAAC,QAAQ;CA0CjB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TicConfigService.d.ts","sourceRoot":"","sources":["../../../../lib/features/build/services/TicConfigService.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAErE,OAAO,EAAE,KAAK,kBAAkB,EAAyB,MAAM,yCAAyC,CAAC;AACzG,OAAO,EAA6B,KAAK,cAAc,EAAwB,MAAM,gBAAgB,CAAC;AAEtG,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAAC;IAEnC;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,cAAc,CAAC;CAClD;AAED,eAAO,MAAM,oBAAoB,gCAA0D,CAAC;AAE5F,qBACa,gBAAiB,YAAW,iBAAiB;IACT,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,kBAAkB;IAEtF;;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc;IAOlC;;OAEG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,cAAc;CAGjD"}
File without changes
File without changes