@tinacms/metrics 2.0.1 → 2.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.
|
@@ -26,7 +26,15 @@ export interface TinaCMSServerError extends EventsBase {
|
|
|
26
26
|
name: 'tinacms:cli:server:error';
|
|
27
27
|
errorMessage: string;
|
|
28
28
|
}
|
|
29
|
-
export
|
|
29
|
+
export interface TinaCMSDevInvoke extends EventsBase {
|
|
30
|
+
name: 'tinacms:cli:dev:invoke';
|
|
31
|
+
hasLocalContentPath: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface TinaCMSBuildInvoke extends EventsBase {
|
|
34
|
+
name: 'tinacms:cli:build:invoke';
|
|
35
|
+
hasLocalContentPath: boolean;
|
|
36
|
+
}
|
|
37
|
+
export type Events = CreateTinaAppInvoke | TinaCMSAuditInvoke | TinaCMSInitInvoke | TinaCMSServerStartInvoke | TinaCMSServerError | TinaCMSDevInvoke | TinaCMSBuildInvoke;
|
|
30
38
|
type Merge<A, B> = {
|
|
31
39
|
[K in keyof A]: K extends keyof B ? B[K] : A[K];
|
|
32
40
|
} & B extends infer O ? {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/metrics",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"fs-extra": "^11.3.0",
|
|
26
26
|
"jest": "^29.7.0",
|
|
27
27
|
"typescript": "^5.7.3",
|
|
28
|
-
"@tinacms/scripts": "1.
|
|
28
|
+
"@tinacms/scripts": "1.6.1"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"registry": "https://registry.npmjs.org"
|