@tsslint/cli 1.0.3 → 1.0.5
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.
- package/index.js +2 -2
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -73,7 +73,7 @@ const glob = require("glob");
|
|
|
73
73
|
async function projectWorker(tsconfigOption) {
|
|
74
74
|
const tsconfig = await getTsconfigPath(tsconfigOption);
|
|
75
75
|
const configFile = ts.findConfigFile(path.dirname(tsconfig), ts.sys.fileExists, 'tsslint.config.ts');
|
|
76
|
-
log.step(`Project: ${path.relative(process.cwd(), tsconfig)} (${parseCommonLine(tsconfig).fileNames.length}
|
|
76
|
+
log.step(`Project: ${path.relative(process.cwd(), tsconfig)} (${parseCommonLine(tsconfig).fileNames.length} files)`);
|
|
77
77
|
if (!configFile) {
|
|
78
78
|
log.error('No tsslint.config.ts file found!');
|
|
79
79
|
return;
|
|
@@ -176,7 +176,7 @@ const glob = require("glob");
|
|
|
176
176
|
}
|
|
177
177
|
tsconfig = await text({
|
|
178
178
|
message: 'Select the tsconfig project. (Use --project or --projects to skip this prompt.)',
|
|
179
|
-
placeholder: shortTsconfig ? `${shortTsconfig} (${parseCommonLine(tsconfig).fileNames.length}
|
|
179
|
+
placeholder: shortTsconfig ? `${shortTsconfig} (${parseCommonLine(tsconfig).fileNames.length} files)` : 'No tsconfig.json/jsconfig.json found, please enter the path to the tsconfig.json/jsconfig.json file.',
|
|
180
180
|
defaultValue: shortTsconfig,
|
|
181
181
|
validate(value) {
|
|
182
182
|
value ||= shortTsconfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsslint/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"tsslint": "./bin/tsslint.js"
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@clack/prompts": "^0.7.0",
|
|
19
|
-
"@tsslint/config": "1.0.
|
|
20
|
-
"@tsslint/core": "1.0.
|
|
19
|
+
"@tsslint/config": "1.0.5",
|
|
20
|
+
"@tsslint/core": "1.0.5",
|
|
21
21
|
"glob": "^10.4.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"typescript": "*"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "ee85483f0611f1005a3f49599575d1a7069c401a"
|
|
27
27
|
}
|