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

fix(code-service): include grpc-js in bundle #406

Merged
merged 1 commit into from
Aug 22, 2024

fix(code-service): include grpc-js in bundle

389568d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix(code-service): include grpc-js in bundle #406

fix(code-service): include grpc-js in bundle
389568d
Select commit
Loading
Failed to load commit list.
GitHub Actions / Lint failed Aug 22, 2024 in 0s

Errors 292, Warnings 17

Found 292 errors and 17 warnings

Annotations

Check failure on line 8 in code/code-format-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
   5 | import json from '@rollup/plugin-json'
   6 | import esbuild from 'rollup-plugin-esbuild'
>  7 | import { brotliCompressSync } from 'node:zlib'
     |          ^
   8 |
   9 | const wrapOutput = () => ({
  10 |   name: 'wrap-output',

Check failure on line 8 in code/code-format-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
   5 | import json from '@rollup/plugin-json'
   6 | import esbuild from 'rollup-plugin-esbuild'
>  7 | import { brotliCompressSync } from 'node:zlib'
     |          ^
   8 |
   9 | const wrapOutput = () => ({
  10 |   name: 'wrap-output',

Check failure on line 18 in code/code-format-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  15 |     const outputBundle = bundle[bundles[0]]
  16 |
> 17 |     outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n  if (typeof hook === \`undefined\`)\n    hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
     |                                                                                                                                                                                                                                                ^
  18 |       outputBundle.code.replace(/\r\n/g, '\n')
  19 |     ).toString('base64')}', 'base64')).toString();\n\n  return hook;\n};\n`
  20 |   },

Check failure on line 8 in code/code-icons-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
   5 | import json from '@rollup/plugin-json'
   6 | import esbuild from 'rollup-plugin-esbuild'
>  7 | import { brotliCompressSync } from 'node:zlib'
     |          ^
   8 |
   9 | const wrapOutput = () => ({
  10 |   name: 'wrap-output',

Check failure on line 8 in code/code-icons-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
   5 | import json from '@rollup/plugin-json'
   6 | import esbuild from 'rollup-plugin-esbuild'
>  7 | import { brotliCompressSync } from 'node:zlib'
     |          ^
   8 |
   9 | const wrapOutput = () => ({
  10 |   name: 'wrap-output',

Check failure on line 18 in code/code-icons-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  15 |     const outputBundle = bundle[bundles[0]]
  16 |
> 17 |     outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n  if (typeof hook === \`undefined\`)\n    hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
     |                                                                                                                                                                                                                                                ^
  18 |       outputBundle.code.replace(/\r\n/g, '\n')
  19 |     ).toString('base64')}', 'base64')).toString();\n\n  return hook;\n};\n`
  20 |   },

Check failure on line 7 in code/code-lint-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  4 | import json from '@rollup/plugin-json'
  5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
    |          ^
  7 | import { fileURLToPath } from 'node:url'
  8 |
  9 | const wrapOutput = () => ({

Check failure on line 7 in code/code-lint-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  4 | import json from '@rollup/plugin-json'
  5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
    |          ^
  7 | import { fileURLToPath } from 'node:url'
  8 |
  9 | const wrapOutput = () => ({

Check failure on line 18 in code/code-lint-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  15 |     const outputBundle = bundle[bundles[0]]
  16 |
> 17 |     outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n  if (typeof hook === \`undefined\`)\n    hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
     |                                                                                                                                                                                                                                                ^
  18 |       outputBundle.code.replace(/\r\n/g, '\n')
  19 |     ).toString('base64')}', 'base64')).toString();\n\n  return hook;\n};\n`
  20 |   },

Check failure on line 8 in code/code-schematics-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
   5 | import json from '@rollup/plugin-json'
   6 | import esbuild from 'rollup-plugin-esbuild'
>  7 | import { brotliCompressSync } from 'node:zlib'
     |          ^
   8 | import replace from '@rollup/plugin-replace'
   9 |
  10 | const wrapOutput = () => ({

Check failure on line 8 in code/code-schematics-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
   5 | import json from '@rollup/plugin-json'
   6 | import esbuild from 'rollup-plugin-esbuild'
>  7 | import { brotliCompressSync } from 'node:zlib'
     |          ^
   8 | import replace from '@rollup/plugin-replace'
   9 |
  10 | const wrapOutput = () => ({

Check failure on line 19 in code/code-schematics-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  16 |     const outputBundle = bundle[bundles[0]]
  17 |
> 18 |     outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n  if (typeof hook === \`undefined\`)\n    hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
     |                                                                                                                                                                                                                                                ^
  19 |       outputBundle.code.replace(/\r\n/g, '\n')
  20 |     ).toString('base64')}', 'base64')).toString();\n\n  return hook;\n};\n`
  21 |   },

Check failure on line 8 in code/code-service-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
   5 | import json from '@rollup/plugin-json'
   6 | import esbuild from 'rollup-plugin-esbuild'
>  7 | import { brotliCompressSync } from 'node:zlib'
     |          ^
   8 |
   9 | const wrapOutput = () => ({
  10 |   name: 'wrap-output',

Check failure on line 8 in code/code-service-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
   5 | import json from '@rollup/plugin-json'
   6 | import esbuild from 'rollup-plugin-esbuild'
>  7 | import { brotliCompressSync } from 'node:zlib'
     |          ^
   8 |
   9 | const wrapOutput = () => ({
  10 |   name: 'wrap-output',

Check failure on line 18 in code/code-service-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  15 |     const outputBundle = bundle[bundles[0]]
  16 |
> 17 |     outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n  if (typeof hook === \`undefined\`)\n    hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
     |                                                                                                                                                                                                                                                ^
  18 |       outputBundle.code.replace(/\r\n/g, '\n')
  19 |     ).toString('base64')}', 'base64')).toString();\n\n  return hook;\n};\n`
  20 |   },

Check failure on line 8 in code/code-test-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
   5 | import json from '@rollup/plugin-json'
   6 | import esbuild from 'rollup-plugin-esbuild'
>  7 | import { brotliCompressSync } from 'node:zlib'
     |          ^
   8 |
   9 | const wrapOutput = () => ({
  10 |   name: 'wrap-output',

Check failure on line 8 in code/code-test-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
   5 | import json from '@rollup/plugin-json'
   6 | import esbuild from 'rollup-plugin-esbuild'
>  7 | import { brotliCompressSync } from 'node:zlib'
     |          ^
   8 |
   9 | const wrapOutput = () => ({
  10 |   name: 'wrap-output',

Check failure on line 18 in code/code-test-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  15 |     const outputBundle = bundle[bundles[0]]
  16 |
> 17 |     outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n  if (typeof hook === \`undefined\`)\n    hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
     |                                                                                                                                                                                                                                                ^
  18 |       outputBundle.code.replace(/\r\n/g, '\n')
  19 |     ).toString('base64')}', 'base64')).toString();\n\n  return hook;\n};\n`
  20 |   },

Check failure on line 7 in code/code-typescript-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  4 | import json from '@rollup/plugin-json'
  5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
    |          ^
  7 | import { fileURLToPath } from 'node:url'
  8 |
  9 | const wrapOutput = () => ({

Check failure on line 7 in code/code-typescript-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  4 | import json from '@rollup/plugin-json'
  5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
    |          ^
  7 | import { fileURLToPath } from 'node:url'
  8 |
  9 | const wrapOutput = () => ({

Check failure on line 18 in code/code-typescript-worker/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  15 |     const outputBundle = bundle[bundles[0]]
  16 |
> 17 |     outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n  if (typeof hook === \`undefined\`)\n    hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
     |                                                                                                                                                                                                                                                ^
  18 |       outputBundle.code.replace(/\r\n/g, '\n')
  19 |     ).toString('base64')}', 'base64')).toString();\n\n  return hook;\n};\n`
  20 |   },

Check failure on line 7 in yarn/plugin-pnp-patch/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  4 | import { join } from 'node:path'
  5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
    |          ^
  7 |
  8 | const wrapOutput = () => ({
  9 |   name: 'wrap-output',

Check failure on line 7 in yarn/plugin-pnp-patch/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  4 | import { join } from 'node:path'
  5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
    |          ^
  7 |
  8 | const wrapOutput = () => ({
  9 |   name: 'wrap-output',

Check failure on line 17 in yarn/plugin-pnp-patch/rollup.config.mjs

See this annotation in the file changed.

@github-actions github-actions / Lint

(n/no-sync): Unexpected sync method: 'brotliCompressSync'.

Unexpected sync method: 'brotliCompressSync'.
Raw output
  14 |     const outputBundle = bundle[bundles[0]]
  15 |
> 16 |     outputBundle.code = `import { brotliDecompressSync } from 'zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n  if (typeof hook === \`undefined\`)\n    hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
     |                                                                                                                                                                                                                                           ^
  17 |       outputBundle.code.replace(/\r\n/g, '\n')
  18 |     ).toString('base64')}', 'base64')).toString();\n\n  return hook;\n};\n`
  19 |   },

Check failure on line 8 in cli/cli-ui-log-record-component/src/log-message.component.tsx

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/explicit-function-return-type): Missing return type on function.

Missing return type on function.
Raw output
   5 | import React         from 'react'
   6 |
>  7 | const getMessage = (body: Body) => {
     |                                 ^
   8 |   if (typeof body === 'string') {
   9 |     return body
  10 |   }