Skip to content

Commit 997f9af

Browse files
committed
fix: functions command
1 parent 931263a commit 997f9af

File tree

25 files changed

+25
-25
lines changed

25 files changed

+25
-25
lines changed

functions/concepts_build_extension/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"start": [
88
"@gcp-build",
99
"Composer\\Config::disableProcessTimeout",
10-
"FUNCTION_TARGET=helloBuildExtension php -d 'extension=./my_custom_extension.so' -S localhost:${PORT:-8080} vendor/bin/router.php"
10+
"FUNCTION_TARGET=helloBuildExtension php -d 'extension=./my_custom_extension.so' -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1111
]
1212
}
1313
}

functions/concepts_filesystem/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_TARGET=listFiles php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_TARGET=listFiles php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
}
1111
}

functions/concepts_requests/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": [
88
"Composer\\Config::disableProcessTimeout",
9-
"FUNCTION_TARGET=makeRequest php -S localhost:${PORT:-8080} vendor/bin/router.php"
9+
"FUNCTION_TARGET=makeRequest php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1010
]
1111
}
1212
}

functions/env_vars/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_TARGET=envVar php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_TARGET=envVar php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
}
1111
}

functions/firebase_analytics/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseAnalytics php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseAnalytics php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
}
1111
}

functions/firebase_auth/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseAuth php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseAuth php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
},
1111
"require-dev": {

functions/firebase_firestore/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": [
88
"Composer\\Config::disableProcessTimeout",
9-
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseFirestore php -S localhost:${PORT:-8080} vendor/bin/router.php"
9+
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseFirestore php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1010
]
1111
},
1212
"require-dev": {

functions/firebase_firestore_reactive/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"start": [
99
"Composer\\Config::disableProcessTimeout",
10-
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseReactive php -S localhost:${PORT:-8080} vendor/bin/router.php"
10+
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseReactive php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1111
]
1212
},
1313
"require-dev": {

functions/firebase_remote_config/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseRemoteConfig php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseRemoteConfig php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
},
1111
"require-dev": {

functions/firebase_rtdb/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": [
88
"Composer\\Config::disableProcessTimeout",
9-
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseRTDB php -S localhost:${PORT:-8080} vendor/bin/router.php"
9+
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=firebaseRTDB php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1010
]
1111
},
1212
"require-dev": {

functions/helloworld_get/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_TARGET=helloGet php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_TARGET=helloGet php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
}
1111
}

functions/helloworld_http/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": [
88
"Composer\\Config::disableProcessTimeout",
9-
"FUNCTION_TARGET=helloHttp php -S localhost:${PORT:-8080} vendor/bin/router.php"
9+
"FUNCTION_TARGET=helloHttp php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1010
]
1111
}
1212
}

functions/helloworld_log/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_TARGET=helloLogging php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_TARGET=helloLogging @php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
}
1111
}

functions/helloworld_pubsub/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"start": [
99
"Composer\\Config::disableProcessTimeout",
10-
"FUNCTION_TARGET=helloworldPubsub php -S localhost:${PORT:-8080} vendor/bin/router.php"
10+
"FUNCTION_TARGET=helloworldPubsub php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1111
]
1212
},
1313
"require-dev": {

functions/helloworld_storage/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": [
88
"Composer\\Config::disableProcessTimeout",
9-
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=helloGCS php -S localhost:${PORT:-8080} vendor/bin/router.php"
9+
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=helloGCS php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1010
]
1111
},
1212
"require-dev": {

functions/http_content_type/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_TARGET=helloContent php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_TARGET=helloContent php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
}
1111
}

functions/http_cors/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_TARGET=corsEnabledFunction php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_TARGET=corsEnabledFunction php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
}
1111
}

functions/http_form_data/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": [
88
"Composer\\Config::disableProcessTimeout",
9-
"TMPDIR=./tmp FUNCTION_TARGET=uploadFile php -S localhost:${PORT:-8080} vendor/bin/router.php"
9+
"TMPDIR=./tmp FUNCTION_TARGET=uploadFile php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1010
]
1111
}
1212
}

functions/http_method/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_TARGET=httpMethod php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_TARGET=httpMethod php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
}
1111
}

functions/imagemagick/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"start": [
1010
"Composer\\Config::disableProcessTimeout",
11-
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=blurOffensiveImages php -S localhost:${PORT:-8080} vendor/bin/router.php"
11+
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=blurOffensiveImages php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1212
]
1313
},
1414
"require-dev": {

functions/slack_slash_command/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"post-update-cmd": "Google\\Task\\Composer::cleanup",
88
"start": [
99
"Composer\\Config::disableProcessTimeout",
10-
"FUNCTION_TARGET=receiveRequest php -S localhost:${PORT:-8080} vendor/bin/router.php"
10+
"FUNCTION_TARGET=receiveRequest php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1111
]
1212
},
1313
"extra": {

functions/tips_infinite_retries/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=avoidInfiniteRetries php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=avoidInfiniteRetries php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
},
1111
"require-dev": {

functions/tips_phpinfo/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_TARGET=phpInfoDemo php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_TARGET=phpInfoDemo php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
}
1111
}

functions/tips_retry/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"start": [
1111
"Composer\\Config::disableProcessTimeout",
12-
"FUNCTION_TARGET=tipsRetry php -S localhost:${PORT:-8080} vendor/bin/router.php"
12+
"FUNCTION_TARGET=tipsRetry php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
1313
]
1414
}
1515
}

functions/tips_scopes/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": [
77
"Composer\\Config::disableProcessTimeout",
8-
"FUNCTION_TARGET=scopeDemo php -S localhost:${PORT:-8080} vendor/bin/router.php"
8+
"FUNCTION_TARGET=scopeDemo php -S localhost:${PORT:-8080} vendor/google/cloud-functions-framework/router.php"
99
]
1010
}
1111
}

0 commit comments

Comments
 (0)