@azure-tools/typespec-azure-resource-manager 0.29.0-dev.2 → 0.29.0-dev.4

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/lib/models.tsp +1 -1
  2. package/package.json +6 -4
package/lib/models.tsp CHANGED
@@ -87,7 +87,7 @@ model ProviderNamespace<TResource> {
87
87
  allowedResources: T,
88
88
  }
89
89
  )
90
- scalar ResourceIdentifier<T extends ResourceIdentifierAllowedResource[] = {}> extends string;
90
+ scalar ResourceIdentifier<T extends ResourceIdentifierAllowedResource[] = []> extends string;
91
91
 
92
92
  /**
93
93
  * Used in ResourceIdentifier definition to represent a particular type of ARM resource, enabling constraints based on resource type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-azure-resource-manager",
3
- "version": "0.29.0-dev.2",
3
+ "version": "0.29.0-dev.4",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec Azure Resource Manager library",
6
6
  "homepage": "https://azure.github.io/typespec-azure",
@@ -43,7 +43,7 @@
43
43
  ],
44
44
  "peerDependencies": {
45
45
  "@typespec/compiler": ">=0.42.0",
46
- "@azure-tools/typespec-azure-core": ">=0.28.0",
46
+ "@azure-tools/typespec-azure-core": ">=0.28.1",
47
47
  "@azure-tools/typespec-autorest": ">=0.28.0",
48
48
  "@typespec/openapi": ">=0.42.0",
49
49
  "@typespec/rest": ">=0.42.0",
@@ -56,7 +56,7 @@
56
56
  "devDependencies": {
57
57
  "@typespec/compiler": ">=0.42.0",
58
58
  "@typespec/openapi": ">=0.42.0",
59
- "@azure-tools/typespec-azure-core": ">=0.28.0",
59
+ "@azure-tools/typespec-azure-core": ">=0.28.1",
60
60
  "@azure-tools/typespec-autorest": ">=0.28.0",
61
61
  "@typespec/rest": ">=0.42.0",
62
62
  "@typespec/http": ">=0.42.0",
@@ -68,6 +68,8 @@
68
68
  "@typespec/eslint-plugin": ">=0.42.0",
69
69
  "eslint": "^8.12.0",
70
70
  "mocha": "~10.1.0",
71
+ "mocha-junit-reporter": "~2.2.0",
72
+ "mocha-multi-reporters": "~1.5.1",
71
73
  "c8": "~7.12.0",
72
74
  "rimraf": "~3.0.2",
73
75
  "typescript": "~4.9.3"
@@ -78,7 +80,7 @@
78
80
  "watch": "tsc -p . --watch",
79
81
  "lint-typespec-library": "tsp compile . --warn-as-error --import @typespec/library-linter --no-emit",
80
82
  "test": "mocha",
81
- "test-official": "c8 mocha --forbid-only",
83
+ "test-official": "c8 mocha --forbid-only --reporter mocha-multi-reporters",
82
84
  "lint": "eslint . --ext .ts --max-warnings=0",
83
85
  "lint:fix": "eslint . --fix --ext .ts"
84
86
  }