@autorest/java 4.1.61 → 4.1.63
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/core/package.json +22 -21
- package/fluentgen/target/azure-autorest-fluentgen-jar-with-dependencies.jar +0 -0
- package/javagen/target/azure-autorest-javagen-jar-with-dependencies.jar +0 -0
- package/package.json +1 -1
- package/readme.md +2 -2
- package/typespec-extension/package.json +51 -47
- package/typespec-tests/package.json +21 -21
package/core/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@typespec/monorepo",
|
|
3
3
|
"version": "0.0.1",
|
|
4
4
|
"private": true,
|
|
5
|
-
"packageManager": "pnpm@10.
|
|
5
|
+
"packageManager": "pnpm@10.30.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "pnpm build:all && pnpm check:eng && pnpm gen-compiler-extern-signature",
|
|
@@ -37,42 +37,43 @@
|
|
|
37
37
|
"validate-scenarios": "pnpm -r --filter=@typespec/http-specs run validate-scenarios",
|
|
38
38
|
"validate-mock-apis": "pnpm -r --filter=@typespec/http-specs run validate-mock-apis",
|
|
39
39
|
"generate-scenarios-summary": "pnpm -r --filter=@typespec/http-specs run generate-scenarios-summary",
|
|
40
|
-
"install-conflict": "git checkout upstream/main -- pnpm-lock.yaml && pnpm install"
|
|
40
|
+
"install-conflict": "git checkout upstream/main -- pnpm-lock.yaml && pnpm install",
|
|
41
|
+
"tsp-integration": "pnpm --filter @azure-tools/integration-tester exec tsp-integration"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"@chronus/chronus": "^1.0.1",
|
|
44
45
|
"@chronus/github": "^1.0.1",
|
|
45
46
|
"@chronus/github-pr-commenter": "^1.0.1",
|
|
46
|
-
"@eslint/js": "^
|
|
47
|
-
"@microsoft/api-extractor": "^7.
|
|
47
|
+
"@eslint/js": "^10.0.1",
|
|
48
|
+
"@microsoft/api-extractor": "^7.57.4",
|
|
48
49
|
"@octokit/core": "^7.0.2",
|
|
49
50
|
"@octokit/plugin-paginate-graphql": "^6.0.0",
|
|
50
51
|
"@octokit/plugin-rest-endpoint-methods": "^17.0.0",
|
|
51
52
|
"@types/micromatch": "^4.0.9",
|
|
52
|
-
"@types/node": "~
|
|
53
|
-
"@vitest/coverage-v8": "^4.0.
|
|
54
|
-
"@vitest/eslint-plugin": "^1.
|
|
55
|
-
"c8": "^
|
|
56
|
-
"cspell": "^9.0
|
|
57
|
-
"eslint": "^
|
|
53
|
+
"@types/node": "~25.3.0",
|
|
54
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
55
|
+
"@vitest/eslint-plugin": "^1.5.2",
|
|
56
|
+
"c8": "^11.0.0",
|
|
57
|
+
"cspell": "^9.4.0",
|
|
58
|
+
"eslint": "^10.0.2",
|
|
58
59
|
"eslint-plugin-import": "^2.31.0",
|
|
59
60
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
60
|
-
"eslint-plugin-unicorn": "^
|
|
61
|
+
"eslint-plugin-unicorn": "^63.0.0",
|
|
61
62
|
"micromatch": "^4.0.8",
|
|
62
63
|
"picocolors": "~1.1.1",
|
|
63
|
-
"playwright": "^1.
|
|
64
|
-
"prettier": "~3.
|
|
64
|
+
"playwright": "^1.57.0",
|
|
65
|
+
"prettier": "~3.8.0",
|
|
65
66
|
"prettier-plugin-astro": "^0.14.1",
|
|
66
67
|
"prettier-plugin-organize-imports": "~4.3.0",
|
|
67
|
-
"prettier-plugin-sh": "^0.
|
|
68
|
-
"rimraf": "~6.1.
|
|
68
|
+
"prettier-plugin-sh": "^0.18.0",
|
|
69
|
+
"rimraf": "~6.1.3",
|
|
69
70
|
"syncpack": "^13.0.3",
|
|
70
|
-
"tsx": "^4.
|
|
71
|
-
"typescript": "~5.9.
|
|
72
|
-
"typescript-eslint": "^8.
|
|
73
|
-
"vite-plugin-node-polyfills": "^0.
|
|
74
|
-
"vitest": "^4.0.
|
|
75
|
-
"yaml": "~2.8.
|
|
71
|
+
"tsx": "^4.21.0",
|
|
72
|
+
"typescript": "~5.9.3",
|
|
73
|
+
"typescript-eslint": "^8.49.0",
|
|
74
|
+
"vite-plugin-node-polyfills": "^0.25.0",
|
|
75
|
+
"vitest": "^4.0.18",
|
|
76
|
+
"yaml": "~2.8.2"
|
|
76
77
|
},
|
|
77
78
|
"syncpack": {
|
|
78
79
|
"dependencyTypes": [
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -15,7 +15,7 @@ npm install -g autorest
|
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
# Usage
|
|
18
|
-
To use the latest released preview(https://github.com/Azure/autorest.java/releases), run
|
|
18
|
+
To use the latest released preview (https://github.com/Azure/autorest.java/releases), run
|
|
19
19
|
```bash
|
|
20
20
|
autorest --java
|
|
21
21
|
--use:@autorest/java@4.x.x
|
|
@@ -45,7 +45,7 @@ autorest --java
|
|
|
45
45
|
|
|
46
46
|
Java files will be generated under `where/to/generate/java/files/src/main/java/specified/java/package`.
|
|
47
47
|
|
|
48
|
-
To debug, add `--java.debugger` to the argument list. The JVM will suspend at the beginning of the execution. Then attach a remote debugger in your IDE to `localhost:5005`. **Make sure you detach the debugger before killing the AutoRest process. Otherwise it will fail to
|
|
48
|
+
To debug, add `--java.debugger` to the argument list. The JVM will suspend at the beginning of the execution. Then attach a remote debugger in your IDE to `localhost:5005`. **Make sure you detach the debugger before killing the AutoRest process. Otherwise it will fail to shut down the JVM and leave it orphaned. (which can be killed in the Task Manager)**
|
|
49
49
|
|
|
50
50
|
# Recommended Settings
|
|
51
51
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-java",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"description": "TypeSpec library for emitting Java client from the TypeSpec REST protocol binding",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"TypeSpec"
|
|
@@ -47,63 +47,67 @@
|
|
|
47
47
|
"generator/http-client-generator/target/classes/PerfAutomation.jfc"
|
|
48
48
|
],
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@azure-tools/typespec
|
|
51
|
-
"@azure-tools/typespec-
|
|
52
|
-
"@azure-tools/typespec-azure-
|
|
53
|
-
"@azure-tools/typespec-azure-
|
|
54
|
-
"@azure-tools/typespec-
|
|
55
|
-
"@azure-tools/typespec-
|
|
56
|
-
"@typespec
|
|
57
|
-
"@typespec/
|
|
58
|
-
"@typespec/
|
|
59
|
-
"@typespec/
|
|
60
|
-
"@typespec/
|
|
61
|
-
"@typespec/
|
|
50
|
+
"@azure-tools/openai-typespec": "^1.11.0",
|
|
51
|
+
"@azure-tools/typespec-autorest": ">=0.65.0 <1.0.0",
|
|
52
|
+
"@azure-tools/typespec-azure-core": ">=0.65.0 <1.0.0",
|
|
53
|
+
"@azure-tools/typespec-azure-resource-manager": ">=0.65.0 <1.0.0",
|
|
54
|
+
"@azure-tools/typespec-azure-rulesets": ">=0.65.0 <1.0.0",
|
|
55
|
+
"@azure-tools/typespec-client-generator-core": ">=0.65.4 <1.0.0",
|
|
56
|
+
"@azure-tools/typespec-liftr-base": ">=0.12.0 <1.0.0",
|
|
57
|
+
"@typespec/compiler": "^1.9.0",
|
|
58
|
+
"@typespec/http": "^1.9.1",
|
|
59
|
+
"@typespec/openapi": "^1.9.0",
|
|
60
|
+
"@typespec/openapi3": "^1.9.0",
|
|
61
|
+
"@typespec/rest": ">=0.79.0 <1.0.0",
|
|
62
|
+
"@typespec/versioning": ">=0.79.0 <1.0.0",
|
|
63
|
+
"@typespec/xml": ">=0.79.0 <1.0.0"
|
|
62
64
|
},
|
|
63
65
|
"dependencies": {
|
|
64
66
|
"@autorest/codemodel": "~4.20.1",
|
|
65
67
|
"js-yaml": "~4.1.1",
|
|
66
|
-
"lodash": "~4.17.
|
|
68
|
+
"lodash": "~4.17.23"
|
|
67
69
|
},
|
|
68
70
|
"devDependencies": {
|
|
69
|
-
"@azure-tools/typespec
|
|
70
|
-
"@azure-tools/typespec-
|
|
71
|
-
"@azure-tools/typespec-azure-
|
|
72
|
-
"@azure-tools/typespec-azure-
|
|
73
|
-
"@azure-tools/typespec-
|
|
74
|
-
"@azure-tools/typespec-
|
|
75
|
-
"@
|
|
71
|
+
"@azure-tools/openai-typespec": "1.11.0",
|
|
72
|
+
"@azure-tools/typespec-autorest": "0.65.0",
|
|
73
|
+
"@azure-tools/typespec-azure-core": "0.65.0",
|
|
74
|
+
"@azure-tools/typespec-azure-resource-manager": "0.65.0",
|
|
75
|
+
"@azure-tools/typespec-azure-rulesets": "0.65.0",
|
|
76
|
+
"@azure-tools/typespec-client-generator-core": "0.65.4",
|
|
77
|
+
"@azure-tools/typespec-liftr-base": "0.12.0",
|
|
78
|
+
"@microsoft/api-extractor": "^7.57.6",
|
|
76
79
|
"@types/js-yaml": "~4.0.9",
|
|
77
|
-
"@types/lodash": "~4.17.
|
|
78
|
-
"@types/node": "~
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "~8.
|
|
80
|
-
"@typescript-eslint/parser": "~8.
|
|
81
|
-
"@typespec/compiler": "1.
|
|
82
|
-
"@typespec/events": "0.
|
|
83
|
-
"@typespec/http": "1.
|
|
84
|
-
"@typespec/openapi": "1.
|
|
85
|
-
"@typespec/
|
|
86
|
-
"@typespec/
|
|
87
|
-
"@typespec/
|
|
88
|
-
"@typespec/
|
|
89
|
-
"@typespec/
|
|
90
|
-
"@typespec/
|
|
91
|
-
"@
|
|
92
|
-
"@vitest/
|
|
93
|
-
"
|
|
94
|
-
"
|
|
80
|
+
"@types/lodash": "~4.17.24",
|
|
81
|
+
"@types/node": "~25.3.5",
|
|
82
|
+
"@typescript-eslint/eslint-plugin": "~8.56.1",
|
|
83
|
+
"@typescript-eslint/parser": "~8.56.1",
|
|
84
|
+
"@typespec/compiler": "1.9.0",
|
|
85
|
+
"@typespec/events": "0.79.0",
|
|
86
|
+
"@typespec/http": "1.9.1",
|
|
87
|
+
"@typespec/openapi": "1.9.0",
|
|
88
|
+
"@typespec/openapi3": "1.9.0",
|
|
89
|
+
"@typespec/rest": "0.79.0",
|
|
90
|
+
"@typespec/sse": "0.79.0",
|
|
91
|
+
"@typespec/streams": "0.79.0",
|
|
92
|
+
"@typespec/tspd": "0.74.0",
|
|
93
|
+
"@typespec/versioning": "0.79.0",
|
|
94
|
+
"@typespec/xml": "0.79.0",
|
|
95
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
96
|
+
"@vitest/ui": "^4.0.18",
|
|
97
|
+
"c8": "~11.0.0",
|
|
98
|
+
"eslint": "~10.0.2",
|
|
95
99
|
"eslint-plugin-deprecation": "~3.0.0",
|
|
96
100
|
"eslint-plugin-import": "^2.32.0",
|
|
97
|
-
"eslint-plugin-unicorn": "^
|
|
98
|
-
"prettier": "~3.
|
|
99
|
-
"rimraf": "~6.1.
|
|
101
|
+
"eslint-plugin-unicorn": "^63.0.0",
|
|
102
|
+
"prettier": "~3.8.1",
|
|
103
|
+
"rimraf": "~6.1.3",
|
|
100
104
|
"typescript": "~5.9.3",
|
|
101
|
-
"typescript-eslint": "^8.
|
|
102
|
-
"vitest": "^4.0.
|
|
105
|
+
"typescript-eslint": "^8.56.1",
|
|
106
|
+
"vitest": "^4.0.18"
|
|
103
107
|
},
|
|
104
108
|
"overrides": {
|
|
105
|
-
"eslint": "~
|
|
106
|
-
"@typescript-eslint/eslint-plugin": "~8.
|
|
107
|
-
"@typescript-eslint/parser": "~8.
|
|
109
|
+
"eslint": "~10.0.2",
|
|
110
|
+
"@typescript-eslint/eslint-plugin": "~8.56.1",
|
|
111
|
+
"@typescript-eslint/parser": "~8.56.1"
|
|
108
112
|
}
|
|
109
113
|
}
|
|
@@ -9,32 +9,32 @@
|
|
|
9
9
|
"spector-serve": "tsp-spector serve ./node_modules/@typespec/http-specs/specs ./node_modules/@azure-tools/azure-http-specs/specs --coverageFile ./tsp-spector-coverage-java.json"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@typespec/spec-api": "0.1.0-alpha.
|
|
13
|
-
"@typespec/spector": "0.1.0-alpha.
|
|
14
|
-
"@typespec/http-specs": "0.1.0-alpha.
|
|
15
|
-
"@azure-tools/azure-http-specs": "0.1.0-alpha.
|
|
16
|
-
|
|
12
|
+
"@typespec/spec-api": "0.1.0-alpha.12",
|
|
13
|
+
"@typespec/spector": "0.1.0-alpha.23",
|
|
14
|
+
"@typespec/http-specs": "0.1.0-alpha.32",
|
|
15
|
+
"@azure-tools/azure-http-specs": "0.1.0-alpha.37",
|
|
16
|
+
"@azure-tools/typespec-java": "file:/../typespec-extension/azure-tools-typespec-java-0.41.0.tgz"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@typespec/prettier-plugin-typespec": "^1.
|
|
19
|
+
"@typespec/prettier-plugin-typespec": "^1.9.0",
|
|
20
20
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
21
|
-
"prettier": "^3.
|
|
21
|
+
"prettier": "^3.8.1"
|
|
22
22
|
},
|
|
23
23
|
"overrides": {
|
|
24
|
-
"@typespec/compiler": "1.
|
|
25
|
-
"@typespec/http": "1.
|
|
26
|
-
"@typespec/rest": "0.
|
|
27
|
-
"@typespec/versioning": "0.
|
|
28
|
-
"@typespec/openapi": "1.
|
|
29
|
-
"@typespec/xml": "0.
|
|
30
|
-
"@typespec/events": "0.
|
|
31
|
-
"@typespec/sse": "0.
|
|
32
|
-
"@typespec/streams": "0.
|
|
33
|
-
"@azure-tools/typespec-azure-core": "0.
|
|
34
|
-
"@azure-tools/typespec-client-generator-core": "0.
|
|
35
|
-
"@azure-tools/typespec-azure-resource-manager": "0.
|
|
36
|
-
"@azure-tools/typespec-autorest": "0.
|
|
37
|
-
"@azure-tools/typespec-liftr-base": "0.
|
|
24
|
+
"@typespec/compiler": "1.9.0",
|
|
25
|
+
"@typespec/http": "1.9.1",
|
|
26
|
+
"@typespec/rest": "0.79.0",
|
|
27
|
+
"@typespec/versioning": "0.79.0",
|
|
28
|
+
"@typespec/openapi": "1.9.0",
|
|
29
|
+
"@typespec/xml": "0.79.0",
|
|
30
|
+
"@typespec/events": "0.79.0",
|
|
31
|
+
"@typespec/sse": "0.79.0",
|
|
32
|
+
"@typespec/streams": "0.79.0",
|
|
33
|
+
"@azure-tools/typespec-azure-core": "0.65.0",
|
|
34
|
+
"@azure-tools/typespec-client-generator-core": "0.65.4",
|
|
35
|
+
"@azure-tools/typespec-azure-resource-manager": "0.65.0",
|
|
36
|
+
"@azure-tools/typespec-autorest": "0.65.0",
|
|
37
|
+
"@azure-tools/typespec-liftr-base": "0.12.0"
|
|
38
38
|
},
|
|
39
39
|
"private": true
|
|
40
40
|
}
|