@fluidframework/agent-scheduler 0.58.3000-61081 → 0.59.2000-61729
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 +3 -0
- package/package.json +14 -13
- package/tsconfig.json +4 -2
- package/lib/test/types/validateAgentSchedulerPrevious.d.ts +0 -2
- package/lib/test/types/validateAgentSchedulerPrevious.d.ts.map +0 -1
- package/lib/test/types/validateAgentSchedulerPrevious.js +0 -16
- package/lib/test/types/validateAgentSchedulerPrevious.js.map +0 -1
package/.eslintrc.js
CHANGED
|
@@ -7,6 +7,9 @@ module.exports = {
|
|
|
7
7
|
"extends": [
|
|
8
8
|
"@fluidframework/eslint-config-fluid"
|
|
9
9
|
],
|
|
10
|
+
"parserOptions": {
|
|
11
|
+
"project": ["./tsconfig.json", "./src/test/tsconfig.json"]
|
|
12
|
+
},
|
|
10
13
|
"rules": {
|
|
11
14
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
12
15
|
"no-null/no-null": "off"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/agent-scheduler",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.2000-61729",
|
|
4
4
|
"description": "Built in runtime object for distributing agents across instances of a container",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -16,10 +16,11 @@
|
|
|
16
16
|
"types": "dist/index.d.ts",
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "concurrently npm:build:compile npm:lint",
|
|
19
|
-
"build:compile": "concurrently npm:tsc npm:build:esnext",
|
|
19
|
+
"build:compile": "concurrently npm:tsc npm:build:esnext && npm run build:test",
|
|
20
20
|
"build:esnext": "tsc --project ./tsconfig.esnext.json",
|
|
21
21
|
"build:full": "npm run build",
|
|
22
22
|
"build:full:compile": "npm run build:compile",
|
|
23
|
+
"build:test": "tsc --project ./src/test/tsconfig.json",
|
|
23
24
|
"clean": "rimraf dist lib *.tsbuildinfo *.build.log",
|
|
24
25
|
"dev": "npm run build:dev -- --watch",
|
|
25
26
|
"eslint": "eslint --format stylish src",
|
|
@@ -52,20 +53,20 @@
|
|
|
52
53
|
"dependencies": {
|
|
53
54
|
"@fluidframework/common-definitions": "^0.20.1",
|
|
54
55
|
"@fluidframework/common-utils": "^0.32.1",
|
|
55
|
-
"@fluidframework/container-definitions": "^0.
|
|
56
|
-
"@fluidframework/core-interfaces": "^0.
|
|
57
|
-
"@fluidframework/datastore": "0.
|
|
58
|
-
"@fluidframework/datastore-definitions": "0.
|
|
59
|
-
"@fluidframework/map": "0.
|
|
60
|
-
"@fluidframework/register-collection": "0.
|
|
61
|
-
"@fluidframework/runtime-definitions": "0.
|
|
62
|
-
"@fluidframework/runtime-utils": "0.
|
|
56
|
+
"@fluidframework/container-definitions": "^0.48.1000-0",
|
|
57
|
+
"@fluidframework/core-interfaces": "^0.43.1000-0",
|
|
58
|
+
"@fluidframework/datastore": "0.59.2000-61729",
|
|
59
|
+
"@fluidframework/datastore-definitions": "0.59.2000-61729",
|
|
60
|
+
"@fluidframework/map": "0.59.2000-61729",
|
|
61
|
+
"@fluidframework/register-collection": "0.59.2000-61729",
|
|
62
|
+
"@fluidframework/runtime-definitions": "0.59.2000-61729",
|
|
63
|
+
"@fluidframework/runtime-utils": "0.59.2000-61729",
|
|
63
64
|
"uuid": "^8.3.1"
|
|
64
65
|
},
|
|
65
66
|
"devDependencies": {
|
|
66
|
-
"@fluidframework/agent-scheduler-previous": "npm:@fluidframework/agent-scheduler
|
|
67
|
+
"@fluidframework/agent-scheduler-previous": "npm:@fluidframework/agent-scheduler@^0.58.0",
|
|
67
68
|
"@fluidframework/build-common": "^0.23.0",
|
|
68
|
-
"@fluidframework/eslint-config-fluid": "^0.
|
|
69
|
+
"@fluidframework/eslint-config-fluid": "^0.28.1000-61189",
|
|
69
70
|
"@rushstack/eslint-config": "^2.5.1",
|
|
70
71
|
"@types/mocha": "^8.2.2",
|
|
71
72
|
"@types/node": "^14.18.0",
|
|
@@ -96,7 +97,7 @@
|
|
|
96
97
|
}
|
|
97
98
|
},
|
|
98
99
|
"typeValidation": {
|
|
99
|
-
"version": "0.
|
|
100
|
+
"version": "0.59.1000",
|
|
100
101
|
"broken": {}
|
|
101
102
|
}
|
|
102
103
|
}
|
package/tsconfig.json
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
"extends": "@fluidframework/build-common/ts-common-config.json",
|
|
3
3
|
"exclude": [
|
|
4
4
|
"dist",
|
|
5
|
-
"node_modules"
|
|
5
|
+
"node_modules",
|
|
6
|
+
"src/test/**/*"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
9
|
"rootDir": "./src",
|
|
9
|
-
"outDir": "./dist"
|
|
10
|
+
"outDir": "./dist",
|
|
11
|
+
"composite": true
|
|
10
12
|
},
|
|
11
13
|
"include": [
|
|
12
14
|
"src/**/*"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validateAgentSchedulerPrevious.d.ts","sourceRoot":"","sources":["../../../src/test/types/validateAgentSchedulerPrevious.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
use_current_ClassDeclaration_AgentSchedulerFactory(get_old_ClassDeclaration_AgentSchedulerFactory());
|
|
2
|
-
use_old_ClassDeclaration_AgentSchedulerFactory(get_current_ClassDeclaration_AgentSchedulerFactory());
|
|
3
|
-
use_current_VariableDeclaration_IAgentScheduler(get_old_VariableDeclaration_IAgentScheduler());
|
|
4
|
-
use_old_VariableDeclaration_IAgentScheduler(get_current_VariableDeclaration_IAgentScheduler());
|
|
5
|
-
use_current_InterfaceDeclaration_IAgentScheduler(get_old_InterfaceDeclaration_IAgentScheduler());
|
|
6
|
-
use_old_InterfaceDeclaration_IAgentScheduler(get_current_InterfaceDeclaration_IAgentScheduler());
|
|
7
|
-
use_current_InterfaceDeclaration_IAgentSchedulerEvents(get_old_InterfaceDeclaration_IAgentSchedulerEvents());
|
|
8
|
-
use_old_InterfaceDeclaration_IAgentSchedulerEvents(get_current_InterfaceDeclaration_IAgentSchedulerEvents());
|
|
9
|
-
use_current_InterfaceDeclaration_IProvideAgentScheduler(get_old_InterfaceDeclaration_IProvideAgentScheduler());
|
|
10
|
-
use_old_InterfaceDeclaration_IProvideAgentScheduler(get_current_InterfaceDeclaration_IProvideAgentScheduler());
|
|
11
|
-
use_current_InterfaceDeclaration_ITaskSubscriptionEvents(get_old_InterfaceDeclaration_ITaskSubscriptionEvents());
|
|
12
|
-
use_old_InterfaceDeclaration_ITaskSubscriptionEvents(get_current_InterfaceDeclaration_ITaskSubscriptionEvents());
|
|
13
|
-
use_current_ClassDeclaration_TaskSubscription(get_old_ClassDeclaration_TaskSubscription());
|
|
14
|
-
use_old_ClassDeclaration_TaskSubscription(get_current_ClassDeclaration_TaskSubscription());
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=validateAgentSchedulerPrevious.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validateAgentSchedulerPrevious.js","sourceRoot":"","sources":["../../../src/test/types/validateAgentSchedulerPrevious.ts"],"names":[],"mappings":"AAyBA,kDAAkD,CAC9C,8CAA8C,EAAE,CAAC,CAAC;AAWtD,8CAA8C,CAC1C,kDAAkD,EAAE,CAAC,CAAC;AAW1D,+CAA+C,CAC3C,2CAA2C,EAAE,CAAC,CAAC;AAWnD,2CAA2C,CACvC,+CAA+C,EAAE,CAAC,CAAC;AAWvD,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,sDAAsD,CAClD,kDAAkD,EAAE,CAAC,CAAC;AAW1D,kDAAkD,CAC9C,sDAAsD,EAAE,CAAC,CAAC;AAW9D,uDAAuD,CACnD,mDAAmD,EAAE,CAAC,CAAC;AAW3D,mDAAmD,CAC/C,uDAAuD,EAAE,CAAC,CAAC;AAW/D,wDAAwD,CACpD,oDAAoD,EAAE,CAAC,CAAC;AAW5D,oDAAoD,CAChD,wDAAwD,EAAE,CAAC,CAAC;AAWhE,6CAA6C,CACzC,yCAAyC,EAAE,CAAC,CAAC;AAWjD,yCAAyC,CACrC,6CAA6C,EAAE,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/*\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n * Generated by fluid-type-validator in @fluidframework/build-tools.\n */\n/* eslint-disable max-lines */\nimport * as old from \"@fluidframework/agent-scheduler-previous\";\nimport * as current from \"../../index\";\n\ntype TypeOnly<T> = {\n [P in keyof T]: TypeOnly<T[P]>;\n};\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"ClassDeclaration_AgentSchedulerFactory\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_AgentSchedulerFactory():\n TypeOnly<old.AgentSchedulerFactory>;\ndeclare function use_current_ClassDeclaration_AgentSchedulerFactory(\n use: TypeOnly<current.AgentSchedulerFactory>);\nuse_current_ClassDeclaration_AgentSchedulerFactory(\n get_old_ClassDeclaration_AgentSchedulerFactory());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"ClassDeclaration_AgentSchedulerFactory\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_AgentSchedulerFactory():\n TypeOnly<current.AgentSchedulerFactory>;\ndeclare function use_old_ClassDeclaration_AgentSchedulerFactory(\n use: TypeOnly<old.AgentSchedulerFactory>);\nuse_old_ClassDeclaration_AgentSchedulerFactory(\n get_current_ClassDeclaration_AgentSchedulerFactory());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"VariableDeclaration_IAgentScheduler\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IAgentScheduler():\n TypeOnly<typeof old.IAgentScheduler>;\ndeclare function use_current_VariableDeclaration_IAgentScheduler(\n use: TypeOnly<typeof current.IAgentScheduler>);\nuse_current_VariableDeclaration_IAgentScheduler(\n get_old_VariableDeclaration_IAgentScheduler());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"VariableDeclaration_IAgentScheduler\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IAgentScheduler():\n TypeOnly<typeof current.IAgentScheduler>;\ndeclare function use_old_VariableDeclaration_IAgentScheduler(\n use: TypeOnly<typeof old.IAgentScheduler>);\nuse_old_VariableDeclaration_IAgentScheduler(\n get_current_VariableDeclaration_IAgentScheduler());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"InterfaceDeclaration_IAgentScheduler\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IAgentScheduler():\n TypeOnly<old.IAgentScheduler>;\ndeclare function use_current_InterfaceDeclaration_IAgentScheduler(\n use: TypeOnly<current.IAgentScheduler>);\nuse_current_InterfaceDeclaration_IAgentScheduler(\n get_old_InterfaceDeclaration_IAgentScheduler());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"InterfaceDeclaration_IAgentScheduler\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IAgentScheduler():\n TypeOnly<current.IAgentScheduler>;\ndeclare function use_old_InterfaceDeclaration_IAgentScheduler(\n use: TypeOnly<old.IAgentScheduler>);\nuse_old_InterfaceDeclaration_IAgentScheduler(\n get_current_InterfaceDeclaration_IAgentScheduler());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"InterfaceDeclaration_IAgentSchedulerEvents\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IAgentSchedulerEvents():\n TypeOnly<old.IAgentSchedulerEvents>;\ndeclare function use_current_InterfaceDeclaration_IAgentSchedulerEvents(\n use: TypeOnly<current.IAgentSchedulerEvents>);\nuse_current_InterfaceDeclaration_IAgentSchedulerEvents(\n get_old_InterfaceDeclaration_IAgentSchedulerEvents());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"InterfaceDeclaration_IAgentSchedulerEvents\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IAgentSchedulerEvents():\n TypeOnly<current.IAgentSchedulerEvents>;\ndeclare function use_old_InterfaceDeclaration_IAgentSchedulerEvents(\n use: TypeOnly<old.IAgentSchedulerEvents>);\nuse_old_InterfaceDeclaration_IAgentSchedulerEvents(\n get_current_InterfaceDeclaration_IAgentSchedulerEvents());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"InterfaceDeclaration_IProvideAgentScheduler\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideAgentScheduler():\n TypeOnly<old.IProvideAgentScheduler>;\ndeclare function use_current_InterfaceDeclaration_IProvideAgentScheduler(\n use: TypeOnly<current.IProvideAgentScheduler>);\nuse_current_InterfaceDeclaration_IProvideAgentScheduler(\n get_old_InterfaceDeclaration_IProvideAgentScheduler());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"InterfaceDeclaration_IProvideAgentScheduler\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideAgentScheduler():\n TypeOnly<current.IProvideAgentScheduler>;\ndeclare function use_old_InterfaceDeclaration_IProvideAgentScheduler(\n use: TypeOnly<old.IProvideAgentScheduler>);\nuse_old_InterfaceDeclaration_IProvideAgentScheduler(\n get_current_InterfaceDeclaration_IProvideAgentScheduler());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"InterfaceDeclaration_ITaskSubscriptionEvents\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_ITaskSubscriptionEvents():\n TypeOnly<old.ITaskSubscriptionEvents>;\ndeclare function use_current_InterfaceDeclaration_ITaskSubscriptionEvents(\n use: TypeOnly<current.ITaskSubscriptionEvents>);\nuse_current_InterfaceDeclaration_ITaskSubscriptionEvents(\n get_old_InterfaceDeclaration_ITaskSubscriptionEvents());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"InterfaceDeclaration_ITaskSubscriptionEvents\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_ITaskSubscriptionEvents():\n TypeOnly<current.ITaskSubscriptionEvents>;\ndeclare function use_old_InterfaceDeclaration_ITaskSubscriptionEvents(\n use: TypeOnly<old.ITaskSubscriptionEvents>);\nuse_old_InterfaceDeclaration_ITaskSubscriptionEvents(\n get_current_InterfaceDeclaration_ITaskSubscriptionEvents());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"ClassDeclaration_TaskSubscription\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_TaskSubscription():\n TypeOnly<old.TaskSubscription>;\ndeclare function use_current_ClassDeclaration_TaskSubscription(\n use: TypeOnly<current.TaskSubscription>);\nuse_current_ClassDeclaration_TaskSubscription(\n get_old_ClassDeclaration_TaskSubscription());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:\n* \"ClassDeclaration_TaskSubscription\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_TaskSubscription():\n TypeOnly<current.TaskSubscription>;\ndeclare function use_old_ClassDeclaration_TaskSubscription(\n use: TypeOnly<old.TaskSubscription>);\nuse_old_ClassDeclaration_TaskSubscription(\n get_current_ClassDeclaration_TaskSubscription());\n"]}
|