reverse-engine 0.3.0 → 0.3.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.
Potentially problematic release.
This version of reverse-engine might be problematic. Click here for more details.
- package/dist/analyzer/index.js +13 -1
- package/package.json +1 -1
package/dist/analyzer/index.js
CHANGED
|
@@ -11,7 +11,19 @@ export async function analyze(sourcePath, options = {}) {
|
|
|
11
11
|
? options.framework
|
|
12
12
|
: await detectFramework(sourcePath);
|
|
13
13
|
const include = options.include || ['**/*.{ts,tsx,js,jsx,mjs,vue}'];
|
|
14
|
-
const exclude = options.exclude || [
|
|
14
|
+
const exclude = options.exclude || [
|
|
15
|
+
'**/node_modules/**',
|
|
16
|
+
'**/dist/**',
|
|
17
|
+
'**/build/**',
|
|
18
|
+
'**/.next/**',
|
|
19
|
+
'**/.reverse-engine/**',
|
|
20
|
+
'**/*.test.*',
|
|
21
|
+
'**/*.spec.*',
|
|
22
|
+
'**/*.min.js',
|
|
23
|
+
'**/*.bundle.js',
|
|
24
|
+
'**/vendor/**',
|
|
25
|
+
'**/__pycache__/**',
|
|
26
|
+
];
|
|
15
27
|
// 파일 수집
|
|
16
28
|
const files = await glob(include, {
|
|
17
29
|
cwd: sourcePath,
|