@autorest/java 4.1.18 → 4.1.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorest/java",
3
- "version": "4.1.18",
3
+ "version": "4.1.19",
4
4
  "description": "The Java extension for classic generators in AutoRest.",
5
5
  "scripts": {
6
6
  "autorest": "autorest",
package/readme.md CHANGED
@@ -133,6 +133,7 @@ Following settings only works when `fluent` option is specified.
133
133
  | `--preserve-model` | CSV. Preserve classes from clean-up. |
134
134
  | `--remove-operation-group` | CSV. Remove operation groups. |
135
135
  | `--name-for-ungrouped-operations` | String. Name for ungrouped operation group. Default to `ResourceProviders` for Lite. |
136
+ | `--resource-collection-associations` | Array. Prioritized association from resource model to resource collection. |
136
137
 
137
138
  `fluent` option will change the default value for some vanilla options.
138
139
  For example, `generate-client-interfaces`, `required-parameter-client-methods` option is by default `true`.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-java",
3
- "version": "0.8.5",
3
+ "version": "0.8.10",
4
4
  "description": "TypeSpec library for emitting Java client from the TypeSpec REST protocol binding",
5
5
  "keywords": [
6
6
  "TypeSpec"
@@ -58,18 +58,18 @@
58
58
  "js-yaml": "~4.1.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@types/lodash": "~4.14.195",
61
+ "@types/lodash": "~4.14.196",
62
62
  "@types/js-yaml": "~4.0.5",
63
63
  "@types/mocha": "~10.0.1",
64
- "@types/node": "~20.4.0",
64
+ "@types/node": "~20.4.9",
65
65
  "@types/prettier": "~2.7.3",
66
- "c8": "~8.0.0",
67
- "eslint": "~8.44.0",
66
+ "c8": "~8.0.1",
67
+ "eslint": "~8.46.0",
68
68
  "mocha": "~10.2.0",
69
69
  "rimraf": "~5.0.1",
70
70
  "typescript": "~5.1.6",
71
- "@typescript-eslint/parser": "~5.61.0",
72
- "@typescript-eslint/eslint-plugin": "~5.61.0",
73
- "eslint-plugin-deprecation": "~1.4.1"
71
+ "@typescript-eslint/parser": "~6.3.0",
72
+ "@typescript-eslint/eslint-plugin": "~6.3.0",
73
+ "eslint-plugin-deprecation": "~1.5.0"
74
74
  }
75
75
  }
@@ -4,7 +4,7 @@ Install [Node.js](https://nodejs.org/en/download/) 16 or above. (Verify by `node
4
4
 
5
5
  Install [Java](https://docs.microsoft.com/java/openjdk/download) 11 or above. (Verify by `java --version`)
6
6
 
7
- Install [TypeSpec](https://github.com/microsoft/typespec/) 0.46.
7
+ Install [TypeSpec](https://github.com/microsoft/typespec/) 0.47.
8
8
 
9
9
  # Initialize TypeSpec Project
10
10
 
@@ -6,17 +6,18 @@
6
6
  "format": "npm run -s prettier -- --write",
7
7
  "check-format": "npm run prettier -- --check",
8
8
  "prettier": "prettier --config ./.prettierrc.yaml **/*.tsp",
9
- "start-test-server": "npx cadl-ranch serve ./node_modules/@azure-tools/cadl-ranch-specs/http --coverageFile ./cadl-ranch-coverage-java.json"
9
+ "testserver-run": "npx cadl-ranch serve ./node_modules/@azure-tools/cadl-ranch-specs/http --coverageFile ./cadl-ranch-coverage-java.json"
10
10
  },
11
11
  "dependencies": {
12
12
  "@typespec/openapi": ">=0.45.0 <1.0.0",
13
13
  "@azure-tools/typespec-autorest": ">=0.31.0 <1.0.0",
14
- "@azure-tools/cadl-ranch-specs": "0.16.2",
15
- "@azure-tools/typespec-java": "file:/../typespec-extension/azure-tools-typespec-java-0.8.5.tgz"
14
+ "@azure-tools/cadl-ranch-specs": "0.18.0",
15
+ "@azure-tools/typespec-java": "file:/../typespec-extension/azure-tools-typespec-java-0.8.10.tgz"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@typespec/prettier-plugin-typespec": ">=0.45.0 <1.0.0",
19
- "prettier": "~2.8.8"
19
+ "prettier-plugin-organize-imports": "3.2.3",
20
+ "prettier": "~3.0.1"
20
21
  },
21
22
  "overrides": {
22
23
  "@typespec/compiler": ">=0.45.0 <1.0.0",