@fluidframework/datastore-definitions 2.118.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/CHANGELOG.md +34 -4
- package/README.md +53 -50
- package/{api-extractor.json → api-extractor/api-extractor-model.json} +1 -1
- package/lib/legacy.d.ts +1 -1
- package/lib/legacyAlpha.d.ts +1 -1
- package/lib/public.d.ts +1 -1
- package/package.json +25 -37
- package/tsconfig.json +1 -1
- package/internal.d.ts +0 -11
- package/legacy/alpha.d.ts +0 -11
- package/legacy.d.ts +0 -11
- /package/api-extractor/{api-extractor.current.json → api-extractor-report.current.json} +0 -0
- /package/api-extractor/{api-extractor.legacy.json → api-extractor-report.legacy.json} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,42 @@
|
|
|
1
1
|
# @fluidframework/datastore-definitions
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 3.0.0
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
### Minor Changes
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- Removal of direct CommonJS support ([#28124](https://github.com/microsoft/FluidFramework/pull/28124)) [0f84e3b8878](https://github.com/microsoft/FluidFramework/commit/0f84e3b8878a5e75b2253976d98fd963bbd9db88)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Direct `require()` import is no longer directly supported.
|
|
10
|
+
Package is transpiled as ECMAScript Module.
|
|
11
|
+
|
|
12
|
+
See [Removal of direct CommonJS support in v3.0](https://github.com/microsoft/FluidFramework/issues/27444) for more information.
|
|
13
|
+
|
|
14
|
+
- Require modern TypeScript module resolution ([#27970](https://github.com/microsoft/FluidFramework/pull/27970)) [325e2016ca9](https://github.com/microsoft/FluidFramework/commit/325e2016ca9978d4a1f7552c97ba34feac9df41f)
|
|
15
|
+
|
|
16
|
+
Fluid Framework Client packages no longer include type declaration compatibility entrypoints for TypeScript's legacy Node10 resolution mode (`"moduleResolution": "node"` or `"node10"`).
|
|
17
|
+
Applications upgrading to Fluid Framework 3.0 must use one of the following supported configurations:
|
|
18
|
+
- `"module": "Node16"` with `"moduleResolution": "Node16"`
|
|
19
|
+
- `"module": "NodeNext"` with `"moduleResolution": "NodeNext"`
|
|
20
|
+
- `"module": "ESNext"` with `"moduleResolution": "Bundler"`
|
|
21
|
+
|
|
22
|
+
Existing public package entrypoints exposed through `package.json` exports, including `/alpha`, `/beta`, and `/legacy`, remain available under supported module resolution modes.
|
|
23
|
+
|
|
24
|
+
See [Removal of Node10 resolutions in v3.0](https://github.com/microsoft/FluidFramework/issues/27457) for more information.
|
|
25
|
+
|
|
26
|
+
- Client packages now target ES2022 ([#27846](https://github.com/microsoft/FluidFramework/pull/27846)) [91c78541bdd](https://github.com/microsoft/FluidFramework/commit/91c78541bddcbca5d6c5f357b023eeaee617d885)
|
|
27
|
+
|
|
28
|
+
The TypeScript compilation `target` and `lib` for the Fluid Framework client packages have been raised from ES2021/ES2020 to **ES2022**.
|
|
29
|
+
The published JavaScript now uses ES2022 language features (with correspondingly less down-leveling), so consuming these packages requires a runtime that supports ES2022.
|
|
30
|
+
All actively supported Node.js versions and evergreen browsers already meet this requirement.
|
|
31
|
+
|
|
32
|
+
Note that Fluid Framework has not officially supported targets older than ES2022 since before 2.0: this is documented in [ClientRequirements.md](https://github.com/microsoft/FluidFramework/blob/main/ClientRequirements.md) as well as the README for every client package.
|
|
33
|
+
|
|
34
|
+
It is possible this change could impact users of less up to date JavaScript runtimes.
|
|
35
|
+
Impacted users can use a tool like [babel](https://babeljs.io/) to transpile out unsupported language features.
|
|
36
|
+
|
|
37
|
+
- Build with TypeScript 6 ([#28052](https://github.com/microsoft/FluidFramework/pull/28052)) [7ab015c49de](https://github.com/microsoft/FluidFramework/commit/7ab015c49deec84833cdfe1fb5e1606b901f6e81)
|
|
38
|
+
|
|
39
|
+
FluidFramework Client SDK is now built using TypeScript 6. Consumers should build with TypeScript v6 or v7 or compatible tooling.
|
|
10
40
|
|
|
11
41
|
## 2.116.0
|
|
12
42
|
|
package/README.md
CHANGED
|
@@ -9,15 +9,15 @@ Interface `IFluidDataStoreRuntime` specifies the data store developer API.
|
|
|
9
9
|
|
|
10
10
|
## Using Fluid Framework libraries
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
library consumers should always prefer `^`.
|
|
12
|
+
For a dependency on a Fluid Framework library's public APIs, we recommend a `^` (caret) version range.
|
|
13
|
+
For example, use `^1.3.4`.
|
|
15
14
|
|
|
16
|
-
|
|
15
|
+
For a dependency on an unstable API, such as a `beta` API, we recommend a more restrictive version range.
|
|
16
|
+
For example, use a `~` version range.
|
|
17
17
|
|
|
18
18
|
## Installation
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Run this command to install the package:
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
npm i @fluidframework/datastore-definitions
|
|
@@ -25,16 +25,16 @@ npm i @fluidframework/datastore-definitions
|
|
|
25
25
|
|
|
26
26
|
## Importing from this package
|
|
27
27
|
|
|
28
|
-
This package
|
|
29
|
-
For
|
|
28
|
+
This package uses [package.json exports](https://nodejs.org/api/packages.html#exports) to separate APIs by support level.
|
|
29
|
+
For information about the support guarantees, read [API Support Levels](https://fluidframework.com/docs/build/releases-and-apitags/#api-support-levels).
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Import the `public` APIs from `@fluidframework/datastore-definitions`.
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Import the `legacy` APIs from `@fluidframework/datastore-definitions/legacy`.
|
|
34
34
|
|
|
35
35
|
## API Documentation
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
Read the **@fluidframework/datastore-definitions** API documentation at <https://fluidframework.com/docs/apis/datastore-definitions>.
|
|
38
38
|
|
|
39
39
|
<!-- prettier-ignore-end -->
|
|
40
40
|
|
|
@@ -71,62 +71,69 @@ but a data store will emit the signal event only on signals emitted on that data
|
|
|
71
71
|
|
|
72
72
|
## Minimum Client Requirements
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
These requirements
|
|
76
|
-
|
|
74
|
+
Fluid Framework client libraries support the platforms in this document.
|
|
75
|
+
These requirements are intentionally restrictive.
|
|
76
|
+
Within a major version series, we can relax these requirements, but we cannot make them stricter.
|
|
77
|
+
For a Long Term Support (LTS) version, we might need to support these platforms for several years.
|
|
77
78
|
|
|
78
|
-
|
|
79
|
-
If
|
|
80
|
-
|
|
79
|
+
Other configurations can work, but Fluid Framework does not support them.
|
|
80
|
+
If an unsupported configuration stops working, we do not classify this as a bug.
|
|
81
|
+
To request support for a configuration that is not listed, file an issue.
|
|
82
|
+
The product team will evaluate your request.
|
|
83
|
+
In the issue, specify the current status of the configuration:
|
|
84
|
+
|
|
85
|
+
- The configuration works but needs official support.
|
|
86
|
+
- The configuration does not work and requires changes.
|
|
81
87
|
|
|
82
88
|
### Supported Runtimes
|
|
83
89
|
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
90
|
+
- Fluid Framework supports Node.js versions 22 and 24 while they receive [upstream support](https://nodejs.org/en/about/previous-releases).
|
|
91
|
+
- Fluid Framework will stop support for version 22 [when upstream support ends on 2027-04-30](https://github.com/nodejs/release#release-schedule).
|
|
92
|
+
- Fluid Framework does not support Node.js with the `--no-experimental-fetch` flag.
|
|
93
|
+
- Fluid Framework supports modern browsers that support the ES2022 standard library.
|
|
87
94
|
|
|
88
95
|
### Supported Tools
|
|
89
96
|
|
|
90
|
-
- TypeScript
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
- [
|
|
94
|
-
-
|
|
95
|
-
|
|
97
|
+
- [TypeScript 6.0](https://typescriptdocs.com/release-notes/TypeScript%206.0):
|
|
98
|
+
- Fluid Framework supports all [`strict`](https://www.typescriptlang.org/tsconfig) options.
|
|
99
|
+
- Set the build targets (`lib`, `target`) to `ES2022` or later.
|
|
100
|
+
- Enable [`strictNullChecks`](https://www.typescriptlang.org/tsconfig).
|
|
101
|
+
- Fluid Framework does not support [configuration options deprecated in TypeScript 6.0](https://typescriptdocs.com/release-notes/TypeScript%206.0#breaking-changes-and-deprecations-in-typescript-6-0).
|
|
102
|
+
- Fluid Framework does not fully support `exactOptionalPropertyTypes`.
|
|
103
|
+
If you enable this option, do not use `in`, `Reflect.has`, `Object.hasOwn`, or `Object.prototype.hasOwnProperty` to narrow members of Fluid Framework types.
|
|
104
|
+
These methods can incorrectly exclude `undefined` from the possible values.
|
|
96
105
|
- [webpack](https://webpack.js.org/) 5
|
|
97
|
-
- We
|
|
98
|
-
Other bundlers
|
|
106
|
+
- We do not require a specific bundler.
|
|
107
|
+
Other bundlers that handle ES Modules can work, but we actively test only webpack.
|
|
99
108
|
|
|
100
109
|
### Module Resolution
|
|
101
110
|
|
|
102
|
-
[`Node16`, `NodeNext`, or `Bundler`](https://www.typescriptlang.org/tsconfig#moduleResolution)
|
|
103
|
-
|
|
111
|
+
In TypeScript `compilerOptions`, use [`Node16`, `Node20`, `NodeNext`, or `Bundler`](https://www.typescriptlang.org/tsconfig#moduleResolution) module resolution.
|
|
112
|
+
These settings follow the [Node.js v12+ ESM Resolution and Loading algorithm](https://nodejs.github.io/nodejs.dev/en/api/v20/esm/#resolution-and-loading-algorithm).
|
|
113
|
+
|
|
114
|
+
Do not use `Node10` module resolution.
|
|
104
115
|
|
|
105
116
|
### Module Formats
|
|
106
117
|
|
|
107
118
|
- ES Modules:
|
|
108
|
-
ES Modules
|
|
109
|
-
-
|
|
110
|
-
|
|
111
|
-
This is done to accommodate some workflows without good ES Module support.
|
|
112
|
-
If you have a workflow you would like included in this list, file an issue.
|
|
113
|
-
Once this list of workflows motivating CommonJS support is empty, we may drop support for CommonJS one year after notice of the change is posted here.
|
|
114
|
-
|
|
115
|
-
- Testing with Jest (which lacks [stable ESM support](https://jestjs.io/docs/ecmascript-modules) due to [unstable APIs in NodeJs](https://github.com/nodejs/node/issues/37648))
|
|
119
|
+
Use ES Modules to consume Fluid Framework client packages, including in Node.js.
|
|
120
|
+
- CommonJS:
|
|
121
|
+
Fluid Framework does not officially support CommonJS in version 3.0 or later.
|
|
116
122
|
|
|
117
123
|
## Contribution Guidelines
|
|
118
124
|
|
|
119
|
-
|
|
125
|
+
You can [contribute](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md) to Fluid Framework in these ways:
|
|
120
126
|
|
|
121
|
-
-
|
|
122
|
-
- [Submit
|
|
123
|
-
- Review
|
|
127
|
+
- Answer questions in [GitHub Discussions](https://github.com/microsoft/FluidFramework/discussions).
|
|
128
|
+
- [Submit bug reports](https://github.com/microsoft/FluidFramework/issues) and help verify fixes.
|
|
129
|
+
- Review [source code changes](https://github.com/microsoft/FluidFramework/pulls).
|
|
124
130
|
- [Contribute bug fixes](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md).
|
|
125
131
|
|
|
126
|
-
|
|
132
|
+
For detailed instructions, read the [repo documentation](https://github.com/microsoft/FluidFramework/blob/main/docs/content/Home.md).
|
|
127
133
|
|
|
128
|
-
This project
|
|
129
|
-
For more information
|
|
134
|
+
This project follows the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
135
|
+
For more information, read the [Code of Conduct frequently asked questions](https://opensource.microsoft.com/codeofconduct/faq/).
|
|
136
|
+
For questions or comments, contact [opencode@microsoft.com](mailto:opencode@microsoft.com).
|
|
130
137
|
|
|
131
138
|
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
|
|
132
139
|
Use of these trademarks or logos must follow Microsoft’s [Trademark & Brand Guidelines](https://www.microsoft.com/trademarks).
|
|
@@ -134,13 +141,9 @@ Use of Microsoft trademarks or logos in modified versions of this project must n
|
|
|
134
141
|
|
|
135
142
|
## Help
|
|
136
143
|
|
|
137
|
-
|
|
138
|
-
Check out [fluidframework.com](https://fluidframework.com/docs/).
|
|
139
|
-
|
|
140
|
-
Still not finding what you're looking for?
|
|
141
|
-
Please [file an issue](https://github.com/microsoft/FluidFramework/blob/main/docs/content/Contributing/Submitting-Bugs-and-Feature-Requests.md).
|
|
144
|
+
Read the [Fluid Framework documentation](https://fluidframework.com/docs/) for information about Fluid Framework concepts and APIs.
|
|
142
145
|
|
|
143
|
-
|
|
146
|
+
To request information that the documentation does not contain, [create an issue](https://github.com/microsoft/FluidFramework/blob/main/docs/content/Contributing/Submitting-Bugs-and-Feature-Requests.md).
|
|
144
147
|
|
|
145
148
|
## Trademark
|
|
146
149
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
|
-
"extends": "
|
|
3
|
+
"extends": "<projectFolder>/../../../common/build/build-common/api-extractor-model.esm.json"
|
|
4
4
|
}
|
package/lib/legacy.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outFileLegacyAlpha legacyAlpha --outDir ./lib
|
|
8
|
+
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outFileLegacyAlpha legacyAlpha --outDir ./lib" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
package/lib/legacyAlpha.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outFileLegacyAlpha legacyAlpha --outDir ./lib
|
|
8
|
+
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outFileLegacyAlpha legacyAlpha --outDir ./lib" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
package/lib/public.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outFileLegacyAlpha legacyAlpha --outDir ./lib
|
|
8
|
+
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outFileLegacyAlpha legacyAlpha --outDir ./lib" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/datastore-definitions",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Fluid data store definitions",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -14,46 +14,33 @@
|
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
"require": {
|
|
17
|
+
"types": "./lib/public.d.ts",
|
|
18
|
+
"internal-entrypoint-generation": {
|
|
21
19
|
"types": "./dist/public.d.ts"
|
|
22
20
|
}
|
|
23
21
|
},
|
|
24
22
|
"./legacy": {
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
"require": {
|
|
23
|
+
"types": "./lib/legacy.d.ts",
|
|
24
|
+
"internal-entrypoint-generation": {
|
|
29
25
|
"types": "./dist/legacy.d.ts"
|
|
30
26
|
}
|
|
31
27
|
},
|
|
32
28
|
"./legacy/alpha": {
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
},
|
|
36
|
-
"require": {
|
|
29
|
+
"types": "./lib/legacyAlpha.d.ts",
|
|
30
|
+
"internal-entrypoint-generation": {
|
|
37
31
|
"types": "./dist/legacyAlpha.d.ts"
|
|
38
32
|
}
|
|
39
33
|
},
|
|
40
34
|
"./internal": {
|
|
41
|
-
"
|
|
42
|
-
"types": "./lib/index.d.ts"
|
|
43
|
-
},
|
|
44
|
-
"require": {
|
|
45
|
-
"types": "./dist/index.d.ts"
|
|
46
|
-
}
|
|
35
|
+
"types": "./lib/index.d.ts"
|
|
47
36
|
}
|
|
48
37
|
},
|
|
49
|
-
"main": "",
|
|
50
|
-
"types": "lib/public.d.ts",
|
|
51
38
|
"dependencies": {
|
|
52
|
-
"@fluidframework/container-definitions": "~
|
|
53
|
-
"@fluidframework/core-interfaces": "~
|
|
54
|
-
"@fluidframework/driver-definitions": "~
|
|
55
|
-
"@fluidframework/id-compressor": "~
|
|
56
|
-
"@fluidframework/runtime-definitions": "~
|
|
39
|
+
"@fluidframework/container-definitions": "~3.0.0",
|
|
40
|
+
"@fluidframework/core-interfaces": "~3.0.0",
|
|
41
|
+
"@fluidframework/driver-definitions": "~3.0.0",
|
|
42
|
+
"@fluidframework/id-compressor": "~3.0.0",
|
|
43
|
+
"@fluidframework/runtime-definitions": "~3.0.0"
|
|
57
44
|
},
|
|
58
45
|
"devDependencies": {
|
|
59
46
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
@@ -69,7 +56,7 @@
|
|
|
69
56
|
"eslint": "~9.39.1",
|
|
70
57
|
"jiti": "^2.6.1",
|
|
71
58
|
"rimraf": "^6.1.3",
|
|
72
|
-
"typescript": "~
|
|
59
|
+
"typescript": "~6.0.3"
|
|
73
60
|
},
|
|
74
61
|
"typeValidation": {
|
|
75
62
|
"broken": {},
|
|
@@ -78,18 +65,19 @@
|
|
|
78
65
|
"scripts": {
|
|
79
66
|
"build": "fluid-build . --task build",
|
|
80
67
|
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
81
|
-
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
|
|
82
|
-
"build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
|
|
68
|
+
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor-report.current.json",
|
|
69
|
+
"build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor-report.legacy.json",
|
|
70
|
+
"build:cjs": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
83
71
|
"build:compile": "fluid-build . --task compile",
|
|
84
|
-
"build:docs": "api-extractor run --local",
|
|
72
|
+
"build:docs": "api-extractor run --local --config api-extractor/api-extractor-model.json",
|
|
85
73
|
"build:entrypoints": "fluid-build . --task build:entrypoints",
|
|
86
74
|
"build:entrypoints:cjs": "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outFileLegacyAlpha legacyAlpha --outDir ./dist",
|
|
87
|
-
"build:entrypoints:esm": "flub generate entrypoints --outFileLegacyBeta legacy --outFileLegacyAlpha legacyAlpha --outDir ./lib
|
|
88
|
-
"build:
|
|
75
|
+
"build:entrypoints:esm": "flub generate entrypoints --outFileLegacyBeta legacy --outFileLegacyAlpha legacyAlpha --outDir ./lib",
|
|
76
|
+
"build:esm": "tsc --project ./tsconfig.json",
|
|
89
77
|
"build:test": "concurrently npm:build:test:esm npm:build:test:cjs",
|
|
90
78
|
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
|
|
91
79
|
"build:test:esm": "tsc --project ./src/test/tsconfig.json",
|
|
92
|
-
"check:are-the-types-wrong": "attw --pack .",
|
|
80
|
+
"check:are-the-types-wrong": "attw --pack . --profile esm-only",
|
|
93
81
|
"check:biome": "biome check .",
|
|
94
82
|
"check:exports": "concurrently \"npm:check:exports:*\"",
|
|
95
83
|
"check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
|
|
@@ -100,10 +88,11 @@
|
|
|
100
88
|
"check:exports:esm:legacyAlpha": "api-extractor run --config api-extractor/api-extractor-lint-legacyAlpha.esm.json",
|
|
101
89
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
102
90
|
"check:format": "npm run check:biome",
|
|
91
|
+
"check:types:inexactOptionalPropertyTypes": "tsc --project ./tsconfig.json --noEmit --exactOptionalPropertyTypes false --skipLibCheck --emitDeclarationOnly false --tsBuildInfoFile ./tsconfig.inexactOptionalPropertyTypes.tsbuildinfo",
|
|
103
92
|
"ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
|
|
104
|
-
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
|
|
105
|
-
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
106
|
-
"ci:build:docs": "api-extractor run",
|
|
93
|
+
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor-report.current.json",
|
|
94
|
+
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor-report.legacy.json",
|
|
95
|
+
"ci:build:docs": "api-extractor run --config api-extractor/api-extractor-model.json",
|
|
107
96
|
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts legacy \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
|
|
108
97
|
"eslint": "eslint --quiet --format stylish src",
|
|
109
98
|
"eslint:fix": "eslint --quiet --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
@@ -111,7 +100,6 @@
|
|
|
111
100
|
"format:biome": "biome check . --write",
|
|
112
101
|
"lint": "fluid-build . --task lint",
|
|
113
102
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
114
|
-
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
115
103
|
"typetests:gen": "flub generate typetests --dir . -v"
|
|
116
104
|
}
|
|
117
105
|
}
|
package/tsconfig.json
CHANGED
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 --outFileLegacyAlpha legacyAlpha --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export type * from "./lib/index.d.ts";
|
package/legacy/alpha.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 --outFileLegacyAlpha legacyAlpha --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export type * from "../lib/legacyAlpha.d.ts";
|
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 --outFileLegacyAlpha legacyAlpha --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export type * from "./lib/legacy.d.ts";
|
|
File without changes
|
|
File without changes
|