Firebase 检查部署的文件

Mat*_*att 7 firebase firebase-hosting firebase-cli

当我跑步时firebase deploy命令时,我想知道部署了哪些文件。

\n\n

我试过firebase deploy --debug,但没有看到有关上传文件的任何信息。

\n\n
[2018-05-25T09:48:26.423Z] ----------------------------------------------------------------------\n[2018-05-25T09:48:26.426Z] Command:       /usr/local/bin/node /usr/local/bin/firebase deploy --debug\n[2018-05-25T09:48:26.427Z] CLI Version:   3.18.4\n[2018-05-25T09:48:26.427Z] Platform:      darwin\n[2018-05-25T09:48:26.427Z] Node Version:  v9.2.0\n[2018-05-25T09:48:26.428Z] Time:          Fri May 25 2018 11:48:26 GMT+0200 (CEST)\n[2018-05-25T09:48:26.428Z] ----------------------------------------------------------------------\n\n[2018-05-25T09:48:26.439Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]\n[2018-05-25T09:48:26.440Z] > authorizing via signed-in user\n[2018-05-25T09:48:26.441Z] > refreshing access token with scopes: ["email","https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","openid"]\n[2018-05-25T09:48:26.442Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token  \n { refresh_token: \'1/sNSNg7xxbzwVujBEzRAQ2eZHkEuT0d6A2jVVUGa-e9Jgrc8NASizU4RK7MEmNnov\',\n  client_id: \'563584335869-fgrhgmd47bqnekij5i8b5pr03ho849e6.apps.googleusercontent.com\',\n  client_secret: \'j9iVZfS8kkCEFUPaAeJV0sAi\',\n  grant_type: \'refresh_token\',\n  scope: \'email https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloudplatformprojects.readonly https://www.googleapis.com/auth/firebase openid\' } \n Fri May 25 2018 11:48:26 GMT+0200 (CEST)\n[2018-05-25T09:48:26.585Z] <<< HTTP RESPONSE 200 cache-control=no-cache, no-store, max-age=0, must-revalidate, pragma=no-cache, expires=Mon, 01 Jan 1990 00:00:00 GMT, date=Fri, 25 May 2018 09:48:26 GMT, vary=X-Origin, Origin,Accept-Encoding, content-type=application/json; charset=UTF-8, x-content-type-options=nosniff, x-frame-options=SAMEORIGIN, x-xss-protection=1; mode=block, server=GSE, alt-svc=hq=":443"; ma=2592000; quic=51303433; quic=51303432; quic=51303431; quic=51303339; quic=51303335,quic=":443"; ma=2592000; v="43,42,41,39,35", accept-ranges=none, connection=close\n[2018-05-25T09:48:26.593Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects/test-table  \n\n Fri May 25 2018 11:48:26 GMT+0200 (CEST)\n[2018-05-25T09:48:27.222Z] <<< HTTP RESPONSE 200 server=nginx, date=Fri, 25 May 2018 09:48:27 GMT, content-type=application/json; charset=utf-8, content-length=141, connection=close, x-content-type-options=nosniff, strict-transport-security=max-age=31536000; includeSubdomains, cache-control=no-cache, no-store\n[2018-05-25T09:48:27.223Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/database/test-table/tokens  \n\n Fri May 25 2018 11:48:27 GMT+0200 (CEST)\n[2018-05-25T09:48:27.777Z] <<< HTTP RESPONSE 200 server=nginx, date=Fri, 25 May 2018 09:48:27 GMT, content-type=application/json; charset=utf-8, content-length=274, connection=close, x-content-type-options=nosniff, strict-transport-security=max-age=31536000; includeSubdomains, cache-control=no-cache, no-store\n\n=== Deploying to \'test-table\'...\n\ni  deploying hosting\ni  hosting: preparing dist directory for upload...\n[2018-05-25T09:48:28.900Z] >>> HTTP REQUEST PUT https://deploy.firebase.com/v1/hosting/test-table/uploads/-LDLglCdzpfzQK77Fbrb?fileCount=2&message=  \n\n Fri May 25 2018 11:48:28 GMT+0200 (CEST)\nUploading: [                                        ] 0%[2018-05-25T09:48:32.752Z] <<< HTTP RESPONSE 200 server=nginx, date=Fri, 25 May 2018 09:48:32 GMT, content-type=application/json; charset=utf-8, content-length=49, connection=close, access-control-allow-origin=*, access-control-allow-methods=GET, PUT, POST, DELETE, OPTIONS, strict-transport-security=max-age=31556926; includeSubDomains; preload, x-content-type-options=nosniff\n[2018-05-25T09:48:32.753Z] [hosting] .tgz uploaded successfully, waiting for extraction\n\xe2\x9c\x94  hosting: 2 files uploaded successfully\n[2018-05-25T09:48:33.642Z] [hosting] deploy completed after 5190ms\n[2018-05-25T09:48:33.643Z] >>> HTTP REQUEST POST https://deploy.firebase.com/v1/projects/test-table/releases  \n { hosting: \n   { public: \'dist\',\n     ignore: [ \'firebase.json\', \'**/.*\', \'**/node_modules/**\' ],\n     version: \'-LDLglCdzpfzQK77Fbrb\',\n     prefix: \'-LDLglCdzpfzQK77Fbrb/\',\n     manifest: [] } } \n Fri May 25 2018 11:48:33 GMT+0200 (CEST)\n[2018-05-25T09:48:34.951Z] <<< HTTP RESPONSE 200 server=nginx, date=Fri, 25 May 2018 09:48:34 GMT, content-type=application/json; charset=utf-8, content-length=34, connection=close, access-control-allow-origin=*, access-control-allow-methods=GET, PUT, POST, DELETE, OPTIONS, strict-transport-security=max-age=31556926; includeSubDomains; preload, x-content-type-options=nosniff\n\n\xe2\x9c\x94  Deploy complete!\n
Run Code Online (Sandbox Code Playgroud)\n

Fra*_*len 7

Firebase CLI 显示的唯一信息是:

我托管:准备上传 dist 目录...

因此,这意味着dist目录中的所有内容都已部署,仅此而已。

由于文件作为单个 .tgz 文件上传,因此没有单个文件的进度报告。