@naturalcycles/dev-lib 19.2.0 → 19.2.1

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.
@@ -143,7 +143,7 @@ async function bt() {
143
143
  runTest();
144
144
  }
145
145
  async function typecheck() {
146
- await runTSCInFolders(['.', 'scripts', 'e2e'], ['--noEmit']);
146
+ await runTSCInFolders(['tsconfig.json', 'scripts/tsconfig.json', 'e2e/tsconfig.json'], ['--noEmit']);
147
147
  }
148
148
  async function tscAll() {
149
149
  console.log(`"dev-lib tsc" is deprecated, use "dev-lib typecheck" instead`);
@@ -1,10 +1,10 @@
1
1
  export declare function buildProd(): Promise<void>;
2
2
  /**
3
- * Use '.' to indicate root.
3
+ * Use 'tsconfig.json' to indicate root.
4
4
  */
5
5
  export declare function runTSCInFolders(tsconfigPaths: string[], args?: string[], parallel?: boolean): Promise<void>;
6
6
  /**
7
- * Pass '.' to run in root.
7
+ * Pass 'tsconfig.json' to run in root.
8
8
  */
9
9
  export declare function runTSCInFolder(tsconfigPath: string, args?: string[]): Promise<void>;
10
10
  export declare function runTSCProd(args?: string[]): Promise<void>;
@@ -6,7 +6,7 @@ export async function buildProd() {
6
6
  await runTSCProd();
7
7
  }
8
8
  /**
9
- * Use '.' to indicate root.
9
+ * Use 'tsconfig.json' to indicate root.
10
10
  */
11
11
  export async function runTSCInFolders(tsconfigPaths, args = [], parallel = true) {
12
12
  if (parallel) {
@@ -19,7 +19,7 @@ export async function runTSCInFolders(tsconfigPaths, args = [], parallel = true)
19
19
  }
20
20
  }
21
21
  /**
22
- * Pass '.' to run in root.
22
+ * Pass 'tsconfig.json' to run in root.
23
23
  */
24
24
  export async function runTSCInFolder(tsconfigPath, args = []) {
25
25
  if (!fs2.pathExists(tsconfigPath)) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
3
  "type": "module",
4
- "version": "19.2.0",
4
+ "version": "19.2.1",
5
5
  "dependencies": {
6
6
  "@commitlint/cli": "^19",
7
7
  "@commitlint/config-conventional": "^19",