Improve project references #246
Annotations
10 errors and 4 warnings
packages/codegen/e2e/index.test.ts > generates .d.ts:
packages/codegen/e2e/index.test.ts#L35
AssertionError: expected 'node:internal/modules/esm/resolve:275…' to be '' // Object.is equality
- Expected
+ Received
+ node:internal/modules/esm/resolve:275
+ throw new ERR_MODULE_NOT_FOUND(
+ ^
+
+ Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\a\honey-css-modules\honey-css-modules\packages\codegen\dist\index.js' imported from D:\a\honey-css-modules\honey-css-modules\packages\codegen\bin\hcm.mjs
+ at finalizeResolution (node:internal/modules/esm/resolve:275:11)
+ at moduleResolve (node:internal/modules/esm/resolve:932:10)
+ at defaultResolve (node:internal/modules/esm/resolve:1056:11)
+ at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:654:12)
+ at #cachedDefaultResolve (node:internal/modules/esm/loader:603:25)
+ at ModuleLoader.resolve (node:internal/modules/esm/loader:586:38)
+ at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:242:38)
+ at ModuleJob._link (node:internal/modules/esm/module_job:135:49) {
+ code: 'ERR_MODULE_NOT_FOUND',
+ url: 'file:///D:/a/honey-css-modules/honey-css-modules/packages/codegen/dist/index.js'
+ }
+
+ Node.js v22.13.0
+
❯ packages/codegen/e2e/index.test.ts:35:33
|
packages/ts-plugin/e2e/find-all-references.test.ts > Find All References > Find All References for '\'./b.module.css\' in a.module.css':
packages/ts-plugin/e2e/test/tsserver.ts#L44
Error: Expected success response, got {"seq":0,"type":"response","command":"references","request_seq":3,"success":false,"message":"Error processing request. No Project.\nError: No Project.\n at Object.ThrowNoProject (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:184577:11)\n at IOSession.getProjects (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194127:23)\n at IOSession.getReferences (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194199:27)\n at references (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:192610:43)\n at D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195231:15\n at IOSession.executeWithRequestId (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195220:14)\n at IOSession.executeCommand (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195229:29)\n at IOSession.onMessage (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195277:68)\n at Interface.<anonymous> (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\_tsserver.js:501:14)\n at Interface.emit (node:events:524:28)\n at [_onLine] [as _onLine] (node:internal/readline/interface:415:12)\n at [_normalWrite] [as _normalWrite] (node:internal/readline/interface:609:22)\n at Socket.ondata (node:internal/readline/interface:242:23)\n at Socket.emit (node:events:524:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)"}
❯ sendRequest packages/ts-plugin/e2e/test/tsserver.ts:44:13
❯ packages/ts-plugin/e2e/find-all-references.test.ts:239:17
|
packages/ts-plugin/e2e/find-all-references.test.ts > Find All References > Find All References for '\'./c.module.css\' in a.module.css':
packages/ts-plugin/e2e/test/tsserver.ts#L44
Error: Expected success response, got {"seq":0,"type":"response","command":"references","request_seq":4,"success":false,"message":"Error processing request. No Project.\nError: No Project.\n at Object.ThrowNoProject (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:184577:11)\n at IOSession.getProjects (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194127:23)\n at IOSession.getReferences (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194199:27)\n at references (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:192610:43)\n at D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195231:15\n at IOSession.executeWithRequestId (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195220:14)\n at IOSession.executeCommand (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195229:29)\n at IOSession.onMessage (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195277:68)\n at Interface.<anonymous> (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\_tsserver.js:501:14)\n at Interface.emit (node:events:524:28)\n at [_onLine] [as _onLine] (node:internal/readline/interface:415:12)\n at [_normalWrite] [as _normalWrite] (node:internal/readline/interface:609:22)\n at Socket.ondata (node:internal/readline/interface:242:23)\n at Socket.emit (node:events:524:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)"}
❯ sendRequest packages/ts-plugin/e2e/test/tsserver.ts:44:13
❯ packages/ts-plugin/e2e/find-all-references.test.ts:239:17
|
packages/ts-plugin/e2e/find-all-references.test.ts > Find All References > Find All References for 'a_1 in index.ts':
packages/ts-plugin/e2e/find-all-references.test.ts#L244
AssertionError: expected [] to strictly equal [ { …(3) }, { …(3) }, { …(3) } ]
- Expected
+ Received
- [
- {
- "end": {
- "line": 3,
- "offset": 5,
- },
- "file": "C:/Users/RUNNER~1/AppData/Local/Temp/ts-honey-css-modules-plugin/2/f1612f31-a2f2-40d5-ae34-5f200f8daeca/a.module.css",
- "start": {
- "line": 3,
- "offset": 2,
- },
- },
- {
- "end": {
- "line": 4,
- "offset": 5,
- },
- "file": "C:/Users/RUNNER~1/AppData/Local/Temp/ts-honey-css-modules-plugin/2/f1612f31-a2f2-40d5-ae34-5f200f8daeca/a.module.css",
- "start": {
- "line": 4,
- "offset": 2,
- },
- },
- {
- "end": {
- "line": 2,
- "offset": 11,
- },
- "file": "C:/Users/RUNNER~1/AppData/Local/Temp/ts-honey-css-modules-plugin/2/f1612f31-a2f2-40d5-ae34-5f200f8daeca/index.ts",
- "start": {
- "line": 2,
- "offset": 8,
- },
- },
- ]
+ []
❯ packages/ts-plugin/e2e/find-all-references.test.ts:244:58
|
packages/ts-plugin/e2e/find-all-references.test.ts > Find All References > Find All References for 'a_1 in a.module.css':
packages/ts-plugin/e2e/test/tsserver.ts#L44
Error: Expected success response, got {"seq":0,"type":"response","command":"references","request_seq":6,"success":false,"message":"Error processing request. No Project.\nError: No Project.\n at Object.ThrowNoProject (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:184577:11)\n at IOSession.getProjects (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194127:23)\n at IOSession.getReferences (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194199:27)\n at references (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:192610:43)\n at D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195231:15\n at IOSession.executeWithRequestId (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195220:14)\n at IOSession.executeCommand (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195229:29)\n at IOSession.onMessage (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195277:68)\n at Interface.<anonymous> (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\_tsserver.js:501:14)\n at Interface.emit (node:events:524:28)\n at [_onLine] [as _onLine] (node:internal/readline/interface:415:12)\n at [_normalWrite] [as _normalWrite] (node:internal/readline/interface:609:22)\n at Socket.ondata (node:internal/readline/interface:242:23)\n at Socket.emit (node:events:524:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)"}
❯ sendRequest packages/ts-plugin/e2e/test/tsserver.ts:44:13
❯ packages/ts-plugin/e2e/find-all-references.test.ts:239:17
|
packages/ts-plugin/e2e/find-all-references.test.ts > Find All References > Find All References for 'b_1 in index.ts':
packages/ts-plugin/e2e/find-all-references.test.ts#L244
AssertionError: expected [] to strictly equal [ { …(3) }, { …(3) } ]
- Expected
+ Received
- [
- {
- "end": {
- "line": 1,
- "offset": 5,
- },
- "file": "C:/Users/RUNNER~1/AppData/Local/Temp/ts-honey-css-modules-plugin/2/f1612f31-a2f2-40d5-ae34-5f200f8daeca/b.module.css",
- "start": {
- "line": 1,
- "offset": 2,
- },
- },
- {
- "end": {
- "line": 3,
- "offset": 11,
- },
- "file": "C:/Users/RUNNER~1/AppData/Local/Temp/ts-honey-css-modules-plugin/2/f1612f31-a2f2-40d5-ae34-5f200f8daeca/index.ts",
- "start": {
- "line": 3,
- "offset": 8,
- },
- },
- ]
+ []
❯ packages/ts-plugin/e2e/find-all-references.test.ts:244:58
|
packages/ts-plugin/e2e/find-all-references.test.ts > Find All References > Find All References for 'b_1 in b.module.css':
packages/ts-plugin/e2e/test/tsserver.ts#L44
Error: Expected success response, got {"seq":0,"type":"response","command":"references","request_seq":8,"success":false,"message":"Error processing request. No Project.\nError: No Project.\n at Object.ThrowNoProject (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:184577:11)\n at IOSession.getProjects (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194127:23)\n at IOSession.getReferences (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194199:27)\n at references (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:192610:43)\n at D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195231:15\n at IOSession.executeWithRequestId (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195220:14)\n at IOSession.executeCommand (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195229:29)\n at IOSession.onMessage (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195277:68)\n at Interface.<anonymous> (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\_tsserver.js:501:14)\n at Interface.emit (node:events:524:28)\n at [_onLine] [as _onLine] (node:internal/readline/interface:415:12)\n at [_normalWrite] [as _normalWrite] (node:internal/readline/interface:609:22)\n at Socket.ondata (node:internal/readline/interface:242:23)\n at Socket.emit (node:events:524:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)"}
❯ sendRequest packages/ts-plugin/e2e/test/tsserver.ts:44:13
❯ packages/ts-plugin/e2e/find-all-references.test.ts:239:17
|
packages/ts-plugin/e2e/find-all-references.test.ts > Find All References > Find All References for 'c_1 in index.ts':
packages/ts-plugin/e2e/find-all-references.test.ts#L244
AssertionError: expected [] to strictly equal [ { …(3) }, { …(3) }, { …(3) }, …(1) ]
- Expected
+ Received
- [
- {
- "end": {
- "line": 2,
- "offset": 11,
- },
- "file": "C:/Users/RUNNER~1/AppData/Local/Temp/ts-honey-css-modules-plugin/2/f1612f31-a2f2-40d5-ae34-5f200f8daeca/a.module.css",
- "start": {
- "line": 2,
- "offset": 8,
- },
- },
- {
- "end": {
- "line": 2,
- "offset": 11,
- },
- "file": "C:/Users/RUNNER~1/AppData/Local/Temp/ts-honey-css-modules-plugin/2/f1612f31-a2f2-40d5-ae34-5f200f8daeca/a.module.css",
- "start": {
- "line": 2,
- "offset": 8,
- },
- },
- {
- "end": {
- "line": 1,
- "offset": 11,
- },
- "file": "C:/Users/RUNNER~1/AppData/Local/Temp/ts-honey-css-modules-plugin/2/f1612f31-a2f2-40d5-ae34-5f200f8daeca/c.module.css",
- "start": {
- "line": 1,
- "offset": 8,
- },
- },
- {
- "end": {
- "line": 4,
- "offset": 11,
- },
- "file": "C:/Users/RUNNER~1/AppData/Local/Temp/ts-honey-css-modules-plugin/2/f1612f31-a2f2-40d5-ae34-5f200f8daeca/index.ts",
- "start": {
- "line": 4,
- "offset": 8,
- },
- },
- ]
+ []
❯ packages/ts-plugin/e2e/find-all-references.test.ts:244:58
|
packages/ts-plugin/e2e/find-all-references.test.ts > Find All References > Find All References for 'c_1 in a.module.css':
packages/ts-plugin/e2e/test/tsserver.ts#L44
Error: Expected success response, got {"seq":0,"type":"response","command":"references","request_seq":10,"success":false,"message":"Error processing request. No Project.\nError: No Project.\n at Object.ThrowNoProject (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:184577:11)\n at IOSession.getProjects (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194127:23)\n at IOSession.getReferences (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194199:27)\n at references (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:192610:43)\n at D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195231:15\n at IOSession.executeWithRequestId (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195220:14)\n at IOSession.executeCommand (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195229:29)\n at IOSession.onMessage (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195277:68)\n at Interface.<anonymous> (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\_tsserver.js:501:14)\n at Interface.emit (node:events:524:28)\n at [_onLine] [as _onLine] (node:internal/readline/interface:415:12)\n at [_normalWrite] [as _normalWrite] (node:internal/readline/interface:609:22)\n at Socket.ondata (node:internal/readline/interface:242:23)\n at Socket.emit (node:events:524:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)"}
❯ sendRequest packages/ts-plugin/e2e/test/tsserver.ts:44:13
❯ packages/ts-plugin/e2e/find-all-references.test.ts:239:17
|
packages/ts-plugin/e2e/find-all-references.test.ts > Find All References > Find All References for 'c_1 in c.module.css':
packages/ts-plugin/e2e/test/tsserver.ts#L44
Error: Expected success response, got {"seq":0,"type":"response","command":"references","request_seq":11,"success":false,"message":"Error processing request. No Project.\nError: No Project.\n at Object.ThrowNoProject (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:184577:11)\n at IOSession.getProjects (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194127:23)\n at IOSession.getReferences (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:194199:27)\n at references (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:192610:43)\n at D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195231:15\n at IOSession.executeWithRequestId (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195220:14)\n at IOSession.executeCommand (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195229:29)\n at IOSession.onMessage (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\typescript.js:195277:68)\n at Interface.<anonymous> (D:\\a\\honey-css-modules\\honey-css-modules\\node_modules\\typescript\\lib\\_tsserver.js:501:14)\n at Interface.emit (node:events:524:28)\n at [_onLine] [as _onLine] (node:internal/readline/interface:415:12)\n at [_normalWrite] [as _normalWrite] (node:internal/readline/interface:609:22)\n at Socket.ondata (node:internal/readline/interface:242:23)\n at Socket.emit (node:events:524:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)"}
❯ sendRequest packages/ts-plugin/e2e/test/tsserver.ts:44:13
❯ packages/ts-plugin/e2e/find-all-references.test.ts:239:17
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
e2e (22, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (22, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|