@fluidframework/azure-local-service 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
@@ -3,15 +3,42 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- module.exports = {
7
- "extends": [
8
- require.resolve("@fluidframework/eslint-config-fluid")
9
- ],
10
- "parserOptions": {
11
- "project": ["./tsconfig.json"]
6
+ module.exports = {
7
+ extends: [require.resolve("@fluidframework/eslint-config-fluid/strict")],
8
+ plugins: ["eslint-plugin-jsdoc"],
9
+ parserOptions: {
10
+ project: ["./tsconfig.json"],
12
11
  },
13
- "rules": {
14
- "import/no-unassigned-import": "off",
15
- "@typescript-eslint/strict-boolean-expressions": "off"
16
- }
17
- }
12
+ rules: {
13
+ // Require jsdoc/tsdoc comments on public/exported API items.
14
+ "jsdoc/require-jsdoc": [
15
+ "error",
16
+ {
17
+ // Indicates that only module exports should be flagged for lacking jsdoc comments
18
+ publicOnly: true,
19
+ enableFixer: false, // Prevents eslint from adding empty comment blocks when run with `--fix`
20
+ require: {
21
+ ClassDeclaration: true,
22
+ FunctionDeclaration: true,
23
+
24
+ // Will report for *any* methods on exported classes, regardless of whether or not they are public
25
+ MethodDefinition: false,
26
+ },
27
+ contexts: ["TSEnumDeclaration", "TSInterfaceDeclaration", "TSTypeAliasDeclaration"],
28
+ },
29
+ ],
30
+
31
+ // Ensure jsdoc/tsdoc comments contain a main description component
32
+ // (disallows empty comments / only tags).
33
+ "jsdoc/require-description": ["error", { checkConstructors: false }],
34
+ },
35
+ overrides: [
36
+ {
37
+ files: ["packageVersion.ts"],
38
+ rules: {
39
+ "jsdoc/require-jsdoc": "off",
40
+ "jsdoc/require-description": "off",
41
+ },
42
+ },
43
+ ],
44
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;GAGG;AAEH,OAAO,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;GAGG;AAGH,OAAO,aAAa,CAAC"}
package/dist/index.js CHANGED
@@ -5,5 +5,6 @@
5
5
  * Licensed under the MIT License.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
+ // eslint-disable-next-line import/no-unassigned-import
8
9
  require("tinylicious");
9
10
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AACA;;;GAGG;;AAEH,uBAAqB","sourcesContent":["#!/usr/bin/env node\n/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport \"tinylicious\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AACA;;;GAGG;;AAEH,uDAAuD;AACvD,uBAAqB","sourcesContent":["#!/usr/bin/env node\n/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n// eslint-disable-next-line import/no-unassigned-import\nimport \"tinylicious\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/azure-local-service",
3
- "version": "1.1.0",
3
+ "version": "1.2.0-106934",
4
4
  "description": "Local implementation of the Azure Fluid Relay service for testing/development use",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -35,13 +35,14 @@
35
35
  "tinylicious": "^0.4.89251"
36
36
  },
37
37
  "devDependencies": {
38
- "@fluidframework/build-common": "^1.0.0",
39
- "@fluidframework/eslint-config-fluid": "^1.0.0",
38
+ "@fluidframework/build-common": "^1.1.0",
39
+ "@fluidframework/eslint-config-fluid": "^1.1.0",
40
40
  "@microsoft/api-extractor": "^7.22.2",
41
41
  "@rushstack/eslint-config": "^2.5.1",
42
42
  "concurrently": "^6.2.0",
43
43
  "copyfiles": "^2.4.1",
44
44
  "eslint": "~8.6.0",
45
+ "eslint-plugin-jsdoc": "~39.3.0",
45
46
  "forever": "^4.0.3",
46
47
  "rimraf": "^2.6.2",
47
48
  "ts-node": "^8.6.2",
package/src/index.ts CHANGED
@@ -4,4 +4,5 @@
4
4
  * Licensed under the MIT License.
5
5
  */
6
6
 
7
+ // eslint-disable-next-line import/no-unassigned-import
7
8
  import "tinylicious";
package/tsconfig.json CHANGED
@@ -2,7 +2,6 @@
2
2
  "extends": "@fluidframework/build-common/ts-common-config.json",
3
3
  "exclude": [],
4
4
  "compilerOptions": {
5
- "strictNullChecks": false,
6
5
  "rootDir": "./src",
7
6
  "outDir": "./dist",
8
7
  "composite": true
@@ -10,4 +9,4 @@
10
9
  "include": [
11
10
  "src/**/*"
12
11
  ]
13
- }
12
+ }