Skip to content

Commit ebf6987

Browse files
committed
build: set node engine to 22.x
1 parent f59d168 commit ebf6987

File tree

174 files changed

+175
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+175
-175
lines changed

ai-platform/snippets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "Apache-2.0",
55
"author": "Google LLC",
66
"engines": {
7-
"node": ">=18.0.0"
7+
"node": "22.x"
88
},
99
"files": [
1010
"*.js"

appengine/analytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": ">=18.0.0"
13+
"node": "22.x"
1414
},
1515
"scripts": {
1616
"start": "node app.js",

appengine/building-an-app/build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1515
},
1616
"engines": {
17-
"node": ">=18.0.0"
17+
"node": "22.x"
1818
},
1919
"author": "Google Inc.",
2020
"license": "Apache-2.0",

appengine/building-an-app/update/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1515
},
1616
"engines": {
17-
"node": ">=18.0.0"
17+
"node": "22.x"
1818
},
1919
"author": "Google Inc.",
2020
"license": "Apache-2.0",

appengine/datastore/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": ">=18.0.0"
13+
"node": "22.x"
1414
},
1515
"scripts": {
1616
"start": "node app.js",

appengine/endpoints/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": ">=18.0.0"
13+
"node": "22.x"
1414
},
1515
"scripts": {
1616
"deploy": "gcloud app deploy",

appengine/hello-world/flexible/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": ">=18.0.0"
13+
"node": "22.x"
1414
},
1515
"scripts": {
1616
"start": "node app.js",

appengine/hello-world/flexible_nodejs16_and_earlier/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": ">=18.0.0"
13+
"node": "22.x"
1414
},
1515
"scripts": {
1616
"start": "node app.js",

appengine/hello-world/standard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": ">=18.0.0"
13+
"node": "22.x"
1414
},
1515
"scripts": {
1616
"start": "node app.js",

appengine/memcached/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "Apache Version 2.0",
77
"author": "Google Inc.",
88
"engines": {
9-
"node": ">=18.0.0"
9+
"node": "22.x"
1010
},
1111
"scripts": {
1212
"start": "node app.js",

appengine/metadata/flexible/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": ">=18.0.0"
13+
"node": "22.x"
1414
},
1515
"scripts": {
1616
"system-test": "c8 mocha -p -j 2 --exit test/*.test.js",

appengine/metadata/flexible_nodejs16_and_earlier/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": ">=18.0.0"
13+
"node": "22.x"
1414
},
1515
"scripts": {
1616
"system-test": "c8 mocha -p -j 2 --exit test/*.test.js",

appengine/metadata/standard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": ">=18.0.0"
13+
"node": "22.x"
1414
},
1515
"scripts": {
1616
"system-test": "c8 mocha -p -j 2 --exit test/*.test.js",

appengine/pubsub/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "Apache Version 2.0",
77
"author": "Google Inc.",
88
"engines": {
9-
"node": ">=18.0.0"
9+
"node": "22.x"
1010
},
1111
"scripts": {
1212
"start": "node app.js",

appengine/static-files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "Apache Version 2.0",
77
"author": "Google Inc.",
88
"engines": {
9-
"node": ">=18.0.0"
9+
"node": "22.x"
1010
},
1111
"scripts": {
1212
"start": "node app.js",

appengine/storage/flexible/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"test": "c8 mocha -p -j 2 system-test/*.test.js --exit --timeout=30000"
77
},
88
"engines": {
9-
"node": ">=18.0.0"
9+
"node": "22.x"
1010
},
1111
"dependencies": {
1212
"@google-cloud/storage": "^7.0.0",

appengine/storage/flexible_nodejs16_and_earlier/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"test": "c8 mocha -p -j 2 system-test/*.test.js --exit --timeout=30000"
77
},
88
"engines": {
9-
"node": ">=18.0.0"
9+
"node": "22.x"
1010
},
1111
"dependencies": {
1212
"@google-cloud/storage": "^7.0.0",

appengine/storage/standard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"test": "c8 mocha -p -j 2 system-test/*.test.js --exit --timeout=30000"
77
},
88
"engines": {
9-
"node": ">=18.0.0"
9+
"node": "22.x"
1010
},
1111
"dependencies": {
1212
"@google-cloud/storage": "^7.0.0",

appengine/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "Apache Version 2.0",
77
"author": "Google Inc.",
88
"engines": {
9-
"node": ">=18.0.0"
9+
"node": "22.x"
1010
},
1111
"scripts": {
1212
"prepare": "npm run gcp-build",

appengine/websockets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "Apache Version 2.0",
77
"author": "Google Inc.",
88
"engines": {
9-
"node": ">=18.0.0"
9+
"node": "22.x"
1010
},
1111
"scripts": {
1212
"deploy": "gcloud app deploy",

asset/snippets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "Apache-2.0",
55
"author": "Google LLC",
66
"engines": {
7-
"node": ">=18.0.0"
7+
"node": "22.x"
88
},
99
"files": [
1010
"*.js"

auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1010
},
1111
"engines": {
12-
"node": ">=18.0.0"
12+
"node": "22.x"
1313
},
1414
"scripts": {
1515
"test:auth": "c8 mocha -p -j 2 system-test/auth.test.js --timeout=30000",

automl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "Apache-2.0",
55
"author": "Google LLC",
66
"engines": {
7-
"node": ">=18.0.0"
7+
"node": "22.x"
88
},
99
"repository": "googleapis/nodejs-automl",
1010
"private": true,

batch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "Apache-2.0",
55
"author": "Google LLC",
66
"engines": {
7-
"node": ">=18.0.0"
7+
"node": "22.x"
88
},
99
"files": [
1010
"*.js"

cloud-language/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"license": "Apache-2.0",
44
"author": "Google Inc.",
55
"engines": {
6-
"node": ">=18.0.0"
6+
"node": "22.x"
77
},
88
"repository": "googleapis/nodejs-language",
99
"private": true,

cloud-sql/mysql/mysql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1010
},
1111
"engines": {
12-
"node": ">=18.0.0"
12+
"node": "22.x"
1313
},
1414
"scripts": {
1515
"start": "node server/server.js",

cloud-sql/mysql/mysql2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1010
},
1111
"engines": {
12-
"node": ">=18.0.0"
12+
"node": "22.x"
1313
},
1414
"scripts": {
1515
"start": "node server/server.js",

cloud-sql/postgres/knex/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": ">=18.0.0"
13+
"node": "22.x"
1414
},
1515
"scripts": {
1616
"start": "node server/server.js",

cloud-sql/sqlserver/mssql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1010
},
1111
"engines": {
12-
"node": ">=18.0.0"
12+
"node": "22.x"
1313
},
1414
"scripts": {
1515
"start": "node server/server.js",

cloud-sql/sqlserver/tedious/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1010
},
1111
"engines": {
12-
"node": ">=18.0.0"
12+
"node": "22.x"
1313
},
1414
"scripts": {
1515
"start": "node server/server.js",

cloud-tasks/snippets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Google Inc.",
66
"private": true,
77
"engines": {
8-
"node": ">=18.0.0"
8+
"node": "22.x"
99
},
1010
"files": [
1111
"*.js"

cloud-tasks/tutorial-gcf/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "index.js",
55
"private": true,
66
"engines": {
7-
"node": ">=18.0.0"
7+
"node": "22.x"
88
},
99
"scripts": {
1010
"start": "node index.js",

cloud-tasks/tutorial-gcf/function/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "index.js",
55
"private": true,
66
"engines": {
7-
"node": ">=18.0.0"
7+
"node": "22.x"
88
},
99
"scripts": {
1010
"test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000"

cloudbuild/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"author": "Google Inc.",
1010
"repository": "googleapis/nodejs-cloudbuild",
1111
"engines": {
12-
"node": ">=18.0.0"
12+
"node": "22.x"
1313
},
1414
"scripts": {
1515
"test": "c8 mocha -p -j 2 system-test --timeout=800000"

composer/functions/composer-storage-trigger/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"node-fetch": "^2.7.0"
77
},
88
"engines": {
9-
"node": ">=18.0.0"
9+
"node": "22.x"
1010
},
1111
"private": true,
1212
"license": "Apache-2.0",

composer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
1111
},
1212
"engines": {
13-
"node": ">=18.0.0"
13+
"node": "22.x"
1414
},
1515
"scripts": {
1616
"test": "c8 mocha -p -j 2 --exit test/*.test.js"

compute/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"license": "Apache-2.0",
44
"author": "Google Inc.",
55
"engines": {
6-
"node": ">=18.0.0"
6+
"node": "22.x"
77
},
88
"repository": "googleapis/nodejs-compute",
99
"private": true,

contact-center-insights/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "Apache-2.0",
55
"author": "Google LLC",
66
"engines": {
7-
"node": ">=18.0.0"
7+
"node": "22.x"
88
},
99
"files": [
1010
"*.js"

container-analysis/snippets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"*.js"
99
],
1010
"engines": {
11-
"node": ">=18.0.0"
11+
"node": "22.x"
1212
},
1313
"scripts": {
1414
"test": "c8 mocha -p -j 2 --timeout 100000 test/**.test.js"

container/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"license": "Apache-2.0",
44
"author": "Google Inc.",
55
"engines": {
6-
"node": ">=18.0.0"
6+
"node": "22.x"
77
},
88
"repository": "googleapis/nodejs-cloud-container",
99
"private": true,

datacatalog/cloud-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Google LLC",
88
"repository": "GoogleCloudPlatform/nodejs-docs-samples",
99
"engines": {
10-
"node": ">=18.0.0"
10+
"node": "22.x"
1111
},
1212
"scripts": {
1313
"test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=60000"

datacatalog/quickstart/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Google LLC",
88
"repository": "GoogleCloudPlatform/nodejs-docs-samples",
99
"engines": {
10-
"node": ">=18.0.0"
10+
"node": "22.x"
1111
},
1212
"scripts": {
1313
"test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=60000"

datacatalog/snippets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "Apache-2.0",
55
"author": "Google LLC",
66
"engines": {
7-
"node": ">=18.0.0"
7+
"node": "22.x"
88
},
99
"repository": "googleapis/nodejs-datacatalog",
1010
"private": true,

datalabeling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "Apache-2.0",
55
"author": "Google LLC",
66
"engines": {
7-
"node": ">=18.0.0"
7+
"node": "22.x"
88
},
99
"files": [
1010
"*.js",

0 commit comments

Comments
 (0)