create-nara 0.1.2 → 0.1.3

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/template.js CHANGED
@@ -11,6 +11,12 @@ export async function setupProject(options) {
11
11
  }
12
12
  // 1. Copy base template (shared files like .gitignore, tsconfig, etc)
13
13
  copyDir(path.join(templatesDir, 'base'), targetDir);
14
+ // Rename gitignore.template to .gitignore (npm doesn't include dotfiles)
15
+ const gitignoreTemplate = path.join(targetDir, 'gitignore.template');
16
+ const gitignoreDest = path.join(targetDir, '.gitignore');
17
+ if (fs.existsSync(gitignoreTemplate)) {
18
+ fs.renameSync(gitignoreTemplate, gitignoreDest);
19
+ }
14
20
  // 2. Copy mode-specific template
15
21
  const modeTemplateDir = path.join(templatesDir, mode);
16
22
  if (fs.existsSync(modeTemplateDir)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nara",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "CLI to scaffold NARA projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,9 @@
1
+ node_modules
2
+ dist
3
+ .env
4
+ *.db
5
+ *.log
6
+ database/*.sqlite3
7
+ database/*.sqlite3-*
8
+ uploads/*
9
+ !uploads/.gitkeep