{"_id":"ts-checker-rspack-plugin","_rev":"3916379","name":"ts-checker-rspack-plugin","description":"Runs typescript type checker and linter on separate process.","dist-tags":{"beta":"1.0.0-beta.0","latest":"1.1.5"},"maintainers":[{"name":"chenjiahan","email":""}],"time":{"modified":"2025-09-01T01:18:15.000Z","created":"2024-11-24T13:07:28.874Z","1.1.5":"2025-08-04T08:46:58.181Z","1.1.4":"2025-06-09T05:45:50.176Z","1.1.3":"2025-05-15T05:07:04.926Z","1.1.2":"2025-05-15T03:48:44.462Z","1.1.1":"2025-01-15T08:35:28.670Z","1.1.0":"2024-12-24T09:17:50.613Z","1.0.3":"2024-12-04T05:25:01.185Z","1.0.2":"2024-12-02T13:31:14.591Z","1.0.1":"2024-11-25T07:21:30.943Z","1.0.0":"2024-11-25T05:23:31.813Z","1.0.0-beta.1":"2024-11-24T15:01:20.886Z","1.0.0-beta.0":"2024-11-24T13:07:28.874Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"versions":{"1.1.5":{"name":"ts-checker-rspack-plugin","version":"1.1.5","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"pnpm build && pnpm test:unit && pnpm test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"cd test/e2e && pnpm test","test:e2e:setup":"cd test/e2e && pnpm run setup","precommit":"pnpm build && pnpm test:unit","prepare":"husky install && pnpm build","bump":"npx bumpp"},"dependencies":{"@babel/code-frame":"^7.27.1","@rspack/lite-tapable":"^1.0.1","chokidar":"^3.6.0","is-glob":"^4.0.3","memfs":"^4.28.0","minimatch":"^9.0.5","picocolors":"^1.1.1"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">=3.8.0"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"devDependencies":{"@jest/console":"^27.5.1","@rspack/core":"^1.4.11","@types/babel__code-frame":"^7.0.6","@types/is-glob":"^4.0.4","@types/jest":"^27.5.2","@types/mock-fs":"^4.13.4","@types/node":"^16.18.126","cross-env":"^10.0.0","husky":"^7.0.4","jest":"^27.5.1","jest-circus":"^27.5.1","jest-environment-node":"^27.5.1","jest-runner":"^27.5.1","mock-fs":"^5.5.0","prettier":"^2.8.8","rimraf":"^3.0.2","strip-ansi":"^6.0.1","ts-jest":"^27.1.5","typescript":"^4.9.5"},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.15.9","_id":"ts-checker-rspack-plugin@1.1.5","gitHead":"3169d6be9488e47fc32159d358b24c2a883b82d2","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.17.1","_npmVersion":"11.5.2","dist":{"shasum":"7bd624b8a80e7ec06d5c04ca373a58118d2365d1","size":41639,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.1.5.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:770c8f05-07a7-436b-b972-f0c64fc8b752"}},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-checker-rspack-plugin_1.1.5_1754297217990_0.5878451801191087"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-04T08:46:58.181Z","publish_time":1754297218181,"_source_registry_name":"default","_cnpm_publish_time":1754297218181},"1.1.4":{"name":"ts-checker-rspack-plugin","version":"1.1.4","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"pnpm build && pnpm test:unit && pnpm test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"cd test/e2e && pnpm test","test:e2e:setup":"cd test/e2e && pnpm run setup","precommit":"pnpm build && pnpm test:unit","prepare":"husky install && pnpm build","bump":"npx bumpp"},"dependencies":{"@babel/code-frame":"^7.16.7","@rspack/lite-tapable":"^1.0.0","chokidar":"^3.5.3","is-glob":"^4.0.3","memfs":"^4.14.0","minimatch":"^9.0.5","picocolors":"^1.1.1"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">=3.8.0"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"devDependencies":{"@jest/console":"^27.0.0","@rspack/core":"^1.1.3","@types/babel__code-frame":"^7.0.3","@types/is-glob":"^4.0.4","@types/jest":"^27.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.4.13","cross-env":"^7.0.3","husky":"^7.0.4","jest":"^27.4.7","jest-circus":"^27.4.6","jest-environment-node":"^27.4.6","jest-runner":"^27.0.0","mock-fs":"^5.1.2","prettier":"^2.5.1","rimraf":"^3.0.2","strip-ansi":"^6.0.0","ts-jest":"^27.1.3","typescript":"^4.5.5"},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","provenance":true,"registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.14.2","_id":"ts-checker-rspack-plugin@1.1.4","gitHead":"f471ca7f1b6310d43cbfaa69306827e1feb81ed5","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"shasum":"5a14827afd27d9e3acb926ed76dea3ecfb21f5fd","size":41640,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.1.4.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-checker-rspack-plugin_1.1.4_1749447949986_0.6663084428173058"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-09T05:45:50.176Z","publish_time":1749447950176,"_source_registry_name":"default","_cnpm_publish_time":1749447950176},"1.1.3":{"name":"ts-checker-rspack-plugin","version":"1.1.3","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"pnpm build && pnpm test:unit && pnpm test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"cd test/e2e && pnpm test","test:e2e:setup":"cd test/e2e && pnpm run setup","precommit":"pnpm build && pnpm test:unit","prepare":"husky install && pnpm build","bump":"npx bumpp"},"dependencies":{"@babel/code-frame":"^7.16.7","@rspack/lite-tapable":"^1.0.0","chokidar":"^3.5.3","is-glob":"^4.0.3","memfs":"^4.14.0","minimatch":"^9.0.5","picocolors":"^1.1.1"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">=3.8.0"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"devDependencies":{"@jest/console":"^27.0.0","@rspack/core":"^1.1.3","@types/babel__code-frame":"^7.0.3","@types/is-glob":"^4.0.4","@types/jest":"^27.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.4.13","cross-env":"^7.0.3","husky":"^7.0.4","jest":"^27.4.7","jest-circus":"^27.4.6","jest-environment-node":"^27.4.6","jest-runner":"^27.0.0","mock-fs":"^5.1.2","prettier":"^2.5.1","rimraf":"^3.0.2","strip-ansi":"^6.0.0","ts-jest":"^27.1.3","typescript":"^4.5.5"},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","provenance":true,"registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.14.2","_id":"ts-checker-rspack-plugin@1.1.3","gitHead":"b3fbc2b95e534e3063740ef7d30fd85329b565e0","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"shasum":"a38b54f7ae1a4a91c4f4588c32f56a101a4ce615","size":41636,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.1.3.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-checker-rspack-plugin_1.1.3_1747285624747_0.4218466808491912"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-15T05:07:04.926Z","publish_time":1747285624926,"_source_registry_name":"default","_cnpm_publish_time":1747285624926},"1.1.2":{"name":"ts-checker-rspack-plugin","version":"1.1.2","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"pnpm build && pnpm test:unit && pnpm test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"cd test/e2e && pnpm test","test:e2e:setup":"cd test/e2e && pnpm run setup","precommit":"pnpm build && pnpm test:unit","prepare":"husky install && pnpm build","bump":"npx bumpp"},"dependencies":{"@babel/code-frame":"^7.16.7","@rspack/lite-tapable":"^1.0.0","chokidar":"^3.5.3","is-glob":"^4.0.3","memfs":"^4.14.0","minimatch":"^9.0.5","picocolors":"^1.1.1"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">=3.8.0"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"devDependencies":{"@jest/console":"^27.0.0","@rspack/core":"^1.1.3","@types/babel__code-frame":"^7.0.3","@types/is-glob":"^4.0.4","@types/jest":"^27.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.4.13","cross-env":"^7.0.3","husky":"^7.0.4","jest":"^27.4.7","jest-circus":"^27.4.6","jest-environment-node":"^27.4.6","jest-runner":"^27.0.0","mock-fs":"^5.1.2","prettier":"^2.5.1","rimraf":"^3.0.2","strip-ansi":"^6.0.0","ts-jest":"^27.1.3","typescript":"^4.5.5"},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","provenance":true,"registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.14.2","_id":"ts-checker-rspack-plugin@1.1.2","gitHead":"82bb4e4a6d78bed730ef682a1a8031ed3f723f5f","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"shasum":"7853005fd27a8d55e06107fe2d33125ad88ad853","size":41507,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.1.2.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-checker-rspack-plugin_1.1.2_1747280924289_0.14118222929992363"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-15T03:48:44.462Z","publish_time":1747280924462,"_source_registry_name":"default","_cnpm_publish_time":1747280924462},"1.1.1":{"name":"ts-checker-rspack-plugin","version":"1.1.1","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"pnpm build && pnpm test:unit && pnpm test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"cd test/e2e && pnpm test","test:e2e:setup":"cd test/e2e && pnpm run setup","precommit":"pnpm build && pnpm test:unit","prepare":"husky install && pnpm build","bump":"npx bumpp"},"dependencies":{"@babel/code-frame":"^7.16.7","@rspack/lite-tapable":"^1.0.0","chokidar":"^3.5.3","memfs":"^4.14.0","minimatch":"^9.0.5","picocolors":"^1.1.1"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">=3.8.0"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"devDependencies":{"@jest/console":"^27.0.0","@rspack/core":"^1.1.3","@types/babel__code-frame":"^7.0.3","@types/jest":"^27.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.4.13","cross-env":"^7.0.3","husky":"^7.0.4","jest":"^27.4.7","jest-circus":"^27.4.6","jest-environment-node":"^27.4.6","jest-runner":"^27.0.0","mock-fs":"^5.1.2","prettier":"^2.5.1","rimraf":"^3.0.2","strip-ansi":"^6.0.0","ts-jest":"^27.1.3","typescript":"^4.5.5"},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","provenance":true,"registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.14.2","_id":"ts-checker-rspack-plugin@1.1.1","gitHead":"f7d96c7d2c29fc7f2c394cbfb57d2b981b6b41ca","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.13.0","_npmVersion":"10.9.2","dist":{"shasum":"0cefe8083e9d32980786d45b959e2d596bdee8a6","size":41433,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.1.1.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-checker-rspack-plugin_1.1.1_1736930128468_0.9660283713458235"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-15T08:35:28.670Z","publish_time":1736930128670,"_source_registry_name":"default","_cnpm_publish_time":1736930128670},"1.1.0":{"name":"ts-checker-rspack-plugin","version":"1.1.0","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"pnpm build && pnpm test:unit && pnpm test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"cd test/e2e && pnpm test","test:e2e:setup":"cd test/e2e && pnpm run setup","precommit":"pnpm build && pnpm test:unit","prepare":"husky install && pnpm build","bump":"npx bumpp"},"dependencies":{"@babel/code-frame":"^7.16.7","@rspack/lite-tapable":"^1.0.0","chokidar":"^3.5.3","memfs":"^4.14.0","minimatch":"^9.0.5","picocolors":"^1.1.1"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">=3.8.0"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"devDependencies":{"@jest/console":"^27.0.0","@rspack/core":"^1.1.3","@types/babel__code-frame":"^7.0.3","@types/jest":"^27.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.4.13","cross-env":"^7.0.3","husky":"^7.0.4","jest":"^27.4.7","jest-circus":"^27.4.6","jest-environment-node":"^27.4.6","jest-runner":"^27.0.0","mock-fs":"^5.1.2","prettier":"^2.5.1","rimraf":"^3.0.2","strip-ansi":"^6.0.0","ts-jest":"^27.1.3","typescript":"^4.5.5"},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","provenance":true,"registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.14.2","_id":"ts-checker-rspack-plugin@1.1.0","gitHead":"922bfe0776e607841ee29cd1c8d7e10da2b3c278","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"608899349c91a10cb23a3a4d0811f62e5dc3f2ac","size":41418,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.1.0.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-checker-rspack-plugin_1.1.0_1735031870381_0.14934583295639392"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-24T09:17:50.613Z","publish_time":1735031870613,"_source_registry_name":"default","_cnpm_publish_time":1735031870613},"1.0.3":{"name":"ts-checker-rspack-plugin","version":"1.0.3","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"pnpm build && pnpm test:unit && pnpm test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"cd test/e2e && pnpm test","test:e2e:setup":"cd test/e2e && pnpm run setup","precommit":"pnpm build && pnpm test:unit","prepare":"husky install && pnpm build","bump":"npx bumpp"},"dependencies":{"@babel/code-frame":"^7.16.7","@rspack/lite-tapable":"^1.0.0","chokidar":"^3.5.3","memfs":"^4.14.0","minimatch":"^9.0.5","picocolors":"^1.1.1"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">=3.8.0"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"devDependencies":{"@jest/console":"^27.0.0","@rspack/core":"^1.1.3","@types/babel__code-frame":"^7.0.3","@types/jest":"^27.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.4.13","cross-env":"^7.0.3","husky":"^7.0.4","jest":"^27.4.7","jest-circus":"^27.4.6","jest-environment-node":"^27.4.6","jest-runner":"^27.0.0","mock-fs":"^5.1.2","prettier":"^2.5.1","rimraf":"^3.0.2","strip-ansi":"^6.0.0","ts-jest":"^27.1.3","typescript":"^4.5.5"},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","provenance":true,"registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.14.2","_id":"ts-checker-rspack-plugin@1.0.3","gitHead":"d5423d304b881a5da29a8b6d9791d9a4eac7c21d","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"shasum":"35804cc44ccec0c866121bea4190bce88b4ddbc8","size":41389,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.0.3.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-checker-rspack-plugin_1.0.3_1733289900961_0.24874674461750312"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-04T05:25:01.185Z","publish_time":1733289901185,"_source_registry_name":"default","_cnpm_publish_time":1733289901185},"1.0.2":{"name":"ts-checker-rspack-plugin","version":"1.0.2","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"pnpm build && pnpm test:unit && pnpm test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"cd test/e2e && pnpm test","test:e2e:setup":"cd test/e2e && pnpm run setup","precommit":"pnpm build && pnpm test:unit","prepare":"husky install && pnpm build","bump":"npx bumpp"},"dependencies":{"@babel/code-frame":"^7.16.7","@rspack/lite-tapable":"^1.0.0","chokidar":"^3.5.3","memfs":"^4.14.0","minimatch":"^9.0.5","picocolors":"^1.1.1"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">=3.8.0"},"devDependencies":{"@jest/console":"^27.0.0","@rspack/core":"^1.1.3","@types/babel__code-frame":"^7.0.3","@types/jest":"^27.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.4.13","cross-env":"^7.0.3","husky":"^7.0.4","jest":"^27.4.7","jest-circus":"^27.4.6","jest-environment-node":"^27.4.6","jest-runner":"^27.0.0","mock-fs":"^5.1.2","prettier":"^2.5.1","rimraf":"^3.0.2","strip-ansi":"^6.0.0","ts-jest":"^27.1.3","typescript":"^4.5.5"},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","provenance":true,"registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.14.2","_id":"ts-checker-rspack-plugin@1.0.2","gitHead":"bdb1a075349e2819c5c9077713e507ba8aaea42a","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"shasum":"4e6e1031fc6a3950047ff02a98313fab2039c37a","size":41366,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.0.2.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-checker-rspack-plugin_1.0.2_1733146274435_0.29238183243393556"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-02T13:31:14.591Z","publish_time":1733146274591,"_source_registry_name":"default","_cnpm_publish_time":1733146274591},"1.0.1":{"name":"ts-checker-rspack-plugin","version":"1.0.1","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"pnpm build && pnpm test:unit && pnpm test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"cd test/e2e && pnpm test","test:e2e:setup":"cd test/e2e && pnpm run setup","precommit":"pnpm build && pnpm test:unit","prepare":"husky install && pnpm build","bump":"npx bumpp"},"dependencies":{"@babel/code-frame":"^7.16.7","@rspack/lite-tapable":"^1.0.0","chokidar":"^3.5.3","memfs":"^4.14.0","minimatch":"^9.0.5","picocolors":"^1.1.1"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">=3.8.0"},"devDependencies":{"@jest/console":"^27.0.0","@rspack/core":"^1.1.3","@types/babel__code-frame":"^7.0.3","@types/jest":"^27.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.4.13","cross-env":"^7.0.3","husky":"^7.0.4","jest":"^27.4.7","jest-circus":"^27.4.6","jest-environment-node":"^27.4.6","jest-runner":"^27.0.0","mock-fs":"^5.1.2","prettier":"^2.5.1","rimraf":"^3.0.2","strip-ansi":"^6.0.0","ts-jest":"^27.1.3","typescript":"^4.5.5"},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","provenance":true,"registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.14.2","_id":"ts-checker-rspack-plugin@1.0.1","gitHead":"db1fd742c6f904a6d34ef8f4b7be9b76f6375112","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"shasum":"6fe839acce86564741607570988d6076c488571a","size":42590,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.0.1.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-checker-rspack-plugin_1.0.1_1732519290681_0.256600420688597"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-25T07:21:30.943Z","publish_time":1732519290943,"_source_registry_name":"default","_cnpm_publish_time":1732519290943},"1.0.0":{"name":"ts-checker-rspack-plugin","version":"1.0.0","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"pnpm build && pnpm test:unit && pnpm test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"cd test/e2e && pnpm test","test:e2e:setup":"cd test/e2e && pnpm run setup","precommit":"pnpm build && pnpm test:unit","prepare":"husky install && pnpm build","bump":"npx bumpp"},"dependencies":{"@babel/code-frame":"^7.16.7","@rspack/lite-tapable":"^1.0.0","chokidar":"^3.5.3","memfs":"^4.14.0","minimatch":"^9.0.5","picocolors":"^1.1.1"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">=3.8.0"},"devDependencies":{"@jest/console":"^27.0.0","@rspack/core":"^1.1.3","@types/babel__code-frame":"^7.0.3","@types/jest":"^27.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.4.13","cross-env":"^7.0.3","husky":"^7.0.4","jest":"^27.4.7","jest-circus":"^27.4.6","jest-environment-node":"^27.4.6","jest-runner":"^27.0.0","mock-fs":"^5.1.2","prettier":"^2.5.1","rimraf":"^3.0.2","strip-ansi":"^6.0.0","ts-jest":"^27.1.3","typescript":"^4.5.5"},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.14.2","_id":"ts-checker-rspack-plugin@1.0.0","gitHead":"19b46d9e5198ad73f7588cec4a09dff84339baf7","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"shasum":"32f20d76665a181f51a392e3436d09cc2c729833","size":42348,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.0.0.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-checker-rspack-plugin_1.0.0_1732512211639_0.05479787869074104"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-25T05:23:31.813Z","publish_time":1732512211813,"_source_registry_name":"default","_cnpm_publish_time":1732512211813},"1.0.0-beta.1":{"name":"ts-checker-rspack-plugin","version":"1.0.0-beta.1","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"pnpm build && pnpm test:unit && pnpm test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"npm pack && cross-env jest --config=test/e2e/jest.config.js --ci -i -b","precommit":"pnpm build && pnpm test:unit","prepare":"husky install && pnpm build","bump":"npx bumpp"},"dependencies":{"@babel/code-frame":"^7.16.7","@rspack/lite-tapable":"^1.0.0","chalk":"^4.1.2","chokidar":"^3.5.3","memfs":"^4.14.0","minimatch":"^3.0.4","semver":"^7.3.5"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">3.6.0"},"devDependencies":{"@jest/console":"^27.0.0","@rspack/core":"^1.1.3","@types/babel__code-frame":"^7.0.3","@types/cross-spawn":"^6.0.2","@types/jest":"^27.4.0","@types/minimatch":"^3.0.5","@types/mock-fs":"^4.13.1","@types/node":"^16.4.13","@types/rimraf":"^3.0.2","@types/semver":"^7.3.9","cross-env":"^7.0.3","husky":"^7.0.4","jest":"^27.4.7","jest-circus":"^27.4.6","jest-environment-node":"^27.4.6","jest-runner":"^27.0.0","karton":"^0.4.1","mock-fs":"^5.1.2","prettier":"^2.5.1","rimraf":"^3.0.2","strip-ansi":"^6.0.0","ts-jest":"^27.1.3","typescript":"^4.5.5"},"engines":{"node":">=16.0.0","pnpm":">=1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.14.2","_id":"ts-checker-rspack-plugin@1.0.0-beta.1","gitHead":"40cff556a97628c00636f74965748f2a5efc0b35","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"shasum":"58d53eb11803a97bcee3063a0e49b05a5b4c34fd","size":42505,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.0.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.0.0-beta.1.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-checker-rspack-plugin_1.0.0-beta.1_1732460480633_0.5037342020842897"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-24T15:01:20.886Z","publish_time":1732460480886,"_source_registry_name":"default","_cnpm_publish_time":1732460480886},"1.0.0-beta.0":{"name":"ts-checker-rspack-plugin","version":"1.0.0-beta.0","description":"Runs typescript type checker and linter on separate process.","keywords":["rspack","plugin","typescript","typecheck"],"bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/rspack-contrib/ts-checker-rspack-plugin.git"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"cross-env rimraf lib && cross-env tsc --version && cross-env tsc","lint":"echo lint","test":"yarn build && yarn test:unit && yarn test:e2e","test:unit":"cross-env jest --config=test/unit/jest.config.js","test:e2e":"npm pack && cross-env jest --config=test/e2e/jest.config.js --ci -i -b","precommit":"yarn build && yarn test:unit","commit":"cross-env git-cz","prepare":"husky install"},"dependencies":{"@babel/code-frame":"^7.16.7","chalk":"^4.1.2","chokidar":"^3.5.3","fs-extra":"^10.0.0","memfs":"^3.4.1","minimatch":"^3.0.4","node-abort-controller":"^3.0.1","schema-utils":"^3.1.1","semver":"^7.3.5","tapable":"^2.2.1"},"peerDependencies":{"@rspack/core":"^1.0.0","typescript":">3.6.0"},"devDependencies":{"@jest/console":"^27.0.0","@rspack/core":"^1.1.3","@types/babel__code-frame":"^7.0.3","@types/cross-spawn":"^6.0.2","@types/fs-extra":"^9.0.13","@types/jest":"^27.4.0","@types/json-schema":"^7.0.9","@types/minimatch":"^3.0.5","@types/mock-fs":"^4.13.1","@types/node":"^16.4.13","@types/rimraf":"^3.0.2","@types/semver":"^7.3.9","cross-env":"^7.0.3","git-cz":"^4.8.0","husky":"^7.0.4","jest":"^27.4.7","jest-circus":"^27.4.6","jest-environment-node":"^27.4.6","jest-runner":"^27.0.0","json-schema":"^0.4.0","karton":"^0.4.1","mock-fs":"^5.1.2","prettier":"^2.5.1","rimraf":"^3.0.2","strip-ansi":"^6.0.0","ts-jest":"^27.1.3","typescript":"^4.5.5"},"engines":{"node":">=12.13.0","yarn":">=1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"packageManager":"yarn@1.22.19","_id":"ts-checker-rspack-plugin@1.0.0-beta.0","gitHead":"cca100aa59f3e5a42fd43d59c0a04cd95e302a96","homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"shasum":"1ae510f15d2df96a6030481c8c1d3ae8f52eb16b","size":43389,"noattachment":false,"key":"/ts-checker-rspack-plugin/-/ts-checker-rspack-plugin-1.0.0-beta.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-checker-rspack-plugin/download/ts-checker-rspack-plugin-1.0.0-beta.0.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-checker-rspack-plugin_1.0.0-beta.0_1732453648660_0.5960744839993446"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-24T13:07:28.874Z","publish_time":1732453648874,"_source_registry_name":"default","_cnpm_publish_time":1732453648874}},"readme":"# ts-checker-rspack-plugin\n\nRspack plugin that runs TypeScript type checker on a separate process.\n\n<p>\n  <a href=\"https://npmjs.com/package/ts-checker-rspack-plugin\">\n   <img src=\"https://img.shields.io/npm/v/ts-checker-rspack-plugin?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"npm version\" />\n  </a>\n  <img src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"license\" />\n  <a href=\"https://npmcharts.com/compare/ts-checker-rspack-plugin?minimal=true\"><img src=\"https://img.shields.io/npm/dm/ts-checker-rspack-plugin.svg?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"downloads\" /></a>\n</p>\n\n## Credits\n\nThis plugin is forked from [TypeStrong/fork-ts-checker-webpack-plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin), which is created by [Piotr Oleś](https://github.com/piotr-oles). See the original project's [LICENSE](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/main/LICENSE).\n\nBig thanks to `fork-ts-checker-webpack-plugin` creators and contributors for their great work. ❤️\n\n## Features\n\n- Speeds up [TypeScript](https://github.com/Microsoft/TypeScript) type checking (by moving it to a separate process) ????\n- Supports modern TypeScript features like [project references](https://www.typescriptlang.org/docs/handbook/project-references.html) and [incremental mode](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html#faster-subsequent-builds-with-the---incremental-flag) ✨\n- Displays nice error messages with the [code frame](https://babeljs.io/docs/en/next/babel-code-frame.html) formatter ????\n\n???? For Rsbuild projects, use [@rsbuild/plugin-type-check](https://github.com/rstackjs/rsbuild-plugin-type-check) to get out-of-the-box experience.\n\n## Installation\n\nThis plugin requires **Node.js >=16.0.0+**, **Rspack ^1.0.0**, **TypeScript ^3.8.0**\n\n```sh\n# with npm\nnpm install -D ts-checker-rspack-plugin\n\n# with yarn\nyarn add -D ts-checker-rspack-plugin\n\n# with pnpm\npnpm add -D ts-checker-rspack-plugin\n```\n\nThe minimal Rspack config with [builtin:swc-loader](https://rspack.rs/guide/features/builtin-swc-loader).\n\n```js\n// rspack.config.mjs\nimport { TsCheckerRspackPlugin } from 'ts-checker-rspack-plugin';\n\nexport default {\n  entry: './src/index.ts',\n  resolve: {\n    extensions: ['.ts', '.tsx', '.js'],\n  },\n  module: {\n    rules: [\n      {\n        test: /\\.tsx?$/,\n        loader: 'builtin:swc-loader',\n        options: {\n          jsc: {\n            parser: {\n              syntax: 'typescript',\n            },\n          },\n        },\n      },\n    ],\n  },\n  plugins: [new TsCheckerRspackPlugin()],\n};\n```\n\nIf you are using CommonJS:\n\n```js\n// rspack.config.js\nconst { TsCheckerRspackPlugin } = require('ts-checker-rspack-plugin');\n\nmodule.exports = {\n  plugins: [new TsCheckerRspackPlugin()],\n};\n```\n\n## Modules resolution\n\nIt's very important to be aware that **this plugin uses [TypeScript](https://github.com/Microsoft/TypeScript)'s, not\nRspack's modules resolution**. It means that you have to setup `tsconfig.json` correctly.\n\n> It's because of the performance - with TypeScript's module resolution we don't have to wait for Rspack to compile files.\n>\n> To debug TypeScript's modules resolution, you can use `tsc --traceResolution` command.\n\n## Options\n\n| Name         | Type                                                             | Default value                             | Description                                                                                                                                                                                                                                                                                                       |\n| ------------ | ---------------------------------------------------------------- | ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `async`      | `boolean`                                                        | `compiler.options.mode === 'development'` | If `true`, reports issues **after** Rspack's compilation is done. Thanks to that it doesn't block the compilation. Used only in the `watch` mode.                                                                                                                                                                 |\n| `typescript` | `object`                                                         | `{}`                                      | See [TypeScript options](#typescript-options).                                                                                                                                                                                                                                                                    |\n| `issue`      | `object`                                                         | `{}`                                      | See [Issues options](#issues-options).                                                                                                                                                                                                                                                                            |\n| `formatter`  | `string` or `object` or `function`                               | `codeframe`                               | Available formatters are `basic`, `codeframe` and a custom `function`. To [configure](https://babeljs.io/docs/en/babel-code-frame#options) `codeframe` formatter, pass: `{ type: 'codeframe', options: { <coderame options> } }`. To use absolute file path, pass: `{ type: 'codeframe', pathType: 'absolute' }`. |\n| `logger`     | `{ log: function, error: function }` or `webpack-infrastructure` | `console`                                 | Console-like object to print issues in `async` mode.                                                                                                                                                                                                                                                              |\n| `devServer`  | `boolean`                                                        | `true`                                    | If set to `false`, errors will not be reported to Dev Server and displayed in the error overlay.                                                                                                                                                                                                                  |\n\n### TypeScript options\n\nOptions for the TypeScript checker (`typescript` option object).\n\n| Name                | Type                                                                           | Default value                                                                                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n| ------------------- | ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `memoryLimit`       | `number`                                                                       | `8192`                                                                                                         | Memory limit for the checker process in MB. If the process exits with the allocation failed error, try to increase this number.                                                                                                                                                                                                                                                                                                                                                                                                                                          |\n| `configFile`        | `string`                                                                       | `'tsconfig.json'`                                                                                              | Path to the `tsconfig.json` file (path relative to the `compiler.options.context` or absolute path)                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |\n| `configOverwrite`   | `object`                                                                       | `{ compilerOptions: { skipLibCheck: true, sourceMap: false, inlineSourceMap: false, declarationMap: false } }` | This configuration will overwrite configuration from the `tsconfig.json` file. Supported fields are: `extends`, `compilerOptions`, `include`, `exclude`, `files`, and `references`.                                                                                                                                                                                                                                                                                                                                                                                      |\n| `context`           | `string`                                                                       | `dirname(configuration.configFile)`                                                                            | The base path for finding files specified in the `tsconfig.json`. Same as the `context` option from the [ts-loader](https://github.com/TypeStrong/ts-loader#context). Useful if you want to keep your `tsconfig.json` in an external package. Keep in mind that **not** having a `tsconfig.json` in your project root can cause different behaviour between `ts-checker-rspack-plugin` and `tsc`. When using editors like `VS Code` it is advised to add a `tsconfig.json` file to the root of the project and extend the config file referenced in option `configFile`. |\n| `build`             | `boolean`                                                                      | `false`                                                                                                        | The equivalent of the `--build` flag for the `tsc` command.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n| `mode`              | `'readonly'` or `'write-dts'` or `'write-tsbuildinfo'` or `'write-references'` | `build === true ? 'write-tsbuildinfo' ? 'readonly'`                                                            | Use `readonly` if you don't want to write anything on the disk, `write-dts` to write only `.d.ts` files, `write-tsbuildinfo` to write only `.tsbuildinfo` files, `write-references` to write both `.js` and `.d.ts` files of project references (last 2 modes requires `build: true`).                                                                                                                                                                                                                                                                                   |\n| `diagnosticOptions` | `object`                                                                       | `{ syntactic: false, semantic: true, declaration: false, global: false }`                                      | Settings to select which diagnostics do we want to perform.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n| `profile`           | `boolean`                                                                      | `false`                                                                                                        | Measures and prints timings related to the TypeScript performance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |\n| `typescriptPath`    | `string`                                                                       | `require.resolve('typescript')`                                                                                | If supplied this is a custom path where TypeScript can be found.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |\n\n### Issues options\n\nOptions for the issues filtering (`issue` option object).\n\n- **Type**:\n\n```typescript\ninterface IssueOptions {\n  include?: IssuePredicateOption;\n  exclude?: IssuePredicateOption;\n  defaultSeverity?: 'auto' | 'warning' | 'error';\n}\n\ninterface Issue {\n  severity: 'error' | 'warning';\n  code: string;\n  // file field supports glob matching\n  file?: string;\n}\n\ntype IssueMatch = Partial<Issue>;\ntype IssuePredicate = (issue: Issue) => boolean;\ntype IssuePredicateOption = IssuePredicate | IssueMatch | (IssuePredicate | IssueMatch)[];\n```\n\n| Name              | Type                             | Default value | Description                                                                                                                                                |\n| ----------------- | -------------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `include`         | `IssueFilter`                    | `undefined`   | If `object`, defines issue properties that should be [matched](src/issue/issue-match.ts). If `function`, acts as a predicate where `issue` is an argument. |\n| `exclude`         | `IssueFilter`                    | `undefined`   | Same as `include` but issues that match this predicate will be excluded.                                                                                   |\n| `defaultSeverity` | `'auto' \\| 'warning' \\| 'error'` | `'auto'`      | Controls how the plugin assigns the severity of emitted issues.                                                                                            |\n\n`defaultSeverity` behavior:\n\n- `auto`: Uses the default mapping based on the TypeScript diagnostic category (`Error` → `error`, `Warning` → `warning`).\n- `warning`: Forces all issues to be emitted as warnings.\n- `error`: Forces all issues to be emitted as errors.\n\n- **Example**:\n\nInclude issues from the `src` directory, exclude issues from `.spec.ts` files:\n\n```js\nnew TsCheckerRspackPlugin({\n  issue: {\n    include: [{ file: '**/src/**/*' }],\n    exclude: [{ file: '**/*.spec.ts' }],\n  },\n});\n```\n\nExclude files under `/node_modules/` using `file:`:\n\n```js\nnew TsCheckerRspackPlugin({\n  issue: {\n    exclude: [({ file = '' }) => /[\\\\/]some-folder[\\\\/]/.test(file)],\n  },\n});\n```\n\nForce all issues to be emitted as warnings and do not break the build:\n\n```js\nnew TsCheckerRspackPlugin({\n  issue: {\n    defaultSeverity: 'warning',\n  },\n});\n```\n\n## Plugin hooks\n\nThis plugin provides some custom Rspack hooks:\n\n| Hook key   | Type                       | Params                | Description                                                                                                                                                        |\n| ---------- | -------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `start`    | `AsyncSeriesWaterfallHook` | `change, compilation` | Starts issues checking for a compilation. It's an async waterfall hook, so you can modify the list of changed and removed files or delay the start of the service. |\n| `waiting`  | `SyncHook`                 | `compilation`         | Waiting for the issues checking.                                                                                                                                   |\n| `canceled` | `SyncHook`                 | `compilation`         | Issues checking for the compilation has been canceled.                                                                                                             |\n| `error`    | `SyncHook`                 | `compilation`         | An error occurred during issues checking.                                                                                                                          |\n| `issues`   | `SyncWaterfallHook`        | `issues, compilation` | Issues have been received and will be reported. It's a waterfall hook, so you can modify the list of received issues.                                              |\n\nTo access plugin hooks and tap into the event, we need to use the `getCompilerHooks` static method.\nWhen we call this method with a [Rspack compiler instance](https://rspack.rs/api/javascript-api/compiler), it returns the object with\n[tapable](https://github.com/webpack/tapable) hooks where you can pass in your callbacks.\n\n```js\n// ./src/rspack/MyRspackPlugin.js\nconst { TsCheckerRspackPlugin } = require('ts-checker-rspack-plugin');\n\nclass MyRspackPlugin {\n  apply(compiler) {\n    const hooks = TsCheckerRspackPlugin.getCompilerHooks(compiler);\n\n    // log some message on waiting\n    hooks.waiting.tap('MyPlugin', () => {\n      console.log('waiting for issues');\n    });\n    // don't show warnings\n    hooks.issues.tap('MyPlugin', (issues) => issues.filter((issue) => issue.severity === 'error'));\n  }\n}\n\nmodule.exports = MyRspackPlugin;\n\n// rspack.config.js\nconst { TsCheckerRspackPlugin } = require('ts-checker-rspack-plugin');\nconst MyRspackPlugin = require('./src/rspack/MyRspackPlugin');\n\nmodule.exports = {\n  /* ... */\n  plugins: [new TsCheckerRspackPlugin(), new MyRspackPlugin()],\n};\n```\n\n## Profiling types resolution\n\nWhen using TypeScript 4.3.0 or newer you can profile long type checks by\nsetting \"generateTrace\" compiler option. This is an instruction from [microsoft/TypeScript#40063](https://github.com/microsoft/TypeScript/pull/40063):\n\n1. Set \"generateTrace\": \"{folderName}\" in your `tsconfig.json` (under `compilerOptions`)\n2. Look in the resulting folder. If you used build mode, there will be a `legend.json` telling you what went where.\n   Otherwise, there will be `trace.json` file and `types.json` files.\n3. Navigate to [edge://tracing](edge://tracing) or [chrome://tracing](chrome://tracing) and load `trace.json`\n4. Expand Process 1 with the little triangle in the left sidebar\n5. Click on different blocks to see their payloads in the bottom pane\n6. Open `types.json` in an editor\n7. When you see a type ID in the tracing output, go-to-line {id} to find data about that type\n\n## Performance optimization\n\nThis plugin delegates type checking to TypeScript, so overall performance is mostly determined by `tsc` itself.\n\nIf you need faster type checks, start by optimizing your TypeScript setup using the [official TypeScript performance guide](https://github.com/microsoft/TypeScript/wiki/Performance).\n\nFor example, properly configuring the `include` and `exclude` scopes in `tsconfig.json` can significantly reduce unnecessary type checking and improve TypeScript performance:\n\n```json title=\"tsconfig.json\"\n{\n  \"include\": [\"src\"],\n  \"exclude\": [\"**/node_modules\", \"**/.*/\"]\n}\n```\n\n## Enabling incremental mode\n\nTypeScript's \"incremental\" mode speeds up initial cold-start typechecks keeping an on-disk cache.\n\nIt does not speed up subsequent subsequent re-typechecking during the runtime of the dev server.\n\nTo enable incremental mode, set `\"compilerOptions.incremental\": true` in your `tsconfig.json`:\n\n```diff\n{\n  \"compilerOptions\": {\n+   \"incremental\": true,\n  }\n}\n```\n\nIn the past we also recommended to combine incremental mode with specifying `build: true` in `TsCheckerRspackPlugin` settings to enable TypeScript's [\"Build\" mode](https://www.typescriptlang.org/docs/handbook/project-references.html#build-mode-for-typescript) designed to handle [Project References](https://www.typescriptlang.org/docs/handbook/project-references.html#build-mode-for-typescript).\n\nHowever, \"Build\" mode causes significant slowdowns for re-typechecks when the dev server is already running, as it switches from TypeScript's in-memory \"Watch\" mode to \"Build\" mode. If you need \"Build\" mode, it can be configured as:\n\n```js\nnew TsCheckerRspackPlugin({\n  typescript: {\n    build: true,\n  },\n});\n```\n\n## Vue components\n\nTo enable typecheck in `.vue` files, use the custom TypeScript wrapper [`@esctn/vue-tsc-api`](https://www.npmjs.com/package/@esctn/vue-tsc-api). It works on top of [`vue-tsc`](https://www.npmjs.com/package/vue-tsc) — a popular CLI tool for type-checking Vue 3 code.\n\n```bash\nnpm add @esctn/vue-tsc-api -D\n```\n\n```js\nnew TsCheckerRspackPlugin({\n  typescript: {\n    typescriptPath: '@esctn/vue-tsc-api',\n  },\n});\n```\n\n## License\n\nMIT License\n","_attachments":{},"homepage":"https://github.com/rspack-contrib/ts-checker-rspack-plugin#readme","bugs":{"url":"https://github.com/rspack-contrib/ts-checker-rspack-plugin/issues"},"license":"MIT"}