@typespec/protobuf 0.52.0-dev.3 → 0.52.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/.eslintrc.cjs +1 -1
- package/.rush/temp/package-deps_build.json +8 -7
- package/.rush/temp/package-deps_test-official.json +92 -0
- package/.rush/temp/shrinkwrap-deps.json +21 -9
- package/CHANGELOG.json +15 -0
- package/CHANGELOG.md +9 -1
- package/coverage/.tmp/coverage-0.json +1 -0
- package/coverage/cobertura-coverage.xml +2110 -0
- package/coverage/coverage-final.json +7 -0
- package/dist/src/lib.d.ts +2 -2
- package/package.json +8 -8
- package/protobuf.test-official.log +27 -0
- package/temp/tsconfig.tsbuildinfo +1 -1
- package/test-results.xml +67 -0
- package/tsconfig.config.json +4 -0
- package/tsconfig.json +1 -1
- package/vitest.config.ts +3 -13
- package/dist/vitest.config.d.ts +0 -3
- package/dist/vitest.config.d.ts.map +0 -1
- package/dist/vitest.config.js +0 -14
- package/dist/vitest.config.js.map +0 -1
- package/protobuf.build.log +0 -1
package/dist/src/lib.d.ts
CHANGED
|
@@ -193,9 +193,9 @@ export declare const reportDiagnostic: <C extends "field-index" | "field-name" |
|
|
|
193
193
|
}, C, M>) => void;
|
|
194
194
|
export type TypeSpecProtobufLibrary = typeof TypeSpecProtobufLibrary;
|
|
195
195
|
export declare const state: {
|
|
196
|
-
message: symbol;
|
|
197
|
-
stream: symbol;
|
|
198
196
|
service: symbol;
|
|
197
|
+
stream: symbol;
|
|
198
|
+
message: symbol;
|
|
199
199
|
package: symbol;
|
|
200
200
|
fieldIndex: symbol;
|
|
201
201
|
externRef: symbol;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/protobuf",
|
|
3
|
-
"version": "0.52.0
|
|
3
|
+
"version": "0.52.0",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library and emitter for Protobuf (gRPC)",
|
|
6
6
|
"homepage": "https://github.com/microsoft/typespec",
|
|
@@ -22,24 +22,24 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"tspMain": "lib/proto.tsp",
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@typespec/compiler": "~0.
|
|
25
|
+
"@typespec/compiler": "~0.52.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@typespec/compiler": "~0.
|
|
29
|
-
"@typespec/eslint-config-typespec": "~0.
|
|
30
|
-
"@typespec/eslint-plugin": "~0.
|
|
28
|
+
"@typespec/compiler": "~0.52.0",
|
|
29
|
+
"@typespec/eslint-config-typespec": "~0.52.0",
|
|
30
|
+
"@typespec/eslint-plugin": "~0.52.0",
|
|
31
31
|
"@types/node": "~18.11.9",
|
|
32
|
-
"@typespec/tspd": "~0.46.0
|
|
32
|
+
"@typespec/tspd": "~0.46.0",
|
|
33
33
|
"c8": "~8.0.1",
|
|
34
34
|
"eslint": "^8.55.0",
|
|
35
|
-
"vitest": "^1.
|
|
35
|
+
"vitest": "^1.2.0",
|
|
36
36
|
"@vitest/coverage-v8": "^1.1.0",
|
|
37
|
+
"@vitest/ui": "~1.1.3",
|
|
37
38
|
"rimraf": "~5.0.1",
|
|
38
39
|
"typescript": "~5.3.3",
|
|
39
40
|
"micromatch": "^4.0.5",
|
|
40
41
|
"@types/micromatch": "^4.0.2"
|
|
41
42
|
},
|
|
42
|
-
"dependencies": {},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"clean": "rimraf ./dist ./temp",
|
|
45
45
|
"build": "tsc -p .",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Invoking: vitest run --coverage --reporter=junit --reporter=default --no-file-parallelism
|
|
2
|
+
|
|
3
|
+
RUN v1.2.0 D:/a/_work/1/s/packages/protobuf
|
|
4
|
+
Coverage enabled with v8
|
|
5
|
+
|
|
6
|
+
✓ test/scenarios.test.ts (31 tests) 4241ms
|
|
7
|
+
|
|
8
|
+
Test Files 1 passed (1)
|
|
9
|
+
Tests 31 passed (31)
|
|
10
|
+
Start at 19:23:13
|
|
11
|
+
Duration 8.85s (transform 2.26s, setup 0ms, collect 3.85s, tests 4.24s, environment 0ms, prepare 243ms)
|
|
12
|
+
|
|
13
|
+
JUNIT report written to D:/a/_work/1/s/packages/protobuf/test-results.xml
|
|
14
|
+
% Coverage report from v8
|
|
15
|
+
---------------|---------|----------|---------|---------|-----------------------
|
|
16
|
+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
|
|
17
|
+
---------------|---------|----------|---------|---------|-----------------------
|
|
18
|
+
All files | 4.24 | 0 | 0 | 4.24 |
|
|
19
|
+
src | 3.76 | 0 | 0 | 3.76 |
|
|
20
|
+
ast.ts | 8.22 | 0 | 0 | 8.22 | 1-144,164-188,195-304
|
|
21
|
+
index.ts | 0 | 0 | 0 | 0 | 1-7
|
|
22
|
+
lib.ts | 0 | 0 | 0 | 0 | 1-181
|
|
23
|
+
proto.ts | 3.13 | 0 | 0 | 3.13 | 1-213,221-223
|
|
24
|
+
write.ts | 2.03 | 0 | 0 | 2.03 | 1-84,91-295
|
|
25
|
+
src/transform | 4.71 | 0 | 0 | 4.71 |
|
|
26
|
+
index.ts | 4.71 | 0 | 0 | 4.71 | ...1,335-828,864-1017
|
|
27
|
+
---------------|---------|----------|---------|---------|-----------------------
|