@azure-tools/typespec-autorest 0.29.0-dev.5 → 0.29.0-dev.7

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.
Files changed (2) hide show
  1. package/README.md +0 -8
  2. package/package.json +6 -4
package/README.md CHANGED
@@ -32,14 +32,6 @@ import "@azure-tools/typespec-autorest";
32
32
 
33
33
  Generate the OpenAPI spec as shown above then run autorest cli directly on it.
34
34
 
35
- ### Via Autorest
36
-
37
- AutoRest provides a plugin that will directly take TypeSpec as input. Make sure to use `Autorest Core >=3.6.0`
38
-
39
- ```bash
40
- autorest --typespec --input-file=./main.tsp
41
- ```
42
-
43
35
  ## Configuration
44
36
 
45
37
  ### Output path
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-autorest",
3
- "version": "0.29.0-dev.5",
3
+ "version": "0.29.0-dev.7",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library for emitting openapi from the TypeSpec REST protocol binding",
6
6
  "homepage": "https://azure.github.io/typespec-azure",
@@ -44,7 +44,7 @@
44
44
  ],
45
45
  "peerDependencies": {
46
46
  "@typespec/compiler": ">=0.42.0",
47
- "@azure-tools/typespec-azure-core": ">=0.28.0",
47
+ "@azure-tools/typespec-azure-core": ">=0.28.1",
48
48
  "@typespec/http": ">=0.42.0",
49
49
  "@typespec/rest": ">=0.42.0",
50
50
  "@typespec/openapi": ">=0.42.0",
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "devDependencies": {
54
54
  "@typespec/compiler": ">=0.42.0",
55
- "@azure-tools/typespec-azure-core": ">=0.28.0",
55
+ "@azure-tools/typespec-azure-core": ">=0.28.1",
56
56
  "@typespec/http": ">=0.42.0",
57
57
  "@typespec/rest": ">=0.42.0",
58
58
  "@typespec/openapi": ">=0.42.0",
@@ -64,6 +64,8 @@
64
64
  "@typespec/eslint-plugin": ">=0.42.0",
65
65
  "eslint": "^8.12.0",
66
66
  "mocha": "~10.1.0",
67
+ "mocha-junit-reporter": "~2.2.0",
68
+ "mocha-multi-reporters": "~1.5.1",
67
69
  "c8": "~7.12.0",
68
70
  "rimraf": "~3.0.2",
69
71
  "typescript": "~4.9.3",
@@ -76,7 +78,7 @@
76
78
  "watch": "tsc -p . --watch",
77
79
  "lint-typespec-library": "tsp compile . --warn-as-error --import @typespec/library-linter --no-emit",
78
80
  "test": "mocha",
79
- "test-official": "c8 mocha --forbid-only",
81
+ "test-official": "c8 mocha --forbid-only --reporter mocha-multi-reporters",
80
82
  "lint": "eslint . --ext .ts --max-warnings=0",
81
83
  "lint:fix": "eslint . --fix --ext .ts"
82
84
  }