@soulbatical/tetra-dev-toolkit 1.13.0 → 1.13.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.
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
* Reference: stella_howto_get slug="tetra-architecture-guide"
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
|
-
import { readFileSync, existsSync } from 'fs'
|
|
23
|
+
import { readFileSync, existsSync, readdirSync } from 'fs'
|
|
24
24
|
import { join } from 'path'
|
|
25
|
-
import {
|
|
25
|
+
import { globSync } from 'glob'
|
|
26
26
|
|
|
27
27
|
export const meta = {
|
|
28
28
|
id: 'config-rls-alignment',
|
|
@@ -176,7 +176,6 @@ function parseMigrations(projectRoot) {
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
function findFiles(projectRoot, pattern) {
|
|
179
|
-
const { globSync } = require('glob')
|
|
180
179
|
try {
|
|
181
180
|
return globSync(pattern, { cwd: projectRoot, absolute: true, ignore: ['**/node_modules/**'] })
|
|
182
181
|
} catch {
|