@intlify/devtools-types 11.4.18 → 12.0.0-alpha.10
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 +1 -1
- package/dist/devtools-types.d.ts +54 -101
- package/dist/devtools-types.esm-bundler.js +1 -1
- package/dist/devtools-types.js +5 -0
- package/package.json +34 -42
- package/dist/devtools-types.cjs +0 -7
- package/dist/devtools-types.cjs.js +0 -1
- package/dist/devtools-types.cjs.prod.js +0 -1
- package/dist/devtools-types.mjs +0 -5
- package/dist/devtools-types.prod.cjs +0 -7
- package/index.js +0 -7
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2024 kazuya kawaguchi
|
|
3
|
+
Copyright (c) 2024-present kazuya kawaguchi and contributors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
6
|
this software and associated documentation files (the "Software"), to deal in
|
package/dist/devtools-types.d.ts
CHANGED
|
@@ -1,101 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
export
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
export declare type VueDevToolsIDs = 'vue-devtools-plugin-vue-i18n' | 'vue-i18n-resource-inspector' | 'vue-i18n-timeline';
|
|
56
|
-
|
|
57
|
-
export declare type VueDevToolsTimelineEventPayloads = {
|
|
58
|
-
'compile-error': {
|
|
59
|
-
message: string;
|
|
60
|
-
error: string;
|
|
61
|
-
start?: number;
|
|
62
|
-
end?: number;
|
|
63
|
-
groupId?: string;
|
|
64
|
-
};
|
|
65
|
-
missing: {
|
|
66
|
-
locale: Locale;
|
|
67
|
-
key: Path;
|
|
68
|
-
type: CoreMissingType;
|
|
69
|
-
groupId?: string;
|
|
70
|
-
};
|
|
71
|
-
fallback: {
|
|
72
|
-
key: Path;
|
|
73
|
-
type: CoreMissingType;
|
|
74
|
-
from?: Locale;
|
|
75
|
-
to: Locale | 'global';
|
|
76
|
-
groupId?: string;
|
|
77
|
-
};
|
|
78
|
-
'message-resolve': {
|
|
79
|
-
type: 'message-resolve';
|
|
80
|
-
key: Path;
|
|
81
|
-
message: PathValue;
|
|
82
|
-
time: number;
|
|
83
|
-
groupId?: string;
|
|
84
|
-
};
|
|
85
|
-
'message-compilation': {
|
|
86
|
-
type: 'message-compilation';
|
|
87
|
-
message: string | ResourceNode | MessageFunction;
|
|
88
|
-
time: number;
|
|
89
|
-
groupId?: string;
|
|
90
|
-
};
|
|
91
|
-
'message-evaluation': {
|
|
92
|
-
type: 'message-evaluation';
|
|
93
|
-
value: unknown;
|
|
94
|
-
time: number;
|
|
95
|
-
groupId?: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export declare type VueDevToolsTimelineEvents = 'compile-error' | 'missing' | 'fallback' | 'message-resolve' | 'message-compilation' | 'message-evaluation';
|
|
100
|
-
|
|
101
|
-
export { }
|
|
1
|
+
import { CoreMissingType, Locale, MessageFunction, Path, PathValue, ResourceNode } from "@intlify/core-base";
|
|
2
|
+
import { Emittable } from "@intlify/shared";
|
|
3
|
+
export type VueDevToolsIDs = "vue-devtools-plugin-vue-i18n" | "vue-i18n-resource-inspector" | "vue-i18n-timeline";
|
|
4
|
+
export type VueDevToolsTimelineEvents = "compile-error" | "missing" | "fallback" | "message-resolve" | "message-compilation" | "message-evaluation";
|
|
5
|
+
export type VueDevToolsTimelineEventPayloads = {
|
|
6
|
+
"compile-error": {
|
|
7
|
+
message: string;
|
|
8
|
+
error: string;
|
|
9
|
+
start?: number;
|
|
10
|
+
end?: number;
|
|
11
|
+
groupId?: string;
|
|
12
|
+
};
|
|
13
|
+
missing: {
|
|
14
|
+
locale: Locale;
|
|
15
|
+
key: Path;
|
|
16
|
+
type: CoreMissingType;
|
|
17
|
+
groupId?: string;
|
|
18
|
+
};
|
|
19
|
+
fallback: {
|
|
20
|
+
key: Path;
|
|
21
|
+
type: CoreMissingType;
|
|
22
|
+
from?: Locale;
|
|
23
|
+
to: Locale | "global";
|
|
24
|
+
groupId?: string;
|
|
25
|
+
};
|
|
26
|
+
"message-resolve": {
|
|
27
|
+
type: "message-resolve";
|
|
28
|
+
key: Path;
|
|
29
|
+
message: PathValue;
|
|
30
|
+
time: number;
|
|
31
|
+
groupId?: string;
|
|
32
|
+
};
|
|
33
|
+
"message-compilation": {
|
|
34
|
+
type: "message-compilation";
|
|
35
|
+
message: string | ResourceNode | MessageFunction;
|
|
36
|
+
time: number;
|
|
37
|
+
groupId?: string;
|
|
38
|
+
};
|
|
39
|
+
"message-evaluation": {
|
|
40
|
+
type: "message-evaluation";
|
|
41
|
+
value: unknown;
|
|
42
|
+
time: number;
|
|
43
|
+
groupId?: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export type VueDevToolsEmitterEvents = {
|
|
47
|
+
"compile-error": VueDevToolsTimelineEventPayloads["compile-error"];
|
|
48
|
+
missing: VueDevToolsTimelineEventPayloads["missing"];
|
|
49
|
+
fallback: VueDevToolsTimelineEventPayloads["fallback"];
|
|
50
|
+
"message-resolve": VueDevToolsTimelineEventPayloads["message-resolve"];
|
|
51
|
+
"message-compilation": VueDevToolsTimelineEventPayloads["message-compilation"];
|
|
52
|
+
"message-evaluation": VueDevToolsTimelineEventPayloads["message-evaluation"];
|
|
53
|
+
};
|
|
54
|
+
export type VueDevToolsEmitter = Emittable<VueDevToolsEmitterEvents>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from './devtools-types.js'
|
package/package.json
CHANGED
|
@@ -1,71 +1,63 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlify/devtools-types",
|
|
3
|
-
"version": "11.4.18",
|
|
4
3
|
"description": "@intlify/devtools-types",
|
|
5
|
-
"
|
|
6
|
-
"devtools",
|
|
7
|
-
"i18n",
|
|
8
|
-
"internationalization",
|
|
9
|
-
"intlify"
|
|
10
|
-
],
|
|
11
|
-
"license": "MIT",
|
|
4
|
+
"version": "12.0.0-alpha.10",
|
|
12
5
|
"author": {
|
|
13
6
|
"name": "kazuya kawaguchi",
|
|
14
7
|
"email": "kawakazu80@gmail.com"
|
|
15
8
|
},
|
|
16
|
-
"
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"funding": "https://github.com/sponsors/kazupon",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/intlify/vue-i18n/issues"
|
|
13
|
+
},
|
|
17
14
|
"repository": {
|
|
18
15
|
"type": "git",
|
|
19
16
|
"url": "git+https://github.com/intlify/vue-i18n.git",
|
|
20
17
|
"directory": "packages/devtools-types"
|
|
21
18
|
},
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"dist"
|
|
19
|
+
"keywords": [
|
|
20
|
+
"devtools",
|
|
21
|
+
"i18n",
|
|
22
|
+
"internationalization",
|
|
23
|
+
"intlify"
|
|
28
24
|
],
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"@intlify/shared": "11.4.18",
|
|
34
|
-
"@intlify/core-base": "11.4.18"
|
|
25
|
+
"homepage": "https://github.com/intlify/vue-i18n/tree/master/packages/devtools-types#readme",
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
35
28
|
},
|
|
36
29
|
"engines": {
|
|
37
30
|
"node": ">= 22"
|
|
38
31
|
},
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
},
|
|
32
|
+
"type": "module",
|
|
33
|
+
"sideEffects": false,
|
|
34
|
+
"files": [
|
|
35
|
+
"dist"
|
|
36
|
+
],
|
|
37
|
+
"module": "dist/devtools-types.js",
|
|
46
38
|
"exports": {
|
|
47
39
|
".": {
|
|
48
40
|
"types": "./dist/devtools-types.d.ts",
|
|
49
|
-
"import": "./dist/devtools-types.mjs",
|
|
50
41
|
"node": {
|
|
51
42
|
"import": {
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"default": "./dist/devtools-types.mjs"
|
|
55
|
-
},
|
|
56
|
-
"require": {
|
|
57
|
-
"production": "./dist/devtools-types.prod.cjs",
|
|
58
|
-
"development": "./dist/devtools-types.cjs",
|
|
59
|
-
"default": "./index.js"
|
|
43
|
+
"development": "./dist/devtools-types.js",
|
|
44
|
+
"default": "./dist/devtools-types.js"
|
|
60
45
|
}
|
|
61
|
-
}
|
|
46
|
+
},
|
|
47
|
+
"import": "./dist/devtools-types.js"
|
|
62
48
|
},
|
|
63
49
|
"./dist/*": "./dist/*",
|
|
64
50
|
"./package.json": "./package.json"
|
|
65
51
|
},
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
52
|
+
"types": "dist/devtools-types.d.ts",
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@intlify/core-base": "12.0.0-alpha.10",
|
|
55
|
+
"@intlify/shared": "12.0.0-alpha.10"
|
|
69
56
|
},
|
|
70
|
-
"
|
|
57
|
+
"buildOptions": {
|
|
58
|
+
"name": "IntlifyDevToolsTypes",
|
|
59
|
+
"formats": [
|
|
60
|
+
"mjs"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
71
63
|
}
|
package/dist/devtools-types.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('../dist/devtools-types.cjs')
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('../dist/devtools-types.prod.cjs')
|
package/dist/devtools-types.mjs
DELETED