@fluidframework/task-manager 2.117.0 → 3.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/task-manager",
3
- "version": "2.117.0",
3
+ "version": "3.0.0",
4
4
  "description": "Distributed data structure for queueing exclusive tasks",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -14,50 +14,30 @@
14
14
  "type": "module",
15
15
  "exports": {
16
16
  ".": {
17
- "import": {
18
- "types": "./lib/public.d.ts",
19
- "default": "./lib/index.js"
20
- },
21
- "require": {
22
- "types": "./dist/public.d.ts",
23
- "default": "./dist/index.js"
17
+ "types": "./lib/public.d.ts",
18
+ "default": "./lib/index.js",
19
+ "internal-entrypoint-generation": {
20
+ "types": "./dist/public.d.ts"
24
21
  }
25
22
  },
26
23
  "./legacy": {
27
- "import": {
28
- "types": "./lib/legacy.d.ts",
29
- "default": "./lib/index.js"
30
- },
31
- "require": {
32
- "types": "./dist/legacy.d.ts",
33
- "default": "./dist/index.js"
24
+ "types": "./lib/legacy.d.ts",
25
+ "default": "./lib/index.js",
26
+ "internal-entrypoint-generation": {
27
+ "types": "./dist/legacy.d.ts"
34
28
  }
35
29
  },
36
30
  "./internal": {
37
- "import": {
38
- "types": "./lib/index.d.ts",
39
- "default": "./lib/index.js"
40
- },
41
- "require": {
42
- "types": "./dist/index.d.ts",
43
- "default": "./dist/index.js"
44
- }
31
+ "types": "./lib/index.d.ts",
32
+ "default": "./lib/index.js"
45
33
  },
46
34
  "./internal/test": {
47
35
  "allow-ff-test-exports": {
48
- "import": {
49
- "types": "./lib/test/index.d.ts",
50
- "default": "./lib/test/index.js"
51
- },
52
- "require": {
53
- "types": "./dist/test/index.d.ts",
54
- "default": "./dist/test/index.js"
55
- }
36
+ "types": "./lib/test/index.d.ts",
37
+ "default": "./lib/test/index.js"
56
38
  }
57
39
  }
58
40
  },
59
- "main": "lib/index.js",
60
- "types": "lib/public.d.ts",
61
41
  "c8": {
62
42
  "all": true,
63
43
  "cache-dir": "nyc/.cache",
@@ -81,30 +61,30 @@
81
61
  "temp-directory": "nyc/.nyc_output"
82
62
  },
83
63
  "dependencies": {
84
- "@fluid-internal/client-utils": "~2.117.0",
85
- "@fluidframework/container-definitions": "~2.117.0",
86
- "@fluidframework/container-runtime-definitions": "~2.117.0",
87
- "@fluidframework/core-interfaces": "~2.117.0",
88
- "@fluidframework/core-utils": "~2.117.0",
89
- "@fluidframework/datastore-definitions": "~2.117.0",
90
- "@fluidframework/driver-definitions": "~2.117.0",
91
- "@fluidframework/driver-utils": "~2.117.0",
92
- "@fluidframework/runtime-definitions": "~2.117.0",
93
- "@fluidframework/shared-object-base": "~2.117.0"
64
+ "@fluid-internal/client-utils": "~3.0.0",
65
+ "@fluidframework/container-definitions": "~3.0.0",
66
+ "@fluidframework/container-runtime-definitions": "~3.0.0",
67
+ "@fluidframework/core-interfaces": "~3.0.0",
68
+ "@fluidframework/core-utils": "~3.0.0",
69
+ "@fluidframework/datastore-definitions": "~3.0.0",
70
+ "@fluidframework/driver-definitions": "~3.0.0",
71
+ "@fluidframework/driver-utils": "~3.0.0",
72
+ "@fluidframework/runtime-definitions": "~3.0.0",
73
+ "@fluidframework/shared-object-base": "~3.0.0"
94
74
  },
95
75
  "devDependencies": {
96
76
  "@arethetypeswrong/cli": "^0.18.5",
97
77
  "@biomejs/biome": "~2.4.5",
98
- "@fluid-internal/mocha-test-setup": "~2.117.0",
99
- "@fluid-private/stochastic-test-utils": "~2.117.0",
100
- "@fluid-private/test-dds-utils": "~2.117.0",
78
+ "@fluid-internal/mocha-test-setup": "~3.0.0",
79
+ "@fluid-private/stochastic-test-utils": "~3.0.0",
80
+ "@fluid-private/test-dds-utils": "~3.0.0",
101
81
  "@fluid-tools/build-cli": "^0.67.0",
102
82
  "@fluidframework/build-common": "^2.0.3",
103
83
  "@fluidframework/build-tools": "^0.67.0",
104
84
  "@fluidframework/eslint-config-fluid": "^14.0.0",
105
85
  "@fluidframework/task-manager-previous": "npm:@fluidframework/task-manager@2.116.0",
106
- "@fluidframework/test-runtime-utils": "~2.117.0",
107
- "@fluidframework/test-utils": "~2.117.0",
86
+ "@fluidframework/test-runtime-utils": "~3.0.0",
87
+ "@fluidframework/test-utils": "~3.0.0",
108
88
  "@microsoft/api-extractor": "7.58.1",
109
89
  "@types/mocha": "^10.0.10",
110
90
  "@types/node": "~22.19.17",
@@ -117,7 +97,7 @@
117
97
  "mocha": "^11.7.5",
118
98
  "mocha-multi-reporters": "^1.5.1",
119
99
  "rimraf": "^6.1.3",
120
- "typescript": "~5.4.5"
100
+ "typescript": "~6.0.3"
121
101
  },
122
102
  "typeValidation": {
123
103
  "broken": {},
@@ -126,20 +106,21 @@
126
106
  "scripts": {
127
107
  "build": "fluid-build . --task build",
128
108
  "build:api-reports": "concurrently \"npm:build:api-reports:*\"",
129
- "build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
130
- "build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
109
+ "build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor-report.current.json",
110
+ "build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor-report.legacy.json",
111
+ "build:cjs": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
131
112
  "build:commonjs": "fluid-build . --task commonjs",
132
113
  "build:compile": "fluid-build . --task compile",
133
- "build:docs": "api-extractor run --local",
114
+ "build:docs": "api-extractor run --local --config api-extractor/api-extractor-model.json",
134
115
  "build:entrypoints": "fluid-build . --task build:entrypoints",
135
116
  "build:entrypoints:cjs": "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist",
136
- "build:entrypoints:esm": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
137
- "build:esnext": "tsc --project ./tsconfig.json",
117
+ "build:entrypoints:esm": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib",
118
+ "build:esm": "tsc --project ./tsconfig.json",
138
119
  "build:genver": "gen-version",
139
120
  "build:test": "concurrently npm:build:test:esm npm:build:test:cjs",
140
121
  "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
141
122
  "build:test:esm": "tsc --project ./src/test/tsconfig.json",
142
- "check:are-the-types-wrong": "attw --pack . --exclude-entrypoints ./internal/test",
123
+ "check:are-the-types-wrong": "attw --pack . --profile esm-only --exclude-entrypoints ./internal/test",
143
124
  "check:biome": "biome check .",
144
125
  "check:exports": "concurrently \"npm:check:exports:*\"",
145
126
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
@@ -149,9 +130,9 @@
149
130
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
150
131
  "check:format": "npm run check:biome",
151
132
  "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
152
- "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
153
- "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
154
- "ci:build:docs": "api-extractor run",
133
+ "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor-report.current.json",
134
+ "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor-report.legacy.json",
135
+ "ci:build:docs": "api-extractor run --config api-extractor/api-extractor-model.json",
155
136
  "clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
156
137
  "eslint": "eslint --quiet --format stylish src",
157
138
  "eslint:fix": "eslint --quiet --format stylish src --fix --fix-type problem,suggestion,layout",
@@ -165,7 +146,6 @@
165
146
  "test:mocha:cjs": "cross-env FLUID_TEST_MODULE_SYSTEM=CJS mocha",
166
147
  "test:mocha:esm": "mocha",
167
148
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
168
- "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
169
149
  "typetests:gen": "flub generate typetests --dir . -v"
170
150
  }
171
151
  }
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/task-manager";
9
- export const pkgVersion = "2.117.0";
9
+ export const pkgVersion = "3.0.0";
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "../../../common/build/build-common/tsconfig.node16.json",
2
+ "extends": "../../../common/build/build-common/tsconfig.node20.json",
3
3
  "include": ["src/**/*"],
4
4
  "exclude": ["src/test/**/*"],
5
5
  "compilerOptions": {
package/internal.d.ts DELETED
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
- * Licensed under the MIT License.
4
- */
5
-
6
- /*
7
- * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
9
- */
10
-
11
- export * from "./lib/index.js";
package/legacy.d.ts DELETED
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
- * Licensed under the MIT License.
4
- */
5
-
6
- /*
7
- * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
9
- */
10
-
11
- export * from "./lib/legacy.js";