Nx
Enterprise
Nx
Sign in / Sign up
Open main menu
Nx
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
master
accaab01 fix(misc): use default import for chalk in @nx/workspace output.ts (#35523) ## Current Behavior `require('@nx/workspace')` throws a `TypeError` in 22.7.x, crashing any generator that imports from `@nx/workspace`: ``` TypeError: Cannot read properties of undefined (reading 'inverse') at new CLIOutput (.../node_modules/@nx/workspace/src/utils/output.js:14:38) ``` Fixes #35521 ## Root Cause PR #34111 (commit `732a08c`) added `esModuleInterop: true` to `tsconfig.base.json`. This caused `import * as chalk from 'chalk'` in `output.ts` to compile to `tslib.__importStar(require("chalk"))` instead of `require("chalk")` directly. `tslib.__importStar` only copies own enumerable properties — chalk v4 exposes `reset`, `bold`, `inverse`, etc. as **prototype getters** on the `Chalk` class, not own properties. After wrapping, `chalk.reset` is `undefined` → crash. ## Changes `packages/workspace/src/utils/output.ts` — change `import * as chalk from 'chalk'` to `import chalk from 'chalk'`. With `esModuleInterop: true`, the default import compiles to `__importDefault(require("chalk")).default` which returns the chalk instance directly with its prototype chain intact. ## How Has This Been Tested? Same fix applied previously for the identical root cause in: - #21201 (`@nx/eslint-plugin`) - #26667 (`@nx/angular`) Verified by simulating the compiled output in a minimal repro workspace — see #35521 for the reproduction script. ## Checklist - [ ] `nx affected:test` has been run - [x] My changes do not require a change to the documentation --------- Co-authored-by: Miroslav Jonaš <missing.manual@gmail.com> Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
by Jonathan G...
J
Failed
master
accaab01 fix(misc): use default import for chalk in @nx/workspace output.ts (#35523) ## Current Behavior `require('@nx/workspace')` throws a `TypeError` in 22.7.x, crashing any generator that imports from `@nx/workspace`: ``` TypeError: Cannot read properties of undefined (reading 'inverse') at new CLIOutput (.../node_modules/@nx/workspace/src/utils/output.js:14:38) ``` Fixes #35521 ## Root Cause PR #34111 (commit `732a08c`) added `esModuleInterop: true` to `tsconfig.base.json`. This caused `import * as chalk from 'chalk'` in `output.ts` to compile to `tslib.__importStar(require("chalk"))` instead of `require("chalk")` directly. `tslib.__importStar` only copies own enumerable properties — chalk v4 exposes `reset`, `bold`, `inverse`, etc. as **prototype getters** on the `Chalk` class, not own properties. After wrapping, `chalk.reset` is `undefined` → crash. ## Changes `packages/workspace/src/utils/output.ts` — change `import * as chalk from 'chalk'` to `import chalk from 'chalk'`. With `esModuleInterop: true`, the default import compiles to `__importDefault(require("chalk")).default` which returns the chalk instance directly with its prototype chain intact. ## How Has This Been Tested? Same fix applied previously for the identical root cause in: - #21201 (`@nx/eslint-plugin`) - #26667 (`@nx/angular`) Verified by simulating the compiled output in a minimal repro workspace — see #35521 for the reproduction script. ## Checklist - [ ] `nx affected:test` has been run - [x] My changes do not require a change to the documentation --------- Co-authored-by: Miroslav Jonaš <missing.manual@gmail.com> Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
by Jonathan G...
J
Failed
master
accaab01 fix(misc): use default import for chalk in @nx/workspace output.ts (#35523) ## Current Behavior `require('@nx/workspace')` throws a `TypeError` in 22.7.x, crashing any generator that imports from `@nx/workspace`: ``` TypeError: Cannot read properties of undefined (reading 'inverse') at new CLIOutput (.../node_modules/@nx/workspace/src/utils/output.js:14:38) ``` Fixes #35521 ## Root Cause PR #34111 (commit `732a08c`) added `esModuleInterop: true` to `tsconfig.base.json`. This caused `import * as chalk from 'chalk'` in `output.ts` to compile to `tslib.__importStar(require("chalk"))` instead of `require("chalk")` directly. `tslib.__importStar` only copies own enumerable properties — chalk v4 exposes `reset`, `bold`, `inverse`, etc. as **prototype getters** on the `Chalk` class, not own properties. After wrapping, `chalk.reset` is `undefined` → crash. ## Changes `packages/workspace/src/utils/output.ts` — change `import * as chalk from 'chalk'` to `import chalk from 'chalk'`. With `esModuleInterop: true`, the default import compiles to `__importDefault(require("chalk")).default` which returns the chalk instance directly with its prototype chain intact. ## How Has This Been Tested? Same fix applied previously for the identical root cause in: - #21201 (`@nx/eslint-plugin`) - #26667 (`@nx/angular`) Verified by simulating the compiled output in a minimal repro workspace — see #35521 for the reproduction script. ## Checklist - [ ] `nx affected:test` has been run - [x] My changes do not require a change to the documentation --------- Co-authored-by: Miroslav Jonaš <missing.manual@gmail.com> Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
by Jonathan G...
J
Succeeded
master
accaab01 fix(misc): use default import for chalk in @nx/workspace output.ts (#35523) ## Current Behavior `require('@nx/workspace')` throws a `TypeError` in 22.7.x, crashing any generator that imports from `@nx/workspace`: ``` TypeError: Cannot read properties of undefined (reading 'inverse') at new CLIOutput (.../node_modules/@nx/workspace/src/utils/output.js:14:38) ``` Fixes #35521 ## Root Cause PR #34111 (commit `732a08c`) added `esModuleInterop: true` to `tsconfig.base.json`. This caused `import * as chalk from 'chalk'` in `output.ts` to compile to `tslib.__importStar(require("chalk"))` instead of `require("chalk")` directly. `tslib.__importStar` only copies own enumerable properties — chalk v4 exposes `reset`, `bold`, `inverse`, etc. as **prototype getters** on the `Chalk` class, not own properties. After wrapping, `chalk.reset` is `undefined` → crash. ## Changes `packages/workspace/src/utils/output.ts` — change `import * as chalk from 'chalk'` to `import chalk from 'chalk'`. With `esModuleInterop: true`, the default import compiles to `__importDefault(require("chalk")).default` which returns the chalk instance directly with its prototype chain intact. ## How Has This Been Tested? Same fix applied previously for the identical root cause in: - #21201 (`@nx/eslint-plugin`) - #26667 (`@nx/angular`) Verified by simulating the compiled output in a minimal repro workspace — see #35521 for the reproduction script. ## Checklist - [ ] `nx affected:test` has been run - [x] My changes do not require a change to the documentation --------- Co-authored-by: Miroslav Jonaš <missing.manual@gmail.com> Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
by Jonathan G...
J
Succeeded
master
accaab01 fix(misc): use default import for chalk in @nx/workspace output.ts (#35523) ## Current Behavior `require('@nx/workspace')` throws a `TypeError` in 22.7.x, crashing any generator that imports from `@nx/workspace`: ``` TypeError: Cannot read properties of undefined (reading 'inverse') at new CLIOutput (.../node_modules/@nx/workspace/src/utils/output.js:14:38) ``` Fixes #35521 ## Root Cause PR #34111 (commit `732a08c`) added `esModuleInterop: true` to `tsconfig.base.json`. This caused `import * as chalk from 'chalk'` in `output.ts` to compile to `tslib.__importStar(require("chalk"))` instead of `require("chalk")` directly. `tslib.__importStar` only copies own enumerable properties — chalk v4 exposes `reset`, `bold`, `inverse`, etc. as **prototype getters** on the `Chalk` class, not own properties. After wrapping, `chalk.reset` is `undefined` → crash. ## Changes `packages/workspace/src/utils/output.ts` — change `import * as chalk from 'chalk'` to `import chalk from 'chalk'`. With `esModuleInterop: true`, the default import compiles to `__importDefault(require("chalk")).default` which returns the chalk instance directly with its prototype chain intact. ## How Has This Been Tested? Same fix applied previously for the identical root cause in: - #21201 (`@nx/eslint-plugin`) - #26667 (`@nx/angular`) Verified by simulating the compiled output in a minimal repro workspace — see #35521 for the reproduction script. ## Checklist - [ ] `nx affected:test` has been run - [x] My changes do not require a change to the documentation --------- Co-authored-by: Miroslav Jonaš <missing.manual@gmail.com> Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
by Jonathan G...
J
Succeeded
master
accaab01 fix(misc): use default import for chalk in @nx/workspace output.ts (#35523) ## Current Behavior `require('@nx/workspace')` throws a `TypeError` in 22.7.x, crashing any generator that imports from `@nx/workspace`: ``` TypeError: Cannot read properties of undefined (reading 'inverse') at new CLIOutput (.../node_modules/@nx/workspace/src/utils/output.js:14:38) ``` Fixes #35521 ## Root Cause PR #34111 (commit `732a08c`) added `esModuleInterop: true` to `tsconfig.base.json`. This caused `import * as chalk from 'chalk'` in `output.ts` to compile to `tslib.__importStar(require("chalk"))` instead of `require("chalk")` directly. `tslib.__importStar` only copies own enumerable properties — chalk v4 exposes `reset`, `bold`, `inverse`, etc. as **prototype getters** on the `Chalk` class, not own properties. After wrapping, `chalk.reset` is `undefined` → crash. ## Changes `packages/workspace/src/utils/output.ts` — change `import * as chalk from 'chalk'` to `import chalk from 'chalk'`. With `esModuleInterop: true`, the default import compiles to `__importDefault(require("chalk")).default` which returns the chalk instance directly with its prototype chain intact. ## How Has This Been Tested? Same fix applied previously for the identical root cause in: - #21201 (`@nx/eslint-plugin`) - #26667 (`@nx/angular`) Verified by simulating the compiled output in a minimal repro workspace — see #35521 for the reproduction script. ## Checklist - [ ] `nx affected:test` has been run - [x] My changes do not require a change to the documentation --------- Co-authored-by: Miroslav Jonaš <missing.manual@gmail.com> Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
by Jonathan G...
J
Succeeded
master
accaab01 fix(misc): use default import for chalk in @nx/workspace output.ts (#35523) ## Current Behavior `require('@nx/workspace')` throws a `TypeError` in 22.7.x, crashing any generator that imports from `@nx/workspace`: ``` TypeError: Cannot read properties of undefined (reading 'inverse') at new CLIOutput (.../node_modules/@nx/workspace/src/utils/output.js:14:38) ``` Fixes #35521 ## Root Cause PR #34111 (commit `732a08c`) added `esModuleInterop: true` to `tsconfig.base.json`. This caused `import * as chalk from 'chalk'` in `output.ts` to compile to `tslib.__importStar(require("chalk"))` instead of `require("chalk")` directly. `tslib.__importStar` only copies own enumerable properties — chalk v4 exposes `reset`, `bold`, `inverse`, etc. as **prototype getters** on the `Chalk` class, not own properties. After wrapping, `chalk.reset` is `undefined` → crash. ## Changes `packages/workspace/src/utils/output.ts` — change `import * as chalk from 'chalk'` to `import chalk from 'chalk'`. With `esModuleInterop: true`, the default import compiles to `__importDefault(require("chalk")).default` which returns the chalk instance directly with its prototype chain intact. ## How Has This Been Tested? Same fix applied previously for the identical root cause in: - #21201 (`@nx/eslint-plugin`) - #26667 (`@nx/angular`) Verified by simulating the compiled output in a minimal repro workspace — see #35521 for the reproduction script. ## Checklist - [ ] `nx affected:test` has been run - [x] My changes do not require a change to the documentation --------- Co-authored-by: Miroslav Jonaš <missing.manual@gmail.com> Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
by Jonathan G...
J
Succeeded
master
accaab01 fix(misc): use default import for chalk in @nx/workspace output.ts (#35523) ## Current Behavior `require('@nx/workspace')` throws a `TypeError` in 22.7.x, crashing any generator that imports from `@nx/workspace`: ``` TypeError: Cannot read properties of undefined (reading 'inverse') at new CLIOutput (.../node_modules/@nx/workspace/src/utils/output.js:14:38) ``` Fixes #35521 ## Root Cause PR #34111 (commit `732a08c`) added `esModuleInterop: true` to `tsconfig.base.json`. This caused `import * as chalk from 'chalk'` in `output.ts` to compile to `tslib.__importStar(require("chalk"))` instead of `require("chalk")` directly. `tslib.__importStar` only copies own enumerable properties — chalk v4 exposes `reset`, `bold`, `inverse`, etc. as **prototype getters** on the `Chalk` class, not own properties. After wrapping, `chalk.reset` is `undefined` → crash. ## Changes `packages/workspace/src/utils/output.ts` — change `import * as chalk from 'chalk'` to `import chalk from 'chalk'`. With `esModuleInterop: true`, the default import compiles to `__importDefault(require("chalk")).default` which returns the chalk instance directly with its prototype chain intact. ## How Has This Been Tested? Same fix applied previously for the identical root cause in: - #21201 (`@nx/eslint-plugin`) - #26667 (`@nx/angular`) Verified by simulating the compiled output in a minimal repro workspace — see #35521 for the reproduction script. ## Checklist - [ ] `nx affected:test` has been run - [x] My changes do not require a change to the documentation --------- Co-authored-by: Miroslav Jonaš <missing.manual@gmail.com> Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
by Jonathan G...
J
Succeeded
master
accaab01 fix(misc): use default import for chalk in @nx/workspace output.ts (#35523) ## Current Behavior `require('@nx/workspace')` throws a `TypeError` in 22.7.x, crashing any generator that imports from `@nx/workspace`: ``` TypeError: Cannot read properties of undefined (reading 'inverse') at new CLIOutput (.../node_modules/@nx/workspace/src/utils/output.js:14:38) ``` Fixes #35521 ## Root Cause PR #34111 (commit `732a08c`) added `esModuleInterop: true` to `tsconfig.base.json`. This caused `import * as chalk from 'chalk'` in `output.ts` to compile to `tslib.__importStar(require("chalk"))` instead of `require("chalk")` directly. `tslib.__importStar` only copies own enumerable properties — chalk v4 exposes `reset`, `bold`, `inverse`, etc. as **prototype getters** on the `Chalk` class, not own properties. After wrapping, `chalk.reset` is `undefined` → crash. ## Changes `packages/workspace/src/utils/output.ts` — change `import * as chalk from 'chalk'` to `import chalk from 'chalk'`. With `esModuleInterop: true`, the default import compiles to `__importDefault(require("chalk")).default` which returns the chalk instance directly with its prototype chain intact. ## How Has This Been Tested? Same fix applied previously for the identical root cause in: - #21201 (`@nx/eslint-plugin`) - #26667 (`@nx/angular`) Verified by simulating the compiled output in a minimal repro workspace — see #35521 for the reproduction script. ## Checklist - [ ] `nx affected:test` has been run - [x] My changes do not require a change to the documentation --------- Co-authored-by: Miroslav Jonaš <missing.manual@gmail.com> Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
by Jonathan G...
J
Succeeded
master
accaab01 fix(misc): use default import for chalk in @nx/workspace output.ts (#35523) ## Current Behavior `require('@nx/workspace')` throws a `TypeError` in 22.7.x, crashing any generator that imports from `@nx/workspace`: ``` TypeError: Cannot read properties of undefined (reading 'inverse') at new CLIOutput (.../node_modules/@nx/workspace/src/utils/output.js:14:38) ``` Fixes #35521 ## Root Cause PR #34111 (commit `732a08c`) added `esModuleInterop: true` to `tsconfig.base.json`. This caused `import * as chalk from 'chalk'` in `output.ts` to compile to `tslib.__importStar(require("chalk"))` instead of `require("chalk")` directly. `tslib.__importStar` only copies own enumerable properties — chalk v4 exposes `reset`, `bold`, `inverse`, etc. as **prototype getters** on the `Chalk` class, not own properties. After wrapping, `chalk.reset` is `undefined` → crash. ## Changes `packages/workspace/src/utils/output.ts` — change `import * as chalk from 'chalk'` to `import chalk from 'chalk'`. With `esModuleInterop: true`, the default import compiles to `__importDefault(require("chalk")).default` which returns the chalk instance directly with its prototype chain intact. ## How Has This Been Tested? Same fix applied previously for the identical root cause in: - #21201 (`@nx/eslint-plugin`) - #26667 (`@nx/angular`) Verified by simulating the compiled output in a minimal repro workspace — see #35521 for the reproduction script. ## Checklist - [ ] `nx affected:test` has been run - [x] My changes do not require a change to the documentation --------- Co-authored-by: Miroslav Jonaš <missing.manual@gmail.com> Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
by Jonathan G...
J
Previous page
Previous
Next
Next page