archicat 0.1.0 → 0.1.2

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.
@@ -1 +1,112 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});function e(e){return Object.freeze({kind:`app`,name:e.name,...e.root===void 0?{}:{root:e.root},dependencies:Object.freeze([...e.dependencies??[]])})}function t(e){let t={...e};for(let e of Object.keys(t))t[e]===void 0&&delete t[e];return Object.freeze(t)}function n(e={}){return t({root:e.root,outDir:e.outDir,typescript:e.typescript?r(e.typescript):void 0,alias:e.alias?Object.freeze({...e.alias}):void 0,modules:e.modules?a(e.modules):void 0,libraries:e.libraries?o(e.libraries):void 0,apps:e.apps?s(e.apps):void 0})}function r(e){return t({tsConfig:e.tsConfig?i(e.tsConfig):void 0})}function i(e){return t({extends:e.extends,include:e.include?Object.freeze([...e.include]):void 0,exclude:e.exclude?Object.freeze([...e.exclude]):void 0,files:e.files?Object.freeze([...e.files]):void 0,compilerOptions:e.compilerOptions?Object.freeze({...e.compilerOptions}):void 0})}function a(e){return t({include:e.include?Object.freeze([...e.include]):void 0,alias:e.alias})}function o(e){return t({include:e.include?Object.freeze([...e.include]):void 0,alias:e.alias})}function s(e){return t({include:e.include?Object.freeze([...e.include]):void 0})}function c(e){return typeof e==`string`?Object.freeze({root:e,dependencies:Object.freeze([])}):t({root:e?.root,dependencies:Object.freeze([...e?.dependencies??[]])})}function l(e){return Object.freeze({kind:`library`,name:e.name,api:c(e.api),impl:c(e.impl)})}function u(e){return Object.freeze({kind:`module`,name:e.name,api:c(e.api),impl:c(e.impl)})}exports.defineApp=e,exports.defineArchicatConfig=n,exports.defineLibrary=l,exports.defineModule=u;
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ //#region src/configuration/define-app-config.ts
3
+ /**
4
+ * @description Defines one Archicat app composition root.
5
+ */
6
+ function defineApp(app) {
7
+ return Object.freeze({
8
+ kind: "app",
9
+ name: app.name,
10
+ ...app.root === void 0 ? {} : { root: app.root },
11
+ dependencies: Object.freeze([...app.dependencies ?? []])
12
+ });
13
+ }
14
+
15
+ //#endregion
16
+ //#region src/configuration/compact-config.ts
17
+ function compactConfig(value) {
18
+ const result = { ...value };
19
+ for (const key of Object.keys(result)) if (result[key] === void 0) delete result[key];
20
+ return Object.freeze(result);
21
+ }
22
+
23
+ //#endregion
24
+ //#region src/configuration/define-archicat-config.ts
25
+ /**
26
+ * @description Defines the root Archicat config.
27
+ */
28
+ function defineArchicatConfig(config = {}) {
29
+ return compactConfig({
30
+ root: config.root,
31
+ outDir: config.outDir,
32
+ typescript: config.typescript ? freezeTypeScriptConfig(config.typescript) : void 0,
33
+ alias: config.alias ? Object.freeze({ ...config.alias }) : void 0,
34
+ modules: config.modules ? freezeModulesConfig(config.modules) : void 0,
35
+ libraries: config.libraries ? freezeLibrariesConfig(config.libraries) : void 0,
36
+ apps: config.apps ? freezeAppsConfig(config.apps) : void 0
37
+ });
38
+ }
39
+ function freezeTypeScriptConfig(config) {
40
+ return compactConfig({ tsConfig: config.tsConfig ? freezeTsConfig(config.tsConfig) : void 0 });
41
+ }
42
+ function freezeTsConfig(config) {
43
+ return compactConfig({
44
+ extends: config.extends,
45
+ include: config.include ? Object.freeze([...config.include]) : void 0,
46
+ exclude: config.exclude ? Object.freeze([...config.exclude]) : void 0,
47
+ files: config.files ? Object.freeze([...config.files]) : void 0,
48
+ compilerOptions: config.compilerOptions ? Object.freeze({ ...config.compilerOptions }) : void 0
49
+ });
50
+ }
51
+ function freezeModulesConfig(config) {
52
+ return compactConfig({
53
+ include: config.include ? Object.freeze([...config.include]) : void 0,
54
+ alias: config.alias
55
+ });
56
+ }
57
+ function freezeLibrariesConfig(config) {
58
+ return compactConfig({
59
+ include: config.include ? Object.freeze([...config.include]) : void 0,
60
+ alias: config.alias
61
+ });
62
+ }
63
+ function freezeAppsConfig(config) {
64
+ return compactConfig({ include: config.include ? Object.freeze([...config.include]) : void 0 });
65
+ }
66
+
67
+ //#endregion
68
+ //#region src/configuration/define-surface-config.ts
69
+ function defineSurface(surface) {
70
+ if (typeof surface === "string") return Object.freeze({
71
+ root: surface,
72
+ dependencies: Object.freeze([])
73
+ });
74
+ return compactConfig({
75
+ root: surface?.root,
76
+ dependencies: Object.freeze([...surface?.dependencies ?? []])
77
+ });
78
+ }
79
+
80
+ //#endregion
81
+ //#region src/configuration/define-library-config.ts
82
+ /**
83
+ * @description Defines one Archicat library.
84
+ */
85
+ function defineLibrary(library) {
86
+ return Object.freeze({
87
+ kind: "library",
88
+ name: library.name,
89
+ api: defineSurface(library.api),
90
+ impl: defineSurface(library.impl)
91
+ });
92
+ }
93
+
94
+ //#endregion
95
+ //#region src/configuration/define-module-config.ts
96
+ /**
97
+ * @description Defines one Archicat module.
98
+ */
99
+ function defineModule(module) {
100
+ return Object.freeze({
101
+ kind: "module",
102
+ name: module.name,
103
+ api: defineSurface(module.api),
104
+ impl: defineSurface(module.impl)
105
+ });
106
+ }
107
+
108
+ //#endregion
109
+ exports.defineApp = defineApp;
110
+ exports.defineArchicatConfig = defineArchicatConfig;
111
+ exports.defineLibrary = defineLibrary;
112
+ exports.defineModule = defineModule;
@@ -1,4 +1,4 @@
1
- //#region src/configs/archicat-project-graph.d.ts
1
+ //#region src/configuration/archicat-project-graph.d.ts
2
2
  /**
3
3
  * @description Generated dependency targets allowed in module API surfaces.
4
4
  */
@@ -44,7 +44,7 @@ type ArchicatLibraryImplDependency = ArchicatDependencyKey<ArchicatLibraryImplDe
44
44
  */
45
45
  type ArchicatAppDependency = ArchicatDependencyKey<ArchicatAppDependencies>;
46
46
  //#endregion
47
- //#region src/configs/app-config.d.ts
47
+ //#region src/configuration/app-config.d.ts
48
48
  /**
49
49
  * @description User-facing app composition definition input.
50
50
  */
@@ -74,7 +74,7 @@ type ArchicatAppContract = Readonly<{
74
74
  readonly dependencies: readonly ArchicatAppDependency[];
75
75
  }>;
76
76
  //#endregion
77
- //#region src/configs/archicat-config.d.ts
77
+ //#region src/configuration/archicat-config.d.ts
78
78
  /**
79
79
  * @description TypeScript config fragment merged into generated `.archicat/tsconfig.json`.
80
80
  */
@@ -204,7 +204,7 @@ interface ArchicatConfigInput {
204
204
  */
205
205
  type ArchicatConfig = Readonly<ArchicatConfigInput>;
206
206
  //#endregion
207
- //#region src/configs/surface-config.d.ts
207
+ //#region src/configuration/surface-config.d.ts
208
208
  /**
209
209
  * @description Surface root shorthand or full surface config.
210
210
  */
@@ -232,7 +232,7 @@ type ArchicatSurfaceContract<Dependency extends string> = Readonly<{
232
232
  readonly dependencies: readonly Dependency[];
233
233
  }>;
234
234
  //#endregion
235
- //#region src/configs/library-config.d.ts
235
+ //#region src/configuration/library-config.d.ts
236
236
  /**
237
237
  * @description User-facing library definition input.
238
238
  */
@@ -262,7 +262,7 @@ type ArchicatLibraryContract = Readonly<{
262
262
  readonly impl: ArchicatSurfaceContract<ArchicatLibraryImplDependency>;
263
263
  }>;
264
264
  //#endregion
265
- //#region src/configs/module-config.d.ts
265
+ //#region src/configuration/module-config.d.ts
266
266
  /**
267
267
  * @description User-facing module definition input.
268
268
  */
@@ -292,28 +292,28 @@ type ArchicatModuleContract = Readonly<{
292
292
  readonly impl: ArchicatSurfaceContract<ArchicatModuleImplDependency>;
293
293
  }>;
294
294
  //#endregion
295
- //#region src/configs/define-app-config.d.ts
295
+ //#region src/configuration/define-app-config.d.ts
296
296
  /**
297
297
  * @description Defines one Archicat app composition root.
298
298
  */
299
- declare function defineApp(app: ArchicatAppInput): ArchicatAppContract;
299
+ export declare function defineApp(app: ArchicatAppInput): ArchicatAppContract;
300
300
  //#endregion
301
- //#region src/configs/define-archicat-config.d.ts
301
+ //#region src/configuration/define-archicat-config.d.ts
302
302
  /**
303
303
  * @description Defines the root Archicat config.
304
304
  */
305
- declare function defineArchicatConfig(config?: ArchicatConfigInput): ArchicatConfig;
305
+ export declare function defineArchicatConfig(config?: ArchicatConfigInput): ArchicatConfig;
306
306
  //#endregion
307
- //#region src/configs/define-library-config.d.ts
307
+ //#region src/configuration/define-library-config.d.ts
308
308
  /**
309
309
  * @description Defines one Archicat library.
310
310
  */
311
- declare function defineLibrary(library: ArchicatLibraryInput): ArchicatLibraryContract;
311
+ export declare function defineLibrary(library: ArchicatLibraryInput): ArchicatLibraryContract;
312
312
  //#endregion
313
- //#region src/configs/define-module-config.d.ts
313
+ //#region src/configuration/define-module-config.d.ts
314
314
  /**
315
315
  * @description Defines one Archicat module.
316
316
  */
317
- declare function defineModule(module: ArchicatModuleInput): ArchicatModuleContract;
317
+ export declare function defineModule(module: ArchicatModuleInput): ArchicatModuleContract;
318
318
  //#endregion
319
- export { type AliasConfig, type AppsConfigInput, type ArchicatAppContract, type ArchicatAppDependencies, type ArchicatAppDependency, type ArchicatAppInput, type ArchicatConfig, type ArchicatConfigInput, type ArchicatLibraryApiDependencies, type ArchicatLibraryApiDependency, type ArchicatLibraryContract, type ArchicatLibraryImplDependencies, type ArchicatLibraryImplDependency, type ArchicatLibraryInput, type ArchicatModuleApiDependencies, type ArchicatModuleApiDependency, type ArchicatModuleContract, type ArchicatModuleImplDependencies, type ArchicatModuleImplDependency, type ArchicatModuleInput, type ArchicatSurfaceConfig, type ArchicatSurfaceContract, type ArchicatSurfaceInput, type LibrariesConfigInput, type ModulesConfigInput, type TsConfigInput, type TypeScriptConfigInput, defineApp, defineArchicatConfig, defineLibrary, defineModule };
319
+ export type { AliasConfig, AppsConfigInput, ArchicatAppContract, ArchicatAppDependencies, ArchicatAppDependency, ArchicatAppInput, ArchicatConfig, ArchicatConfigInput, ArchicatLibraryApiDependencies, ArchicatLibraryApiDependency, ArchicatLibraryContract, ArchicatLibraryImplDependencies, ArchicatLibraryImplDependency, ArchicatLibraryInput, ArchicatModuleApiDependencies, ArchicatModuleApiDependency, ArchicatModuleContract, ArchicatModuleImplDependencies, ArchicatModuleImplDependency, ArchicatModuleInput, ArchicatSurfaceConfig, ArchicatSurfaceContract, ArchicatSurfaceInput, LibrariesConfigInput, ModulesConfigInput, TsConfigInput, TypeScriptConfigInput };
@@ -1,4 +1,4 @@
1
- //#region src/configs/archicat-project-graph.d.ts
1
+ //#region src/configuration/archicat-project-graph.d.ts
2
2
  /**
3
3
  * @description Generated dependency targets allowed in module API surfaces.
4
4
  */
@@ -44,7 +44,7 @@ type ArchicatLibraryImplDependency = ArchicatDependencyKey<ArchicatLibraryImplDe
44
44
  */
45
45
  type ArchicatAppDependency = ArchicatDependencyKey<ArchicatAppDependencies>;
46
46
  //#endregion
47
- //#region src/configs/app-config.d.ts
47
+ //#region src/configuration/app-config.d.ts
48
48
  /**
49
49
  * @description User-facing app composition definition input.
50
50
  */
@@ -74,7 +74,7 @@ type ArchicatAppContract = Readonly<{
74
74
  readonly dependencies: readonly ArchicatAppDependency[];
75
75
  }>;
76
76
  //#endregion
77
- //#region src/configs/archicat-config.d.ts
77
+ //#region src/configuration/archicat-config.d.ts
78
78
  /**
79
79
  * @description TypeScript config fragment merged into generated `.archicat/tsconfig.json`.
80
80
  */
@@ -204,7 +204,7 @@ interface ArchicatConfigInput {
204
204
  */
205
205
  type ArchicatConfig = Readonly<ArchicatConfigInput>;
206
206
  //#endregion
207
- //#region src/configs/surface-config.d.ts
207
+ //#region src/configuration/surface-config.d.ts
208
208
  /**
209
209
  * @description Surface root shorthand or full surface config.
210
210
  */
@@ -232,7 +232,7 @@ type ArchicatSurfaceContract<Dependency extends string> = Readonly<{
232
232
  readonly dependencies: readonly Dependency[];
233
233
  }>;
234
234
  //#endregion
235
- //#region src/configs/library-config.d.ts
235
+ //#region src/configuration/library-config.d.ts
236
236
  /**
237
237
  * @description User-facing library definition input.
238
238
  */
@@ -262,7 +262,7 @@ type ArchicatLibraryContract = Readonly<{
262
262
  readonly impl: ArchicatSurfaceContract<ArchicatLibraryImplDependency>;
263
263
  }>;
264
264
  //#endregion
265
- //#region src/configs/module-config.d.ts
265
+ //#region src/configuration/module-config.d.ts
266
266
  /**
267
267
  * @description User-facing module definition input.
268
268
  */
@@ -292,28 +292,28 @@ type ArchicatModuleContract = Readonly<{
292
292
  readonly impl: ArchicatSurfaceContract<ArchicatModuleImplDependency>;
293
293
  }>;
294
294
  //#endregion
295
- //#region src/configs/define-app-config.d.ts
295
+ //#region src/configuration/define-app-config.d.ts
296
296
  /**
297
297
  * @description Defines one Archicat app composition root.
298
298
  */
299
- declare function defineApp(app: ArchicatAppInput): ArchicatAppContract;
299
+ export declare function defineApp(app: ArchicatAppInput): ArchicatAppContract;
300
300
  //#endregion
301
- //#region src/configs/define-archicat-config.d.ts
301
+ //#region src/configuration/define-archicat-config.d.ts
302
302
  /**
303
303
  * @description Defines the root Archicat config.
304
304
  */
305
- declare function defineArchicatConfig(config?: ArchicatConfigInput): ArchicatConfig;
305
+ export declare function defineArchicatConfig(config?: ArchicatConfigInput): ArchicatConfig;
306
306
  //#endregion
307
- //#region src/configs/define-library-config.d.ts
307
+ //#region src/configuration/define-library-config.d.ts
308
308
  /**
309
309
  * @description Defines one Archicat library.
310
310
  */
311
- declare function defineLibrary(library: ArchicatLibraryInput): ArchicatLibraryContract;
311
+ export declare function defineLibrary(library: ArchicatLibraryInput): ArchicatLibraryContract;
312
312
  //#endregion
313
- //#region src/configs/define-module-config.d.ts
313
+ //#region src/configuration/define-module-config.d.ts
314
314
  /**
315
315
  * @description Defines one Archicat module.
316
316
  */
317
- declare function defineModule(module: ArchicatModuleInput): ArchicatModuleContract;
317
+ export declare function defineModule(module: ArchicatModuleInput): ArchicatModuleContract;
318
318
  //#endregion
319
- export { type AliasConfig, type AppsConfigInput, type ArchicatAppContract, type ArchicatAppDependencies, type ArchicatAppDependency, type ArchicatAppInput, type ArchicatConfig, type ArchicatConfigInput, type ArchicatLibraryApiDependencies, type ArchicatLibraryApiDependency, type ArchicatLibraryContract, type ArchicatLibraryImplDependencies, type ArchicatLibraryImplDependency, type ArchicatLibraryInput, type ArchicatModuleApiDependencies, type ArchicatModuleApiDependency, type ArchicatModuleContract, type ArchicatModuleImplDependencies, type ArchicatModuleImplDependency, type ArchicatModuleInput, type ArchicatSurfaceConfig, type ArchicatSurfaceContract, type ArchicatSurfaceInput, type LibrariesConfigInput, type ModulesConfigInput, type TsConfigInput, type TypeScriptConfigInput, defineApp, defineArchicatConfig, defineLibrary, defineModule };
319
+ export type { AliasConfig, AppsConfigInput, ArchicatAppContract, ArchicatAppDependencies, ArchicatAppDependency, ArchicatAppInput, ArchicatConfig, ArchicatConfigInput, ArchicatLibraryApiDependencies, ArchicatLibraryApiDependency, ArchicatLibraryContract, ArchicatLibraryImplDependencies, ArchicatLibraryImplDependency, ArchicatLibraryInput, ArchicatModuleApiDependencies, ArchicatModuleApiDependency, ArchicatModuleContract, ArchicatModuleImplDependencies, ArchicatModuleImplDependency, ArchicatModuleInput, ArchicatSurfaceConfig, ArchicatSurfaceContract, ArchicatSurfaceInput, LibrariesConfigInput, ModulesConfigInput, TsConfigInput, TypeScriptConfigInput };
@@ -1 +1,108 @@
1
- function e(e){return Object.freeze({kind:`app`,name:e.name,...e.root===void 0?{}:{root:e.root},dependencies:Object.freeze([...e.dependencies??[]])})}function t(e){let t={...e};for(let e of Object.keys(t))t[e]===void 0&&delete t[e];return Object.freeze(t)}function n(e={}){return t({root:e.root,outDir:e.outDir,typescript:e.typescript?r(e.typescript):void 0,alias:e.alias?Object.freeze({...e.alias}):void 0,modules:e.modules?a(e.modules):void 0,libraries:e.libraries?o(e.libraries):void 0,apps:e.apps?s(e.apps):void 0})}function r(e){return t({tsConfig:e.tsConfig?i(e.tsConfig):void 0})}function i(e){return t({extends:e.extends,include:e.include?Object.freeze([...e.include]):void 0,exclude:e.exclude?Object.freeze([...e.exclude]):void 0,files:e.files?Object.freeze([...e.files]):void 0,compilerOptions:e.compilerOptions?Object.freeze({...e.compilerOptions}):void 0})}function a(e){return t({include:e.include?Object.freeze([...e.include]):void 0,alias:e.alias})}function o(e){return t({include:e.include?Object.freeze([...e.include]):void 0,alias:e.alias})}function s(e){return t({include:e.include?Object.freeze([...e.include]):void 0})}function c(e){return typeof e==`string`?Object.freeze({root:e,dependencies:Object.freeze([])}):t({root:e?.root,dependencies:Object.freeze([...e?.dependencies??[]])})}function l(e){return Object.freeze({kind:`library`,name:e.name,api:c(e.api),impl:c(e.impl)})}function u(e){return Object.freeze({kind:`module`,name:e.name,api:c(e.api),impl:c(e.impl)})}export{e as defineApp,n as defineArchicatConfig,l as defineLibrary,u as defineModule};
1
+ //#region src/configuration/define-app-config.ts
2
+ /**
3
+ * @description Defines one Archicat app composition root.
4
+ */
5
+ function defineApp(app) {
6
+ return Object.freeze({
7
+ kind: "app",
8
+ name: app.name,
9
+ ...app.root === void 0 ? {} : { root: app.root },
10
+ dependencies: Object.freeze([...app.dependencies ?? []])
11
+ });
12
+ }
13
+
14
+ //#endregion
15
+ //#region src/configuration/compact-config.ts
16
+ function compactConfig(value) {
17
+ const result = { ...value };
18
+ for (const key of Object.keys(result)) if (result[key] === void 0) delete result[key];
19
+ return Object.freeze(result);
20
+ }
21
+
22
+ //#endregion
23
+ //#region src/configuration/define-archicat-config.ts
24
+ /**
25
+ * @description Defines the root Archicat config.
26
+ */
27
+ function defineArchicatConfig(config = {}) {
28
+ return compactConfig({
29
+ root: config.root,
30
+ outDir: config.outDir,
31
+ typescript: config.typescript ? freezeTypeScriptConfig(config.typescript) : void 0,
32
+ alias: config.alias ? Object.freeze({ ...config.alias }) : void 0,
33
+ modules: config.modules ? freezeModulesConfig(config.modules) : void 0,
34
+ libraries: config.libraries ? freezeLibrariesConfig(config.libraries) : void 0,
35
+ apps: config.apps ? freezeAppsConfig(config.apps) : void 0
36
+ });
37
+ }
38
+ function freezeTypeScriptConfig(config) {
39
+ return compactConfig({ tsConfig: config.tsConfig ? freezeTsConfig(config.tsConfig) : void 0 });
40
+ }
41
+ function freezeTsConfig(config) {
42
+ return compactConfig({
43
+ extends: config.extends,
44
+ include: config.include ? Object.freeze([...config.include]) : void 0,
45
+ exclude: config.exclude ? Object.freeze([...config.exclude]) : void 0,
46
+ files: config.files ? Object.freeze([...config.files]) : void 0,
47
+ compilerOptions: config.compilerOptions ? Object.freeze({ ...config.compilerOptions }) : void 0
48
+ });
49
+ }
50
+ function freezeModulesConfig(config) {
51
+ return compactConfig({
52
+ include: config.include ? Object.freeze([...config.include]) : void 0,
53
+ alias: config.alias
54
+ });
55
+ }
56
+ function freezeLibrariesConfig(config) {
57
+ return compactConfig({
58
+ include: config.include ? Object.freeze([...config.include]) : void 0,
59
+ alias: config.alias
60
+ });
61
+ }
62
+ function freezeAppsConfig(config) {
63
+ return compactConfig({ include: config.include ? Object.freeze([...config.include]) : void 0 });
64
+ }
65
+
66
+ //#endregion
67
+ //#region src/configuration/define-surface-config.ts
68
+ function defineSurface(surface) {
69
+ if (typeof surface === "string") return Object.freeze({
70
+ root: surface,
71
+ dependencies: Object.freeze([])
72
+ });
73
+ return compactConfig({
74
+ root: surface?.root,
75
+ dependencies: Object.freeze([...surface?.dependencies ?? []])
76
+ });
77
+ }
78
+
79
+ //#endregion
80
+ //#region src/configuration/define-library-config.ts
81
+ /**
82
+ * @description Defines one Archicat library.
83
+ */
84
+ function defineLibrary(library) {
85
+ return Object.freeze({
86
+ kind: "library",
87
+ name: library.name,
88
+ api: defineSurface(library.api),
89
+ impl: defineSurface(library.impl)
90
+ });
91
+ }
92
+
93
+ //#endregion
94
+ //#region src/configuration/define-module-config.ts
95
+ /**
96
+ * @description Defines one Archicat module.
97
+ */
98
+ function defineModule(module) {
99
+ return Object.freeze({
100
+ kind: "module",
101
+ name: module.name,
102
+ api: defineSurface(module.api),
103
+ impl: defineSurface(module.impl)
104
+ });
105
+ }
106
+
107
+ //#endregion
108
+ export { defineApp, defineArchicatConfig, defineLibrary, defineModule };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archicat",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Modular mirroring (M²) for clean TypeScript architecture.",
5
5
  "keywords": [
6
6
  "architecture",
@@ -40,16 +40,18 @@
40
40
  "dist"
41
41
  ],
42
42
  "dependencies": {
43
- "@buildplease/core": "1.0.1",
43
+ "consola": "3.4.2",
44
44
  "jiti": "2.7.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@buildplease/devkit": "1.0.1",
48
- "@types/node": "26.2.0",
49
- "tsdown": "0.22.14",
47
+ "@buildplease/devkit": "1.3.0",
48
+ "@types/node": "26.4.1",
49
+ "conventional-changelog": "8.1.3",
50
+ "conventional-changelog-conventionalcommits": "10.4.0",
51
+ "tsdown": "0.23.0",
50
52
  "typescript": "6.0.3",
51
53
  "unrun": "0.3.1",
52
- "vitest": "4.1.10"
54
+ "vitest": "5.0.0"
53
55
  },
54
56
  "peerDependencies": {
55
57
  "typescript": "6.0.3"
@@ -59,10 +61,11 @@
59
61
  "registry": "https://registry.npmjs.org/"
60
62
  },
61
63
  "scripts": {
62
- "build": "pnpm run build:cli && pnpm run build:src",
63
- "build:cli": "tsdown --config tsdown.config.cli.ts --config-loader unrun",
64
- "build:src": "tsdown --config tsdown.config.src.ts --config-loader unrun",
64
+ "build": "tsdown --config-loader unrun",
65
65
  "clean": "devkit run clean",
66
+ "clean:deep": "devkit run clean-deep",
67
+ "dep:check": "devkit run dep-check",
68
+ "dep:update": "devkit run dep-update",
66
69
  "format": "devkit run format-fix && devkit run lint-fix",
67
70
  "test": "vitest run",
68
71
  "typecheck": "tsc -p tsconfig.json --noEmit"