@fluidframework/counter 2.1.0-276985 → 2.1.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 +4 -0
- package/README.md +53 -10
- package/api-extractor/api-extractor.current.json +5 -0
- package/api-extractor/api-extractor.legacy.json +1 -1
- package/api-extractor.json +1 -1
- package/api-report/counter.legacy.alpha.api.md +0 -2
- package/api-report/counter.legacy.public.api.md +7 -0
- package/dist/legacy.d.ts +8 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/public.d.ts +7 -2
- package/internal.d.ts +1 -1
- package/legacy.d.ts +1 -1
- package/lib/legacy.d.ts +8 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/public.d.ts +7 -2
- package/package.json +30 -24
- package/src/packageVersion.ts +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @fluidframework/counter
|
|
2
2
|
|
|
3
|
-
<!-- AUTO-GENERATED-CONTENT:START (
|
|
3
|
+
<!-- AUTO-GENERATED-CONTENT:START (LIBRARY_PACKAGE_README_HEADER:) -->
|
|
4
4
|
|
|
5
5
|
<!-- prettier-ignore-start -->
|
|
6
6
|
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
@@ -13,14 +13,13 @@ library consumers should always prefer `^`.
|
|
|
13
13
|
|
|
14
14
|
If using any of Fluid Framework's unstable APIs (for example, its `beta` APIs), we recommend using a more constrained version range, such as `~`.
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
16
|
+
## Installation
|
|
19
17
|
|
|
20
|
-
|
|
18
|
+
To get started, install the package by running the following command:
|
|
21
19
|
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
```bash
|
|
21
|
+
npm i @fluidframework/counter
|
|
22
|
+
```
|
|
24
23
|
|
|
25
24
|
## Importing from this package
|
|
26
25
|
|
|
@@ -31,6 +30,10 @@ To access the `public` ([SemVer](https://semver.org/)) APIs, import via `@fluidf
|
|
|
31
30
|
|
|
32
31
|
To access the `legacy` APIs, import via `@fluidframework/counter/legacy`.
|
|
33
32
|
|
|
33
|
+
## API Documentation
|
|
34
|
+
|
|
35
|
+
API documentation for **@fluidframework/counter** is available at <https://fluidframework.com/docs/apis/counter>.
|
|
36
|
+
|
|
34
37
|
<!-- prettier-ignore-end -->
|
|
35
38
|
|
|
36
39
|
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
@@ -173,14 +176,54 @@ This causes the `incremented` event to be sent to all of the clients who have th
|
|
|
173
176
|
|
|
174
177
|
Since `updateCounterValueLabel` is listening for all `incremented` events, the view will always refresh with the appropriate updated value any time a collaborator increments or decrements the counter value.
|
|
175
178
|
|
|
176
|
-
<!-- AUTO-GENERATED-CONTENT:START (
|
|
179
|
+
<!-- AUTO-GENERATED-CONTENT:START (LIBRARY_PACKAGE_README_FOOTER:) -->
|
|
177
180
|
|
|
178
181
|
<!-- prettier-ignore-start -->
|
|
179
182
|
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
180
183
|
|
|
181
|
-
##
|
|
184
|
+
## Minimum Client Requirements
|
|
182
185
|
|
|
183
|
-
|
|
186
|
+
These are the platform requirements for the current version of Fluid Framework Client Packages.
|
|
187
|
+
These requirements err on the side of being too strict since within a major version they can be relaxed over time, but not made stricter.
|
|
188
|
+
For Long Term Support (LTS) versions this can require supporting these platforms for several years.
|
|
189
|
+
|
|
190
|
+
It is likely that other configurations will work, but they are not supported: if they stop working, we do not consider that a bug.
|
|
191
|
+
If you would benefit from support for something not listed here, file an issue and the product team will evaluate your request.
|
|
192
|
+
When making such a request please include if the configuration already works (and thus the request is just that it becomes officially supported), or if changes are required to get it working.
|
|
193
|
+
|
|
194
|
+
### Supported Runtimes
|
|
195
|
+
|
|
196
|
+
- NodeJs ^20.10.0 except that we will drop support for it [when NodeJs 20 loses its upstream support on 2026-04-30](https://github.com/nodejs/release#release-schedule), and will support a newer LTS version of NodeJS (22) at least 1 year before 20 is end-of-life. This same policy applies to NodeJS 22 when it is end of life (2027-04-30).
|
|
197
|
+
- Modern browsers supporting the es2022 standard library: in response to asks we can add explicit support for using babel to polyfill to target specific standards or runtimes (meaning we can avoid/remove use of things that don't polyfill robustly, but otherwise target modern standards).
|
|
198
|
+
|
|
199
|
+
### Supported Tools
|
|
200
|
+
|
|
201
|
+
- TypeScript 5.4:
|
|
202
|
+
- All [`strict`](https://www.typescriptlang.org/tsconfig) options are supported.
|
|
203
|
+
- [`strictNullChecks`](https://www.typescriptlang.org/tsconfig) is required.
|
|
204
|
+
- [Configuration options deprecated in 5.0](https://github.com/microsoft/TypeScript/issues/51909) are not supported.
|
|
205
|
+
- `exactOptionalPropertyTypes` is currently not fully supported.
|
|
206
|
+
If used, narrowing members of Fluid Framework types types using `in`, `Reflect.has`, `Object.hasOwn` or `Object.prototype.hasOwnProperty` should be avoided as they may incorrectly exclude `undefined` from the possible values in some cases.
|
|
207
|
+
- [webpack](https://webpack.js.org/) 5
|
|
208
|
+
- We are not intending to be prescriptive about what bundler to use.
|
|
209
|
+
Other bundlers which can handle ES Modules should work, but webpack is the only one we actively test.
|
|
210
|
+
|
|
211
|
+
### Module Resolution
|
|
212
|
+
|
|
213
|
+
[`Node16`, `NodeNext`, or `Bundler`](https://www.typescriptlang.org/tsconfig#moduleResolution) resolution should be used with TypeScript compilerOptions to follow the [Node.js v12+ ESM Resolution and Loading algorithm](https://nodejs.github.io/nodejs.dev/en/api/v20/esm/#resolution-and-loading-algorithm).
|
|
214
|
+
Node10 resolution is not supported as it does not support Fluid Framework's API structuring pattern that is used to distinguish stable APIs from those that are in development.
|
|
215
|
+
|
|
216
|
+
### Module Formats
|
|
217
|
+
|
|
218
|
+
- ES Modules:
|
|
219
|
+
ES Modules are the preferred way to consume our client packages (including in NodeJs) and consuming our client packages from ES Modules is fully supported.
|
|
220
|
+
- CommonJs:
|
|
221
|
+
Consuming our client packages as CommonJs is supported only in NodeJS and only for the cases listed below.
|
|
222
|
+
This is done to accommodate some workflows without good ES Module support.
|
|
223
|
+
If you have a workflow you would like included in this list, file an issue.
|
|
224
|
+
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.
|
|
225
|
+
|
|
226
|
+
- 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))
|
|
184
227
|
|
|
185
228
|
## Contribution Guidelines
|
|
186
229
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
|
+
"extends": "<projectFolder>/../../../common/build/build-common/api-extractor-report.esm.current.json",
|
|
4
|
+
"mainEntryPointFilePath": "<projectFolder>/lib/public.d.ts"
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
|
-
"extends": "<projectFolder>/../../../common/build/build-common/api-extractor-
|
|
3
|
+
"extends": "<projectFolder>/../../../common/build/build-common/api-extractor-report.esm.legacy.json"
|
|
4
4
|
}
|
package/api-extractor.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
|
-
"extends": "../../../common/build/build-common/api-extractor-
|
|
3
|
+
"extends": "../../../common/build/build-common/api-extractor-model.esm.json"
|
|
4
4
|
}
|
package/dist/legacy.d.ts
CHANGED
|
@@ -5,7 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints" in @
|
|
8
|
+
* Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* This library contains the {@link ISharedCounter | SharedCounter} distributed data structure.
|
|
13
|
+
* A `SharedCounter` is a shared object which holds a whole number that can be incremented or decremented.
|
|
14
|
+
*
|
|
15
|
+
* @packageDocumentation
|
|
9
16
|
*/
|
|
10
17
|
|
|
11
18
|
export {
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -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/counter";
|
|
8
|
-
export declare const pkgVersion = "2.1.0
|
|
8
|
+
export declare const pkgVersion = "2.1.0";
|
|
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,4BAA4B,CAAC;AACjD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,4BAA4B,CAAC;AACjD,eAAO,MAAM,UAAU,UAAU,CAAC"}
|
package/dist/packageVersion.js
CHANGED
|
@@ -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/counter";
|
|
11
|
-
exports.pkgVersion = "2.1.0
|
|
11
|
+
exports.pkgVersion = "2.1.0";
|
|
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,yBAAyB,CAAC;AACpC,QAAA,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,yBAAyB,CAAC;AACpC,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/counter\";\nexport const pkgVersion = \"2.1.0\";\n"]}
|
package/dist/public.d.ts
CHANGED
|
@@ -5,8 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints" in @
|
|
8
|
+
* Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* This library contains the {@link ISharedCounter | SharedCounter} distributed data structure.
|
|
13
|
+
* A `SharedCounter` is a shared object which holds a whole number that can be incremented or decremented.
|
|
14
|
+
*
|
|
15
|
+
* @packageDocumentation
|
|
16
|
+
*/export {}
|
|
12
17
|
|
package/internal.d.ts
CHANGED
package/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" in @
|
|
8
|
+
* Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export * from "./lib/legacy.js";
|
package/lib/legacy.d.ts
CHANGED
|
@@ -5,7 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints" in @
|
|
8
|
+
* Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* This library contains the {@link ISharedCounter | SharedCounter} distributed data structure.
|
|
13
|
+
* A `SharedCounter` is a shared object which holds a whole number that can be incremented or decremented.
|
|
14
|
+
*
|
|
15
|
+
* @packageDocumentation
|
|
9
16
|
*/
|
|
10
17
|
|
|
11
18
|
export {
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -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/counter";
|
|
8
|
-
export declare const pkgVersion = "2.1.0
|
|
8
|
+
export declare const pkgVersion = "2.1.0";
|
|
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,4BAA4B,CAAC;AACjD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,4BAA4B,CAAC;AACjD,eAAO,MAAM,UAAU,UAAU,CAAC"}
|
package/lib/packageVersion.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,yBAAyB,CAAC;AACjD,MAAM,CAAC,MAAM,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,yBAAyB,CAAC;AACjD,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/counter\";\nexport const pkgVersion = \"2.1.0\";\n"]}
|
package/lib/public.d.ts
CHANGED
|
@@ -5,8 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints" in @
|
|
8
|
+
* Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* This library contains the {@link ISharedCounter | SharedCounter} distributed data structure.
|
|
13
|
+
* A `SharedCounter` is a shared object which holds a whole number that can be incremented or decremented.
|
|
14
|
+
*
|
|
15
|
+
* @packageDocumentation
|
|
16
|
+
*/export {}
|
|
12
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/counter",
|
|
3
|
-
"version": "2.1.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Counter DDS",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -67,25 +67,25 @@
|
|
|
67
67
|
"temp-directory": "nyc/.nyc_output"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@fluidframework/core-interfaces": "2.1.0
|
|
71
|
-
"@fluidframework/core-utils": "2.1.0
|
|
72
|
-
"@fluidframework/datastore-definitions": "2.1.0
|
|
73
|
-
"@fluidframework/driver-definitions": "2.1.0
|
|
74
|
-
"@fluidframework/driver-utils": "2.1.0
|
|
75
|
-
"@fluidframework/runtime-definitions": "2.1.0
|
|
76
|
-
"@fluidframework/shared-object-base": "2.1.0
|
|
70
|
+
"@fluidframework/core-interfaces": "~2.1.0",
|
|
71
|
+
"@fluidframework/core-utils": "~2.1.0",
|
|
72
|
+
"@fluidframework/datastore-definitions": "~2.1.0",
|
|
73
|
+
"@fluidframework/driver-definitions": "~2.1.0",
|
|
74
|
+
"@fluidframework/driver-utils": "~2.1.0",
|
|
75
|
+
"@fluidframework/runtime-definitions": "~2.1.0",
|
|
76
|
+
"@fluidframework/shared-object-base": "~2.1.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
80
|
-
"@biomejs/biome": "
|
|
81
|
-
"@fluid-internal/mocha-test-setup": "2.1.0
|
|
82
|
-
"@fluid-tools/build-cli": "^0.
|
|
80
|
+
"@biomejs/biome": "~1.8.3",
|
|
81
|
+
"@fluid-internal/mocha-test-setup": "~2.1.0",
|
|
82
|
+
"@fluid-tools/build-cli": "^0.41.0",
|
|
83
83
|
"@fluidframework/build-common": "^2.0.3",
|
|
84
|
-
"@fluidframework/build-tools": "^0.
|
|
85
|
-
"@fluidframework/container-definitions": "2.1.0
|
|
86
|
-
"@fluidframework/counter-previous": "npm:@fluidframework/counter@2.0.0
|
|
84
|
+
"@fluidframework/build-tools": "^0.41.0",
|
|
85
|
+
"@fluidframework/container-definitions": "~2.1.0",
|
|
86
|
+
"@fluidframework/counter-previous": "npm:@fluidframework/counter@2.0.0",
|
|
87
87
|
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
88
|
-
"@fluidframework/test-runtime-utils": "2.1.0
|
|
88
|
+
"@fluidframework/test-runtime-utils": "~2.1.0",
|
|
89
89
|
"@microsoft/api-extractor": "^7.45.1",
|
|
90
90
|
"@types/mocha": "^9.1.1",
|
|
91
91
|
"@types/node": "^18.19.0",
|
|
@@ -104,25 +104,30 @@
|
|
|
104
104
|
"typescript": "~5.4.5"
|
|
105
105
|
},
|
|
106
106
|
"typeValidation": {
|
|
107
|
-
"broken": {
|
|
107
|
+
"broken": {
|
|
108
|
+
"Variable_SharedCounter": {
|
|
109
|
+
"forwardCompat": false
|
|
110
|
+
}
|
|
111
|
+
}
|
|
108
112
|
},
|
|
109
113
|
"scripts": {
|
|
110
114
|
"api": "fluid-build . --task api",
|
|
111
115
|
"api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
|
|
112
116
|
"api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
|
|
113
117
|
"build": "fluid-build . --task build",
|
|
118
|
+
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
119
|
+
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
|
|
120
|
+
"build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
|
|
114
121
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
115
122
|
"build:compile": "fluid-build . --task compile",
|
|
116
|
-
"build:docs": "
|
|
117
|
-
"build:docs:current": "api-extractor run --local",
|
|
118
|
-
"build:docs:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
|
|
123
|
+
"build:docs": "api-extractor run --local",
|
|
119
124
|
"build:esnext": "tsc --project ./tsconfig.json",
|
|
120
125
|
"build:genver": "gen-version",
|
|
121
126
|
"build:test": "npm run build:test:esm && npm run build:test:cjs",
|
|
122
127
|
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
|
|
123
128
|
"build:test:esm": "tsc --project ./src/test/tsconfig.json",
|
|
124
129
|
"check:are-the-types-wrong": "attw --pack .",
|
|
125
|
-
"check:biome": "biome check .
|
|
130
|
+
"check:biome": "biome check .",
|
|
126
131
|
"check:exports": "concurrently \"npm:check:exports:*\"",
|
|
127
132
|
"check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
|
|
128
133
|
"check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
|
|
@@ -131,14 +136,15 @@
|
|
|
131
136
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
132
137
|
"check:format": "npm run check:biome",
|
|
133
138
|
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
134
|
-
"ci:build:
|
|
135
|
-
"ci:build:
|
|
136
|
-
"ci:build:
|
|
139
|
+
"ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
|
|
140
|
+
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
|
|
141
|
+
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
142
|
+
"ci:build:docs": "api-extractor run",
|
|
137
143
|
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
138
144
|
"eslint": "eslint --format stylish src",
|
|
139
145
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
140
146
|
"format": "npm run format:biome",
|
|
141
|
-
"format:biome": "biome check . --
|
|
147
|
+
"format:biome": "biome check . --write",
|
|
142
148
|
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
143
149
|
"lint": "fluid-build . --task lint",
|
|
144
150
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
package/src/packageVersion.ts
CHANGED