create-agntcms-app 0.2.1 → 0.2.2
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.mjs +4 -2
- package/dist/template/_gitignore +63 -0
- package/dist/template/package.json +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -44,7 +44,7 @@ function installCommand(pm) {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
// src/version.ts
|
|
47
|
-
var CLI_VERSION = true ? "0.2.
|
|
47
|
+
var CLI_VERSION = true ? "0.2.2" : "0.0.0-dev";
|
|
48
48
|
|
|
49
49
|
// src/scaffold.ts
|
|
50
50
|
var COPY_EXCLUDES = /* @__PURE__ */ new Set([
|
|
@@ -147,7 +147,9 @@ function copyDir(src, dest) {
|
|
|
147
147
|
fs.mkdirSync(destPath, { recursive: true });
|
|
148
148
|
copyDir(srcPath, destPath);
|
|
149
149
|
} else if (entry.isFile()) {
|
|
150
|
-
|
|
150
|
+
const destName = entry.name === "_gitignore" ? ".gitignore" : entry.name;
|
|
151
|
+
const renamedDestPath = path2.join(dest, destName);
|
|
152
|
+
fs.copyFileSync(srcPath, renamedDestPath);
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
node_modules/
|
|
3
|
+
.pnp
|
|
4
|
+
.pnp.*
|
|
5
|
+
.yarn/*
|
|
6
|
+
!.yarn/patches
|
|
7
|
+
!.yarn/plugins
|
|
8
|
+
!.yarn/releases
|
|
9
|
+
!.yarn/versions
|
|
10
|
+
|
|
11
|
+
# Next.js
|
|
12
|
+
.next/
|
|
13
|
+
out/
|
|
14
|
+
build/
|
|
15
|
+
dist/
|
|
16
|
+
|
|
17
|
+
# Production
|
|
18
|
+
*.tsbuildinfo
|
|
19
|
+
next-env.d.ts
|
|
20
|
+
|
|
21
|
+
# Testing
|
|
22
|
+
coverage/
|
|
23
|
+
|
|
24
|
+
# Logs
|
|
25
|
+
*.log
|
|
26
|
+
npm-debug.log*
|
|
27
|
+
yarn-debug.log*
|
|
28
|
+
yarn-error.log*
|
|
29
|
+
pnpm-debug.log*
|
|
30
|
+
|
|
31
|
+
# Environment
|
|
32
|
+
.env
|
|
33
|
+
.env*.local
|
|
34
|
+
.env.development.local
|
|
35
|
+
.env.test.local
|
|
36
|
+
.env.production.local
|
|
37
|
+
|
|
38
|
+
# Editor / OS
|
|
39
|
+
.DS_Store
|
|
40
|
+
*.pem
|
|
41
|
+
.vscode/
|
|
42
|
+
.idea/
|
|
43
|
+
Thumbs.db
|
|
44
|
+
|
|
45
|
+
# Vercel
|
|
46
|
+
.vercel
|
|
47
|
+
|
|
48
|
+
# Claude Code (local-only)
|
|
49
|
+
.claude/settings.local.json
|
|
50
|
+
|
|
51
|
+
# agntcms — content state
|
|
52
|
+
# Form submissions are user data — not source content. Gitignore by default
|
|
53
|
+
# per ARCHITECTURE.md §4 and §6.5.
|
|
54
|
+
content/submissions/*
|
|
55
|
+
# Keep the sentinel file so the directory exists on a fresh clone, preventing
|
|
56
|
+
# the FS adapter from failing when it tries to list a non-existent directory.
|
|
57
|
+
!content/submissions/.gitkeep
|
|
58
|
+
|
|
59
|
+
# Drafts are transient editor state — written by the dev server on every
|
|
60
|
+
# preview-mode edit. Same gitignore pattern as submissions: ignore the
|
|
61
|
+
# directory's contents but keep the sentinel so the FS adapter can list it.
|
|
62
|
+
content/drafts/*
|
|
63
|
+
!content/drafts/.gitkeep
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-agntcms-app",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "create-agntcms-app: scaffold a new agntcms project from the canonical template",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"commander": "^12.1.0",
|
|
19
|
-
"@agntcms/skills": "0.2.
|
|
19
|
+
"@agntcms/skills": "0.2.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"tsup": "^8.3.5",
|