create-apppaaaul 2.0.13 → 2.0.15

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.
@@ -1,49 +1,52 @@
1
- {
2
- "name": "{{name}}",
3
- "version": "0.1.0",
4
- "private": true,
5
- "scripts": {
6
- "dev": "next dev --turbopack",
7
- "build": "next build",
8
- "start": "next start",
9
- "lint": "next lint"
10
- },
11
- "dependencies": {
12
- "@radix-ui/react-slot": "^1.2.0",
13
- "@tailwindcss/postcss": "^4.1.4",
14
- "autoprefixer": "^10.4.21",
15
- "class-variance-authority": "^0.7.1",
16
- "clsx": "^2.1.1",
17
- "lucide-react": "^0.525.0",
18
- "next": "^15.3.1",
19
- "postcss": "^8.5.3",
20
- "react": "19.1.0",
21
- "react-dom": "19.1.0",
22
- "tailwind-merge": "^3.2.0",
23
- "tailwindcss": "^4.1.4",
24
- "tailwindcss-animate": "^1.0.7"
25
- },
26
- "devDependencies": {
27
- "@eslint/compat": "^1.2.8",
28
- "@next/eslint-plugin-next": "15.3.5",
29
- "@types/node": "^22.15.3",
30
- "@types/react": "^19.1.8",
31
- "@types/react-dom": "^19.1.2",
32
- "@vercel/style-guide": "^6.0.0",
33
- "babel-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
34
- "eslint": "^9.30.1",
35
- "eslint-config-next": "^15.3.5",
36
- "eslint-config-prettier": "^10.1.5",
37
- "eslint-plugin-import": "^2.31.0",
38
- "eslint-plugin-jsx-a11y": "^6.10.2",
39
- "eslint-plugin-prettier": "^5.5.1",
40
- "eslint-plugin-react": "^7.37.5",
41
- "eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
42
- "eslint-plugin-react-hooks": "^5.2.0",
43
- "globals": "^16.3.0",
44
- "prettier": "^3.5.3",
45
- "prettier-plugin-tailwindcss": "^0.6.14",
46
- "typescript": "^5.8.3",
47
- "typescript-eslint": "^8.36.0"
48
- }
1
+ {
2
+ "name": "{{name}}",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "scripts": {
6
+ "dev": "next dev --turbopack",
7
+ "build": "next build",
8
+ "start": "next start",
9
+ "lint": "next lint",
10
+ "prod": "pnpm test && pnpm lint && pnpm build && git checkout main && git pull origin main && git merge dev && pnpm version patch && git push origin main && git checkout dev && echo ✅ Deploy completado",
11
+ "dev-rebase": "node src/scripts/dev-rebase.js"
12
+ },
13
+ "dependencies": {
14
+ "@radix-ui/react-slot": "^1.2.3",
15
+ "@tailwindcss/postcss": "^4.1.13",
16
+ "autoprefixer": "^10.4.21",
17
+ "class-variance-authority": "^0.7.1",
18
+ "clsx": "^2.1.1",
19
+ "lucide-react": "^0.544.0",
20
+ "next": "^15.5.3",
21
+ "postcss": "^8.5.6",
22
+ "react": "19.1.1",
23
+ "react-dom": "19.1.1",
24
+ "tailwind-merge": "^3.3.1",
25
+ "tailwindcss": "^4.1.13",
26
+ "tailwindcss-animate": "^1.0.7"
27
+ },
28
+ "devDependencies": {
29
+ "@eslint/compat": "^1.3.2",
30
+ "@next/eslint-plugin-next": "15.5.3",
31
+ "@types/node": "^24.3.1",
32
+ "@types/react": "^19.1.12",
33
+ "@types/react-dom": "^19.1.9",
34
+ "@vercel/style-guide": "^6.0.0",
35
+ "babel-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
36
+ "eslint": "^9.35.0",
37
+ "eslint-config-next": "^15.5.3",
38
+ "eslint-config-prettier": "^10.1.8",
39
+ "eslint-plugin-import": "^2.32.0",
40
+ "eslint-plugin-jsx-a11y": "^6.10.2",
41
+ "eslint-plugin-prettier": "^5.5.4",
42
+ "eslint-plugin-react": "^7.37.5",
43
+ "eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
44
+ "eslint-plugin-react-hooks": "^5.2.0",
45
+ "globals": "^16.4.0",
46
+ "prettier": "^3.6.2",
47
+ "prettier-plugin-tailwindcss": "^0.6.14",
48
+ "tsx": "^4.20.5",
49
+ "typescript": "^5.9.2",
50
+ "typescript-eslint": "^8.43.0"
51
+ }
49
52
  }
@@ -0,0 +1,32 @@
1
+ import { execSync } from "child_process";
2
+
3
+ function run(cmd) {
4
+ execSync(cmd, { stdio: "inherit" });
5
+ }
6
+
7
+ try {
8
+ const branch = execSync("git rev-parse --abbrev-ref HEAD").toString().trim();
9
+
10
+ run("git fetch origin");
11
+ run("git checkout dev");
12
+ run("git pull origin dev");
13
+ run(`git checkout ${branch}`);
14
+ run("git rebase dev");
15
+ run("git checkout dev");
16
+ run(`git merge ${branch}`);
17
+
18
+ // Verificar si la rama ya está mergeada en dev
19
+ const isMerged = execSync(`git branch --merged dev`).toString().includes(branch);
20
+
21
+ if (isMerged) {
22
+ run(`git branch -d ${branch}`);
23
+ console.log(`✅ Rama ${branch} rebaseada, mergeada en dev y eliminada`);
24
+ } else {
25
+ console.log(
26
+ `⚠️ La rama ${branch} todavía no está completamente mergeada en dev, no se elimina.`,
27
+ );
28
+ }
29
+ } catch (err) {
30
+ console.error("❌ Error en el proceso:", err.message);
31
+ process.exit(1);
32
+ }
@@ -1,58 +1,61 @@
1
- {
2
- "name": "{{name}}",
3
- "version": "0.1.0",
4
- "private": true,
5
- "scripts": {
6
- "dev": "next dev --turbopack",
7
- "build": "next build",
8
- "start": "next start",
9
- "lint": "next lint",
10
- "db:push": "drizzle-kit push",
11
- "db:studio": "pnpm drizzle-kit studio"
12
- },
13
- "dependencies": {
14
- "@auth/drizzle-adapter": "^1.10.0",
15
- "@radix-ui/react-slot": "^1.2.3",
16
- "@tailwindcss/postcss": "^4.1.4",
17
- "autoprefixer": "^10.4.21",
18
- "bcryptjs": "^3.0.2",
19
- "class-variance-authority": "^0.7.1",
20
- "clsx": "^2.1.1",
21
- "dotenv": "^17.2.0",
22
- "drizzle-orm": "^0.44.2",
23
- "lucide-react": "^0.525.0",
24
- "next": "^15.3.5",
25
- "next-auth": "4.24.11",
26
- "postcss": "^8.5.6",
27
- "postgres": "^3.4.7",
28
- "react": "^19.1.0",
29
- "react-dom": "^19.1.0",
30
- "sonner": "^2.0.6",
31
- "tailwind-merge": "^3.3.1",
32
- "tailwindcss": "^4.1.11",
33
- "tailwindcss-animate": "^1.0.7",
34
- "tsx": "^4.20.3",
35
- "zod": "^4.0.5"
36
- },
37
- "devDependencies": {
38
- "@eslint/compat": "^1.3.1",
39
- "@next/eslint-plugin-next": "15.3.5",
40
- "@types/node": "^24.0.13",
41
- "@types/react": "^19.1.8",
42
- "@types/react-dom": "^19.1.6",
43
- "babel-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
44
- "drizzle-kit": "^0.31.4",
45
- "eslint": "^9.30.1",
46
- "eslint-config-next": "15.3.5",
47
- "eslint-config-prettier": "^10.1.5",
48
- "eslint-plugin-import": "^2.32.0",
49
- "eslint-plugin-jsx-a11y": "^6.10.2",
50
- "eslint-plugin-prettier": "^5.5.1",
51
- "eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
52
- "globals": "^16.3.0",
53
- "prettier": "^3.6.2",
54
- "prettier-plugin-tailwindcss": "^0.6.14",
55
- "typescript": "^5.8.3",
56
- "typescript-eslint": "^8.36.0"
57
- }
1
+ {
2
+ "name": "{{name}}",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "scripts": {
6
+ "dev": "next dev --turbopack",
7
+ "build": "next build",
8
+ "start": "next start",
9
+ "lint": "next lint",
10
+ "db:push": "drizzle-kit push",
11
+ "db:studio": "pnpm drizzle-kit studio",
12
+ "prod": "pnpm test && pnpm lint && pnpm build && git checkout main && git pull origin main && git merge dev && pnpm version patch && git push origin main && git checkout dev && echo ✅ Deploy completado",
13
+ "dev-rebase": "node src/scripts/dev-rebase.js"
14
+ },
15
+ "dependencies": {
16
+ "@auth/drizzle-adapter": "^1.10.0",
17
+ "@radix-ui/react-slot": "^1.2.3",
18
+ "@tailwindcss/postcss": "^4.1.13",
19
+ "autoprefixer": "^10.4.21",
20
+ "bcryptjs": "^3.0.2",
21
+ "class-variance-authority": "^0.7.1",
22
+ "clsx": "^2.1.1",
23
+ "dotenv": "^17.2.2",
24
+ "drizzle-orm": "^0.44.5",
25
+ "lucide-react": "^0.544.0",
26
+ "next": "^15.5.3",
27
+ "next-auth": "5.0.0-beta.29",
28
+ "postcss": "^8.5.6",
29
+ "postgres": "^3.4.7",
30
+ "react": "^19.1.1",
31
+ "react-dom": "^19.1.1",
32
+ "sonner": "^2.0.7",
33
+ "tailwind-merge": "^3.3.1",
34
+ "tailwindcss": "^4.1.13",
35
+ "tailwindcss-animate": "^1.0.7",
36
+ "tsx": "^4.20.5",
37
+ "zod": "^4.1.7"
38
+ },
39
+ "devDependencies": {
40
+ "@eslint/compat": "^1.3.2",
41
+ "@next/eslint-plugin-next": "15.5.3",
42
+ "@types/node": "^24.3.1",
43
+ "@types/react": "^19.1.12",
44
+ "@types/react-dom": "^19.1.9",
45
+ "babel-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
46
+ "drizzle-kit": "^0.31.4",
47
+ "eslint": "^9.35.0",
48
+ "eslint-config-next": "15.5.3",
49
+ "eslint-config-prettier": "^10.1.8",
50
+ "eslint-plugin-import": "^2.32.0",
51
+ "eslint-plugin-jsx-a11y": "^6.10.2",
52
+ "eslint-plugin-prettier": "^5.5.4",
53
+ "eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
54
+ "globals": "^16.4.0",
55
+ "prettier": "^3.6.2",
56
+ "prettier-plugin-tailwindcss": "^0.6.14",
57
+ "tsx": "^4.20.5",
58
+ "typescript": "^5.9.2",
59
+ "typescript-eslint": "^8.43.0"
60
+ }
58
61
  }
@@ -0,0 +1,32 @@
1
+ import { execSync } from "child_process";
2
+
3
+ function run(cmd) {
4
+ execSync(cmd, { stdio: "inherit" });
5
+ }
6
+
7
+ try {
8
+ const branch = execSync("git rev-parse --abbrev-ref HEAD").toString().trim();
9
+
10
+ run("git fetch origin");
11
+ run("git checkout dev");
12
+ run("git pull origin dev");
13
+ run(`git checkout ${branch}`);
14
+ run("git rebase dev");
15
+ run("git checkout dev");
16
+ run(`git merge ${branch}`);
17
+
18
+ // Verificar si la rama ya está mergeada en dev
19
+ const isMerged = execSync(`git branch --merged dev`).toString().includes(branch);
20
+
21
+ if (isMerged) {
22
+ run(`git branch -d ${branch}`);
23
+ console.log(`✅ Rama ${branch} rebaseada, mergeada en dev y eliminada`);
24
+ } else {
25
+ console.log(
26
+ `⚠️ La rama ${branch} todavía no está completamente mergeada en dev, no se elimina.`,
27
+ );
28
+ }
29
+ } catch (err) {
30
+ console.error("❌ Error en el proceso:", err.message);
31
+ process.exit(1);
32
+ }
@@ -1,58 +1,61 @@
1
- {
2
- "name": "{{name}}",
3
- "version": "0.1.0",
4
- "private": true,
5
- "scripts": {
6
- "dev": "next dev --turbopack",
7
- "build": "next build",
8
- "start": "next start",
9
- "lint": "next lint",
10
- "db:push": "npx prisma generate &&npx prisma db push"
11
- },
12
- "dependencies": {
13
- "@auth/prisma-adapter": "^2.9.0",
14
- "@prisma/client": "^6.6.0",
15
- "@radix-ui/react-slot": "^1.2.0",
16
- "@tailwindcss/postcss": "^4.1.4",
17
- "autoprefixer": "^10.4.21",
18
- "bcryptjs": "^3.0.2",
19
- "class-variance-authority": "^0.7.1",
20
- "clsx": "^2.1.1",
21
- "dotenv": "^17.2.0",
22
- "lucide-react": "^0.525.0",
23
- "next": "^15.3.5",
24
- "next-auth": "4.24.11",
25
- "postcss": "^8.5.6",
26
- "postgres": "^3.4.7",
27
- "react": "^19.1.0",
28
- "react-dom": "^19.1.0",
29
- "sonner": "^2.0.6",
30
- "tailwind-merge": "^3.3.1",
31
- "tailwindcss": "^4.1.11",
32
- "tailwindcss-animate": "^1.0.7",
33
- "zod": "^4.0.5"
34
- },
35
- "devDependencies": {
36
- "@eslint/compat": "^1.3.1",
37
- "@next/eslint-plugin-next": "15.3.5",
38
- "@types/node": "^24.0.13",
39
- "@types/react": "^19.1.8",
40
- "@types/react-dom": "^19.1.6",
41
- "babel-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
42
- "eslint": "^9.30.1",
43
- "eslint-config-next": "^15.3.5",
44
- "eslint-config-prettier": "^10.1.5",
45
- "eslint-plugin-import": "^2.32.0",
46
- "eslint-plugin-jsx-a11y": "^6.10.2",
47
- "eslint-plugin-prettier": "^5.5.1",
48
- "eslint-plugin-react": "^7.37.5",
49
- "eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
50
- "eslint-plugin-react-hooks": "^5.2.0",
51
- "globals": "^16.3.0",
52
- "prettier": "^3.6.2",
53
- "prettier-plugin-tailwindcss": "^0.6.14",
54
- "prisma": "^6.6.0",
55
- "typescript": "^5.8.3",
56
- "typescript-eslint": "^8.36.0"
57
- }
1
+ {
2
+ "name": "{{name}}",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "scripts": {
6
+ "dev": "next dev --turbopack",
7
+ "build": "next build",
8
+ "start": "next start",
9
+ "lint": "next lint",
10
+ "db:push": "npx prisma generate &&npx prisma db push",
11
+ "prod": "pnpm test && pnpm lint && pnpm build && git checkout main && git pull origin main && git merge dev && pnpm version patch && git push origin main && git checkout dev && echo ✅ Deploy completado",
12
+ "dev-rebase": "node src/scripts/dev-rebase.js"
13
+ },
14
+ "dependencies": {
15
+ "@auth/prisma-adapter": "^2.10.0",
16
+ "@prisma/client": "^6.16.0",
17
+ "@radix-ui/react-slot": "^1.2.3",
18
+ "@tailwindcss/postcss": "^4.1.13",
19
+ "autoprefixer": "^10.4.21",
20
+ "bcryptjs": "^3.0.2",
21
+ "class-variance-authority": "^0.7.1",
22
+ "clsx": "^2.1.1",
23
+ "dotenv": "^17.2.2",
24
+ "lucide-react": "^0.544.0",
25
+ "next": "^15.5.3",
26
+ "next-auth": "5.0.0-beta.29",
27
+ "postcss": "^8.5.6",
28
+ "postgres": "^3.4.7",
29
+ "react": "^19.1.1",
30
+ "react-dom": "^19.1.1",
31
+ "sonner": "^2.0.7",
32
+ "tailwind-merge": "^3.3.1",
33
+ "tailwindcss": "^4.1.13",
34
+ "tailwindcss-animate": "^1.0.7",
35
+ "zod": "^4.1.7"
36
+ },
37
+ "devDependencies": {
38
+ "@eslint/compat": "^1.3.2",
39
+ "@next/eslint-plugin-next": "15.5.3",
40
+ "@types/node": "^24.3.1",
41
+ "@types/react": "^19.1.12",
42
+ "@types/react-dom": "^19.1.9",
43
+ "babel-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
44
+ "eslint": "^9.35.0",
45
+ "eslint-config-next": "^15.5.3",
46
+ "eslint-config-prettier": "^10.1.8",
47
+ "eslint-plugin-import": "^2.32.0",
48
+ "eslint-plugin-jsx-a11y": "^6.10.2",
49
+ "eslint-plugin-prettier": "^5.5.4",
50
+ "eslint-plugin-react": "^7.37.5",
51
+ "eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
52
+ "eslint-plugin-react-hooks": "^5.2.0",
53
+ "globals": "^16.4.0",
54
+ "prettier": "^3.6.2",
55
+ "prettier-plugin-tailwindcss": "^0.6.14",
56
+ "prisma": "^6.16.0",
57
+ "tsx": "^4.20.5",
58
+ "typescript": "^5.9.2",
59
+ "typescript-eslint": "^8.43.0"
60
+ }
58
61
  }
@@ -0,0 +1,32 @@
1
+ import { execSync } from "child_process";
2
+
3
+ function run(cmd) {
4
+ execSync(cmd, { stdio: "inherit" });
5
+ }
6
+
7
+ try {
8
+ const branch = execSync("git rev-parse --abbrev-ref HEAD").toString().trim();
9
+
10
+ run("git fetch origin");
11
+ run("git checkout dev");
12
+ run("git pull origin dev");
13
+ run(`git checkout ${branch}`);
14
+ run("git rebase dev");
15
+ run("git checkout dev");
16
+ run(`git merge ${branch}`);
17
+
18
+ // Verificar si la rama ya está mergeada en dev
19
+ const isMerged = execSync(`git branch --merged dev`).toString().includes(branch);
20
+
21
+ if (isMerged) {
22
+ run(`git branch -d ${branch}`);
23
+ console.log(`✅ Rama ${branch} rebaseada, mergeada en dev y eliminada`);
24
+ } else {
25
+ console.log(
26
+ `⚠️ La rama ${branch} todavía no está completamente mergeada en dev, no se elimina.`,
27
+ );
28
+ }
29
+ } catch (err) {
30
+ console.error("❌ Error en el proceso:", err.message);
31
+ process.exit(1);
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-apppaaaul",
3
- "version": "2.0.13",
3
+ "version": "2.0.15",
4
4
  "description": "Create projects as paaauldev would",
5
5
  "main": "index.mjs",
6
6
  "bin": {