Skip to content

Commit

Permalink
build: set min node engine >=18.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
subfuzion committed Dec 5, 2024
1 parent 562d92c commit f59d168
Show file tree
Hide file tree
Showing 171 changed files with 173 additions and 174 deletions.
2 changes: 1 addition & 1 deletion ai-platform/snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "Apache-2.0",
"author": "Google LLC",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"files": [
"*.js"
Expand Down
2 changes: 1 addition & 1 deletion appengine/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": "22.x"
"node": ">=18.0.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/building-an-app/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": "22.x"
"node": ">=18.0.0"
},
"author": "Google Inc.",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion appengine/building-an-app/update/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": "22.x"
"node": ">=18.0.0"
},
"author": "Google Inc.",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion appengine/datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": "22.x"
"node": ">=18.0.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/endpoints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": "22.x"
"node": ">=18.0.0"
},
"scripts": {
"deploy": "gcloud app deploy",
Expand Down
2 changes: 1 addition & 1 deletion appengine/hello-world/flexible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"start": "node app.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": "=v16.20.2"
"node": ">=18.0.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/hello-world/standard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/memcached/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": "22.x"
"node": ">=18.0.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/metadata/flexible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">= 18.x.x"
"node": ">=18.0.0"
},
"scripts": {
"system-test": "c8 mocha -p -j 2 --exit test/*.test.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": "16.x.x"
"node": ">=18.0.0"
},
"scripts": {
"system-test": "c8 mocha -p -j 2 --exit test/*.test.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/metadata/standard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": "22.x"
"node": ">=18.0.0"
},
"scripts": {
"system-test": "c8 mocha -p -j 2 --exit test/*.test.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": "22.x"
"node": ">=18.0.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/static-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": "22.x"
"node": ">=18.0.0"
},
"scripts": {
"start": "node app.js",
Expand Down
2 changes: 1 addition & 1 deletion appengine/storage/flexible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "c8 mocha -p -j 2 system-test/*.test.js --exit --timeout=30000"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"dependencies": {
"@google-cloud/storage": "^7.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "c8 mocha -p -j 2 system-test/*.test.js --exit --timeout=30000"
},
"engines": {
"node": "16.x.x"
"node": ">=18.0.0"
},
"dependencies": {
"@google-cloud/storage": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion appengine/storage/standard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "c8 mocha -p -j 2 system-test/*.test.js --exit --timeout=30000"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"dependencies": {
"@google-cloud/storage": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion appengine/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": "22.x"
"node": ">=18.0.0"
},
"scripts": {
"prepare": "npm run gcp-build",
Expand Down
2 changes: 1 addition & 1 deletion appengine/websockets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"deploy": "gcloud app deploy",
Expand Down
2 changes: 1 addition & 1 deletion asset/snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "Apache-2.0",
"author": "Google LLC",
"engines": {
"node": ">=12.0.0"
"node": ">=18.0.0"
},
"files": [
"*.js"
Expand Down
2 changes: 1 addition & 1 deletion auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"test:auth": "c8 mocha -p -j 2 system-test/auth.test.js --timeout=30000",
Expand Down
2 changes: 1 addition & 1 deletion automl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "Apache-2.0",
"author": "Google LLC",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"repository": "googleapis/nodejs-automl",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion batch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "Apache-2.0",
"author": "Google LLC",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"files": [
"*.js"
Expand Down
2 changes: 1 addition & 1 deletion cloud-language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "Apache-2.0",
"author": "Google Inc.",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"repository": "googleapis/nodejs-language",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion cloud-sql/mysql/mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"start": "node server/server.js",
Expand Down
2 changes: 1 addition & 1 deletion cloud-sql/mysql/mysql2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"start": "node server/server.js",
Expand Down
2 changes: 1 addition & 1 deletion cloud-sql/postgres/knex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"start": "node server/server.js",
Expand Down
2 changes: 1 addition & 1 deletion cloud-sql/sqlserver/mssql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"start": "node server/server.js",
Expand Down
2 changes: 1 addition & 1 deletion cloud-sql/sqlserver/tedious/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"start": "node server/server.js",
Expand Down
2 changes: 1 addition & 1 deletion cloud-tasks/snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Google Inc.",
"private": true,
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"files": [
"*.js"
Expand Down
2 changes: 1 addition & 1 deletion cloud-tasks/tutorial-gcf/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"private": true,
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"start": "node index.js",
Expand Down
2 changes: 1 addition & 1 deletion cloud-tasks/tutorial-gcf/function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"private": true,
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"test": "c8 mocha -p -j 2 test/*.test.js --timeout=60000"
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "Google Inc.",
"repository": "googleapis/nodejs-cloudbuild",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"test": "c8 mocha -p -j 2 system-test --timeout=800000"
Expand Down
2 changes: 1 addition & 1 deletion composer/functions/composer-storage-trigger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"node-fetch": "^2.7.0"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"private": true,
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion composer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"test": "c8 mocha -p -j 2 --exit test/*.test.js"
Expand Down
2 changes: 1 addition & 1 deletion compute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "Apache-2.0",
"author": "Google Inc.",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"repository": "googleapis/nodejs-compute",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion contact-center-insights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "Apache-2.0",
"author": "Google LLC",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"files": [
"*.js"
Expand Down
2 changes: 1 addition & 1 deletion container-analysis/snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"*.js"
],
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"test": "c8 mocha -p -j 2 --timeout 100000 test/**.test.js"
Expand Down
2 changes: 1 addition & 1 deletion container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "Apache-2.0",
"author": "Google Inc.",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"repository": "googleapis/nodejs-cloud-container",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion datacatalog/cloud-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Google LLC",
"repository": "GoogleCloudPlatform/nodejs-docs-samples",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=60000"
Expand Down
2 changes: 1 addition & 1 deletion datacatalog/quickstart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Google LLC",
"repository": "GoogleCloudPlatform/nodejs-docs-samples",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"test": "c8 mocha -p -j 2 system-test/*.test.js --timeout=60000"
Expand Down
2 changes: 1 addition & 1 deletion datacatalog/snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "Apache-2.0",
"author": "Google LLC",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"repository": "googleapis/nodejs-datacatalog",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion datalabeling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "Apache-2.0",
"author": "Google LLC",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"files": [
"*.js",
Expand Down
Loading

0 comments on commit f59d168

Please sign in to comment.