Skip to content

feat(keys): Add keys to compatibility layer #2447

feat(keys): Add keys to compatibility layer

feat(keys): Add keys to compatibility layer #2447

Triggered via pull request December 1, 2024 12:53
Status Failure
Total duration 2m 16s
Artifacts

codecov.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
codecov
Cannot find module '../_internal/arrayLikeKeys.ts' or its corresponding type declarations.
codecov
Cannot find module '../_internal/arrayLikeKeys.ts' or its corresponding type declarations.
codecov
Cannot find module '../_internal/arrayLikeKeys.ts' or its corresponding type declarations.
codecov
Cannot find module '../_internal/arrayLikeKeys.ts' or its corresponding type declarations.
tests/check-dist.spec.ts > es-toolkit's package tarball > configures all entrypoints correctly: tests/utils/createPackageTarball.ts#L12
ExecaError: Command failed with exit code 1: yarn pack --out /tmp/.es-toolkit/package.tgz ➤ YN0036: Calling the "prepack" lifecycle script ➤ YN0000: es-toolkit@workspace:. STDERR ➤ YN0000: es-toolkit@workspace:. STDERR /home/runner/work/es-toolkit/es-toolkit/src/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/array/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/compat/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/function/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/math/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/object/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/predicate/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/promise/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/string/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/util/index.ts → dist... ➤ YN0000: es-toolkit@workspace:. STDERR (!) [plugin typescript] @rollup/plugin-typescript TS5096: Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set. ➤ YN0000: es-toolkit@workspace:. STDERR created dist in 5.4s ➤ YN0000: es-toolkit@workspace:. STDERR ➤ YN0000: es-toolkit@workspace:. STDERR /home/runner/work/es-toolkit/es-toolkit/src/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/array/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/compat/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/function/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/math/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/object/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/predicate/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/promise/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/string/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/util/index.ts → dist... ➤ YN0000: es-toolkit@workspace:. STDERR (!) [plugin typescript] @rollup/plugin-typescript TS5096: Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set. ➤ YN0000: es-toolkit@workspace:. STDERR created dist in 3.9s ➤ YN0000: es-toolkit@workspace:. STDERR ➤ YN0000: es-toolkit@workspace:. STDERR /home/runner/work/es-toolkit/es-toolkit/src/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/array/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/compat/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/function/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/math/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/object/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/predicate/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/promise/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/string/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/util/index.ts → dist, dist... ➤ YN0000: es-toolkit@workspace:. STDERR src/compat/object/keys.ts(2,31): error TS2307: Cannot find module '../_internal/arrayLikeKeys.ts' or its corresponding type declarations. ➤ YN0000: es-toolkit@workspace:. STDERR ➤ YN0000: es-toolkit@workspace:. STDERR [!] (plugin dts) RollupError: [plugin dts] src/compat/object/keys.ts: Failed to compile. Check the logs above. ➤ YN0000: es-toolkit@workspace:. STDERR src/compat/object/keys.ts ➤ YN0000: es-toolkit@workspace:. STDERR at getRollupError (/home/runner/.yarn/berry/cache/rollup-npm-4.19.0-bbdb3a5c42-10c0.zip/node_modules/rollup/dist/shared/parseAst.js:282:41) ➤ YN0000: es-toolkit@workspace:. STDERR at Object.error (/home/runner/.yarn/berry/cache/rollup-npm-4.19.0-bbdb3a5c42-10c0.zip/node_modules/rollup/dist/shared/parseAst.js:278:42) ➤ YN0000: es-toolkit@workspace:. STDERR at Object.error (/home/runner/.yarn/berry/cache/rollup-npm-4.19.0-bbdb3a5c42-10c0.zip/node_modules/rollup/dist/shared/rollup.js:804:32) ➤ YN0000: es-toolkit@workspace:. STDERR at Object.error (/home/runner/.yarn/berry/cache/rollup-npm-4.19.0-bbdb3a5c42-10c0.zip/node_modules/rollup/dist/shared/rollup.js:19824:42) ➤ YN0000: es-toolkit@workspace:. STDERR at generateDtsFromTs (file:///home/runner/work/es-toolkit/es-toolkit/.yarn/__virtual__/rollup-plugin-dts-virtual-12c9ccaf96/4/.y
tests/check-dist.spec.ts > es-toolkit's package tarball > exports identical functions in CJS and ESM: tests/utils/createPackageTarball.ts#L12
ExecaError: Command failed with exit code 1: yarn pack --out /tmp/.es-toolkit/package.tgz ➤ YN0036: Calling the "prepack" lifecycle script ➤ YN0000: es-toolkit@workspace:. STDOUT cleared: dist ➤ YN0000: es-toolkit@workspace:. STDERR ➤ YN0000: es-toolkit@workspace:. STDERR /home/runner/work/es-toolkit/es-toolkit/src/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/array/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/compat/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/function/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/math/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/object/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/predicate/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/promise/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/string/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/util/index.ts → dist... ➤ YN0000: es-toolkit@workspace:. STDERR (!) [plugin typescript] @rollup/plugin-typescript TS5096: Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set. ➤ YN0000: es-toolkit@workspace:. STDERR created dist in 5.2s ➤ YN0000: es-toolkit@workspace:. STDERR ➤ YN0000: es-toolkit@workspace:. STDERR /home/runner/work/es-toolkit/es-toolkit/src/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/array/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/compat/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/function/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/math/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/object/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/predicate/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/promise/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/string/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/util/index.ts → dist... ➤ YN0000: es-toolkit@workspace:. STDERR (!) [plugin typescript] @rollup/plugin-typescript TS5096: Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set. ➤ YN0000: es-toolkit@workspace:. STDERR created dist in 3.9s ➤ YN0000: es-toolkit@workspace:. STDERR ➤ YN0000: es-toolkit@workspace:. STDERR /home/runner/work/es-toolkit/es-toolkit/src/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/array/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/compat/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/function/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/math/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/object/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/predicate/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/promise/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/string/index.ts, /home/runner/work/es-toolkit/es-toolkit/src/util/index.ts → dist, dist... ➤ YN0000: es-toolkit@workspace:. STDERR src/compat/object/keys.ts(2,31): error TS2307: Cannot find module '../_internal/arrayLikeKeys.ts' or its corresponding type declarations. ➤ YN0000: es-toolkit@workspace:. STDERR ➤ YN0000: es-toolkit@workspace:. STDERR [!] (plugin dts) RollupError: [plugin dts] src/compat/object/keys.ts: Failed to compile. Check the logs above. ➤ YN0000: es-toolkit@workspace:. STDERR src/compat/object/keys.ts ➤ YN0000: es-toolkit@workspace:. STDERR at getRollupError (/home/runner/.yarn/berry/cache/rollup-npm-4.19.0-bbdb3a5c42-10c0.zip/node_modules/rollup/dist/shared/parseAst.js:282:41) ➤ YN0000: es-toolkit@workspace:. STDERR at Object.error (/home/runner/.yarn/berry/cache/rollup-npm-4.19.0-bbdb3a5c42-10c0.zip/node_modules/rollup/dist/shared/parseAst.js:278:42) ➤ YN0000: es-toolkit@workspace:. STDERR at Object.error (/home/runner/.yarn/berry/cache/rollup-npm-4.19.0-bbdb3a5c42-10c0.zip/node_modules/rollup/dist/shared/rollup.js:804:32) ➤ YN0000: es-toolkit@workspace:. STDERR at Object.error (/home/runner/.yarn/berry/cache/rollup-npm-4.19.0-bbdb3a5c42-10c0.zip/node_modules/rollup/dist/shared/rollup.js:19824:42) ➤ YN0000: es-toolkit@workspace:. STDERR at generateDtsFromTs (file:///home/runner/work/es-toolkit/es-toolkit/.yarn
codecov
Process completed with exit code 1.