create-react-adam 0.2.0 → 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/bin/index.js
CHANGED
|
@@ -172,6 +172,13 @@ async function main() {
|
|
|
172
172
|
|
|
173
173
|
await copyDirectory(templatePath, projectPath, excludePaths);
|
|
174
174
|
|
|
175
|
+
// Rename gitignore to .gitignore (npm doesn't publish .gitignore files)
|
|
176
|
+
const gitignorePath = join(projectPath, 'gitignore');
|
|
177
|
+
if (existsSync(gitignorePath)) {
|
|
178
|
+
await copyFile(gitignorePath, join(projectPath, '.gitignore'));
|
|
179
|
+
await rm(gitignorePath);
|
|
180
|
+
}
|
|
181
|
+
|
|
175
182
|
if (!includeUtils) {
|
|
176
183
|
await copyFile(
|
|
177
184
|
join(projectPath, 'src', 'pages', 'Home', 'index.no-utils.tsx'),
|
package/package.json
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Logs
|
|
2
|
+
logs
|
|
3
|
+
*.log
|
|
4
|
+
npm-debug.log*
|
|
5
|
+
yarn-debug.log*
|
|
6
|
+
yarn-error.log*
|
|
7
|
+
pnpm-debug.log*
|
|
8
|
+
lerna-debug.log*
|
|
9
|
+
|
|
10
|
+
node_modules
|
|
11
|
+
dist
|
|
12
|
+
dist-ssr
|
|
13
|
+
*.local
|
|
14
|
+
|
|
15
|
+
# Editor directories and files
|
|
16
|
+
.vscode/*
|
|
17
|
+
!.vscode/extensions.json
|
|
18
|
+
.idea
|
|
19
|
+
.DS_Store
|
|
20
|
+
*.suo
|
|
21
|
+
*.ntvs*
|
|
22
|
+
*.njsproj
|
|
23
|
+
*.sln
|
|
24
|
+
*.sw?
|
|
25
|
+
|
|
26
|
+
# E2E tests handled in e2e/.gitignore
|
package/template/package.json
CHANGED
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"react": "19.2.0",
|
|
23
23
|
"react-dom": "19.2.0",
|
|
24
24
|
"react-icons": "5.5.0",
|
|
25
|
-
"wouter": "3.
|
|
25
|
+
"wouter": "3.8.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@eslint/js": "9.39.1",
|
|
29
29
|
"@tailwindcss/vite": "4.1.17",
|
|
30
|
-
"@types/react": "19.2.
|
|
30
|
+
"@types/react": "19.2.7",
|
|
31
31
|
"@types/react-dom": "19.2.3",
|
|
32
32
|
"@vitejs/plugin-react": "5.1.1",
|
|
33
33
|
"eslint": "9.39.1",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"prettier-plugin-tailwindcss": "0.7.1",
|
|
45
45
|
"tailwindcss": "4.1.17",
|
|
46
46
|
"typescript": "5.9.3",
|
|
47
|
-
"typescript-eslint": "8.
|
|
47
|
+
"typescript-eslint": "8.48.0",
|
|
48
48
|
"vite": "7.2.4"
|
|
49
49
|
}
|
|
50
50
|
}
|