@pqe-pro/vue 0.0.0-stage → 0.4.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Vacho Aivazov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/NOTICE.md ADDED
@@ -0,0 +1,5 @@
1
+ # Notice
2
+
3
+ The Progressive Query Engine packages are released under the MIT License; see `LICENSE`.
4
+
5
+ Third-party runtime dependency licenses and notices are preserved in `dependency-notices.json`, and the runtime dependency inventory is in `sbom.cdx.json`. React is an optional host-provided peer of `@pqe-pro/react`. A dependency's license does not change the license of these packages.
package/README.md CHANGED
@@ -1,3 +1,295 @@
1
- # Temporary Holding Version
1
+ # Progressive Query Engine
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Progressive Query Engine (PQE) runs registered queries under strict deadlines and streams their results progressively as newline-delimited JSON (NDJSON) to a browser or React client. It never loses track of the physical work it starts: a timeout or a cancellation does not count as proof that a database statement or an HTTP call stopped.
4
+
5
+ A page often needs one required result quickly and several optional, slower ones, for example a product list from PostgreSQL and delivery terms from a slow HTTP provider. PQE answers with one `initial` event carrying the required page, at most one `patch` per optional group, then one `complete`. A stream that ends without `complete` is an interruption, never a short success.
6
+
7
+ Requirements: Node 22.12 or later, ESM only. Every package ships TypeScript declarations.
8
+
9
+ ## Packages
10
+
11
+ Install only what a host needs. Sibling packages depend on each other with exact versions, so keep all `@pqe-pro/*` packages of one application on the same version.
12
+
13
+ | Package | Use it for |
14
+ | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
15
+ | [`@pqe-pro/core`](https://www.npmjs.com/package/@pqe-pro/core) | The engine, query and contract definitions, the ports a host implements; `@pqe-pro/core/protocol`; `@pqe-pro/core/telemetry`. |
16
+ | [`@pqe-pro/node`](https://www.npmjs.com/package/@pqe-pro/node) | The Node HTTPS query server (NDJSON, JSON and enrichment routes), the NDJSON encoder and the monotonic clock. |
17
+ | [`@pqe-pro/oidc`](https://www.npmjs.com/package/@pqe-pro/oidc) | OIDC/JWT identity verification behind the engine's identity port. |
18
+ | [`@pqe-pro/source-postgres`](https://www.npmjs.com/package/@pqe-pro/source-postgres) | The PostgreSQL source adapter (PostgreSQL 17 or 18, `pg` driver). |
19
+ | [`@pqe-pro/source-http`](https://www.npmjs.com/package/@pqe-pro/source-http) | The bounded HTTP source adapter. |
20
+ | `@pqe-pro/source-grpc` | Bounded unary gRPC calls to Protobuf services over verified TLS. |
21
+ | `@pqe-pro/source-mysql` | MySQL 8.4 source with tenant-specific readers, bounded results and active cancellation. |
22
+ | [`@pqe-pro/coordination`](https://www.npmjs.com/package/@pqe-pro/coordination) | Coordination of capacity and authority between processes, with a PostgreSQL store, its ledger DDL and settlement probes. |
23
+ | [`@pqe-pro/browser`](https://www.npmjs.com/package/@pqe-pro/browser) | The browser query store and its fetch transport. No Node or server code. |
24
+ | [`@pqe-pro/react`](https://www.npmjs.com/package/@pqe-pro/react) | React hooks over the browser store. React 18.3 or 19 is a peer dependency. |
25
+ | `@pqe-pro/vue` | Vue 3 composables over the browser store. Vue 3.5.47 or later in the Vue 3 line is a peer dependency. |
26
+ | `@pqe-pro/angular` | Angular 22 signals and dependency injection over the browser query store. |
27
+
28
+ ```sh
29
+ # A Node query server
30
+ npm install @pqe-pro/core @pqe-pro/node @pqe-pro/source-postgres zod
31
+ # A React client
32
+ npm install @pqe-pro/core @pqe-pro/browser @pqe-pro/react zod
33
+ ```
34
+
35
+ ## A query
36
+
37
+ A query has a public contract, shared by server and client, and a server-side definition that owns authorization and data loading. Schemas are [Zod](https://zod.dev) schemas; every external value is validated before it is published.
38
+
39
+ ```ts
40
+ // contract.ts: shared by server and client
41
+ import { z } from "zod";
42
+ import { defineContract } from "@pqe-pro/core/protocol";
43
+
44
+ export const boardContract = defineContract({
45
+ id: "boards.items.v1",
46
+ input: z.strictObject({ board: z.string().min(1).max(64), size: z.number().int().min(1).max(50) }),
47
+ base: z.strictObject({ id: z.string(), title: z.string() }),
48
+ groups: { activity: z.strictObject({ count: z.number().int().nonnegative() }) },
49
+ });
50
+ ```
51
+
52
+ ```ts
53
+ // server.ts
54
+ import { randomUUID } from "node:crypto";
55
+ import { readFileSync } from "node:fs";
56
+ import { z } from "zod";
57
+ import { defineQuery, QueryRegistry, GenericQueryEngine, referencePolicy } from "@pqe-pro/core";
58
+ import { ndjsonEncoder, systemClock, QueryServer } from "@pqe-pro/node";
59
+ import { HttpSource } from "@pqe-pro/source-http";
60
+ import { boardContract } from "./contract.ts";
61
+
62
+ // What the upstream service answers; every external value is validated.
63
+ const items = z.strictObject({ items: z.array(z.strictObject({ id: z.string(), title: z.string() })) });
64
+ const counts = z.strictObject({ counts: z.record(z.string(), z.number().int().nonnegative()) });
65
+
66
+ const query = defineQuery({
67
+ contract: boardContract,
68
+ policy: referencePolicy,
69
+ // What the trusted identity carries, and what authorization hands to the loaders.
70
+ identityContext: z.strictObject({ role: z.enum(["viewer", "editor"]) }),
71
+ authorizationOutput: z.strictObject({ board: z.string() }),
72
+ authorizationSources: [],
73
+ authorizationMaxBusinessCalls: 0,
74
+ async authorize(request, context) {
75
+ return { board: context.identity.context.role === "editor" ? request.input.board : "public" };
76
+ },
77
+ pageSize: (input) => input.size,
78
+ // The required part: answered in the `initial` event or not at all. Loaders reach data only
79
+ // through `context.call` on a registered source, which owns the physical request.
80
+ root: {
81
+ source: "catalog",
82
+ timeoutMs: 700,
83
+ maxBusinessCalls: 1,
84
+ async load(input, context) {
85
+ const page = await context.call("catalog", { kind: "items", board: context.authorized.board, size: input.size }, items);
86
+ return { items: page.items, pageInfo: { endCursor: null, hasNextPage: false } };
87
+ },
88
+ },
89
+ // An optional group: one `patch` per group, with a ready, unavailable or failed state per row.
90
+ groups: {
91
+ activity: {
92
+ source: "catalog",
93
+ timeoutMs: 900,
94
+ maxBatchSize: 50,
95
+ maxBusinessCalls: 1,
96
+ async load(args, context) {
97
+ const answer = await context.call("catalog", { kind: "activity", board: context.authorized.board, ids: args.ids }, counts);
98
+ return args.ids.map((id) => {
99
+ const count = answer.counts[id];
100
+ return count === undefined
101
+ ? { id, result: { status: "unavailable" as const, reason: "not_found" as const } }
102
+ : { id, result: { status: "ready" as const, value: { count } } };
103
+ });
104
+ },
105
+ },
106
+ },
107
+ });
108
+
109
+ // An upstream HTTPS JSON service; PostgresSource from @pqe-pro/source-postgres is the other adapter.
110
+ const catalog = new HttpSource(
111
+ {
112
+ id: "catalog",
113
+ generation: randomUUID(),
114
+ endpoint: "https://catalog.internal.example/catalog",
115
+ ca: readFileSync("catalog-ca.pem", "utf8"),
116
+ token: process.env.CATALOG_TOKEN ?? "",
117
+ capacityScope: "local_io",
118
+ capacity: 8,
119
+ rootReserve: 2,
120
+ maxQueuedTasks: 32,
121
+ maxDurationMs: 1000,
122
+ maxBodyBytes: 16384,
123
+ },
124
+ systemClock,
125
+ );
126
+
127
+ const engine = new GenericQueryEngine({
128
+ registry: new QueryRegistry([query]),
129
+ clock: systemClock,
130
+ encoder: ndjsonEncoder(),
131
+ sources: [catalog],
132
+ // Trusted identity comes only from server-side authentication, for example OidcIdentityPort.
133
+ identity: {
134
+ sources: [],
135
+ maxBusinessCalls: 0,
136
+ async resolve() {
137
+ return { tenantId: "tenant", principalId: "user", authScopeVersion: "1", context: { role: "editor" } };
138
+ },
139
+ },
140
+ // Admission of physical operations; @pqe-pro/coordination provides one shared between processes.
141
+ authority: {
142
+ healthy: () => true,
143
+ async begin(context, sourceId) {
144
+ return { operationId: context.operationId, sourceId, generation: "local" };
145
+ },
146
+ async acquired() {},
147
+ async settle() {},
148
+ },
149
+ telemetry: { emit() {} },
150
+ });
151
+
152
+ await catalog.verify();
153
+ const server = new QueryServer(engine, {
154
+ tls: { cert: readFileSync("server.pem", "utf8"), key: readFileSync("server-key.pem", "utf8") },
155
+ drainMs: 2000,
156
+ hardCutoffMs: 5000,
157
+ });
158
+ await server.listen("127.0.0.1", 8443);
159
+ // POST /v1/query/ndjson streams events; POST /v1/query/json answers once; GET /health/ready.
160
+ ```
161
+
162
+ A complete runnable version, with a small upstream service, a Node client and server-side rendering, is [examples/board](https://github.com/watscho/pqe-pro/tree/main/examples/board) in the repository.
163
+
164
+ ## Metrics with OpenTelemetry
165
+
166
+ `BoundedTelemetry` from `@pqe-pro/core/telemetry` validates the engine's observations and keeps bounded aggregates for a Prometheus text endpoint. With an exporter it mirrors the same aggregates into your OpenTelemetry meter. The packages do not depend on OpenTelemetry: pass your own meter from `@opentelemetry/api` 1.7 or later.
167
+
168
+ ```ts
169
+ // telemetry.ts
170
+ import { metrics } from "@opentelemetry/api";
171
+ import { BoundedTelemetry, openTelemetryMetrics } from "@pqe-pro/core/telemetry";
172
+
173
+ // Your OpenTelemetry SDK setup registers the global meter provider and its exporter.
174
+ export const telemetry = new BoundedTelemetry(["boards.items.v1"], {
175
+ exporter: openTelemetryMetrics(metrics.getMeter("pqe")),
176
+ });
177
+ // Pass `telemetry` as the engine's `telemetry` option, and
178
+ // `onTerminal: (record) => telemetry.terminal(record)` in the QueryServer options.
179
+ ```
180
+
181
+ Instruments are named like the Prometheus families without the suffix (`pqe_requests`, `pqe_phase` in seconds, `pqe_output` in bytes), and carry the same bounded attributes. Request, operation, tenant and principal identifiers never become attributes. An exporter that throws is counted by `telemetry.exportFailures()` and never affects a query.
182
+
183
+ ## A React client
184
+
185
+ ```tsx
186
+ // board.tsx
187
+ import { createPqeClient, type PqeClient } from "@pqe-pro/browser";
188
+ import { PqeProvider, useOwnedQuery, usePqeClient } from "@pqe-pro/react";
189
+ import { boardContract } from "./contract.ts";
190
+
191
+ export function createBoardClient() {
192
+ return createPqeClient({ endpoint: "/v1/query/ndjson", format: "ndjson" });
193
+ }
194
+
195
+ export function BoardApp({ client }: { client: PqeClient }) {
196
+ return <PqeProvider client={client}><Board /></PqeProvider>;
197
+ }
198
+
199
+ export function Board() {
200
+ const client = usePqeClient();
201
+ const { store, snapshot } = useOwnedQuery(() =>
202
+ client.createStore({
203
+ contract: boardContract,
204
+ groups: ["activity"],
205
+ clientBudgetMs: 3000,
206
+ }),
207
+ );
208
+ return (
209
+ <section>
210
+ <button onClick={() => store.run({ board: "main", size: 20 })}>Load</button>
211
+ <p role="status">{snapshot.status}</p>
212
+ <ul>
213
+ {snapshot.execution.initial?.page.items.map((item) => (
214
+ <li key={item.id}>{item.title}</li>
215
+ ))}
216
+ </ul>
217
+ </section>
218
+ );
219
+ }
220
+ ```
221
+
222
+ Create one client for each mounted application or SSR request. The nearest `PqeProvider` supplies its transport configuration, and `client.createStore` creates a separate store for each query owner. `useOwnedQuery` releases the store's reads on unmount. Pass a server-rendered snapshot from `executeSsr` as `initialSnapshot` when creating the store in both renders to hydrate without a repeat request.
223
+
224
+ ## A Vue client
225
+
226
+ Call `useOwnedQuery` in `setup()` to tie the store to the component. Its `snapshot` is a read-only shallow ref. For a store owned elsewhere, call `useQueryStore(store)` to subscribe without taking ownership.
227
+
228
+ ```ts
229
+ // board-vue.ts
230
+ import type { PqeClient } from "@pqe-pro/browser";
231
+ import { PqeProvider, useOwnedQuery, usePqeClient } from "@pqe-pro/vue";
232
+ import { createSSRApp, defineComponent, h } from "vue";
233
+ import { boardContract } from "./contract.ts";
234
+
235
+ export const Board = defineComponent({
236
+ setup() {
237
+ const client = usePqeClient();
238
+ const { store, snapshot } = useOwnedQuery(() =>
239
+ client.createStore({
240
+ contract: boardContract,
241
+ groups: ["activity"],
242
+ clientBudgetMs: 3000,
243
+ }),
244
+ );
245
+ return () =>
246
+ h("button", {
247
+ onClick: () => {
248
+ void store.run({ board: "main", size: 20 }).settled;
249
+ },
250
+ }, snapshot.value.status);
251
+ },
252
+ });
253
+
254
+ export function createBoardApp(client: PqeClient) {
255
+ return createSSRApp({
256
+ render: () => h(PqeProvider, { client }, { default: () => h(Board) }),
257
+ });
258
+ }
259
+ ```
260
+
261
+ For SSR, seed `client.createStore` with the same `initialSnapshot` in both renders and hydrate with Vue's `createSSRApp`. A request starts when the caller invokes `run`. Mount a fresh provider subtree when changing account or endpoint scope to dispose the previous stores.
262
+
263
+ ## An Angular client
264
+
265
+ Use Angular 22.3.2 or later in the Angular 22 line and its supported Node and TypeScript versions. Call `providePqeClient` at app or component scope. In a component field initializer, use `injectOwnedQuery` to create a store or `injectQuerySignal` to subscribe to an existing one.
266
+
267
+ ```ts
268
+ // board-angular.ts
269
+ import type { ApplicationConfig } from "@angular/core";
270
+ import { createPqeClient } from "@pqe-pro/browser";
271
+ import { injectOwnedQuery, injectPqeClient, providePqeClient } from "@pqe-pro/angular";
272
+ import { boardContract } from "./contract.ts";
273
+
274
+ export function createBoardConfig(): ApplicationConfig {
275
+ const client = createPqeClient({ endpoint: "/v1/query/ndjson", format: "ndjson" });
276
+ return { providers: [providePqeClient(client)] };
277
+ }
278
+
279
+ export function injectBoard(initialSnapshot?: unknown) {
280
+ const client = injectPqeClient();
281
+ return injectOwnedQuery(() =>
282
+ client.createStore({ contract: boardContract, groups: ["activity"], clientBudgetMs: 3000, initialSnapshot }),
283
+ );
284
+ }
285
+ ```
286
+
287
+ Read `snapshot()` from the component template. Pass the same `initialSnapshot` when rendering and hydrating. The first browser render reads it immediately. Subscriptions and store ownership begin after the first browser render, and destruction releases both.
288
+
289
+ ## Stability
290
+
291
+ Version 0.x: the public API may change between minor versions until 1.0. Every release lists what changed in [CHANGELOG.md](https://github.com/watscho/pqe-pro/blob/main/CHANGELOG.md). The `./internal/*` subpaths exist only so that sibling `@pqe-pro` packages can share modules; they are not a public interface and may change in any release.
292
+
293
+ ## More
294
+
295
+ Source, the behaviour specification, the domain documentation and the test suites are in the [GitHub repository](https://github.com/watscho/pqe-pro). Licence: MIT. Third-party notices: `NOTICE.md`, `dependency-notices.json` and `sbom.cdx.json` in each package.
@@ -0,0 +1,4 @@
1
+ {
2
+ "scope": "Runtime dependencies only; vue is a host-provided peer",
3
+ "dependencies": []
4
+ }
@@ -0,0 +1,2 @@
1
+ export { useQueryStore, useOwnedQuery } from "../vue/composables.js";
2
+ export { PqeProvider, usePqeClient } from "../vue/provider.js";
@@ -0,0 +1,2 @@
1
+ export { useQueryStore, useOwnedQuery } from "../vue/composables.js";
2
+ export { PqeProvider, usePqeClient } from "../vue/provider.js";
@@ -0,0 +1,10 @@
1
+ import type { QueryStore } from "@pqe-pro/browser/internal/browser/store";
2
+ import type { Schemas } from "@pqe-pro/core/internal/execution/application/generic-contracts";
3
+ import type { Entity } from "@pqe-pro/core/internal/execution/domain/query-model";
4
+ /** Subscribes in component setup. The caller owns the store and its runs. */
5
+ export declare function useQueryStore<I, B extends Entity, S extends Schemas>(store: QueryStore<I, B, S>): Readonly<import("vue").ShallowRef<import("@pqe-pro/browser/internal/browser/store").StoreSnapshot<B>, import("@pqe-pro/browser/internal/browser/store").StoreSnapshot<B>>>;
6
+ /** Creates one store per component. Mounting a hydrated snapshot does not fetch again. */
7
+ export declare function useOwnedQuery<I, B extends Entity, S extends Schemas>(create: () => QueryStore<I, B, S>): {
8
+ store: QueryStore<I, B, S>;
9
+ snapshot: Readonly<import("vue").ShallowRef<import("@pqe-pro/browser/internal/browser/store").StoreSnapshot<B>, import("@pqe-pro/browser/internal/browser/store").StoreSnapshot<B>>>;
10
+ };
@@ -0,0 +1,27 @@
1
+ import { onBeforeUnmount, onMounted, shallowReadonly, shallowRef } from "vue";
2
+ /** Subscribes in component setup. The caller owns the store and its runs. */
3
+ export function useQueryStore(store) {
4
+ const snapshot = shallowRef(store.getSnapshot());
5
+ let unsubscribe;
6
+ onMounted(() => {
7
+ const update = () => {
8
+ snapshot.value = store.getSnapshot();
9
+ };
10
+ unsubscribe = store.subscribe(update);
11
+ // Pick up a change made between setup and the first mounted subscription.
12
+ update();
13
+ });
14
+ onBeforeUnmount(() => unsubscribe?.());
15
+ return shallowReadonly(snapshot);
16
+ }
17
+ /** Creates one store per component. Mounting a hydrated snapshot does not fetch again. */
18
+ export function useOwnedQuery(create) {
19
+ const store = create();
20
+ const snapshot = useQueryStore(store);
21
+ let release;
22
+ onMounted(() => {
23
+ release = store.retainOwner();
24
+ });
25
+ onBeforeUnmount(() => release?.());
26
+ return { store, snapshot };
27
+ }
@@ -0,0 +1,16 @@
1
+ import { type PropType } from "vue";
2
+ import type { PqeClient } from "@pqe-pro/browser/internal/browser/client";
3
+ export declare const PqeProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ client: {
5
+ type: PropType<PqeClient>;
6
+ required: true;
7
+ };
8
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
+ [key: string]: any;
10
+ }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ client: {
12
+ type: PropType<PqeClient>;
13
+ required: true;
14
+ };
15
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ export declare function usePqeClient(): PqeClient;
@@ -0,0 +1,20 @@
1
+ import { defineComponent, inject, provide, toRef, } from "vue";
2
+ const clientKey = Symbol("PqeClient");
3
+ export const PqeProvider = defineComponent({
4
+ name: "PqeProvider",
5
+ inheritAttrs: false,
6
+ props: {
7
+ client: { type: Object, required: true },
8
+ },
9
+ setup(props, { slots }) {
10
+ provide(clientKey, toRef(() => props.client));
11
+ return () => slots.default?.();
12
+ },
13
+ });
14
+ export function usePqeClient() {
15
+ const client = inject(clientKey, null)?.value;
16
+ if (!client) {
17
+ throw new Error("MISSING_PQE_PROVIDER");
18
+ }
19
+ return client;
20
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "@pqe-pro/vue",
3
+ "version": "0.4.0",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "@pqe-pro/vue",
9
+ "version": "0.4.0",
10
+ "engines": {
11
+ "node": ">=22.12.0"
12
+ },
13
+ "dependencies": {
14
+ "@pqe-pro/browser": "0.4.0",
15
+ "@pqe-pro/core": "0.4.0"
16
+ },
17
+ "peerDependencies": {
18
+ "vue": ">=3.5.47 <4"
19
+ }
20
+ }
21
+ }
22
+ }
package/package.json CHANGED
@@ -1,6 +1,57 @@
1
1
  {
2
2
  "name": "@pqe-pro/vue",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.4.0",
4
+ "description": "Vue composables for the Progressive Query Engine browser store.",
5
+ "license": "MIT",
6
+ "keywords": [
7
+ "progressive",
8
+ "query",
9
+ "streaming",
10
+ "ndjson",
11
+ "deadline",
12
+ "typescript",
13
+ "vue",
14
+ "composables"
15
+ ],
16
+ "homepage": "https://github.com/watscho/pqe-pro#readme",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/watscho/pqe-pro.git",
20
+ "directory": "packages/vue"
21
+ },
22
+ "bugs": {
23
+ "url": "https://github.com/watscho/pqe-pro/issues"
24
+ },
25
+ "type": "module",
26
+ "sideEffects": false,
27
+ "engines": {
28
+ "node": ">=22.12.0"
29
+ },
30
+ "exports": {
31
+ ".": {
32
+ "types": "./dist/exports/vue.d.ts",
33
+ "import": "./dist/exports/vue.js",
34
+ "default": "./dist/exports/vue.js"
35
+ }
36
+ },
37
+ "files": [
38
+ "dist",
39
+ "LICENSE",
40
+ "README.md",
41
+ "NOTICE.md",
42
+ "dependency-notices.json",
43
+ "sbom.cdx.json",
44
+ "npm-shrinkwrap.json"
45
+ ],
46
+ "dependencies": {
47
+ "@pqe-pro/browser": "0.4.0",
48
+ "@pqe-pro/core": "0.4.0"
49
+ },
50
+ "peerDependencies": {
51
+ "vue": ">=3.5.47 <4"
52
+ },
53
+ "publishConfig": {
54
+ "access": "public",
55
+ "registry": "https://registry.npmjs.org/"
56
+ }
57
+ }
package/sbom.cdx.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "bomFormat": "CycloneDX",
3
+ "specVersion": "1.6",
4
+ "version": 1,
5
+ "metadata": {
6
+ "component": {
7
+ "type": "library",
8
+ "name": "@pqe-pro/vue",
9
+ "version": "0.4.0",
10
+ "properties": [
11
+ {
12
+ "name": "pqe:distribution",
13
+ "value": "MIT; public npm registry"
14
+ }
15
+ ]
16
+ }
17
+ },
18
+ "components": []
19
+ }