@fluidframework/azure-service-utils 1.1.0 → 1.2.0-106934

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/.eslintrc.js CHANGED
@@ -4,9 +4,44 @@
4
4
  */
5
5
 
6
6
  module.exports = {
7
- extends: [require.resolve("@fluidframework/eslint-config-fluid/recommended"), "prettier"],
7
+ extends: [require.resolve("@fluidframework/eslint-config-fluid/strict"), "prettier"],
8
+ plugins: ["eslint-plugin-jsdoc"],
8
9
  parserOptions: {
9
10
  project: ["./tsconfig.json", "./src/test/tsconfig.json"],
10
11
  },
11
- rules: {},
12
+ rules: {
13
+ "import/no-unassigned-import": "off",
14
+ "@typescript-eslint/strict-boolean-expressions": "off",
15
+
16
+ // Require jsdoc/tsdoc comments on public/exported API items.
17
+ "jsdoc/require-jsdoc": [
18
+ "error",
19
+ {
20
+ // Indicates that only module exports should be flagged for lacking jsdoc comments
21
+ publicOnly: true,
22
+ enableFixer: false, // Prevents eslint from adding empty comment blocks when run with `--fix`
23
+ require: {
24
+ ClassDeclaration: true,
25
+ FunctionDeclaration: true,
26
+
27
+ // Will report for *any* methods on exported classes, regardless of whether or not they are public
28
+ MethodDefinition: false,
29
+ },
30
+ contexts: ["TSEnumDeclaration", "TSInterfaceDeclaration", "TSTypeAliasDeclaration"],
31
+ },
32
+ ],
33
+
34
+ // Ensure jsdoc/tsdoc comments contain a main description component
35
+ // (disallows empty comments / only tags).
36
+ "jsdoc/require-description": ["error", { checkConstructors: false }],
37
+ },
38
+ overrides: [
39
+ {
40
+ files: ["packageVersion.ts"],
41
+ rules: {
42
+ "jsdoc/require-jsdoc": "off",
43
+ "jsdoc/require-description": "off",
44
+ },
45
+ },
46
+ ],
12
47
  };
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/azure-service-utils";
8
- export declare const pkgVersion = "1.1.0";
8
+ export declare const pkgVersion = "1.2.0-106934";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,wCAAwC,CAAC;AAC7D,eAAO,MAAM,UAAU,UAAU,CAAC"}
1
+ {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,wCAAwC,CAAC;AAC7D,eAAO,MAAM,UAAU,iBAAiB,CAAC"}
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluidframework/azure-service-utils";
11
- exports.pkgVersion = "1.1.0";
11
+ exports.pkgVersion = "1.2.0-106934";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,qCAAqC,CAAC;AAChD,QAAA,UAAU,GAAG,OAAO,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/azure-service-utils\";\nexport const pkgVersion = \"1.1.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,qCAAqC,CAAC;AAChD,QAAA,UAAU,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/azure-service-utils\";\nexport const pkgVersion = \"1.2.0-106934\";\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/azure-service-utils";
8
- export declare const pkgVersion = "1.1.0";
8
+ export declare const pkgVersion = "1.2.0-106934";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,wCAAwC,CAAC;AAC7D,eAAO,MAAM,UAAU,UAAU,CAAC"}
1
+ {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,wCAAwC,CAAC;AAC7D,eAAO,MAAM,UAAU,iBAAiB,CAAC"}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/azure-service-utils";
8
- export const pkgVersion = "1.1.0";
8
+ export const pkgVersion = "1.2.0-106934";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qCAAqC,CAAC;AAC7D,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/azure-service-utils\";\nexport const pkgVersion = \"1.1.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qCAAqC,CAAC;AAC7D,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/azure-service-utils\";\nexport const pkgVersion = \"1.2.0-106934\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/azure-service-utils",
3
- "version": "1.1.0",
3
+ "version": "1.2.0-106934",
4
4
  "description": "Helper service-side utilities for connecting to Azure Fluid Relay service",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -46,9 +46,9 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@fluidframework/azure-service-utils-previous": "npm:@fluidframework/azure-service-utils@1.0.0",
49
- "@fluidframework/build-common": "^1.0.0",
49
+ "@fluidframework/build-common": "^1.1.0",
50
50
  "@fluidframework/build-tools": "^0.4.4000",
51
- "@fluidframework/eslint-config-fluid": "^1.0.0",
51
+ "@fluidframework/eslint-config-fluid": "^1.1.0",
52
52
  "@microsoft/api-extractor": "^7.22.2",
53
53
  "@rushstack/eslint-config": "^2.5.1",
54
54
  "@types/jsrsasign": "^8.0.8",
@@ -56,6 +56,7 @@
56
56
  "copyfiles": "^2.4.1",
57
57
  "eslint": "~8.6.0",
58
58
  "eslint-config-prettier": "~8.5.0",
59
+ "eslint-plugin-jsdoc": "~39.3.0",
59
60
  "prettier": "~2.6.2",
60
61
  "rimraf": "^2.6.2",
61
62
  "typescript": "~4.5.5",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/azure-service-utils";
9
- export const pkgVersion = "1.1.0";
9
+ export const pkgVersion = "1.2.0-106934";