feat: introduce tsdown
, support mixed js & ts in codebase
#2916
Annotations
8 errors
Test
Process completed with exit code 1.
|
Test:
tests/lib/rules/no-restricted-call-after-await.js#L399
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry
❯ tests/lib/rules/no-restricted-call-after-await.js:399:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../../..' }
|
Test:
tests/lib/rules-without-vue-sfc.js#L9
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry
❯ tests/lib/rules-without-vue-sfc.js:9:15
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
|
Test:
tests/lib/rules-without-vue-eslint-parser.js#L8
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry
❯ tests/lib/rules-without-vue-eslint-parser.js:8:15
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
|
Test:
tests/lib/meta.js#L4
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry
❯ tests/lib/meta.js:4:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
|
Test:
tests/lib/autofix.js#L11
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry
❯ tests/lib/autofix.js:11:15
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
|
Test:
tests/integrations/flat-config.js#L29
Error: Command failed: ./node_modules/.bin/eslint a.vue --format=json
Oops! Something went wrong! :(
ESLint: 9.34.0
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:443:19)
at Module._findPath (node:internal/modules/cjs/loader:711:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
❯ Object.<anonymous> tests/integrations/flat-config/eslint.config.js:1:16
❯ tests/integrations/flat-config.js:29:10
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, '', '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:443:19)\n at Module._findPath (node:internal/modules/cjs/loader:711:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)\n at Module._load (node:internal/modules/cjs/loader:981:27)\n at Module.require (node:internal/modules/cjs/loader:1231:19)\n at require (node:internal/modules/helpers:177:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1364:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)\n at Module.load (node:internal/modules/cjs/loader:1203:32)\n' ], pid: 8736, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:443:19)\n at Module._findPath (node:internal/modules/cjs/loader:711:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)\n at Module._load (node:internal/modules/cjs/loader:981:27)\n at Module.require (node:internal/modules/cjs/loader:1231:19)\n at require (node:internal/modules/helpers:177:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1364:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)\n at Module.load (node:internal/modules/cjs/loader:1203:32)\n' }
|
Test:
tests/integrations/eslint-plugin-import.js#L38
Error: Command failed: ./node_modules/.bin/eslint a.vue
❯ tests/integrations/eslint-plugin-import.js:38:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8840, stdout: null, stderr: null }
|
Loading