@react-pug/check-types 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.js +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-pug/check-types",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "bin": {
@@ -17,7 +17,7 @@
17
17
  "typescript": "*"
18
18
  },
19
19
  "dependencies": {
20
- "@react-pug/typescript-plugin-react-pug": "^0.1.3"
20
+ "@react-pug/typescript-plugin-react-pug": "^0.1.6"
21
21
  },
22
- "gitHead": "38ab50d75b83fbab27b7261349cba94db7707840"
22
+ "gitHead": "598181361234b5d280c79979f11726bba2ee9e8e"
23
23
  }
package/src/index.js CHANGED
@@ -365,6 +365,8 @@ export async function runCli (argv = process.argv.slice(2), io = {}) {
365
365
  const stderr = io.stderr ?? console.error
366
366
  const cwd = io.cwd ?? process.cwd()
367
367
  const prettyIsTTY = io.stderrIsTTY ?? process.stderr.isTTY
368
+ const loadPluginModule = io.loadPluginModule
369
+ const loadTypeScriptModule = io.loadTypeScriptModule
368
370
 
369
371
  let parsed
370
372
  try {
@@ -388,7 +390,9 @@ export async function runCli (argv = process.argv.slice(2), io = {}) {
388
390
  filePaths,
389
391
  projectPath: parsed.projectPath,
390
392
  tagFunction: parsed.tagFunction,
391
- injectCssxjsTypes: parsed.injectCssxjsTypes
393
+ injectCssxjsTypes: parsed.injectCssxjsTypes,
394
+ loadPluginModule,
395
+ loadTypeScriptModule
392
396
  })
393
397
  const pretty = resolvePrettyOption(parsed.pretty, prettyIsTTY)
394
398
  if (result.ok) {