@theholocron/holocron-plugin-axiom 5.0.0-alpha.33 → 5.0.0-alpha.331
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 +2 -2
- package/dist/index.d.mts +31 -69
- package/dist/index.mjs +33 -39
- package/package.json +23 -19
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ plus exports `verifyToken` + `AUTH_HINT` for use by `holocron auth`.
|
|
|
9
9
|
> This plugin does **not** ship log lines. `@theholocron/observability/logger`'s
|
|
10
10
|
> Axiom transport reads `HOLOCRON_AXIOM_TOKEN` / `HOLOCRON_AXIOM_DATASET`
|
|
11
11
|
> directly at startup. The `logs` capability exists only for the
|
|
12
|
-
> management surface — `holocron setup` provisions the aggregation
|
|
12
|
+
> management surface — `holocron repo setup` provisions the aggregation
|
|
13
13
|
> datasets and `holocron doctor` checks connectivity.
|
|
14
14
|
|
|
15
15
|
## Install
|
|
@@ -49,7 +49,7 @@ token as `HOLOCRON_AXIOM_TOKEN` (or `AXIOM_TOKEN`) in the workflow env.
|
|
|
49
49
|
}
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
No options are required. `holocron setup` provisions the `holocron-ci`
|
|
52
|
+
No options are required. `holocron repo setup` provisions the `holocron-ci`
|
|
53
53
|
and `holocron-local` datasets; `holocron doctor` checks the dataset
|
|
54
54
|
named by `HOLOCRON_AXIOM_DATASET` / `AXIOM_DATASET`. An explicit
|
|
55
55
|
`logs: ["axiom", { "dataset": "holocron-ci" }]` overrides the env var
|
package/dist/index.d.mts
CHANGED
|
@@ -1,39 +1,10 @@
|
|
|
1
|
-
import { AuthError, Logs, ResolveTokenInput } from "@theholocron/cli";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
}
|
|
12
|
-
/** Axiom user — the subset returned by `GET /v2/user`. */
|
|
13
|
-
interface AxiomUser {
|
|
14
|
-
id: string;
|
|
15
|
-
name?: string;
|
|
16
|
-
email?: string;
|
|
17
|
-
emails?: string[];
|
|
18
|
-
}
|
|
19
|
-
interface AxiomClientOptions {
|
|
20
|
-
token: string;
|
|
21
|
-
/** Override the API base URL (default `https://api.axiom.co`). */
|
|
22
|
-
baseUrl?: string;
|
|
23
|
-
/** Override `fetch` for tests. */
|
|
24
|
-
fetch?: typeof fetch;
|
|
25
|
-
}
|
|
26
|
-
interface AxiomRestClient {
|
|
27
|
-
getDataset(name: string): Promise<AxiomDataset>;
|
|
28
|
-
createDataset(input: {
|
|
29
|
-
name: string;
|
|
30
|
-
description?: string;
|
|
31
|
-
}): Promise<AxiomDataset>;
|
|
32
|
-
getCurrentUser(): Promise<AxiomUser>;
|
|
33
|
-
}
|
|
34
|
-
declare function createAxiomClient(opts: AxiomClientOptions): AxiomRestClient;
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region src/capabilities/logs.d.ts
|
|
1
|
+
import { AuthError, Logs, PluginToken, ResolveTokenInput, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
|
|
2
|
+
import { AxiomClient, AxiomClientOptions, AxiomDataset, AxiomUser, CreateAxiomDatasetInput, createAxiomClient } from "@theholocron/axiom-client";
|
|
3
|
+
/** Resolves the Axiom token from `--token`, `HOLOCRON_AXIOM_TOKEN`, `AXIOM_TOKEN` or the keyring, and throws an `AuthError` when none is set. */
|
|
4
|
+
export declare const resolveToken: import("@theholocron/cli").TokenResolver;
|
|
5
|
+
/** Every token this plugin takes, for `holocron doctor tokens`. */
|
|
6
|
+
export declare const tokens: PluginToken[];
|
|
7
|
+
/** Options for the Axiom `logs` capability. */
|
|
37
8
|
interface AxiomLogsOptions {
|
|
38
9
|
/**
|
|
39
10
|
* Target dataset, resolved from `HOLOCRON_AXIOM_DATASET` /
|
|
@@ -42,16 +13,19 @@ interface AxiomLogsOptions {
|
|
|
42
13
|
*/
|
|
43
14
|
dataset?: string;
|
|
44
15
|
}
|
|
45
|
-
|
|
16
|
+
/** The `logs` capability for Axiom: checks a dataset is reachable and creates datasets that are missing. */
|
|
17
|
+
export declare class AxiomLogs implements Logs {
|
|
46
18
|
private readonly client;
|
|
47
19
|
private readonly opts;
|
|
20
|
+
/** The capability key, always `logs`. */
|
|
48
21
|
readonly key: "logs";
|
|
22
|
+
/** The provider name, `axiom`. */
|
|
49
23
|
readonly providerName = "axiom";
|
|
50
24
|
/**
|
|
51
25
|
* `client` is a thunk — the token is resolved on first call, so
|
|
52
26
|
* `describe()` (which needs no auth) works without one.
|
|
53
27
|
*/
|
|
54
|
-
constructor(client: () =>
|
|
28
|
+
constructor(client: () => AxiomClient, opts: AxiomLogsOptions);
|
|
55
29
|
describe(): Promise<{
|
|
56
30
|
provider: string;
|
|
57
31
|
envKeys: string[];
|
|
@@ -64,39 +38,22 @@ declare class AxiomLogs implements Logs {
|
|
|
64
38
|
alreadyExists: boolean;
|
|
65
39
|
}>;
|
|
66
40
|
}
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/verify-token.d.ts
|
|
69
|
-
/**
|
|
70
|
-
* `verifyToken` — plugin-level export used by `holocron auth set axiom`
|
|
71
|
-
* + `holocron auth check`. Hits `GET /v2/user` and translates the
|
|
72
|
-
* response into the normalized `VerifyTokenResult` shape.
|
|
73
|
-
*
|
|
74
|
-
* Kept as a standalone function (not a capability method) so the auth
|
|
75
|
-
* command can call it without initializing the full plugin.
|
|
76
|
-
*/
|
|
77
|
-
interface VerifyTokenSuccess {
|
|
78
|
-
ok: true;
|
|
79
|
-
subject: string;
|
|
80
|
-
}
|
|
81
|
-
interface VerifyTokenFailure {
|
|
82
|
-
ok: false;
|
|
83
|
-
message: string;
|
|
84
|
-
}
|
|
85
|
-
type VerifyTokenResult = VerifyTokenSuccess | VerifyTokenFailure;
|
|
86
41
|
interface VerifyTokenOptions {
|
|
87
42
|
baseUrl?: string;
|
|
88
43
|
fetch?: typeof fetch;
|
|
89
44
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
interface AxiomPluginOptions extends ResolveTokenInput, AxiomLogsOptions {
|
|
45
|
+
/** Checks an Axiom token by fetching the current user; the success subject is `user @` followed by the email, name or id, the failure carries the error message. */
|
|
46
|
+
export declare function verifyToken(token: string, opts?: VerifyTokenOptions): Promise<VerifyTokenResult$1>;
|
|
47
|
+
/** Options for the Axiom plugin: token resolution, the target dataset and test overrides. */
|
|
48
|
+
export interface AxiomPluginOptions extends ResolveTokenInput, AxiomLogsOptions {
|
|
94
49
|
/** Override base URL for tests. */
|
|
95
50
|
baseUrl?: string;
|
|
96
51
|
/** Override `fetch` for tests. */
|
|
97
52
|
fetch?: typeof fetch;
|
|
98
53
|
}
|
|
99
|
-
|
|
54
|
+
/** What the plugin's capabilities share: the resolved options and a lazily built client. */
|
|
55
|
+
export interface PluginContext {
|
|
56
|
+
/** The options, with `dataset` resolved from config, `HOLOCRON_AXIOM_DATASET` or `AXIOM_DATASET` (in that order). */
|
|
100
57
|
options: AxiomPluginOptions & {
|
|
101
58
|
dataset?: string;
|
|
102
59
|
};
|
|
@@ -106,12 +63,18 @@ interface PluginContext {
|
|
|
106
63
|
* no auth (`describe`) works without a token, and the loader never
|
|
107
64
|
* aborts on a plugin whose token happens to be absent.
|
|
108
65
|
*/
|
|
109
|
-
client: () =>
|
|
66
|
+
client: () => AxiomClient;
|
|
110
67
|
}
|
|
111
|
-
|
|
112
|
-
declare function
|
|
113
|
-
|
|
68
|
+
/** Creates the shared context for the given options; no token is resolved until `client()` is first called. */
|
|
69
|
+
export declare function createContext(options: AxiomPluginOptions): PluginContext;
|
|
70
|
+
/** Builds the `logs` capability from a plugin context. */
|
|
71
|
+
export declare function logs(ctx: PluginContext): Logs;
|
|
72
|
+
/** Creates the Axiom plugin: a `connection` probe and the `logs` capability. */
|
|
73
|
+
export declare function createPlugin(options: AxiomPluginOptions): {
|
|
114
74
|
name: string;
|
|
75
|
+
probes: {
|
|
76
|
+
connection: import("@theholocron/cli").Probe;
|
|
77
|
+
};
|
|
115
78
|
capabilities: {
|
|
116
79
|
logs: () => Logs;
|
|
117
80
|
};
|
|
@@ -120,6 +83,5 @@ declare function createPlugin(options: AxiomPluginOptions): {
|
|
|
120
83
|
* One-line hint shown by `holocron auth set axiom` when no token is
|
|
121
84
|
* supplied or when the supplied token is rejected.
|
|
122
85
|
*/
|
|
123
|
-
declare const AUTH_HINT: string;
|
|
124
|
-
|
|
125
|
-
export { AUTH_HINT, AuthError, type AxiomClientOptions, type AxiomDataset, AxiomLogs, type AxiomLogsOptions, AxiomPluginOptions, type AxiomRestClient, type AxiomUser, PluginContext, type ResolveTokenInput, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, createAxiomClient, createContext, createPlugin, logs, resolveToken, verifyToken };
|
|
86
|
+
export declare const AUTH_HINT: string;
|
|
87
|
+
export { AuthError, type AxiomClient, type AxiomClientOptions, type AxiomDataset, type AxiomLogsOptions, type AxiomUser, type CreateAxiomDatasetInput, type ResolveTokenInput, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, createAxiomClient };
|
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
import { AuthError, ProviderApiError,
|
|
2
|
-
|
|
1
|
+
import { AuthError, ProviderApiError, connectionProbe, createResolveToken } from "@theholocron/cli";
|
|
2
|
+
import { createAxiomClient } from "@theholocron/axiom-client";
|
|
3
|
+
import { errorMessage } from "@theholocron/misc-utils";
|
|
4
|
+
// src/auth.ts
|
|
5
|
+
/** Resolves the Axiom token from `--token`, `HOLOCRON_AXIOM_TOKEN`, `AXIOM_TOKEN` or the keyring, and throws an `AuthError` when none is set. */
|
|
3
6
|
const resolveToken = createResolveToken({
|
|
4
7
|
envName: "HOLOCRON_AXIOM_TOKEN",
|
|
5
8
|
vendorEnvName: "AXIOM_TOKEN",
|
|
6
9
|
keyringService: "axiom",
|
|
7
10
|
errorMessage: "no Axiom token found. Pass --token <TOKEN>, set HOLOCRON_AXIOM_TOKEN / AXIOM_TOKEN, or run: holocron auth set axiom <TOKEN>"
|
|
8
11
|
});
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
/** Every token this plugin takes, for `holocron doctor tokens`. */
|
|
13
|
+
const tokens = [resolveToken.token];
|
|
14
|
+
// src/capabilities/logs.ts
|
|
15
|
+
/** The `logs` capability for Axiom: checks a dataset is reachable and creates datasets that are missing. */
|
|
11
16
|
var AxiomLogs = class {
|
|
12
17
|
client;
|
|
13
18
|
opts;
|
|
19
|
+
/** The capability key, always `logs`. */
|
|
14
20
|
key = "logs";
|
|
21
|
+
/** The provider name, `axiom`. */
|
|
15
22
|
providerName = "axiom";
|
|
16
23
|
/**
|
|
17
24
|
* `client` is a thunk — the token is resolved on first call, so
|
|
@@ -30,7 +37,7 @@ var AxiomLogs = class {
|
|
|
30
37
|
async whoami() {
|
|
31
38
|
const dataset = this.opts.dataset;
|
|
32
39
|
if (!dataset) throw new Error("@theholocron/holocron-plugin-axiom needs a dataset (HOLOCRON_AXIOM_DATASET / AXIOM_DATASET) for whoami");
|
|
33
|
-
await this.client().
|
|
40
|
+
await this.client().datasets.get(dataset);
|
|
34
41
|
return {
|
|
35
42
|
ok: true,
|
|
36
43
|
dataset
|
|
@@ -38,44 +45,20 @@ var AxiomLogs = class {
|
|
|
38
45
|
}
|
|
39
46
|
async ensureDataset(name) {
|
|
40
47
|
try {
|
|
41
|
-
await this.client().
|
|
48
|
+
await this.client().datasets.get(name);
|
|
42
49
|
return { alreadyExists: true };
|
|
43
50
|
} catch (err) {
|
|
44
51
|
if (!(err instanceof ProviderApiError) || err.status !== 404) throw err;
|
|
45
52
|
}
|
|
46
|
-
await this.client().
|
|
53
|
+
await this.client().datasets.create({
|
|
47
54
|
name,
|
|
48
55
|
description: "Managed by holocron"
|
|
49
56
|
});
|
|
50
57
|
return { alreadyExists: false };
|
|
51
58
|
}
|
|
52
59
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
baseUrl: opts.baseUrl ?? "https://api.axiom.co",
|
|
56
|
-
token: opts.token,
|
|
57
|
-
vendor: "Axiom",
|
|
58
|
-
fetch: opts.fetch
|
|
59
|
-
});
|
|
60
|
-
return {
|
|
61
|
-
getDataset: (name) => rest.request(`/v2/datasets/${encodeURIComponent(name)}`),
|
|
62
|
-
createDataset: (input) => rest.request("/v2/datasets", {
|
|
63
|
-
method: "POST",
|
|
64
|
-
body: input
|
|
65
|
-
}),
|
|
66
|
-
getCurrentUser: () => rest.request("/v2/user")
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
//#endregion
|
|
70
|
-
//#region src/verify-token.ts
|
|
71
|
-
/**
|
|
72
|
-
* `verifyToken` — plugin-level export used by `holocron auth set axiom`
|
|
73
|
-
* + `holocron auth check`. Hits `GET /v2/user` and translates the
|
|
74
|
-
* response into the normalized `VerifyTokenResult` shape.
|
|
75
|
-
*
|
|
76
|
-
* Kept as a standalone function (not a capability method) so the auth
|
|
77
|
-
* command can call it without initializing the full plugin.
|
|
78
|
-
*/
|
|
60
|
+
// src/verify-token.ts
|
|
61
|
+
/** Checks an Axiom token by fetching the current user; the success subject is `user @` followed by the email, name or id, the failure carries the error message. */
|
|
79
62
|
async function verifyToken(token, opts = {}) {
|
|
80
63
|
const client = createAxiomClient({
|
|
81
64
|
token,
|
|
@@ -83,7 +66,7 @@ async function verifyToken(token, opts = {}) {
|
|
|
83
66
|
fetch: opts.fetch
|
|
84
67
|
});
|
|
85
68
|
try {
|
|
86
|
-
const me = await client.
|
|
69
|
+
const me = await client.user.me();
|
|
87
70
|
return {
|
|
88
71
|
ok: true,
|
|
89
72
|
subject: `user @ ${me.email ?? me.emails?.[0] ?? me.name ?? me.id ?? "unknown"}`
|
|
@@ -91,12 +74,12 @@ async function verifyToken(token, opts = {}) {
|
|
|
91
74
|
} catch (err) {
|
|
92
75
|
return {
|
|
93
76
|
ok: false,
|
|
94
|
-
message:
|
|
77
|
+
message: errorMessage(err)
|
|
95
78
|
};
|
|
96
79
|
}
|
|
97
80
|
}
|
|
98
|
-
|
|
99
|
-
|
|
81
|
+
// src/index.ts
|
|
82
|
+
/** Creates the shared context for the given options; no token is resolved until `client()` is first called. */
|
|
100
83
|
function createContext(options) {
|
|
101
84
|
const env = options.env ?? process.env;
|
|
102
85
|
const dataset = options.dataset ?? env.HOLOCRON_AXIOM_DATASET ?? env.AXIOM_DATASET;
|
|
@@ -113,13 +96,25 @@ function createContext(options) {
|
|
|
113
96
|
})
|
|
114
97
|
};
|
|
115
98
|
}
|
|
99
|
+
/** Builds the `logs` capability from a plugin context. */
|
|
116
100
|
function logs(ctx) {
|
|
117
101
|
return new AxiomLogs(ctx.client, { dataset: ctx.options.dataset });
|
|
118
102
|
}
|
|
103
|
+
/** Creates the Axiom plugin: a `connection` probe and the `logs` capability. */
|
|
119
104
|
function createPlugin(options) {
|
|
120
105
|
const ctx = createContext(options);
|
|
121
106
|
return {
|
|
122
107
|
name: "@theholocron/holocron-plugin-axiom",
|
|
108
|
+
probes: { connection: connectionProbe({
|
|
109
|
+
provider: "Axiom",
|
|
110
|
+
url: options.baseUrl ?? "https://api.axiom.co",
|
|
111
|
+
fetch: options.fetch,
|
|
112
|
+
token: () => resolveToken(options),
|
|
113
|
+
verify: (token) => verifyToken(token, {
|
|
114
|
+
baseUrl: options.baseUrl,
|
|
115
|
+
fetch: options.fetch
|
|
116
|
+
})
|
|
117
|
+
}) },
|
|
123
118
|
capabilities: { logs: () => logs(ctx) }
|
|
124
119
|
};
|
|
125
120
|
}
|
|
@@ -128,5 +123,4 @@ function createPlugin(options) {
|
|
|
128
123
|
* supplied or when the supplied token is rejected.
|
|
129
124
|
*/
|
|
130
125
|
const AUTH_HINT = "generate an Axiom API token at https://app.axiom.co/settings/api-tokens with dataset read + create permissions, then run: holocron auth set axiom <TOKEN>";
|
|
131
|
-
|
|
132
|
-
export { AUTH_HINT, AuthError, AxiomLogs, createAxiomClient, createContext, createPlugin, logs, resolveToken, verifyToken };
|
|
126
|
+
export { AUTH_HINT, AuthError, AxiomLogs, createAxiomClient, createContext, createPlugin, logs, resolveToken, tokens, verifyToken };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-axiom",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.331",
|
|
4
4
|
"description": "Holocron plugin for Axiom. Implements the logs capability against Axiom's REST API — dataset provisioning and connectivity checks, plus verifyToken + AUTH_HINT for `holocron auth`.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"axiom",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"logs",
|
|
9
9
|
"plugin"
|
|
10
10
|
],
|
|
11
|
-
"homepage": "https://
|
|
11
|
+
"homepage": "https://docs.theholocron.dev/holocron/plugins/axiom/",
|
|
12
12
|
"bugs": "https://github.com/theholocron/holocron/issues",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git+https://github.com/theholocron/holocron.git",
|
|
16
|
-
"directory": "
|
|
16
|
+
"directory": "plugins/holocron-plugin-axiom"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"author": "Newton Koumantzelis",
|
|
@@ -30,25 +30,29 @@
|
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@theholocron/eslint-config": "^8.0.0",
|
|
34
|
-
"@theholocron/http-client": "^1.24.0",
|
|
35
|
-
"@theholocron/tsconfig": "^8.0.0",
|
|
36
|
-
"@theholocron/tsdown-config": "^8.0.0",
|
|
37
|
-
"@theholocron/vitest-config": "^8.0.0",
|
|
38
33
|
"@types/node": "^26",
|
|
39
|
-
"@vitest/coverage-v8": "^
|
|
34
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
40
35
|
"@vitest/eslint-plugin": "^1.6.27",
|
|
41
36
|
"eslint": "^10.8.1",
|
|
42
37
|
"eslint-plugin-n": "^18.3.0",
|
|
43
38
|
"globals": "^17.11.0",
|
|
44
|
-
"tsdown": "^0.
|
|
45
|
-
"tsx": "4.23.
|
|
39
|
+
"tsdown": "^0.23.3",
|
|
40
|
+
"tsx": "4.23.15",
|
|
46
41
|
"typescript": "^5.9.3",
|
|
47
|
-
"vitest": "^
|
|
48
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
42
|
+
"vitest": "^5.0.5",
|
|
43
|
+
"@theholocron/cli": "5.0.0-alpha.331",
|
|
44
|
+
"@theholocron/http-client": "^1.58.0-alpha.7",
|
|
45
|
+
"@theholocron/eslint-config": "^8.9.0-alpha.8",
|
|
46
|
+
"@theholocron/tsconfig": "^8.9.0-alpha.8",
|
|
47
|
+
"@theholocron/misc-utils": "^1.17.0-alpha.1",
|
|
48
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.8",
|
|
49
|
+
"@theholocron/tsdown-config": "^8.9.0-alpha.8",
|
|
50
|
+
"@theholocron/axiom-client": "^1.58.0-alpha.7"
|
|
49
51
|
},
|
|
50
52
|
"peerDependencies": {
|
|
51
|
-
"@theholocron/
|
|
53
|
+
"@theholocron/axiom-client": "^1.43.1",
|
|
54
|
+
"@theholocron/misc-utils": "^1.16.0",
|
|
55
|
+
"@theholocron/cli": "5.0.0-alpha.331"
|
|
52
56
|
},
|
|
53
57
|
"engines": {
|
|
54
58
|
"node": ">=22"
|
|
@@ -57,11 +61,11 @@
|
|
|
57
61
|
"access": "public"
|
|
58
62
|
},
|
|
59
63
|
"scripts": {
|
|
60
|
-
"
|
|
61
|
-
"
|
|
64
|
+
"build": "tsdown",
|
|
65
|
+
"lint:code": "eslint .",
|
|
66
|
+
"test:unit": "vitest run --coverage",
|
|
62
67
|
"test:watch": "vitest",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"verification.unitTests": "holocron run verification.unitTests --"
|
|
68
|
+
"typecheck": "tsc --noEmit",
|
|
69
|
+
"validate:plugin": "tsx scripts/validate.mjs"
|
|
66
70
|
}
|
|
67
71
|
}
|