@azure-tools/typespec-java 0.27.1 → 0.27.3
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/dist/src/code-model-builder.d.ts +1 -7
- package/dist/src/code-model-builder.d.ts.map +1 -1
- package/dist/src/code-model-builder.js +191 -139
- package/dist/src/code-model-builder.js.map +1 -1
- package/dist/src/common/client.d.ts +1 -4
- package/dist/src/common/client.d.ts.map +1 -1
- package/dist/src/common/operation.d.ts +1 -2
- package/dist/src/common/operation.d.ts.map +1 -1
- package/dist/src/common/operation.js.map +1 -1
- package/dist/src/emitter.d.ts +1 -34
- package/dist/src/emitter.d.ts.map +1 -1
- package/dist/src/emitter.js +54 -56
- package/dist/src/emitter.js.map +1 -1
- package/dist/src/external-schemas.d.ts.map +1 -1
- package/dist/src/external-schemas.js +3 -4
- package/dist/src/external-schemas.js.map +1 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +4 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/lib.d.ts +224 -0
- package/dist/src/lib.d.ts.map +1 -0
- package/dist/src/lib.js +114 -0
- package/dist/src/lib.js.map +1 -0
- package/dist/src/operation-utils.d.ts +1 -2
- package/dist/src/operation-utils.d.ts.map +1 -1
- package/dist/src/operation-utils.js +0 -6
- package/dist/src/operation-utils.js.map +1 -1
- package/dist/src/type-utils.d.ts +2 -2
- package/dist/src/type-utils.d.ts.map +1 -1
- package/dist/src/type-utils.js +5 -3
- package/dist/src/type-utils.js.map +1 -1
- package/dist/src/utils.d.ts +11 -3
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +17 -20
- package/dist/src/utils.js.map +1 -1
- package/dist/src/validate.d.ts +1 -0
- package/dist/src/validate.d.ts.map +1 -1
- package/dist/src/validate.js +68 -23
- package/dist/src/validate.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/generator/http-client-generator/target/emitter.jar +0 -0
- package/package.json +40 -37
- package/readme.md +1 -1
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-java",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.3",
|
|
4
4
|
"description": "TypeSpec library for emitting Java client from the TypeSpec REST protocol binding",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"TypeSpec"
|
|
@@ -17,21 +17,21 @@
|
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"type": "module",
|
|
20
|
-
"main": "dist/src/
|
|
20
|
+
"main": "dist/src/index.js",
|
|
21
21
|
"exports": {
|
|
22
|
-
".":
|
|
23
|
-
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/src/index.d.ts",
|
|
24
|
+
"default": "./dist/src/index.js"
|
|
25
|
+
}
|
|
24
26
|
},
|
|
25
|
-
"tspMain": "dist/src/emitter.js",
|
|
26
27
|
"engines": {
|
|
27
|
-
"node": ">=
|
|
28
|
+
"node": ">=18.0.0"
|
|
28
29
|
},
|
|
29
30
|
"scripts": {
|
|
30
31
|
"clean": "rimraf ./dist ./temp",
|
|
31
32
|
"build": "tsc -p .",
|
|
32
33
|
"watch": "tsc -p . --watch",
|
|
33
|
-
"test": "
|
|
34
|
-
"test-official": "c8 mocha --forbid-only",
|
|
34
|
+
"test": "vitest run",
|
|
35
35
|
"lint": "eslint . --ext .ts --max-warnings=0",
|
|
36
36
|
"lint:fix": "eslint . --fix --ext .ts",
|
|
37
37
|
"format": "npm run -s prettier -- --write",
|
|
@@ -45,17 +45,18 @@
|
|
|
45
45
|
"generator/http-client-generator/target/emitter.jar"
|
|
46
46
|
],
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@azure-tools/typespec-azure-core": ">=0.
|
|
49
|
-
"@azure-tools/typespec-azure-resource-manager": ">=0.
|
|
50
|
-
"@azure-tools/typespec-autorest": ">=0.
|
|
51
|
-
"@azure-tools/typespec-azure-rulesets": ">=0.
|
|
52
|
-
"@azure-tools/typespec-client-generator-core": ">=0.
|
|
53
|
-
"@typespec/compiler": ">=0.
|
|
54
|
-
"@typespec/http": ">=0.
|
|
55
|
-
"@typespec/openapi": ">=0.
|
|
56
|
-
"@typespec/rest": ">=0.
|
|
57
|
-
"@typespec/versioning": ">=0.
|
|
58
|
-
"@typespec/xml": ">=0.
|
|
48
|
+
"@azure-tools/typespec-azure-core": ">=0.50.0 <1.0.0",
|
|
49
|
+
"@azure-tools/typespec-azure-resource-manager": ">=0.50.0 <1.0.0",
|
|
50
|
+
"@azure-tools/typespec-autorest": ">=0.50.0 <1.0.0",
|
|
51
|
+
"@azure-tools/typespec-azure-rulesets": ">=0.50.0 <1.0.0",
|
|
52
|
+
"@azure-tools/typespec-client-generator-core": ">=0.50.3 <1.0.0",
|
|
53
|
+
"@typespec/compiler": ">=0.64.0 <1.0.0",
|
|
54
|
+
"@typespec/http": ">=0.64.0 <1.0.0",
|
|
55
|
+
"@typespec/openapi": ">=0.64.0 <1.0.0",
|
|
56
|
+
"@typespec/rest": ">=0.64.0 <1.0.0",
|
|
57
|
+
"@typespec/versioning": ">=0.64.0 <1.0.0",
|
|
58
|
+
"@typespec/xml": ">=0.64.0 <1.0.0",
|
|
59
|
+
"@azure-tools/typespec-liftr-base": ">=0.7.0 <1.0.0"
|
|
59
60
|
},
|
|
60
61
|
"dependencies": {
|
|
61
62
|
"@autorest/codemodel": "~4.20.0",
|
|
@@ -63,29 +64,31 @@
|
|
|
63
64
|
"lodash": "~4.17.21"
|
|
64
65
|
},
|
|
65
66
|
"devDependencies": {
|
|
66
|
-
"@azure-tools/typespec-azure-core": "0.
|
|
67
|
-
"@azure-tools/typespec-azure-resource-manager": "0.
|
|
68
|
-
"@azure-tools/typespec-autorest": "0.
|
|
69
|
-
"@azure-tools/typespec-azure-rulesets": "0.
|
|
70
|
-
"@azure-tools/typespec-client-generator-core": "0.
|
|
67
|
+
"@azure-tools/typespec-azure-core": "0.50.0",
|
|
68
|
+
"@azure-tools/typespec-azure-resource-manager": "0.50.0",
|
|
69
|
+
"@azure-tools/typespec-autorest": "0.50.0",
|
|
70
|
+
"@azure-tools/typespec-azure-rulesets": "0.50.0",
|
|
71
|
+
"@azure-tools/typespec-client-generator-core": "0.50.3",
|
|
71
72
|
"@types/js-yaml": "~4.0.9",
|
|
72
|
-
"@types/lodash": "~4.17.
|
|
73
|
-
"@types/
|
|
74
|
-
"@
|
|
75
|
-
"@typescript-eslint/
|
|
76
|
-
"@
|
|
77
|
-
"@typespec/
|
|
78
|
-
"@typespec/
|
|
79
|
-
"@typespec/
|
|
80
|
-
"@typespec/
|
|
81
|
-
"@typespec/
|
|
82
|
-
"@
|
|
73
|
+
"@types/lodash": "~4.17.15",
|
|
74
|
+
"@types/node": "~22.13.1",
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "~8.23.0",
|
|
76
|
+
"@typescript-eslint/parser": "~8.23.0",
|
|
77
|
+
"@typespec/compiler": "0.64.0",
|
|
78
|
+
"@typespec/http": "0.64.0",
|
|
79
|
+
"@typespec/openapi": "0.64.0",
|
|
80
|
+
"@typespec/rest": "0.64.1",
|
|
81
|
+
"@typespec/versioning": "0.64.0",
|
|
82
|
+
"@typespec/xml": "0.64.0",
|
|
83
|
+
"@vitest/coverage-v8": "^3.0.5",
|
|
84
|
+
"@vitest/ui": "^3.0.5",
|
|
83
85
|
"c8": "~10.1.3",
|
|
84
86
|
"eslint": "~8.57.0",
|
|
85
87
|
"eslint-plugin-deprecation": "~3.0.0",
|
|
86
|
-
"mocha": "~11.0.1",
|
|
87
88
|
"prettier": "~3.4.2",
|
|
88
89
|
"rimraf": "~6.0.1",
|
|
89
|
-
"typescript": "~5.7.
|
|
90
|
+
"typescript": "~5.7.3",
|
|
91
|
+
"vitest": "^3.0.5",
|
|
92
|
+
"@azure-tools/typespec-liftr-base": "~0.7.0"
|
|
90
93
|
}
|
|
91
94
|
}
|
package/readme.md
CHANGED
|
@@ -6,7 +6,7 @@ Install [Java](https://docs.microsoft.com/java/openjdk/download) 11 or above. (V
|
|
|
6
6
|
|
|
7
7
|
Install [Maven](https://maven.apache.org/download.cgi). (Verify by running `mvn --version`)
|
|
8
8
|
|
|
9
|
-
Install [TypeSpec](https://typespec.io/) 0.
|
|
9
|
+
Install [TypeSpec](https://typespec.io/) 0.64.
|
|
10
10
|
|
|
11
11
|
# Initialize TypeSpec Project
|
|
12
12
|
|