camelmind 0.1.0 → 0.1.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.
- package/dist/index.js +4 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -77,7 +77,10 @@ async function init(projectName, options) {
|
|
|
77
77
|
process.exit(1);
|
|
78
78
|
}
|
|
79
79
|
await fs.copy(TEMPLATE_DIR, targetDir, {
|
|
80
|
-
filter: (src) =>
|
|
80
|
+
filter: (src) => {
|
|
81
|
+
const rel = path.relative(TEMPLATE_DIR, src);
|
|
82
|
+
return !rel.includes("node_modules") && !rel.includes(".next") && !rel.includes(".git");
|
|
83
|
+
}
|
|
81
84
|
});
|
|
82
85
|
const pkgSrc = path.join(targetDir, "_package.json");
|
|
83
86
|
const pkgDest = path.join(targetDir, "package.json");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "camelmind",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Create and manage CamelMind documentation sites",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "tsup",
|
|
17
17
|
"dev": "tsup --watch",
|
|
18
|
-
"
|
|
18
|
+
"sync-template": "node scripts/sync-template.mjs",
|
|
19
|
+
"prepublishOnly": "npm run sync-template && npm run build"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"chalk": "^5.3.0",
|