@mdwrk/extension-catalog-hello 1.0.1 → 1.1.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/README.md +48 -4
- package/dist/manifest.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,51 @@
|
|
|
1
|
-
# mdwrk/extension-catalog-hello
|
|
1
|
+
# @mdwrk/extension-catalog-hello
|
|
2
2
|
|
|
3
|
-
Sample third-party extension package used to
|
|
3
|
+
Sample third-party external extension package used to validate the signed catalog installation path.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Manifest and compatibility
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- manifest export: `./manifest`
|
|
8
|
+
- manifest kind: external
|
|
9
|
+
- compatibility declarations: host API, runtime, app, and theme contract ranges are declared in `src/manifest.ts`
|
|
10
|
+
- distribution mode: external signed catalog artifact
|
|
11
|
+
|
|
12
|
+
## Capabilities
|
|
13
|
+
|
|
14
|
+
This sample demonstrates a deliberately small capability footprint:
|
|
15
|
+
|
|
16
|
+
- `view.register`
|
|
17
|
+
- `actionRail.register`
|
|
18
|
+
- `notification.publish`
|
|
19
|
+
- `settings.read`
|
|
20
|
+
|
|
21
|
+
## Settings schema
|
|
22
|
+
|
|
23
|
+
The sample manifest includes a minimal settings schema with a single `greeting` string field.
|
|
24
|
+
That keeps the package suitable as a catalog/install/activation fixture without dragging in extra runtime surface area.
|
|
25
|
+
|
|
26
|
+
## i18n readiness
|
|
27
|
+
|
|
28
|
+
The manifest uses `I18nLabel` descriptors for display name, description, view title, and action-rail title.
|
|
29
|
+
The shipped catalog sample keeps `en` as the only bundled locale, which is intentional for the minimal external-fixture path.
|
|
30
|
+
|
|
31
|
+
## Lifecycle and host/runtime tests
|
|
32
|
+
|
|
33
|
+
- `tests/run-smoke.mjs` validates the manifest export and extension entry shape
|
|
34
|
+
- `tests/integration.mjs` activates the extension against a mock host/runtime context and verifies view registration, action-rail registration, and notification behavior
|
|
35
|
+
|
|
36
|
+
## Installation / configuration guidance
|
|
37
|
+
|
|
38
|
+
This package is **not bundled** into `apps/client`.
|
|
39
|
+
It is published as a source package and transformed by the CI catalog/signing pipeline into an external browser-installable artifact.
|
|
40
|
+
Use it when validating:
|
|
41
|
+
|
|
42
|
+
- external catalog metadata generation
|
|
43
|
+
- signed-manifest verification
|
|
44
|
+
- install/enable/activate flows in the runtime
|
|
45
|
+
- minimal schema-backed settings behavior for external extensions
|
|
46
|
+
|
|
47
|
+
## API/reference docs
|
|
48
|
+
|
|
49
|
+
See the generated reference page at:
|
|
50
|
+
|
|
51
|
+
- `docs/reference/packages/mdwrk-extension-catalog-hello.md`
|
package/dist/manifest.js
CHANGED
|
@@ -2,7 +2,7 @@ export const extensionCatalogHelloManifest = {
|
|
|
2
2
|
manifestVersion: 1,
|
|
3
3
|
id: "external.catalog-hello",
|
|
4
4
|
packageName: "@mdwrk/extension-catalog-hello",
|
|
5
|
-
version: "1.0
|
|
5
|
+
version: "1.1.0",
|
|
6
6
|
displayName: {
|
|
7
7
|
defaultMessage: "Catalog Hello",
|
|
8
8
|
key: "manifest.displayName",
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const EXTENSION_CATALOG_HELLO_VERSION = "1.0
|
|
1
|
+
export declare const EXTENSION_CATALOG_HELLO_VERSION = "1.1.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const EXTENSION_CATALOG_HELLO_VERSION = "1.0
|
|
1
|
+
export const EXTENSION_CATALOG_HELLO_VERSION = "1.1.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdwrk/extension-catalog-hello",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"build": "npm run build:deps && tsc -p tsconfig.json",
|
|
32
32
|
"typecheck": "npm run build:deps && tsc --noEmit -p tsconfig.json",
|
|
33
33
|
"lint": "npm run typecheck",
|
|
34
|
-
"test": "npm run build && node ./tests/run-smoke.mjs",
|
|
34
|
+
"test": "npm run build && node ./tests/run-smoke.mjs && node ./tests/integration.mjs",
|
|
35
35
|
"prepack": "npm run build"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|