Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): fix lint rules and build for generated code #430

Merged
merged 2 commits into from
Nov 11, 2018

Conversation

yoshi-automation
Copy link
Contributor

This PR was generated using Autosynth. 🌈

Here's the log from Synthtool:

synthtool > Cloning googleapis.
synthtool > Running generator for google/spanner/artman_spanner.yaml.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
18d680d61657: Pulling fs layer
0addb6fece63: Pulling fs layer
78e58219b215: Pulling fs layer
eb6959a66df2: Pulling fs layer
2fd924012414: Pulling fs layer
f6d2c82d4b4b: Pulling fs layer
6a8f951adce6: Pulling fs layer
4642571f60c1: Pulling fs layer
65dccb09b586: Pulling fs layer
bd3130db8f47: Pulling fs layer
ea52c4761b7e: Pulling fs layer
f798253ebe14: Pulling fs layer
f6b0e422e43b: Pulling fs layer
8a43d686e8c5: Pulling fs layer
8fbb5edd57bb: Pulling fs layer
f107fb7f9fbd: Pulling fs layer
1f9ba80702b8: Pulling fs layer
89b8a3c0532b: Pulling fs layer
572bf04060dc: Pulling fs layer
03be1e070eeb: Pulling fs layer
2db5a10201a7: Pulling fs layer
f3895902c1a3: Pulling fs layer
25d98655cb78: Pulling fs layer
eb6959a66df2: Waiting
2fd924012414: Waiting
f6d2c82d4b4b: Waiting
6a8f951adce6: Waiting
4642571f60c1: Waiting
65dccb09b586: Waiting
89b8a3c0532b: Waiting
bd3130db8f47: Waiting
572bf04060dc: Waiting
ea52c4761b7e: Waiting
03be1e070eeb: Waiting
f798253ebe14: Waiting
2db5a10201a7: Waiting
f3895902c1a3: Waiting
f6b0e422e43b: Waiting
25d98655cb78: Waiting
f107fb7f9fbd: Waiting
8a43d686e8c5: Waiting
8fbb5edd57bb: Waiting
78e58219b215: Verifying Checksum
78e58219b215: Download complete
0addb6fece63: Verifying Checksum
0addb6fece63: Download complete
eb6959a66df2: Verifying Checksum
eb6959a66df2: Download complete
18d680d61657: Verifying Checksum
18d680d61657: Download complete
2fd924012414: Verifying Checksum
2fd924012414: Download complete
6a8f951adce6: Verifying Checksum
6a8f951adce6: Download complete
65dccb09b586: Verifying Checksum
65dccb09b586: Download complete
bd3130db8f47: Verifying Checksum
bd3130db8f47: Download complete
4642571f60c1: Verifying Checksum
4642571f60c1: Download complete
18d680d61657: Pull complete
0addb6fece63: Pull complete
78e58219b215: Pull complete
eb6959a66df2: Pull complete
f6d2c82d4b4b: Verifying Checksum
f6d2c82d4b4b: Download complete
f798253ebe14: Verifying Checksum
f798253ebe14: Download complete
8a43d686e8c5: Verifying Checksum
8a43d686e8c5: Download complete
f6b0e422e43b: Verifying Checksum
f6b0e422e43b: Download complete
ea52c4761b7e: Verifying Checksum
ea52c4761b7e: Download complete
2fd924012414: Pull complete
8fbb5edd57bb: Verifying Checksum
8fbb5edd57bb: Download complete
f107fb7f9fbd: Download complete
89b8a3c0532b: Verifying Checksum
89b8a3c0532b: Download complete
03be1e070eeb: Verifying Checksum
03be1e070eeb: Download complete
2db5a10201a7: Verifying Checksum
2db5a10201a7: Download complete
1f9ba80702b8: Verifying Checksum
1f9ba80702b8: Download complete
f3895902c1a3: Verifying Checksum
f3895902c1a3: Download complete
25d98655cb78: Verifying Checksum
25d98655cb78: Download complete
572bf04060dc: Verifying Checksum
572bf04060dc: Download complete
f6d2c82d4b4b: Pull complete
6a8f951adce6: Pull complete
4642571f60c1: Pull complete
65dccb09b586: Pull complete
bd3130db8f47: Pull complete
ea52c4761b7e: Pull complete
f798253ebe14: Pull complete
f6b0e422e43b: Pull complete
8a43d686e8c5: Pull complete
8fbb5edd57bb: Pull complete
f107fb7f9fbd: Pull complete
1f9ba80702b8: Pull complete
89b8a3c0532b: Pull complete
572bf04060dc: Pull complete
03be1e070eeb: Pull complete
2db5a10201a7: Pull complete
f3895902c1a3: Pull complete
25d98655cb78: Pull complete
Digest: sha256:229601142daed005bf56fbaa21a02cf7aa0b261b57677d38306f8013e536de7a
Status: Downloaded newer image for googleapis/artman:latest
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/spanner-v1.
synthtool > Running generator for google/spanner/admin/database/artman_spanner_admin_database.yaml.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:229601142daed005bf56fbaa21a02cf7aa0b261b57677d38306f8013e536de7a
Status: Image is up to date for googleapis/artman:latest
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/spanner-admin-database-v1.
synthtool > Running generator for google/spanner/admin/instance/artman_spanner_admin_instance.yaml.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:229601142daed005bf56fbaa21a02cf7aa0b261b57677d38306f8013e536de7a
Status: Image is up to date for googleapis/artman:latest
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/spanner-admin-instance-v1.
.circleci/config.yml
.circleci/npm-install-retry.js
.eslintignore
.eslintrc.yml
.github/CONTRIBUTING.md
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.jsdoc.js
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node11/common.cfg
.kokoro/continuous/node11/test.cfg
.kokoro/continuous/node6/common.cfg
.kokoro/continuous/node6/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/docs.cfg
.kokoro/continuous/node8/lint.cfg
.kokoro/continuous/node8/samples-test.cfg
.kokoro/continuous/node8/system-test.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node11/common.cfg
.kokoro/presubmit/node11/test.cfg
.kokoro/presubmit/node6/common.cfg
.kokoro/presubmit/node6/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/docs.cfg
.kokoro/presubmit/node8/lint.cfg
.kokoro/presubmit/node8/samples-test.cfg
.kokoro/presubmit/node8/system-test.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.nycrc
CODE_OF_CONDUCT.md
codecov.yaml
synthtool > Replaced "(const SpannerClient = require\\('\\./spanner_client'\\);)" in src/v1/index.js.
synthtool > Replaced '(module\\.exports\\.SpannerClient = SpannerClient;)' in src/v1/index.js.
synthtool > Replaced '../../package.json' in src/v1/database_admin_client.js.
synthtool > Replaced '../../package.json' in src/v1/instance_admin_client.js.
synthtool > Replaced '../../package.json' in src/v1/spanner_client.js.
npm WARN deprecated text-encoding@0.6.4: no longer maintained
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.

> grpc@1.16.0 install /tmpfs/src/git/autosynth/working_repo/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using request for node-pre-gyp https download 
[grpc] Success: "/tmpfs/src/git/autosynth/working_repo/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote

> protobufjs@6.8.8 postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/protobufjs
> node scripts/postinstall


> @google-cloud/spanner@2.1.0 prepare /tmpfs/src/git/autosynth/working_repo
> npm run compile


> @google-cloud/spanner@2.1.0 compile /tmpfs/src/git/autosynth/working_repo
> tsc -p . && cp -r src/v1 build/src && cp -r protos build

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN gts@0.8.0 requires a peer of typescript@^2.7.1 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-jsx@5.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1236 packages from 1370 contributors and audited 7259 packages in 38.269s
found 0 vulnerabilities


> @google-cloud/spanner@2.1.0 fix /tmpfs/src/git/autosynth/working_repo
> gts fix && eslint --fix 'samples/*.js' 'samples/**/*.js'


/tmpfs/src/git/autosynth/working_repo/samples/batch.js
  26:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  62:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/crud.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   62:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  116:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  162:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  213:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/dml.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   72:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  116:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  159:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  204:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  255:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  307:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  358:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  465:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  500:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/indexing.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   66:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  114:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  171:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  224:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/quickstart.js
  20:27  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/schema.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   73:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  118:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/struct.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   83:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  136:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  226:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  275:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/timestamp.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   66:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  129:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  177:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  236:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  302:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/transaction.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  101:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/spanner.test.js
  20:27  error  "@google-cloud/spanner" is not found  node/no-missing-require

✖ 40 problems (40 errors, 0 warnings)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/spanner@2.1.0 fix: `gts fix && eslint --fix 'samples/*.js' 'samples/**/*.js'`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/spanner@2.1.0 fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2018-11-11T12_07_07_279Z-debug.log
synthtool > Cleaned up 2 temporary directories.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 11, 2018
@JustinBeckwith JustinBeckwith changed the title [CHANGE ME] Re-generated to pick up changes in the API or client library generator. chore(build): fix lint rules and build for generated code Nov 11, 2018
@JustinBeckwith JustinBeckwith merged commit 9babd3d into master Nov 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants