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.
- package/README.md +10 -8
- package/dist/cli/index.mjs +1502 -18
- package/dist/src/index.cjs +112 -1
- package/dist/src/index.d.cts +15 -15
- package/dist/src/index.d.mts +15 -15
- package/dist/src/index.mjs +108 -1
- package/package.json +12 -9
package/dist/src/index.cjs
CHANGED
|
@@ -1 +1,112 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,
|
|
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;
|
package/dist/src/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region src/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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 {
|
|
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 };
|
package/dist/src/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region src/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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 {
|
|
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 };
|
package/dist/src/index.mjs
CHANGED
|
@@ -1 +1,108 @@
|
|
|
1
|
-
|
|
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.
|
|
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
|
-
"
|
|
43
|
+
"consola": "3.4.2",
|
|
44
44
|
"jiti": "2.7.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@buildplease/devkit": "1.0
|
|
48
|
-
"@types/node": "26.
|
|
49
|
-
"
|
|
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": "
|
|
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": "
|
|
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"
|