chore(deps): update vitest dependencies #284
Annotations
10 errors and 3 warnings
tests/edit-on-create.e2e.test.ts > Edit new Adrs on creation > should open a new ADR in the VISUAL:
tests/edit-on-create.e2e.test.ts#L29
Error: Command failed: VISUAL="/home/runner/work/adr-tools/adr-tools/tests/fake-visual" npx ts-node --esm /home/runner/work/adr-tools/adr-tools/src/index.ts new Example ADR
npm WARN exec The following package was not found and will be installed: [email protected]
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/adr-tools/adr-tools/src/index.ts
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:136:11)
at defaultGetFormat (node:internal/modules/esm/get_format:182:36)
at defaultLoad (node:internal/modules/esm/load:101:20)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at load (/home/runner/.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at Hooks.load (node:internal/modules/esm/hooks:447:26)
at MessagePort.handleMessage (node:internal/modules/esm/worker:196:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ load ../../../.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122
❯ tests/edit-on-create.e2e.test.ts:29:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [] }, { type: 'Buffer', data: [ 110, 112, 109, 32, 87, 65, 82, 78, 32, 101, 120, 101, 99, 32, 84, 104, 101, 32, 102, 111, 108, 108, 111, 119, 105, 110, 103, 32, 112, 97, 99, 107, 97, 103, 101, 32, 119, 97, 115, 32, 110, 111, 116, 32, 102, 111, 117, 110, 100, 32, 97, 110, 100, 32, 119, 105, 108, 108, 32, 98, 101, 32, 105, 110, 115, 116, 97, 108, 108, 101, 100, 58, 32, 116, 115, 45, 110, 111, 100, 101, 64, 49, 48, 46, 57, 46, 50, 10, 84, 121, 112, 101, 69, 114, 114, 111, 114, 32, 91, 69, 82, 82, 95, 85, 78, 75, 78, 79, 87, 78, 95, 70, 73, 76, 69, 95, 69, 88, 84, 69, 78, 83, 73, 79, 78, 93, 58, 32, 85, 110, 107, 110, 111, 119, 110, 32, 102, 105, 108, 101, 32, 101, 120, 116, 101, 110, 115, 105, 111, 110, 32, 34, 46, 116, 115, 34, 32, 102, 111, 114, 32, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 115, 114, 99, 47, 105, 110, 100, 101, 120, 46, 116, 115, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 119, 32, 78, 111, 100, 101, 69, 114, 114, 111, 114, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 114, 114, 111, 114, 115, 58, 52, 48, 53, 58, 53, 41, 10, 32, 32, 32, 32, 97, 116, 32, 79, 98, 106, 101, 99, 116, 46, 103, 101, 116, 70, 105, 108, 101, 80, 114, 111, 116, 111, 99, 111, 108, 77, 111, 100, 117, 108, 101, 70, 111, 114, 109, 97, 116, 32, 91, 97, 115, 32, 102, 105, 108, 101, 58, 93, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 51, 54, 58, 49, 49, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 71, 101, 116, 70, 111, 114, 109, 97, 116, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 56, 50, 58, 51, 54, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 108, 111, 97, 100, 58, 49, 48, 49, 58, 50, 48, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54, 52, 58, 50, 56, 41, 10, 32, 32, 32, 32, 97, 116, 32, 108, 111, 97, 100, 32, 40, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 46, 110, 112, 109, 47, 95, 110, 112, 120, 47,
|
tests/edit-on-create.e2e.test.ts > Edit new Adrs on creation > should open a new ADR in the EDITOR:
tests/edit-on-create.e2e.test.ts#L37
Error: Command failed: EDITOR="/home/runner/work/adr-tools/adr-tools/tests/fake-editor" npx ts-node --esm /home/runner/work/adr-tools/adr-tools/src/index.ts new Example ADR
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/adr-tools/adr-tools/src/index.ts
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:136:11)
at defaultGetFormat (node:internal/modules/esm/get_format:182:36)
at defaultLoad (node:internal/modules/esm/load:101:20)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at load (/home/runner/.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at Hooks.load (node:internal/modules/esm/hooks:447:26)
at MessagePort.handleMessage (node:internal/modules/esm/worker:196:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ load ../../../.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122
❯ tests/edit-on-create.e2e.test.ts:37:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [] }, { type: 'Buffer', data: [ 84, 121, 112, 101, 69, 114, 114, 111, 114, 32, 91, 69, 82, 82, 95, 85, 78, 75, 78, 79, 87, 78, 95, 70, 73, 76, 69, 95, 69, 88, 84, 69, 78, 83, 73, 79, 78, 93, 58, 32, 85, 110, 107, 110, 111, 119, 110, 32, 102, 105, 108, 101, 32, 101, 120, 116, 101, 110, 115, 105, 111, 110, 32, 34, 46, 116, 115, 34, 32, 102, 111, 114, 32, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 115, 114, 99, 47, 105, 110, 100, 101, 120, 46, 116, 115, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 119, 32, 78, 111, 100, 101, 69, 114, 114, 111, 114, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 114, 114, 111, 114, 115, 58, 52, 48, 53, 58, 53, 41, 10, 32, 32, 32, 32, 97, 116, 32, 79, 98, 106, 101, 99, 116, 46, 103, 101, 116, 70, 105, 108, 101, 80, 114, 111, 116, 111, 99, 111, 108, 77, 111, 100, 117, 108, 101, 70, 111, 114, 109, 97, 116, 32, 91, 97, 115, 32, 102, 105, 108, 101, 58, 93, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 51, 54, 58, 49, 49, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 71, 101, 116, 70, 111, 114, 109, 97, 116, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 56, 50, 58, 51, 54, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 108, 111, 97, 100, 58, 49, 48, 49, 58, 50, 48, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54, 52, 58, 50, 56, 41, 10, 32, 32, 32, 32, 97, 116, 32, 108, 111, 97, 100, 32, 40, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 46, 110, 112, 109, 47, 95, 110, 112, 120, 47, 49, 98, 102, 55, 99, 51, 99, 49, 53, 98, 102, 52, 55, 100, 48, 52, 47, 110, 111, 100, 101, 95, 109, 111, 100, 117, 108, 101, 115, 47, 116, 115, 45, 110, 111, 100, 101, 47, 100, 105, 115, 116, 47, 99, 104, 105, 108, 100, 47, 99, 104, 105, 108, 100, 45, 108, 111, 97, 100, 101, 114, 46, 106, 115, 58, 49, 57, 58, 49, 50, 50, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117,
|
tests/edit-on-create.e2e.test.ts > Edit new Adrs on creation > should open a new ADR in the VISUAL if both VISUAL and EDITOR is supplied:
tests/edit-on-create.e2e.test.ts#L45
Error: Command failed: EDITOR="/home/runner/work/adr-tools/adr-tools/tests/fake-editor" VISUAL="/home/runner/work/adr-tools/adr-tools/tests/fake-visual" npx ts-node --esm /home/runner/work/adr-tools/adr-tools/src/index.ts new Example ADR
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/adr-tools/adr-tools/src/index.ts
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:136:11)
at defaultGetFormat (node:internal/modules/esm/get_format:182:36)
at defaultLoad (node:internal/modules/esm/load:101:20)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at load (/home/runner/.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at Hooks.load (node:internal/modules/esm/hooks:447:26)
at MessagePort.handleMessage (node:internal/modules/esm/worker:196:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ load ../../../.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122
❯ tests/edit-on-create.e2e.test.ts:45:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [] }, { type: 'Buffer', data: [ 84, 121, 112, 101, 69, 114, 114, 111, 114, 32, 91, 69, 82, 82, 95, 85, 78, 75, 78, 79, 87, 78, 95, 70, 73, 76, 69, 95, 69, 88, 84, 69, 78, 83, 73, 79, 78, 93, 58, 32, 85, 110, 107, 110, 111, 119, 110, 32, 102, 105, 108, 101, 32, 101, 120, 116, 101, 110, 115, 105, 111, 110, 32, 34, 46, 116, 115, 34, 32, 102, 111, 114, 32, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 115, 114, 99, 47, 105, 110, 100, 101, 120, 46, 116, 115, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 119, 32, 78, 111, 100, 101, 69, 114, 114, 111, 114, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 114, 114, 111, 114, 115, 58, 52, 48, 53, 58, 53, 41, 10, 32, 32, 32, 32, 97, 116, 32, 79, 98, 106, 101, 99, 116, 46, 103, 101, 116, 70, 105, 108, 101, 80, 114, 111, 116, 111, 99, 111, 108, 77, 111, 100, 117, 108, 101, 70, 111, 114, 109, 97, 116, 32, 91, 97, 115, 32, 102, 105, 108, 101, 58, 93, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 51, 54, 58, 49, 49, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 71, 101, 116, 70, 111, 114, 109, 97, 116, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 56, 50, 58, 51, 54, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 108, 111, 97, 100, 58, 49, 48, 49, 58, 50, 48, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54, 52, 58, 50, 56, 41, 10, 32, 32, 32, 32, 97, 116, 32, 108, 111, 97, 100, 32, 40, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 46, 110, 112, 109, 47, 95, 110, 112, 120, 47, 49, 98, 102, 55, 99, 51, 99, 49, 53, 98, 102, 52, 55, 100, 48, 52, 47, 110, 111, 100, 101, 95, 109, 111, 100, 117, 108, 101, 115, 47, 116, 115, 45, 110, 111, 100, 101, 47, 100, 105, 115, 116, 47, 99, 104, 105, 108, 100, 47, 99, 104, 105, 108, 100, 45, 108, 111, 97, 100, 101, 114, 46, 106, 115, 58, 49, 57, 58, 49, 50, 50, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 5
|
tests/funny-characters.e2e.test.ts > Funny Characters > should handle titles with periods in them:
tests/funny-characters.e2e.test.ts#L25
Error: Command failed: npx ts-node --esm /home/runner/work/adr-tools/adr-tools/src/index.ts init 970ca4f5-690f-4147-87d9-c94a0f916a6c
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/adr-tools/adr-tools/src/index.ts
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:136:11)
at defaultGetFormat (node:internal/modules/esm/get_format:182:36)
at defaultLoad (node:internal/modules/esm/load:101:20)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at load (/home/runner/work/adr-tools/adr-tools/node_modules/ts-node/dist/child/child-loader.js:19:122)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at Hooks.load (node:internal/modules/esm/hooks:447:26)
at MessagePort.handleMessage (node:internal/modules/esm/worker:196:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ load node_modules/ts-node/dist/child/child-loader.js:19:122
❯ tests/funny-characters.e2e.test.ts:25:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [] }, { type: 'Buffer', data: [ 84, 121, 112, 101, 69, 114, 114, 111, 114, 32, 91, 69, 82, 82, 95, 85, 78, 75, 78, 79, 87, 78, 95, 70, 73, 76, 69, 95, 69, 88, 84, 69, 78, 83, 73, 79, 78, 93, 58, 32, 85, 110, 107, 110, 111, 119, 110, 32, 102, 105, 108, 101, 32, 101, 120, 116, 101, 110, 115, 105, 111, 110, 32, 34, 46, 116, 115, 34, 32, 102, 111, 114, 32, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 115, 114, 99, 47, 105, 110, 100, 101, 120, 46, 116, 115, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 119, 32, 78, 111, 100, 101, 69, 114, 114, 111, 114, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 114, 114, 111, 114, 115, 58, 52, 48, 53, 58, 53, 41, 10, 32, 32, 32, 32, 97, 116, 32, 79, 98, 106, 101, 99, 116, 46, 103, 101, 116, 70, 105, 108, 101, 80, 114, 111, 116, 111, 99, 111, 108, 77, 111, 100, 117, 108, 101, 70, 111, 114, 109, 97, 116, 32, 91, 97, 115, 32, 102, 105, 108, 101, 58, 93, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 51, 54, 58, 49, 49, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 71, 101, 116, 70, 111, 114, 109, 97, 116, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 56, 50, 58, 51, 54, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 108, 111, 97, 100, 58, 49, 48, 49, 58, 50, 48, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54, 52, 58, 50, 56, 41, 10, 32, 32, 32, 32, 97, 116, 32, 108, 111, 97, 100, 32, 40, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 110, 111, 100, 101, 95, 109, 111, 100, 117, 108, 101, 115, 47, 116, 115, 45, 110, 111, 100, 101, 47, 100, 105, 115, 116, 47, 99, 104, 105, 108, 100, 47, 99, 104, 105, 108, 100, 45, 108, 111, 97, 100, 101, 114, 46, 106, 115, 58, 49, 57, 58, 49, 50, 50, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54
|
tests/funny-characters.e2e.test.ts > Funny Characters > should handle titles with slashes in them:
tests/funny-characters.e2e.test.ts#L25
Error: Command failed: npx ts-node --esm /home/runner/work/adr-tools/adr-tools/src/index.ts init 08bbcc3f-5273-4adb-a7cd-4ed58feb4d05
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/adr-tools/adr-tools/src/index.ts
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:136:11)
at defaultGetFormat (node:internal/modules/esm/get_format:182:36)
at defaultLoad (node:internal/modules/esm/load:101:20)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at load (/home/runner/work/adr-tools/adr-tools/node_modules/ts-node/dist/child/child-loader.js:19:122)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at Hooks.load (node:internal/modules/esm/hooks:447:26)
at MessagePort.handleMessage (node:internal/modules/esm/worker:196:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ load node_modules/ts-node/dist/child/child-loader.js:19:122
❯ tests/funny-characters.e2e.test.ts:25:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [] }, { type: 'Buffer', data: [ 84, 121, 112, 101, 69, 114, 114, 111, 114, 32, 91, 69, 82, 82, 95, 85, 78, 75, 78, 79, 87, 78, 95, 70, 73, 76, 69, 95, 69, 88, 84, 69, 78, 83, 73, 79, 78, 93, 58, 32, 85, 110, 107, 110, 111, 119, 110, 32, 102, 105, 108, 101, 32, 101, 120, 116, 101, 110, 115, 105, 111, 110, 32, 34, 46, 116, 115, 34, 32, 102, 111, 114, 32, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 115, 114, 99, 47, 105, 110, 100, 101, 120, 46, 116, 115, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 119, 32, 78, 111, 100, 101, 69, 114, 114, 111, 114, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 114, 114, 111, 114, 115, 58, 52, 48, 53, 58, 53, 41, 10, 32, 32, 32, 32, 97, 116, 32, 79, 98, 106, 101, 99, 116, 46, 103, 101, 116, 70, 105, 108, 101, 80, 114, 111, 116, 111, 99, 111, 108, 77, 111, 100, 117, 108, 101, 70, 111, 114, 109, 97, 116, 32, 91, 97, 115, 32, 102, 105, 108, 101, 58, 93, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 51, 54, 58, 49, 49, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 71, 101, 116, 70, 111, 114, 109, 97, 116, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 56, 50, 58, 51, 54, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 108, 111, 97, 100, 58, 49, 48, 49, 58, 50, 48, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54, 52, 58, 50, 56, 41, 10, 32, 32, 32, 32, 97, 116, 32, 108, 111, 97, 100, 32, 40, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 110, 111, 100, 101, 95, 109, 111, 100, 117, 108, 101, 115, 47, 116, 115, 45, 110, 111, 100, 101, 47, 100, 105, 115, 116, 47, 99, 104, 105, 108, 100, 47, 99, 104, 105, 108, 100, 45, 108, 111, 97, 100, 101, 114, 46, 106, 115, 58, 49, 57, 58, 49, 50, 50, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54
|
tests/funny-characters.e2e.test.ts > Funny Characters > should handle titles with other weirdness in them:
tests/funny-characters.e2e.test.ts#L25
Error: Command failed: npx ts-node --esm /home/runner/work/adr-tools/adr-tools/src/index.ts init 685c451c-8035-4161-8e7f-ecc30270073f
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/adr-tools/adr-tools/src/index.ts
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:136:11)
at defaultGetFormat (node:internal/modules/esm/get_format:182:36)
at defaultLoad (node:internal/modules/esm/load:101:20)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at load (/home/runner/work/adr-tools/adr-tools/node_modules/ts-node/dist/child/child-loader.js:19:122)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at Hooks.load (node:internal/modules/esm/hooks:447:26)
at MessagePort.handleMessage (node:internal/modules/esm/worker:196:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ load node_modules/ts-node/dist/child/child-loader.js:19:122
❯ tests/funny-characters.e2e.test.ts:25:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [] }, { type: 'Buffer', data: [ 84, 121, 112, 101, 69, 114, 114, 111, 114, 32, 91, 69, 82, 82, 95, 85, 78, 75, 78, 79, 87, 78, 95, 70, 73, 76, 69, 95, 69, 88, 84, 69, 78, 83, 73, 79, 78, 93, 58, 32, 85, 110, 107, 110, 111, 119, 110, 32, 102, 105, 108, 101, 32, 101, 120, 116, 101, 110, 115, 105, 111, 110, 32, 34, 46, 116, 115, 34, 32, 102, 111, 114, 32, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 115, 114, 99, 47, 105, 110, 100, 101, 120, 46, 116, 115, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 119, 32, 78, 111, 100, 101, 69, 114, 114, 111, 114, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 114, 114, 111, 114, 115, 58, 52, 48, 53, 58, 53, 41, 10, 32, 32, 32, 32, 97, 116, 32, 79, 98, 106, 101, 99, 116, 46, 103, 101, 116, 70, 105, 108, 101, 80, 114, 111, 116, 111, 99, 111, 108, 77, 111, 100, 117, 108, 101, 70, 111, 114, 109, 97, 116, 32, 91, 97, 115, 32, 102, 105, 108, 101, 58, 93, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 51, 54, 58, 49, 49, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 71, 101, 116, 70, 111, 114, 109, 97, 116, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 56, 50, 58, 51, 54, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 108, 111, 97, 100, 58, 49, 48, 49, 58, 50, 48, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54, 52, 58, 50, 56, 41, 10, 32, 32, 32, 32, 97, 116, 32, 108, 111, 97, 100, 32, 40, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 110, 111, 100, 101, 95, 109, 111, 100, 117, 108, 101, 115, 47, 116, 115, 45, 110, 111, 100, 101, 47, 100, 105, 115, 116, 47, 99, 104, 105, 108, 100, 47, 99, 104, 105, 108, 100, 45, 108, 111, 97, 100, 101, 114, 46, 106, 115, 58, 49, 57, 58, 49, 50, 50, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54
|
tests/generate-graph.e2e.test.ts > Generating Graphs:
tests/generate-graph.e2e.test.ts#L17
Error: Command failed: npx ts-node --esm /home/runner/work/adr-tools/adr-tools/src/index.ts init
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/adr-tools/adr-tools/src/index.ts
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:136:11)
at defaultGetFormat (node:internal/modules/esm/get_format:182:36)
at defaultLoad (node:internal/modules/esm/load:101:20)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at load (/home/runner/.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at Hooks.load (node:internal/modules/esm/hooks:447:26)
at MessagePort.handleMessage (node:internal/modules/esm/worker:196:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ load ../../../.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122
❯ tests/generate-graph.e2e.test.ts:17:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [] }, { type: 'Buffer', data: [ 84, 121, 112, 101, 69, 114, 114, 111, 114, 32, 91, 69, 82, 82, 95, 85, 78, 75, 78, 79, 87, 78, 95, 70, 73, 76, 69, 95, 69, 88, 84, 69, 78, 83, 73, 79, 78, 93, 58, 32, 85, 110, 107, 110, 111, 119, 110, 32, 102, 105, 108, 101, 32, 101, 120, 116, 101, 110, 115, 105, 111, 110, 32, 34, 46, 116, 115, 34, 32, 102, 111, 114, 32, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 115, 114, 99, 47, 105, 110, 100, 101, 120, 46, 116, 115, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 119, 32, 78, 111, 100, 101, 69, 114, 114, 111, 114, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 114, 114, 111, 114, 115, 58, 52, 48, 53, 58, 53, 41, 10, 32, 32, 32, 32, 97, 116, 32, 79, 98, 106, 101, 99, 116, 46, 103, 101, 116, 70, 105, 108, 101, 80, 114, 111, 116, 111, 99, 111, 108, 77, 111, 100, 117, 108, 101, 70, 111, 114, 109, 97, 116, 32, 91, 97, 115, 32, 102, 105, 108, 101, 58, 93, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 51, 54, 58, 49, 49, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 71, 101, 116, 70, 111, 114, 109, 97, 116, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 56, 50, 58, 51, 54, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 108, 111, 97, 100, 58, 49, 48, 49, 58, 50, 48, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54, 52, 58, 50, 56, 41, 10, 32, 32, 32, 32, 97, 116, 32, 108, 111, 97, 100, 32, 40, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 46, 110, 112, 109, 47, 95, 110, 112, 120, 47, 49, 98, 102, 55, 99, 51, 99, 49, 53, 98, 102, 52, 55, 100, 48, 52, 47, 110, 111, 100, 101, 95, 109, 111, 100, 117, 108, 101, 115, 47, 116, 115, 45, 110, 111, 100, 101, 47, 100, 105, 115, 116, 47, 99, 104, 105, 108, 100, 47, 99, 104, 105, 108, 100, 45, 108, 111, 97, 100, 101, 114, 46, 106, 115, 58, 49, 57, 58, 49, 50, 50, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54,
|
tests/init-adr-repository.e2e.test.ts > Init an ADR Repository > should use the default directory:
tests/init-adr-repository.e2e.test.ts#L27
Error: Command failed: npx ts-node --esm /home/runner/work/adr-tools/adr-tools/src/index.ts init
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/adr-tools/adr-tools/src/index.ts
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:136:11)
at defaultGetFormat (node:internal/modules/esm/get_format:182:36)
at defaultLoad (node:internal/modules/esm/load:101:20)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at load (/home/runner/.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at Hooks.load (node:internal/modules/esm/hooks:447:26)
at MessagePort.handleMessage (node:internal/modules/esm/worker:196:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ load ../../../.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122
❯ tests/init-adr-repository.e2e.test.ts:27:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [] }, { type: 'Buffer', data: [ 84, 121, 112, 101, 69, 114, 114, 111, 114, 32, 91, 69, 82, 82, 95, 85, 78, 75, 78, 79, 87, 78, 95, 70, 73, 76, 69, 95, 69, 88, 84, 69, 78, 83, 73, 79, 78, 93, 58, 32, 85, 110, 107, 110, 111, 119, 110, 32, 102, 105, 108, 101, 32, 101, 120, 116, 101, 110, 115, 105, 111, 110, 32, 34, 46, 116, 115, 34, 32, 102, 111, 114, 32, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 115, 114, 99, 47, 105, 110, 100, 101, 120, 46, 116, 115, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 119, 32, 78, 111, 100, 101, 69, 114, 114, 111, 114, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 114, 114, 111, 114, 115, 58, 52, 48, 53, 58, 53, 41, 10, 32, 32, 32, 32, 97, 116, 32, 79, 98, 106, 101, 99, 116, 46, 103, 101, 116, 70, 105, 108, 101, 80, 114, 111, 116, 111, 99, 111, 108, 77, 111, 100, 117, 108, 101, 70, 111, 114, 109, 97, 116, 32, 91, 97, 115, 32, 102, 105, 108, 101, 58, 93, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 51, 54, 58, 49, 49, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 71, 101, 116, 70, 111, 114, 109, 97, 116, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 56, 50, 58, 51, 54, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 108, 111, 97, 100, 58, 49, 48, 49, 58, 50, 48, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54, 52, 58, 50, 56, 41, 10, 32, 32, 32, 32, 97, 116, 32, 108, 111, 97, 100, 32, 40, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 46, 110, 112, 109, 47, 95, 110, 112, 120, 47, 49, 98, 102, 55, 99, 51, 99, 49, 53, 98, 102, 52, 55, 100, 48, 52, 47, 110, 111, 100, 101, 95, 109, 111, 100, 117, 108, 101, 115, 47, 116, 115, 45, 110, 111, 100, 101, 47, 100, 105, 115, 116, 47, 99, 104, 105, 108, 100, 47, 99, 104, 105, 108, 100, 45, 108, 111, 97, 100, 101, 114, 46, 106, 115, 58, 49, 57, 58, 49, 50, 50, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56,
|
tests/init-adr-repository.e2e.test.ts > Init an ADR Repository > should use an alternate directory:
tests/init-adr-repository.e2e.test.ts#L41
Error: Command failed: npx ts-node --esm /home/runner/work/adr-tools/adr-tools/src/index.ts init /tmp/adr-cuINb1/tmp/alternative-dir
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/adr-tools/adr-tools/src/index.ts
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:136:11)
at defaultGetFormat (node:internal/modules/esm/get_format:182:36)
at defaultLoad (node:internal/modules/esm/load:101:20)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at load (/home/runner/.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at Hooks.load (node:internal/modules/esm/hooks:447:26)
at MessagePort.handleMessage (node:internal/modules/esm/worker:196:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ load ../../../.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122
❯ tests/init-adr-repository.e2e.test.ts:41:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [] }, { type: 'Buffer', data: [ 84, 121, 112, 101, 69, 114, 114, 111, 114, 32, 91, 69, 82, 82, 95, 85, 78, 75, 78, 79, 87, 78, 95, 70, 73, 76, 69, 95, 69, 88, 84, 69, 78, 83, 73, 79, 78, 93, 58, 32, 85, 110, 107, 110, 111, 119, 110, 32, 102, 105, 108, 101, 32, 101, 120, 116, 101, 110, 115, 105, 111, 110, 32, 34, 46, 116, 115, 34, 32, 102, 111, 114, 32, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 115, 114, 99, 47, 105, 110, 100, 101, 120, 46, 116, 115, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 119, 32, 78, 111, 100, 101, 69, 114, 114, 111, 114, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 114, 114, 111, 114, 115, 58, 52, 48, 53, 58, 53, 41, 10, 32, 32, 32, 32, 97, 116, 32, 79, 98, 106, 101, 99, 116, 46, 103, 101, 116, 70, 105, 108, 101, 80, 114, 111, 116, 111, 99, 111, 108, 77, 111, 100, 117, 108, 101, 70, 111, 114, 109, 97, 116, 32, 91, 97, 115, 32, 102, 105, 108, 101, 58, 93, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 51, 54, 58, 49, 49, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 71, 101, 116, 70, 111, 114, 109, 97, 116, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 56, 50, 58, 51, 54, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 108, 111, 97, 100, 58, 49, 48, 49, 58, 50, 48, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54, 52, 58, 50, 56, 41, 10, 32, 32, 32, 32, 97, 116, 32, 108, 111, 97, 100, 32, 40, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 46, 110, 112, 109, 47, 95, 110, 112, 120, 47, 49, 98, 102, 55, 99, 51, 99, 49, 53, 98, 102, 52, 55, 100, 48, 52, 47, 110, 111, 100, 101, 95, 109, 111, 100, 117, 108, 101, 115, 47, 116, 115, 45, 110, 111, 100, 101, 47, 100, 105, 115, 116, 47, 99, 104, 105, 108, 100, 47, 99, 104, 105, 108, 100, 45, 108, 111, 97, 100, 101, 114, 46, 106, 115, 58, 49, 57, 58, 49, 50, 50, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109,
|
tests/linking-records.e2e.test.ts > Linking Adrs > should link adrs as expected with adr new:
tests/linking-records.e2e.test.ts#L28
Error: Command failed: npx ts-node --esm /home/runner/work/adr-tools/adr-tools/src/index.ts new First Record
npm WARN exec The following package was not found and will be installed: [email protected]
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/adr-tools/adr-tools/src/index.ts
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:136:11)
at defaultGetFormat (node:internal/modules/esm/get_format:182:36)
at defaultLoad (node:internal/modules/esm/load:101:20)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at load (/home/runner/.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at Hooks.load (node:internal/modules/esm/hooks:447:26)
at MessagePort.handleMessage (node:internal/modules/esm/worker:196:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ load ../../../.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node/dist/child/child-loader.js:19:122
❯ tests/linking-records.e2e.test.ts:28:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [] }, { type: 'Buffer', data: [ 110, 112, 109, 32, 87, 65, 82, 78, 32, 101, 120, 101, 99, 32, 84, 104, 101, 32, 102, 111, 108, 108, 111, 119, 105, 110, 103, 32, 112, 97, 99, 107, 97, 103, 101, 32, 119, 97, 115, 32, 110, 111, 116, 32, 102, 111, 117, 110, 100, 32, 97, 110, 100, 32, 119, 105, 108, 108, 32, 98, 101, 32, 105, 110, 115, 116, 97, 108, 108, 101, 100, 58, 32, 116, 115, 45, 110, 111, 100, 101, 64, 49, 48, 46, 57, 46, 50, 10, 84, 121, 112, 101, 69, 114, 114, 111, 114, 32, 91, 69, 82, 82, 95, 85, 78, 75, 78, 79, 87, 78, 95, 70, 73, 76, 69, 95, 69, 88, 84, 69, 78, 83, 73, 79, 78, 93, 58, 32, 85, 110, 107, 110, 111, 119, 110, 32, 102, 105, 108, 101, 32, 101, 120, 116, 101, 110, 115, 105, 111, 110, 32, 34, 46, 116, 115, 34, 32, 102, 111, 114, 32, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 119, 111, 114, 107, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 97, 100, 114, 45, 116, 111, 111, 108, 115, 47, 115, 114, 99, 47, 105, 110, 100, 101, 120, 46, 116, 115, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 119, 32, 78, 111, 100, 101, 69, 114, 114, 111, 114, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 114, 114, 111, 114, 115, 58, 52, 48, 53, 58, 53, 41, 10, 32, 32, 32, 32, 97, 116, 32, 79, 98, 106, 101, 99, 116, 46, 103, 101, 116, 70, 105, 108, 101, 80, 114, 111, 116, 111, 99, 111, 108, 77, 111, 100, 117, 108, 101, 70, 111, 114, 109, 97, 116, 32, 91, 97, 115, 32, 102, 105, 108, 101, 58, 93, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 51, 54, 58, 49, 49, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 71, 101, 116, 70, 111, 114, 109, 97, 116, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 103, 101, 116, 95, 102, 111, 114, 109, 97, 116, 58, 49, 56, 50, 58, 51, 54, 41, 10, 32, 32, 32, 32, 97, 116, 32, 100, 101, 102, 97, 117, 108, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 108, 111, 97, 100, 58, 49, 48, 49, 58, 50, 48, 41, 10, 32, 32, 32, 32, 97, 116, 32, 110, 101, 120, 116, 76, 111, 97, 100, 32, 40, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 109, 111, 100, 117, 108, 101, 115, 47, 101, 115, 109, 47, 104, 111, 111, 107, 115, 58, 56, 54, 52, 58, 50, 56, 41, 10, 32, 32, 32, 32, 97, 116, 32, 108, 111, 97, 100, 32, 40, 47, 104, 111, 109, 101, 47, 114, 117, 110, 110, 101, 114, 47, 46, 110, 112, 109, 47, 95, 110, 112, 120, 47, 49, 98, 102, 55, 99, 51, 99, 49, 53, 98, 102, 52, 55, 100, 48,
|
build (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (18.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build (18.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|