Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [master]
pull_request:
branches: [master]

permissions:
actions: read
contents: read
Expand Down Expand Up @@ -37,4 +37,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"
category: '/language:${{ matrix.language }}'
45 changes: 30 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,31 +60,31 @@
"dependencies": {
"@inquirer/core": "^9.1.0",
"@inquirer/prompts": "^8.2.0",
"chalk": "^5.4.1",
"chalk": "^5.6.2",
"commander": "^12.1.0",
"deepmerge": "^4.3.1",
"detect-package-manager": "^3.0.2",
"ejs": "^3.1.10",
"execa": "^9.5.2",
"execa": "^9.6.1",
"fs-extra": "^11.3.3",
"ora": "^8.1.1",
"typescript": "^5.7.2",
"typescript": "^5.9.3",
"zod": "^4.3.6"
},
"devDependencies": {
"@types/ejs": "^3.1.5",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.19.11",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"@types/node": "^24.10.9",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/ui": "^4.0.18",
"eslint": "^9.39.2",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"tsx": "^4.19.2",
"typescript-eslint": "^8.54.0",
"tsx": "^4.21.0",
"typescript-eslint": "^8.56.1",
"vitest": "^4.0.18"
},
"lint-staged": {
Expand Down
34 changes: 16 additions & 18 deletions src/dependencies/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,52 +3,52 @@
*/
export const VERSION_REGISTRY: Record<string, string> = {
// Runtime
'vite': '^6.0.7',
vite: '^6.0.7',
'@vitejs/plugin-react': '^5.0.0',
'next': '^16.1.6',
'react': '^19.0.0',
next: '^16.1.6',
react: '^19.0.0',
'react-dom': '^19.0.0',

// Language
'typescript': '^5.7.2',
typescript: '^5.7.2',

// Styling
'tailwindcss': '^4.0.0',
tailwindcss: '^4.0.0',
'@tailwindcss/postcss': '^4.0.0',
'postcss': '^8.4.49',
'autoprefixer': '^10.4.20',
postcss: '^8.4.49',
autoprefixer: '^10.4.20',
'styled-components': '^6.1.14',

// State Management
'@reduxjs/toolkit': '^2.5.0',
'react-redux': '^9.2.0',
'zustand': '^5.0.3',
zustand: '^5.0.3',

// Data Fetching
'@tanstack/react-query': '^5.62.10',
'@tanstack/react-query-devtools': '^5.62.10',

// Testing - Unit
'vitest': '^2.1.8',
vitest: '^2.1.8',
'@vitest/ui': '^2.1.8',
'jest': '^29.7.0',
jest: '^29.7.0',

// Testing - Component
'@testing-library/react': '^16.1.0',
'@testing-library/jest-dom': '^6.6.3',
'@testing-library/user-event': '^14.5.2',
'jsdom': '^25.0.1',
jsdom: '^25.0.1',

// Testing - E2E
'playwright': '^1.49.1',
playwright: '^1.49.1',
'@playwright/test': '^1.49.1',
'cypress': '^15.0.0',
cypress: '^15.0.0',

// Formatting
'prettier': '^3.4.2',
prettier: '^3.4.2',

// Build & Dev
'tsx': '^4.19.2',
tsx: '^4.19.2',

// Type definitions
'@types/react': '^19.0.6',
Expand Down Expand Up @@ -125,9 +125,7 @@ export class DependencyResolver {
*/
private pinVersion(version: string): string {
// Check if version is in registry
const pkg = Object.keys(VERSION_REGISTRY).find(
(key) => VERSION_REGISTRY[key] === version
);
const pkg = Object.keys(VERSION_REGISTRY).find((key) => VERSION_REGISTRY[key] === version);
if (pkg) {
return VERSION_REGISTRY[pkg];
}
Expand Down
1 change: 0 additions & 1 deletion src/templates/overlays/runtime/vite/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@
"exclude": ["manifest.json"]
}
}

3 changes: 1 addition & 2 deletions src/templates/overlays/testing/jest/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"devDependencies": {
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"@types/jest": "^29.5.14",
"@types/jest": "^30.0.0",
"@testing-library/react": "^16.1.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/user-event": "^14.5.2",
Expand All @@ -24,4 +24,3 @@
"exclude": ["manifest.json"]
}
}

1 change: 0 additions & 1 deletion src/templates/overlays/testing/vitest/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@
"exclude": ["manifest.json"]
}
}

Loading