Add a monorepo (project references) support for via the --build flag #170
Annotations
3 errors and 1 notice
|
Run tests:
test/basic.test.js#L153
[Error [ERR_TEST_FAILURE]: Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build
src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: Error: Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build
src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.
at makeError (file:///home/runner/work/borp/borp/node_modules/execa/lib/error.js:60:11)
at handlePromise (file:///home/runner/work/borp/borp/node_modules/execa/index.js:124:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runWithTypeScript (file:///home/runner/work/borp/borp/lib/run.js:47:9)
at async TestContext.<anonymous> (file:///home/runner/work/borp/borp/test/basic.test.js:153:18)
at async Test.run (node:internal/test_runner/test:632:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
shortMessage: 'Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build',
command: 'node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build',
escapedCommand: 'node "/home/runner/work/borp/borp/node_modules/typescript/bin/tsc" --build',
exitCode: 2,
signal: undefined,
signalDescription: undefined,
stdout: "src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.",
stderr: '',
cwd: '/home/runner/work/borp/borp/fixtures/monorepo/package2',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
}
|
Run tests
The operation was canceled.
|
Run tests
Total Tests: 20
Suites π: 0
Passed β
: 19
Failed β: 1
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 21903.840ms
|
Loading