Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
3b49905
wip: pipelines
MarkDuckworth Oct 14, 2024
a30f9ae
Fix circular deps
MarkDuckworth Oct 14, 2024
dbc7c12
Expose pipeline in lite-api
MarkDuckworth Oct 16, 2024
27213de
Refactoring to support lite-api
MarkDuckworth Oct 16, 2024
0676397
api-review folder updates
MarkDuckworth Oct 16, 2024
2cd396a
Adding missing protobufjs-cli
MarkDuckworth Oct 16, 2024
0c76ca0
Update API reports
MarkDuckworth Oct 16, 2024
5e9774b
fixes
MarkDuckworth Oct 16, 2024
22913b1
Merge branch 'markduckworth/ppl' of github.com:firebase/firebase-js-s…
MarkDuckworth Oct 16, 2024
2f3d48a
yarn.lock
MarkDuckworth Oct 16, 2024
076236e
Fixes. Passing integration tests.
MarkDuckworth Oct 28, 2024
8af0c57
Update API reports
MarkDuckworth Oct 28, 2024
57d1bf9
Move call to readUserData for code readability
MarkDuckworth Oct 29, 2024
022d276
Merge branch 'markduckworth/ppl' of github.com:firebase/firebase-js-s…
MarkDuckworth Oct 29, 2024
4f9a5fc
Made ProtoSerializable generic and used by Pipeline and Stage
MarkDuckworth Oct 29, 2024
6717ed4
Fixing build and lint issues
MarkDuckworth Oct 31, 2024
3ab4f5c
Update API reports
MarkDuckworth Oct 31, 2024
fc4f263
Merge branch 'main' of github.com:firebase/firebase-js-sdk into markd…
MarkDuckworth Oct 31, 2024
fd20eff
Adding new bundle size test
MarkDuckworth Oct 31, 2024
90a5e3c
experimentation with augmentation for ppl
MarkDuckworth Nov 4, 2024
585d52e
Update API reports
MarkDuckworth Nov 4, 2024
4b67f8a
Documentation and .d.ts improvements
MarkDuckworth Nov 5, 2024
26c76f3
Merge branch 'markduckworth/ppl-augment' of github.com:firebase/fireb…
MarkDuckworth Nov 5, 2024
ca0ffd9
Update API reports
MarkDuckworth Nov 5, 2024
2d386c8
Update the bundle definition for the pipeline bundle test
MarkDuckworth Nov 6, 2024
c621b81
Update the bundle definition adding a pipeline test with and function
MarkDuckworth Nov 6, 2024
773ab02
Typo
MarkDuckworth Nov 6, 2024
ad82093
Merge branch 'markduckworth/ppl-augment' of github.com:firebase/fireb…
MarkDuckworth Nov 6, 2024
682997d
And/or overloads. Pipeline serialization for console.
MarkDuckworth Nov 11, 2024
8eb9082
Cast Firestore
MarkDuckworth Nov 11, 2024
6a2abf3
And/or overloads
MarkDuckworth Nov 11, 2024
422cbd6
Update API reports
MarkDuckworth Nov 11, 2024
c78bae9
Fix and/or overloads
MarkDuckworth Nov 13, 2024
56c4e4a
Merge branch 'markduckworth/ppl-augment' of github.com:firebase/fireb…
MarkDuckworth Nov 13, 2024
bcfaf2a
Modular-style pipeline and execute methods for experimentation. Plus …
MarkDuckworth Nov 13, 2024
5425705
Update API reports
MarkDuckworth Nov 13, 2024
9a1ffa6
Merge branch 'console' of github.com:firebase/firebase-js-sdk into fe…
MarkDuckworth Nov 13, 2024
edc1ea5
Docgen
MarkDuckworth Nov 13, 2024
6859582
Merge branch 'feat/pipelines' of github.com:firebase/firebase-js-sdk …
MarkDuckworth Nov 13, 2024
9c4d556
license headers
MarkDuckworth Nov 13, 2024
1aef450
docgen
MarkDuckworth Nov 13, 2024
b20afe6
docs-devsite fix
MarkDuckworth Nov 13, 2024
877bf3c
Skipping pipeline tests for CI
MarkDuckworth Nov 13, 2024
1f7b071
Update API reports
MarkDuckworth Nov 13, 2024
d9b6e9a
reverting changes to docs-devsite
MarkDuckworth Nov 13, 2024
18e3477
Merge branch 'feat/pipelines' of github.com:firebase/firebase-js-sdk …
MarkDuckworth Nov 13, 2024
703b18f
revert and/or overloads
MarkDuckworth Nov 13, 2024
75e35c8
Update API reports
MarkDuckworth Nov 13, 2024
4bb953a
Fix bundle definition
MarkDuckworth Nov 15, 2024
8b6855c
Merge branch 'feat/pipelines' of github.com:firebase/firebase-js-sdk …
MarkDuckworth Nov 15, 2024
92c651f
Fix imports
MarkDuckworth Nov 15, 2024
cc3146c
Re-adding circular dependency check.
MarkDuckworth Nov 19, 2024
d2e8d60
Addressing review comments.
MarkDuckworth Nov 19, 2024
fafadbc
PPL to Console (#8638)
MarkDuckworth Nov 20, 2024
0750f35
Merge branch 'console' of github.com:firebase/firebase-js-sdk into fe…
MarkDuckworth Nov 20, 2024
ecd931d
New bundle analysis to evaluate useFirestorePipelines vs execute
MarkDuckworth Nov 25, 2024
63b8854
Fix build. Finish rename. Rename useFirestorePipelines to useFluentPi…
MarkDuckworth Nov 26, 2024
a9a0b82
Remove type references from the core Firestore API surface. This will…
MarkDuckworth Dec 10, 2024
df90a2e
Fixes for Constant.of(...) (#8677)
MarkDuckworth Dec 18, 2024
fb5df42
PPL multiple entry points (#8717)
MarkDuckworth Jan 27, 2025
09508e9
Merge branch 'main' of github.com:firebase/firebase-js-sdk into feat/…
MarkDuckworth Mar 12, 2025
d18310a
Markduckworth/ppl mep (#8801)
MarkDuckworth Mar 21, 2025
b180898
Port improved whereConditionsFromCursor from Android
MarkDuckworth Mar 26, 2025
6cc2ee6
Port improved whereConditionsFromCursor from Android (#8867)
MarkDuckworth Mar 26, 2025
8e9fdbe
Merge branch 'feat/pipelines' of github.com:firebase/firebase-js-sdk …
MarkDuckworth Apr 3, 2025
609d082
Pipeline and test cleanup
MarkDuckworth Apr 8, 2025
3d6bbf3
Test fixes and re-enabling tests for features that were added on backend
MarkDuckworth Apr 8, 2025
32ee331
Additional test cleanup
MarkDuckworth Apr 8, 2025
7532899
Merge commit '88a8055808bdbd1c75011a94d11062460027d931' into feat/pip…
MarkDuckworth Apr 8, 2025
bb8fc27
fix tests and enable only pipeline tests
MarkDuckworth Apr 8, 2025
d66ddb0
Add PipelineOptions and StructuredPipeline
MarkDuckworth Apr 9, 2025
45688b0
Testing for pipeline options
MarkDuckworth Apr 10, 2025
03eb22e
Comment cleanup
MarkDuckworth Apr 11, 2025
1645cd6
Cleanup
MarkDuckworth Apr 29, 2025
41bde42
Build and test fixes
MarkDuckworth Jun 16, 2025
33a4a2d
Merge branch 'main' of github.com:firebase/firebase-js-sdk into feat/…
MarkDuckworth Jun 27, 2025
b3d8c75
Test for error handling in Piplines
MarkDuckworth Aug 25, 2025
281c441
Merge branch 'markduckworth/pipeline-options' into markduckworth/ppl-…
MarkDuckworth Aug 25, 2025
e111ec1
Refactor and test pipeline options implementation
MarkDuckworth Aug 27, 2025
5e9b24d
OptionsUtil test
MarkDuckworth Aug 27, 2025
527131c
Pipeline and stage options. Tangential renames and minor fixes
MarkDuckworth Sep 2, 2025
198f829
Rename and cleanup from api audit
MarkDuckworth Sep 23, 2025
73b0615
Rename and cleanup from api audit
MarkDuckworth Sep 23, 2025
f07a909
Cleanup
MarkDuckworth Sep 24, 2025
f9fef48
Update constant(boolean) to return BooleanExpression
MarkDuckworth Sep 24, 2025
f0cc89b
Add ifError overloads for BooleanExpression
MarkDuckworth Sep 24, 2025
e261a1a
Add abs expression and did formatting
MarkDuckworth Sep 24, 2025
6304b8e
Implemente round with precision and removed Expr#log(base) due to pot…
MarkDuckworth Sep 24, 2025
9f70ee6
Add compile script to package.json for quicker development feedback
MarkDuckworth Sep 24, 2025
bd4efe2
Merge branch 'main' of github.com:firebase/firebase-js-sdk into markd…
MarkDuckworth Sep 24, 2025
e62f29b
Rename esm2017 filenames to esm to match changes in package.json from…
MarkDuckworth Sep 24, 2025
814e268
Fixing circular dependency errors in the build.
MarkDuckworth Sep 26, 2025
4300d65
fixing circular dependency in the build
MarkDuckworth Sep 26, 2025
b78e49c
fixing bundler errors
MarkDuckworth Sep 26, 2025
9695fa4
Fix isNumber implementation
MarkDuckworth Sep 29, 2025
2802f8a
Merge branch 'main' of github.com:firebase/firebase-js-sdk into feat/…
MarkDuckworth Sep 29, 2025
15fc1a7
Merge branch 'main' of github.com:firebase/firebase-js-sdk into markd…
MarkDuckworth Sep 29, 2025
76dca29
Merge branch 'feat/pipelines' of github.com:firebase/firebase-js-sdk …
MarkDuckworth Sep 30, 2025
e9afbe4
fix fishfood build
MarkDuckworth Sep 30, 2025
78e7ae0
Fixing exports
MarkDuckworth Oct 2, 2025
41d8506
Implement concat
MarkDuckworth Oct 2, 2025
5ddc9ce
prettier
MarkDuckworth Oct 2, 2025
2cbd653
error, ifabsent, currenttimestamp, join
MarkDuckworth Oct 2, 2025
c008c06
arraySum and log10
MarkDuckworth Oct 3, 2025
1c8c909
Rename AggregateWithAlias to AliasedAggregate
MarkDuckworth Oct 7, 2025
aed50a3
lockfile update
MarkDuckworth Oct 7, 2025
9e54451
add or corrected license headers
MarkDuckworth Oct 7, 2025
251ae4e
fixing yarn.lock
MarkDuckworth Oct 7, 2025
8bdaa82
Corrected paths to entrypoints and typings for the firestore package
MarkDuckworth Oct 8, 2025
a4446b8
API review files
MarkDuckworth Oct 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,208 changes: 1,208 additions & 0 deletions common/api-review/firestore-lite-pipelines.api.md

Large diffs are not rendered by default.

1,567 changes: 1,567 additions & 0 deletions common/api-review/firestore-pipelines.api.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
"postinstall-postinstall": "2.1.0",
"prettier": "2.8.8",
"protractor": "5.4.2",
"protobufjs-cli": "^1.1.3",
"request": "2.88.2",
"semver": "7.7.1",
"simple-git": "3.27.0",
Expand Down
18 changes: 18 additions & 0 deletions packages/firebase/firestore/pipelines/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* @license
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

export * from '@firebase/firestore/pipelines';
7 changes: 7 additions & 0 deletions packages/firebase/firestore/pipelines/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "firebase/firestore/pipelines",
"main": "dist/pipelines.cjs.js",
"browser": "dist/esm/pipelines.esm.js",
"module": "dist/esm/pipelines.esm.js",
"typings": "dist/firestore/lite/pipelines.d.ts"
}
12 changes: 12 additions & 0 deletions packages/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,18 @@
},
"default": "./firestore/dist/esm/index.esm.js"
},
"./firestore/pipelines": {
"types": "./firestore/dist/firestore/pipelines.d.ts",
"node": {
"require": "./firestore/dist/pipelines.cjs.js",
"import": "./firestore/dist/pipelines.mjs"
},
"browser": {
"require": "./firestore/dist/pipelines.cjs.js",
"import": "./firestore/dist/esm/pipelines.esm.js"
},
"default": "./firestore/dist/esm/pipelines.esm.js"
},
"./firestore/lite": {
"types": "./firestore/lite/dist/firestore/lite/index.d.ts",
"node": {
Expand Down
2 changes: 1 addition & 1 deletion packages/firestore/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
tsconfigRootDir: __dirname
},
plugins: ['import'],
ignorePatterns: ['compat/*'],
ignorePatterns: ['compat/*', 'pipelines.d.ts'],
rules: {
'no-console': ['error', { allow: ['warn', 'error'] }],
'@typescript-eslint/no-unused-vars': [
Expand Down
2 changes: 2 additions & 0 deletions packages/firestore/externs.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"packages/app-check-interop-types/index.d.ts",
"packages/auth-interop-types/index.d.ts",
"packages/firestore/dist/lite/internal.d.ts",
"packages/firestore/dist/lite/internal.pipelines.d.ts",
"packages/firestore/dist/internal.d.ts",
"packages/firestore/dist/internal.pipelines.d.ts",
"packages/firestore-types/index.d.ts",
"packages/firebase/compat/index.d.ts",
"packages/component/dist/src/component.d.ts",
Expand Down
14 changes: 14 additions & 0 deletions packages/firestore/lite/pipelines/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "@firebase/firestore-lite-pipelines",
"description": "Pipelines for the lite Firestore SDK",
"main": "../../dist/lite/pipelines.node.cjs.js",
"main-esm": "../../dist/lite/pipelines.node.mjs",
"module": "../../dist/lite/pipelines.browser.esm2017.js",
"browser": "../../dist/lite/pipelines.browser.esm2017.js",
"react-native": "../../dist/lite/pipelines.rn.esm2017.js",
"typings": "./pipelines.d.ts",
"private": true,
"engines": {
"node": ">=18.0.0"
}
}
28 changes: 28 additions & 0 deletions packages/firestore/lite/pipelines/pipelines.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**
* @license
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { PipelineSource, Pipeline } from '../../dist/lite/pipelines';

// Augument the Firestore class with the pipeline() method.
// This is stripped from dist/lite/pipelines.d.ts during the build
// so it needs to be re-added here.
declare module '@firebase/firestore/lite' {
interface Firestore {
pipeline(): PipelineSource<Pipeline>;
}
}

export * from '../../dist/lite/pipelines';
173 changes: 173 additions & 0 deletions packages/firestore/lite/pipelines/pipelines.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
/**
* Firestore Lite Pipelines
*
* @remarks Firestore Lite is a small online-only SDK that allows read
* and write access to your Firestore database. All operations connect
* directly to the backend, and `onSnapshot()` APIs are not supported.
* @packageDocumentation
*/
/**
* @license
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// External exports: ./index
// These external exports will be stripped from the dist/pipelines.d.ts file
// by the prune-dts script, in order to reduce type duplication. However, these
// types need to be exported here to ensure that api-extractor behaves
// correctly. If a type from api.ts is missing from this export, then
// api-extractor may rename it with a suffix `_#`, e.g. `YourType_2`.
export type {
Timestamp,
DocumentReference,
VectorValue,
GeoPoint,
FieldPath,
DocumentData,
Query,
Firestore,
FirestoreDataConverter,
WithFieldValue,
PartialWithFieldValue,
SetOptions,
QueryDocumentSnapshot,
Primitive,
FieldValue,
Bytes
} from '../index';

export { PipelineSource } from '../../src/lite-api/pipeline-source';

export { OneOf } from '../../src/util/types';

export {
PipelineResult,
PipelineSnapshot
} from '../../src/lite-api/pipeline-result';

export { Pipeline } from '../../src/lite-api/pipeline';

export { execute } from '../../src/lite-api/pipeline_impl';

export {
StageOptions,
CollectionStageOptions,
CollectionGroupStageOptions,
DatabaseStageOptions,
DocumentsStageOptions,
AddFieldsStageOptions,
RemoveFieldsStageOptions,
SelectStageOptions,
WhereStageOptions,
OffsetStageOptions,
LimitStageOptions,
DistinctStageOptions,
AggregateStageOptions,
FindNearestStageOptions,
ReplaceWithStageOptions,
SampleStageOptions,
UnionStageOptions,
UnnestStageOptions,
SortStageOptions
} from '../../src/lite-api/stage_options';

export {
Expression,
field,
and,
array,
constant,
add,
subtract,
multiply,
average,
substring,
count,
mapMerge,
mapRemove,
ifError,
isAbsent,
isError,
or,
divide,
isNotNan,
map,
isNotNull,
isNull,
mod,
documentId,
equal,
notEqual,
lessThan,
countIf,
lessThanOrEqual,
greaterThan,
greaterThanOrEqual,
arrayConcat,
arrayContains,
arrayContainsAny,
arrayContainsAll,
arrayLength,
equalAny,
notEqualAny,
xor,
conditional,
not,
logicalMaximum,
logicalMinimum,
exists,
isNan,
reverse,
byteLength,
charLength,
like,
regexContains,
regexMatch,
stringContains,
startsWith,
endsWith,
toLower,
toUpper,
trim,
stringConcat,
mapGet,
countAll,
minimum,
maximum,
cosineDistance,
dotProduct,
euclideanDistance,
vectorLength,
unixMicrosToTimestamp,
timestampToUnixMicros,
unixMillisToTimestamp,
timestampToUnixMillis,
unixSecondsToTimestamp,
timestampToUnixSeconds,
timestampAdd,
timestampSubtract,
ascending,
descending,
AliasedExpression,
Field,
Constant,
FunctionExpression,
Ordering,
ExpressionType,
AliasedAggregate,
Selectable,
BooleanExpression,
AggregateFunction
} from '../../src/lite-api/expressions';
43 changes: 38 additions & 5 deletions packages/firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
"scripts": {
"bundle": "rollup -c",
"compile": "tsc --emitDeclarationOnly --declaration -p tsconfig.json",
"prebuild": "tsc --emitDeclarationOnly --declaration -p tsconfig.json; yarn api-report",
"build": "run-p --npm-path npm build:lite build:main",
"build:release": "yarn build && yarn typings:public",
Expand Down Expand Up @@ -50,11 +51,13 @@
"test:minified": "(cd ../../integration/firestore ; yarn test)",
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
"api-report:main": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/extract-public-api.ts --package firestore --packageRoot . --typescriptDts ./dist/firestore/src/index.d.ts --rollupDts ./dist/private.d.ts --untrimmedRollupDts ./dist/internal.d.ts --publicDts ./dist/index.d.ts",
"api-report:pipelines": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/extract-public-api.ts --package firestore-pipelines --packageRoot . --typescriptDts ./dist/firestore/pipelines/pipelines.d.ts --rollupDts ./dist/private.pipelines.d.ts --untrimmedRollupDts ./dist/internal.pipelines.d.ts --publicDts ./dist/pipelines.d.ts --otherExportsPublicDtsFiles ./dist/index.d.ts",
"api-report:lite": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/extract-public-api.ts --package firestore-lite --packageRoot . --typescriptDts ./dist/firestore/lite/index.d.ts --rollupDts ./dist/lite/private.d.ts --untrimmedRollupDts ./dist/lite/internal.d.ts --publicDts ./dist/lite/index.d.ts",
"api-report:lite:pipelines": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/extract-public-api.ts --package firestore-lite-pipelines --packageRoot . --typescriptDts ./dist/firestore/lite/pipelines/pipelines.d.ts --rollupDts ./dist/lite/private.pipelines.d.ts --untrimmedRollupDts ./dist/lite/internal.pipelines.d.ts --publicDts ./dist/lite/pipelines.d.ts --otherExportsPublicDtsFiles ./dist/lite/index.d.ts",
"api-report:api-json": "rm -rf temp && api-extractor run --local --verbose",
"api-report": "run-s --npm-path npm api-report:main api-report:lite && yarn api-report:api-json",
"api-report": "run-s --npm-path npm api-report:main api-report:pipelines api-report:lite api-report:lite:pipelines && yarn api-report:api-json",
"doc": "api-documenter markdown --input temp --output docs",
"typings:public": "node ../../scripts/build/use_typings.js ./dist/index.d.ts",
"typings:public": "node ../../scripts/build/use_typings.js ./dist/all-packages.d.ts",
"assertion-id:check": "ts-node scripts/assertion-id-tool.ts --dir=src --check",
"assertion-id:new": "ts-node scripts/assertion-id-tool.ts --dir=src --new",
"assertion-id:list": "ts-node scripts/assertion-id-tool.ts --dir=src --list",
Expand Down Expand Up @@ -82,11 +85,37 @@
},
"react-native": "./dist/lite/index.rn.esm.js",
"browser": {
"require": "./dist/lite/index.cjs.js",
"require": "./dist/lite/index.browser.cjs.js",
"import": "./dist/lite/index.browser.esm.js"
},
"default": "./dist/lite/index.browser.esm.js"
},
"./lite/pipelines": {
"types": "./dist/lite/pipelines.d.ts",
"node": {
"require": "./dist/lite/pipelines.node.cjs.js",
"import": "./dist/lite/pipelines.node.mjs"
},
"react-native": "./dist/lite/pipelines.rn.esm.js",
"browser": {
"require": "./dist/lite/pipelines.browser.cjs.js",
"import": "./dist/lite/pipelines.browser.esm.js"
},
"default": "./dist/lite/pipelines.browser.esm.js"
},
"./pipelines": {
"types": "./pipelines/pipelines.d.ts",
"node": {
"require": "./dist/pipelines.node.cjs.js",
"import": "./dist/pipelines.node.mjs"
},
"react-native": "./dist/index.rn.esm.js",
"browser": {
"require": "./dist/pipelines.cjs.js",
"import": "./dist/pipelines.esm.js"
},
"default": "./dist/pipelines.esm.js"
},
"./package.json": "./package.json"
},
"main": "dist/index.node.cjs.js",
Expand All @@ -97,7 +126,11 @@
"license": "Apache-2.0",
"files": [
"dist",
"lite/package.json"
"lite/package.json",
"pipelines/package.json",
"pipelines/pipelines.d.ts",
"lite/pipelines/package.json",
"lite/pipelines/pipelines.d.ts"
],
"dependencies": {
"@firebase/component": "0.7.0",
Expand Down Expand Up @@ -140,7 +173,7 @@
"bugs": {
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"typings": "dist/firestore/src/index.d.ts",
"types": "dist/firestore/src/index.d.ts",
"nyc": {
"extension": [
".ts"
Expand Down
14 changes: 14 additions & 0 deletions packages/firestore/pipelines/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "@firebase/firestore/pipelines",
"description": "pipelines",
"main": "../dist/pipelines.node.cjs.js",
"main-esm": "../dist/pipelines.node.mjs",
"module": "../dist/pipelines.browser.esm2017.js",
"browser": "../dist/pipelines.browser.esm2017.js",
"react-native": "../dist/pipelines.rn.esm2017.js",
"typings": "./pipelines.d.ts",
"private": true,
"engines": {
"node": ">=18.0.0"
}
}
Loading
Loading