@canonical/summon-component 0.37.0 → 0.40.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/esm/shared/createTemplateContext.js +8 -0
- package/dist/esm/shared/createTemplateContext.js.map +1 -1
- package/dist/esm/shared/index.js +1 -0
- package/dist/esm/shared/index.js.map +1 -1
- package/dist/esm/shared/resolveComponentLayer.js +38 -0
- package/dist/esm/shared/resolveComponentLayer.js.map +1 -0
- package/dist/esm/templates/lit/styles.css.ejs +4 -0
- package/dist/esm/templates/shared/styles.css.ejs +6 -2
- package/dist/types/shared/createTemplateContext.d.ts +6 -0
- package/dist/types/shared/createTemplateContext.d.ts.map +1 -1
- package/dist/types/shared/index.d.ts +1 -0
- package/dist/types/shared/index.d.ts.map +1 -1
- package/dist/types/shared/resolveComponentLayer.d.ts +26 -0
- package/dist/types/shared/resolveComponentLayer.d.ts.map +1 -0
- package/dist/types/shared/types.d.ts +3 -0
- package/dist/types/shared/types.d.ts.map +1 -1
- package/package.json +9 -9
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Template context creation for component generators
|
|
3
3
|
*/
|
|
4
|
+
import resolveComponentLayer from "./resolveComponentLayer.js";
|
|
4
5
|
import { getComponentName, kebabCase } from "./string-helpers/index.js";
|
|
5
6
|
/**
|
|
6
7
|
* Create template context from answers. `withSsrTests` is optional so
|
|
7
8
|
* generators that do not offer SSR tests (lit) can pass their honest answer
|
|
8
9
|
* shape; the context defaults it to false.
|
|
10
|
+
*
|
|
11
|
+
* `componentLayer` is not an answer: an author cannot be expected to know
|
|
12
|
+
* which cascade layer the package they are scaffolding into belongs to, and a
|
|
13
|
+
* wrong one is silent. It is read from the target package instead.
|
|
14
|
+
*
|
|
15
|
+
* @note Impure — resolveComponentLayer reads the working directory.
|
|
9
16
|
*/
|
|
10
17
|
export default function createTemplateContext(answers) {
|
|
11
18
|
const name = getComponentName(answers.componentPath);
|
|
@@ -15,6 +22,7 @@ export default function createTemplateContext(answers) {
|
|
|
15
22
|
withStyles: answers.withStyles,
|
|
16
23
|
withStories: answers.withStories,
|
|
17
24
|
withSsrTests: answers.withSsrTests ?? false,
|
|
25
|
+
componentLayer: resolveComponentLayer(),
|
|
18
26
|
};
|
|
19
27
|
}
|
|
20
28
|
//# sourceMappingURL=createTemplateContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTemplateContext.js","sourceRoot":"","sources":["../../../src/shared/createTemplateContext.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGxE
|
|
1
|
+
{"version":3,"file":"createTemplateContext.js","sourceRoot":"","sources":["../../../src/shared/createTemplateContext.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,qBAAqB,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGxE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,OACqD;IAErD,MAAM,IAAI,GAAG,gBAAgB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IACrD,OAAO;QACL,IAAI;QACJ,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC;QAC1B,UAAU,EAAE,OAAO,CAAC,UAAU;QAC9B,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,YAAY,EAAE,OAAO,CAAC,YAAY,IAAI,KAAK;QAC3C,cAAc,EAAE,qBAAqB,EAAE;KACxC,CAAC;AACJ,CAAC"}
|
package/dist/esm/shared/index.js
CHANGED
|
@@ -7,6 +7,7 @@ export { default as failIfComponentExists } from "./failIfComponentExists.js";
|
|
|
7
7
|
export * from "./file-operations/index.js";
|
|
8
8
|
export { PACKAGE_NAME } from "./packageName.js";
|
|
9
9
|
export { packageVersion } from "./packageVersion.js";
|
|
10
|
+
export { componentLayerFor, default as resolveComponentLayer, GLOBAL_COMPONENT_LAYER, } from "./resolveComponentLayer.js";
|
|
10
11
|
export { default as sharedPrompts } from "./sharedPrompts.js";
|
|
11
12
|
export * from "./string-helpers/index.js";
|
|
12
13
|
export { default as validateComponentPath } from "./validateComponentPath.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC9D,cAAc,2BAA2B,CAAC;AAE1C,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,iBAAiB,EACjB,OAAO,IAAI,qBAAqB,EAChC,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC9D,cAAc,2BAA2B,CAAC;AAE1C,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which cascade layer a generated component stylesheet is wrapped in.
|
|
3
|
+
*
|
|
4
|
+
* The tier tree and the name→layer mapping live in `@canonical/summon-core`,
|
|
5
|
+
* because the package generator needs the same rule for the CSS entry it
|
|
6
|
+
* scaffolds, and a tier tree written down twice is a tier tree that drifts.
|
|
7
|
+
* This module is the component generator's side of it: finding the package
|
|
8
|
+
* being generated into, which the mapping cannot do for itself.
|
|
9
|
+
*
|
|
10
|
+
* Owner ruling 2026-09-06 (VC.31).
|
|
11
|
+
*/
|
|
12
|
+
import { readFileSync } from "node:fs";
|
|
13
|
+
import * as path from "node:path";
|
|
14
|
+
import { componentLayerFor, GLOBAL_COMPONENT_LAYER, } from "@canonical/summon-core";
|
|
15
|
+
export { componentLayerFor, GLOBAL_COMPONENT_LAYER };
|
|
16
|
+
/**
|
|
17
|
+
* The layer for the package the generator is writing into, which is the working
|
|
18
|
+
* directory: a component path is relative to it.
|
|
19
|
+
*
|
|
20
|
+
* The manifest name decides. A manifest that is missing or unreadable is not a
|
|
21
|
+
* failure — the directory's own name is then read as the package name, which is
|
|
22
|
+
* what a package scaffolded moments earlier needs, and what the repository's
|
|
23
|
+
* `packages/<framework>/<name>` layout makes true.
|
|
24
|
+
*
|
|
25
|
+
* @note Impure — reads the filesystem.
|
|
26
|
+
*/
|
|
27
|
+
export default function resolveComponentLayer(cwd = process.cwd()) {
|
|
28
|
+
try {
|
|
29
|
+
const name = JSON.parse(readFileSync(path.join(cwd, "package.json"), "utf-8")).name;
|
|
30
|
+
if (name)
|
|
31
|
+
return componentLayerFor(name);
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
// No readable manifest here — fall through to the directory.
|
|
35
|
+
}
|
|
36
|
+
return componentLayerFor(path.basename(cwd));
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=resolveComponentLayer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveComponentLayer.js","sourceRoot":"","sources":["../../../src/shared/resolveComponentLayer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,CAAC;AAErD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,MAAc,OAAO,CAAC,GAAG,EAAE;IAE3B,IAAI,CAAC;QACH,MAAM,IAAI,GACR,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,cAAc,CAAC,EAAE,OAAO,CAAC,CAGjE,CAAC,IAAI,CAAC;QACP,IAAI,IAAI;YAAE,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAAC,MAAM,CAAC;QACP,6DAA6D;IAC/D,CAAC;IACD,OAAO,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;AAC/C,CAAC"}
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
* - External CSS cannot pierce the shadow boundary — expose CSS custom properties for theming.
|
|
32
32
|
*/
|
|
33
33
|
|
|
34
|
+
/* No layer here: this sheet is adopted into a shadow tree, which has a cascade
|
|
35
|
+
* of its own, so the document's layer order never reaches it and a layer inside
|
|
36
|
+
* it would only let a later unlayered rule in this same sheet win. */
|
|
37
|
+
|
|
34
38
|
:host {
|
|
35
39
|
/*
|
|
36
40
|
* Host controls the outer layout role.
|
|
@@ -6,6 +6,12 @@ import type { BaseComponentAnswers, TemplateContext } from "./types.js";
|
|
|
6
6
|
* Create template context from answers. `withSsrTests` is optional so
|
|
7
7
|
* generators that do not offer SSR tests (lit) can pass their honest answer
|
|
8
8
|
* shape; the context defaults it to false.
|
|
9
|
+
*
|
|
10
|
+
* `componentLayer` is not an answer: an author cannot be expected to know
|
|
11
|
+
* which cascade layer the package they are scaffolding into belongs to, and a
|
|
12
|
+
* wrong one is silent. It is read from the target package instead.
|
|
13
|
+
*
|
|
14
|
+
* @note Impure — resolveComponentLayer reads the working directory.
|
|
9
15
|
*/
|
|
10
16
|
export default function createTemplateContext(answers: Omit<BaseComponentAnswers, "withSsrTests"> & Partial<Pick<BaseComponentAnswers, "withSsrTests">>): TemplateContext;
|
|
11
17
|
//# sourceMappingURL=createTemplateContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTemplateContext.d.ts","sourceRoot":"","sources":["../../../src/shared/createTemplateContext.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"createTemplateContext.d.ts","sourceRoot":"","sources":["../../../src/shared/createTemplateContext.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAExE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,OAAO,EAAE,IAAI,CAAC,oBAAoB,EAAE,cAAc,CAAC,GACjD,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,cAAc,CAAC,CAAC,GACpD,eAAe,CAUjB"}
|
|
@@ -7,6 +7,7 @@ export { default as failIfComponentExists } from "./failIfComponentExists.js";
|
|
|
7
7
|
export * from "./file-operations/index.js";
|
|
8
8
|
export { PACKAGE_NAME } from "./packageName.js";
|
|
9
9
|
export { packageVersion } from "./packageVersion.js";
|
|
10
|
+
export { componentLayerFor, default as resolveComponentLayer, GLOBAL_COMPONENT_LAYER, } from "./resolveComponentLayer.js";
|
|
10
11
|
export { default as sharedPrompts } from "./sharedPrompts.js";
|
|
11
12
|
export * from "./string-helpers/index.js";
|
|
12
13
|
export type * from "./types.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC9D,cAAc,2BAA2B,CAAC;AAC1C,mBAAmB,YAAY,CAAC;AAChC,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,iBAAiB,EACjB,OAAO,IAAI,qBAAqB,EAChC,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC9D,cAAc,2BAA2B,CAAC;AAC1C,mBAAmB,YAAY,CAAC;AAChC,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which cascade layer a generated component stylesheet is wrapped in.
|
|
3
|
+
*
|
|
4
|
+
* The tier tree and the name→layer mapping live in `@canonical/summon-core`,
|
|
5
|
+
* because the package generator needs the same rule for the CSS entry it
|
|
6
|
+
* scaffolds, and a tier tree written down twice is a tier tree that drifts.
|
|
7
|
+
* This module is the component generator's side of it: finding the package
|
|
8
|
+
* being generated into, which the mapping cannot do for itself.
|
|
9
|
+
*
|
|
10
|
+
* Owner ruling 2026-09-06 (VC.31).
|
|
11
|
+
*/
|
|
12
|
+
import { componentLayerFor, GLOBAL_COMPONENT_LAYER } from "@canonical/summon-core";
|
|
13
|
+
export { componentLayerFor, GLOBAL_COMPONENT_LAYER };
|
|
14
|
+
/**
|
|
15
|
+
* The layer for the package the generator is writing into, which is the working
|
|
16
|
+
* directory: a component path is relative to it.
|
|
17
|
+
*
|
|
18
|
+
* The manifest name decides. A manifest that is missing or unreadable is not a
|
|
19
|
+
* failure — the directory's own name is then read as the package name, which is
|
|
20
|
+
* what a package scaffolded moments earlier needs, and what the repository's
|
|
21
|
+
* `packages/<framework>/<name>` layout makes true.
|
|
22
|
+
*
|
|
23
|
+
* @note Impure — reads the filesystem.
|
|
24
|
+
*/
|
|
25
|
+
export default function resolveComponentLayer(cwd?: string): string;
|
|
26
|
+
//# sourceMappingURL=resolveComponentLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveComponentLayer.d.ts","sourceRoot":"","sources":["../../../src/shared/resolveComponentLayer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EACL,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,CAAC;AAErD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,GAAG,GAAE,MAAsB,GAC1B,MAAM,CAYR"}
|
|
@@ -24,6 +24,9 @@ export interface TemplateContext {
|
|
|
24
24
|
withStories: boolean;
|
|
25
25
|
/** Include SSR tests */
|
|
26
26
|
withSsrTests: boolean;
|
|
27
|
+
/** The cascade layer the generated stylesheet is wrapped in. Derived from the
|
|
28
|
+
* target package, not asked for: see resolveComponentLayer. */
|
|
29
|
+
componentLayer: string;
|
|
27
30
|
/** Index signature for compatibility with Record<string, unknown> */
|
|
28
31
|
[key: string]: unknown;
|
|
29
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/shared/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEnD,sDAAsD;AACtD,MAAM,WAAW,oBAAoB;IACnC,yEAAyE;IACzE,aAAa,EAAE,MAAM,CAAC;IACtB,yBAAyB;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,gCAAgC;IAChC,WAAW,EAAE,OAAO,CAAC;IACrB,wBAAwB;IACxB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,wDAAwD;IACxD,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,sBAAsB;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,wBAAwB;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB,qEAAqE;IACrE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/shared/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEnD,sDAAsD;AACtD,MAAM,WAAW,oBAAoB;IACnC,yEAAyE;IACzE,aAAa,EAAE,MAAM,CAAC;IACtB,yBAAyB;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,gCAAgC;IAChC,WAAW,EAAE,OAAO,CAAC;IACrB,wBAAwB;IACxB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,wDAAwD;IACxD,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,sBAAsB;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,wBAAwB;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB;mEAC+D;IAC/D,cAAc,EAAE,MAAM,CAAC;IACvB,qEAAqE;IACrE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonical/summon-component",
|
|
3
3
|
"description": "Component generators for Summon - React, Svelte and Lit component scaffolding",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.40.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
@@ -45,21 +45,21 @@
|
|
|
45
45
|
"test:vitest:watch": "vitest"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@biomejs/biome": "2.
|
|
49
|
-
"@canonical/biome-config": "^0.
|
|
50
|
-
"@canonical/typescript-config": "^0.
|
|
51
|
-
"@canonical/webarchitect": "^0.
|
|
48
|
+
"@biomejs/biome": "2.5.13",
|
|
49
|
+
"@canonical/biome-config": "^0.40.0",
|
|
50
|
+
"@canonical/typescript-config": "^0.40.0",
|
|
51
|
+
"@canonical/webarchitect": "^0.40.0",
|
|
52
52
|
"@types/bun": "^1.3.10",
|
|
53
53
|
"@types/node": "^26.0.0",
|
|
54
54
|
"typescript": "^5.9.3",
|
|
55
55
|
"vitest": "^4.0.18"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@canonical/utils": "^0.
|
|
58
|
+
"@canonical/utils": "^0.40.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@canonical/summon-core": "^0.
|
|
62
|
-
"@canonical/task": "^0.
|
|
61
|
+
"@canonical/summon-core": "^0.40.0",
|
|
62
|
+
"@canonical/task": "^0.40.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "9136b71518260c5f33e7619da087198c931e4c13"
|
|
65
65
|
}
|