Skip to content

Commit a30d798

Browse files
committed
chore(firestore-counter): update to node22
2 parents f9fc45f + 7aa053b commit a30d798

4 files changed

Lines changed: 123 additions & 206 deletions

File tree

firestore-counter/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## Version 0.2.14
2+
3+
chore: update Cloud Functions runtime to Node.js 22
4+
chore: ran npm run audit fix
5+
chore: add esModuleInterop and skipLibCheck to tsconfig.json
6+
17
## Version 0.2.13
28

39
chore: bump dependencies

firestore-counter/extension.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
name: firestore-counter
16-
version: 0.2.13
16+
version: 0.2.14
1717
specVersion: v1beta
1818

1919
displayName: Distributed Counter
@@ -53,7 +53,7 @@ resources:
5353
This scheduled function either aggregates shards itself, or it schedules
5454
and monitors workers to aggregate shards.
5555
properties:
56-
runtime: nodejs20
56+
runtime: nodejs22
5757
maxInstances: 1
5858
scheduleTrigger:
5959
schedule: "every ${param:SCHEDULE_FREQUENCY} minutes"
@@ -64,7 +64,7 @@ resources:
6464
Listens for changes on counter shards that may need aggregating. This
6565
function is limited to max 1 instance.
6666
properties:
67-
runtime: nodejs20
67+
runtime: nodejs22
6868
maxInstances: 1
6969
timeout: 120s
7070
eventTrigger:
@@ -78,7 +78,7 @@ resources:
7878
or more worker functions running at any point in time. The controllerCore
7979
function is responsible for scheduling and monitoring these workers.
8080
properties:
81-
runtime: nodejs20
81+
runtime: nodejs22
8282
eventTrigger:
8383
eventType: providers/cloud.firestore/eventTypes/document.write
8484
resource: projects/${param:PROJECT_ID}/databases/(default)/documents/${param:INTERNAL_STATE_PATH}/workers/{workerId}

0 commit comments

Comments
 (0)