Skip to content

Commit

Permalink
Update user baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed May 7, 2020
1 parent 05d59a1 commit c76d9a9
Show file tree
Hide file tree
Showing 16 changed files with 304 additions and 206 deletions.
72 changes: 19 additions & 53 deletions tests/baselines/reference/docker/office-ui-fabric.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,62 +5,28 @@ Standard output:
@fluentui/ability-attributes: > @fluentui/[email protected] schema /office-ui-fabric-react/packages/fluentui/ability-attributes
@fluentui/ability-attributes: > allyschema -c "process.env.NODE_ENV !== 'production'" schema.json > ./src/schema.ts
@fluentui/ability-attributes: [XX:XX:XX] Requiring external module @uifabric/build/babel/register
@fluentui/ability-attributes: [XX:XX:XX] Using gulpfile /office-ui-fabric-react/packages/fluentui/ability-attributes/gulpfile.ts
@fluentui/ability-attributes: Done in ?s.
@fluentui/digest: yarn run vX.X.X
@fluentui/digest: $ just-scripts build
@fluentui/digest: [XX:XX:XX XM] ■ Running /office-ui-fabric-react/node_modules/typescript/lib/tsc.js with /office-ui-fabric-react/packages/fluentui/digest/tsconfig.json
@fluentui/digest: [XX:XX:XX XM] ■ Executing: /usr/local/bin/node "/office-ui-fabric-react/node_modules/typescript/lib/tsc.js" --module esnext --outDir lib --project "/office-ui-fabric-react/packages/fluentui/digest/tsconfig.json"
@fluentui/digest: [XX:XX:XX XM] ■ Running Webpack
@fluentui/digest: [XX:XX:XX XM] ■ Webpack Config Path: null
@fluentui/digest: [XX:XX:XX XM] ■ webpack.config.js not found, skipping webpack
@fluentui/digest: Done in ?s.
@fluentui/docs-components: yarn run vX.X.X
@fluentui/docs-components: $ gulp bundle:package:no-umd
@fluentui/docs-components: [XX:XX:XX] Requiring external module @uifabric/build/babel/register
@fluentui/docs-components: [XX:XX:XX] Using gulpfile /office-ui-fabric-react/packages/fluentui/docs-components/gulpfile.ts
@fluentui/docs-components: Done in ?s.
@uifabric/build: yarn run vX.X.X
@uifabric/build: $ node ./just-scripts.js no-op
@uifabric/build: Done in ?s.
@uifabric/example-data: yarn run vX.X.X
@uifabric/example-data: $ just-scripts build
@uifabric/example-data: [XX:XX:XX XM] ■ Removing [lib, temp, dist, lib-amd, lib-commonjs, lib-es2015, coverage, src/**/*.scss.ts]
@uifabric/example-data: [XX:XX:XX XM] ■ Running /office-ui-fabric-react/node_modules/typescript/lib/tsc.js with /office-ui-fabric-react/packages/example-data/tsconfig.json
@uifabric/example-data: [XX:XX:XX XM] ■ Executing: /usr/local/bin/node "/office-ui-fabric-react/node_modules/typescript/lib/tsc.js" --pretty --target es5 --outDir lib-commonjs --module commonjs --project "/office-ui-fabric-react/packages/example-data/tsconfig.json"
@uifabric/example-data: [XX:XX:XX XM] ■ Running /office-ui-fabric-react/node_modules/typescript/lib/tsc.js with /office-ui-fabric-react/packages/example-data/tsconfig.json
@uifabric/example-data: [XX:XX:XX XM] ■ Executing: /usr/local/bin/node "/office-ui-fabric-react/node_modules/typescript/lib/tsc.js" --pretty --target es5 --outDir lib --module esnext --project "/office-ui-fabric-react/packages/example-data/tsconfig.json"
@uifabric/example-data: [XX:XX:XX XM] ■ Extracting Public API surface from '/office-ui-fabric-react/packages/example-data/lib/index.d.ts'
@uifabric/example-data: Done in ?s.
@fluentui/keyboard-key: yarn run vX.X.X
@fluentui/keyboard-key: $ just-scripts build
@fluentui/keyboard-key: [XX:XX:XX XM] ■ Removing [lib, temp, dist, lib-amd, lib-commonjs, lib-es2015, coverage, src/**/*.scss.ts]
@fluentui/keyboard-key: [XX:XX:XX XM] ■ Running /office-ui-fabric-react/node_modules/typescript/lib/tsc.js with /office-ui-fabric-react/packages/keyboard-key/tsconfig.json
@fluentui/keyboard-key: [XX:XX:XX XM] ■ Executing: /usr/local/bin/node "/office-ui-fabric-react/node_modules/typescript/lib/tsc.js" --pretty --target es5 --outDir lib-commonjs --module commonjs --project "/office-ui-fabric-react/packages/keyboard-key/tsconfig.json"
@fluentui/keyboard-key: [XX:XX:XX XM] ■ Running /office-ui-fabric-react/node_modules/typescript/lib/tsc.js with /office-ui-fabric-react/packages/keyboard-key/tsconfig.json
@fluentui/keyboard-key: [XX:XX:XX XM] ■ Executing: /usr/local/bin/node "/office-ui-fabric-react/node_modules/typescript/lib/tsc.js" --pretty --target es5 --outDir lib --module esnext --project "/office-ui-fabric-react/packages/keyboard-key/tsconfig.json"
@fluentui/keyboard-key: [XX:XX:XX XM] ■ Extracting Public API surface from '/office-ui-fabric-react/packages/keyboard-key/lib/index.d.ts'
@fluentui/keyboard-key: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@fluentui/ability-attributes: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.



Standard error:
info cli using local version of lerna
@fluentui/ability-attributes: npm WARN lifecycle The node binary used for scripts is but npm is using /usr/local/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
@uifabric/example-data: [XX:XX:XX XM] ▲ One of these [node-sass, postcss, autoprefixer] is not installed, so this task has no effect
@fluentui/keyboard-key: [XX:XX:XX XM] ▲ One of these [node-sass, postcss, autoprefixer] is not installed, so this task has no effect
@fluentui/keyboard-key: Warning: You have changed the public API signature for this project. Please copy the file "temp/keyboard-key.api.md" to "etc/keyboard-key.api.md", or perform a local build (which does this automatically). See the Git repo documentation for more info.
@fluentui/keyboard-key: [XX:XX:XX XM] x Error detected while running 'api-extractor:verify'
@fluentui/keyboard-key: [XX:XX:XX XM] x ------------------------------------
@fluentui/keyboard-key: [XX:XX:XX XM] x Error: The public API file is out of date. Please run the API snapshot and commit the updated API file.
@fluentui/keyboard-key: at apiExtractorVerify (/office-ui-fabric-react/node_modules/just-scripts/src/tasks/apiExtractorTask.ts:73:13)
@fluentui/keyboard-key: at _wrapFunction (/office-ui-fabric-react/node_modules/just-task/lib/wrapTask.js:13:36)
@fluentui/keyboard-key: at api-extractor:verify (/office-ui-fabric-react/node_modules/undertaker/lib/set-task.js:13:15)
@fluentui/keyboard-key: at bound (domain.js:426:14)
@fluentui/keyboard-key: at runBound (domain.js:439:12)
@fluentui/keyboard-key: at asyncRunner (/office-ui-fabric-react/node_modules/async-done/index.js:55:18)
@fluentui/keyboard-key: at processTicksAndRejections (internal/process/task_queues.js:79:11)
@fluentui/keyboard-key: [XX:XX:XX XM] x ------------------------------------
@fluentui/keyboard-key: [XX:XX:XX XM] x Error previously detected. See above for error messages.
@fluentui/keyboard-key: error Command failed with exit code 1.
lerna ERR! yarn run build exited 1 in '@fluentui/keyboard-key'
@fluentui/ability-attributes: internal/modules/cjs/loader.js:491
@fluentui/ability-attributes: throw new ERR_PACKAGE_PATH_NOT_EXPORTED(basePath, mappingKey);
@fluentui/ability-attributes: ^
@fluentui/ability-attributes: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main resolved in /office-ui-fabric-react/node_modules/@babel/helper-compilation-targets/package.json
@fluentui/ability-attributes: at applyExports (internal/modules/cjs/loader.js:491:9)
@fluentui/ability-attributes: at resolveExports (internal/modules/cjs/loader.js:507:23)
@fluentui/ability-attributes: at Function.Module._findPath (internal/modules/cjs/loader.js:635:31)
@fluentui/ability-attributes: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1007:27)
@fluentui/ability-attributes: at Function.Module._load (internal/modules/cjs/loader.js:890:27)
@fluentui/ability-attributes: at Module.require (internal/modules/cjs/loader.js:1080:19)
@fluentui/ability-attributes: at require (internal/modules/cjs/helpers.js:72:18)
@fluentui/ability-attributes: at Object.<anonymous> (/office-ui-fabric-react/node_modules/@babel/preset-env/lib/debug.js:8:33)
@fluentui/ability-attributes: at Module._compile (internal/modules/cjs/loader.js:1176:30)
@fluentui/ability-attributes: at Module._compile (/office-ui-fabric-react/node_modules/pirates/lib/index.js:99:24) {
@fluentui/ability-attributes: code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
@fluentui/ability-attributes: }
@fluentui/ability-attributes: error Command failed with exit code 1.
lerna ERR! yarn run build exited 1 in '@fluentui/ability-attributes'
37 changes: 21 additions & 16 deletions tests/baselines/reference/docker/vue-next.log
Original file line number Diff line number Diff line change
@@ -1,32 +1,37 @@
Exit Code: 0
Standard output:

> @X.X.X-beta.3 build /vue-next
> @X.X.X-beta.9 build /vue-next
> node scripts/build.js "--types"
Rolling up type definitions for compiler-core...
Writing: /vue-next/temp/compiler-core.api.json
The API report is up to date: temp/compiler-core.api.md
Writing package typings: /vue-next/packages/compiler-core/dist/compiler-core.d.ts
Writing package typings: /vue-next/dist/compiler-core.d.ts
API Extractor completed successfully.
Rolling up type definitions for compiler-dom...
Writing: /vue-next/temp/compiler-dom.api.json
The API report is up to date: temp/compiler-dom.api.md
Writing package typings: /vue-next/packages/compiler-dom/dist/compiler-dom.d.ts
Writing package typings: /vue-next/dist/compiler-dom.d.ts
API Extractor completed successfully.
Rolling up type definitions for compiler-sfc...
Writing: /vue-next/temp/compiler-sfc.api.json
The API report is up to date: temp/compiler-sfc.api.md
Writing package typings: /vue-next/packages/compiler-sfc/dist/compiler-sfc.d.ts
Writing package typings: /vue-next/dist/compiler-sfc.d.ts
API Extractor completed successfully.
Rolling up type definitions for compiler-ssr...
Writing: /vue-next/temp/compiler-ssr.api.json
The API report is up to date: temp/compiler-ssr.api.md
Writing package typings: /vue-next/packages/compiler-ssr/dist/compiler-ssr.d.ts
Writing package typings: /vue-next/dist/compiler-ssr.d.ts
API Extractor completed successfully.
Rolling up type definitions for reactivity...
Writing: /vue-next/temp/reactivity.api.json
The API report is up to date: temp/reactivity.api.md
Writing package typings: /vue-next/packages/reactivity/dist/reactivity.d.ts
Writing package typings: /vue-next/dist/reactivity.d.ts
API Extractor completed successfully.


Expand Down Expand Up @@ -54,10 +59,11 @@ created packages/compiler-dom/dist/compiler-dom.cjs.prod.js in ?s
/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.global.prod.js...
created packages/compiler-dom/dist/compiler-dom.global.prod.js in ?s
/vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.cjs.js...
(!) Unresolved dependencies
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
url (imported by packages/compiler-sfc/src/templateUtils.ts)
created packages/compiler-sfc/dist/compiler-sfc.cjs.js in ?s
/vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.global.js...
created packages/compiler-sfc/dist/compiler-sfc.global.js in ?s
/vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.esm-browser.js...
created packages/compiler-sfc/dist/compiler-sfc.esm-browser.js in ?s
/vue-next/packages/compiler-ssr/src/index.ts → packages/compiler-ssr/dist/compiler-ssr.cjs.js...
created packages/compiler-ssr/dist/compiler-ssr.cjs.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-bundler.js...
Expand All @@ -75,27 +81,26 @@ created packages/reactivity/dist/reactivity.cjs.prod.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.global.prod.js...
created packages/reactivity/dist/reactivity.global.prod.js in ?s
/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.esm-bundler.js...
[!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/componentOptions.ts(182,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
Type 'Function' provides no match for the signature '(...args: any): any'.
packages/runtime-core/src/componentOptions.ts
Error: /vue-next/packages/runtime-core/src/componentOptions.ts(182,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
Type 'Function' provides no match for the signature '(...args: any): any'.
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:160:30)
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:16838:12)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17857:24)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17011:38)
[!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS2360: The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.
packages/runtime-core/src/apiInject.ts
Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS2360: The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:161:30)
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:16904:12)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17923:24)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17077:38)
at RollupContext.error (/vue-next/node_modules/rollup-plugin-typescript2/src/rollupcontext.ts:37:18)
at /vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:41:11
at arrayEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:516:11)
at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14)
at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2)
at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:242:5)
(node:18) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:2acf3e8,NODE_ENV:production,TARGET:runtime-core,TYPES:true
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:94bf916,NODE_ENV:production,TARGET:runtime-core,TYPES:true
at makeError (/vue-next/node_modules/execa/lib/error.js:59:11)
at handlePromise (/vue-next/node_modules/execa/index.js:112:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async build (/vue-next/scripts/build.js:71:3)
at async buildAll (/vue-next/scripts/build.js:50:5)
at async run (/vue-next/scripts/build.js:40:5)
(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
19 changes: 18 additions & 1 deletion tests/baselines/reference/docker/xterm.js.log
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
Exit Code: 0
Exit Code: 2
Standard output:

> [email protected] build /xtermjs
> tsc -b ./tsconfig.all.json
addons/xterm-addon-ligatures/src/font.ts(6,29): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/font.ts(7,32): error TS2307: Cannot find module 'font-ligatures' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/index.ts(7,22): error TS2307: Cannot find module 'font-ligatures' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/index.ts(75,14): error TS2347: Untyped function calls may not accept type arguments.
addons/xterm-addon-ligatures/src/index.ts(76,9): error TS7006: Parameter 'range' implicitly has an 'any' type.
addons/xterm-addon-ligatures/src/index.test.ts(7,24): error TS2307: Cannot find module 'sinon' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/index.test.ts(9,29): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/index.test.ts(10,32): error TS2307: Cannot find module 'font-ligatures' or its corresponding type declarations.



Standard error:
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `tsc -b ./tsconfig.all.json`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build 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! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log
3 changes: 3 additions & 0 deletions tests/baselines/reference/user/acorn.log
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@ node_modules/acorn/dist/acorn.js(5299,5): error TS2339: Property 'nextToken' doe
node_modules/acorn/dist/acorn.js(5300,12): error TS2339: Property 'parseExpression' does not exist on type 'Parser'.
node_modules/acorn/dist/acorn.js(5307,10): error TS2554: Expected 3 arguments, but got 2.
node_modules/acorn/dist/acorn_loose.es.js(45,12): error TS2554: Expected 3 arguments, but got 2.
node_modules/acorn/dist/acorn_loose.es.js(64,7): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(64,23): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(66,7): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(73,9): error TS2339: Property 'name' does not exist on type 'Node'.
node_modules/acorn/dist/acorn_loose.es.js(79,9): error TS2339: Property 'value' does not exist on type 'Node'.
node_modules/acorn/dist/acorn_loose.es.js(79,23): error TS2339: Property 'raw' does not exist on type 'Node'.
Expand Down
1 change: 1 addition & 0 deletions tests/baselines/reference/user/adonis-framework.log
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ node_modules/adonis-framework/src/Helpers/index.js(256,45): error TS2345: Argume
Type 'undefined' is not assignable to type 'string'.
node_modules/adonis-framework/src/Helpers/index.js(330,23): error TS2532: Object is possibly 'undefined'.
node_modules/adonis-framework/src/Middleware/index.js(13,21): error TS2307: Cannot find module 'adonis-fold' or its corresponding type declarations.
node_modules/adonis-framework/src/Middleware/index.js(87,38): error TS1016: A required parameter cannot follow an optional parameter.
node_modules/adonis-framework/src/Middleware/index.js(230,20): error TS8024: JSDoc '@param' tag has name 'Middleware', but there is no parameter with that name.
node_modules/adonis-framework/src/Request/index.js(64,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(66,15): error TS2304: Cannot find name 'Mixed'.
Expand Down
Loading

0 comments on commit c76d9a9

Please sign in to comment.