@kurly-growth/growthman 0.1.18 → 0.1.19
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/bin/cli.js +12 -16
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -35,26 +35,22 @@ if (installedVersion !== currentVersion) {
|
|
|
35
35
|
}
|
|
36
36
|
fs.mkdirSync(appDir, { recursive: true });
|
|
37
37
|
|
|
38
|
-
//
|
|
39
|
-
const
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'tsconfig.json',
|
|
48
|
-
'postcss.config.mjs',
|
|
49
|
-
'package.json',
|
|
38
|
+
// 제외할 파일/폴더 (나머지는 모두 복사)
|
|
39
|
+
const excludes = [
|
|
40
|
+
'node_modules',
|
|
41
|
+
'.next',
|
|
42
|
+
'.git',
|
|
43
|
+
'.env',
|
|
44
|
+
'.env.local',
|
|
45
|
+
'generated',
|
|
46
|
+
'.DS_Store',
|
|
50
47
|
];
|
|
51
48
|
|
|
52
|
-
for (const file of
|
|
49
|
+
for (const file of fs.readdirSync(packageDir)) {
|
|
50
|
+
if (excludes.includes(file)) continue;
|
|
53
51
|
const src = path.join(packageDir, file);
|
|
54
52
|
const dest = path.join(appDir, file);
|
|
55
|
-
|
|
56
|
-
copyRecursive(src, dest);
|
|
57
|
-
}
|
|
53
|
+
copyRecursive(src, dest);
|
|
58
54
|
}
|
|
59
55
|
|
|
60
56
|
// 버전 파일 생성
|