@10stars/config 8.0.2 → 8.0.3
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/package.json +1 -1
- package/src/link-packages.ts +5 -3
- package/tsconfig.json +3 -0
package/package.json
CHANGED
package/src/link-packages.ts
CHANGED
|
@@ -41,9 +41,11 @@ export const linkPackages = async (
|
|
|
41
41
|
continue
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
const files = await fs
|
|
45
|
-
withFileTypes: true
|
|
46
|
-
|
|
44
|
+
const files = await fs
|
|
45
|
+
.readdir(packageToLink.relativePath, { withFileTypes: true })
|
|
46
|
+
.catch(() => null)
|
|
47
|
+
if (!files) continue
|
|
48
|
+
|
|
47
49
|
const directories = files.filter((v) => v.isDirectory()).map((v) => v.name)
|
|
48
50
|
const packages = (
|
|
49
51
|
await Promise.all(
|
package/tsconfig.json
CHANGED
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
"noImplicitAny": false,
|
|
26
26
|
"noUnusedLocals": false, // optimization happens during build
|
|
27
27
|
"noUnusedParameters": false, // optimization happens during build
|
|
28
|
+
|
|
29
|
+
"suppressImplicitAnyIndexErrors": true,
|
|
30
|
+
|
|
28
31
|
"noEmitHelpers": true,
|
|
29
32
|
"noErrorTruncation": true,
|
|
30
33
|
"experimentalDecorators": true,
|