diff --git a/.cspell.json b/.cspell.json index 1baf5eb..c6864df 100644 --- a/.cspell.json +++ b/.cspell.json @@ -23,7 +23,9 @@ "Turborepo", "stefanzweifel", "venv", - "scaffold" + "scaffold", + "scaffolder", + "scaffolders" ], "version": "0.2" } diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d6ac1e6..5b84e3c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,32 +1,15 @@ -// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: -// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.0/containers/typescript-node { "name": "Node.js & TypeScript", "build": { "dockerfile": "Dockerfile", - // Update 'VARIANT' to pick a Node version: 18, 16, 14. - // Append -bullseye or -buster to pin to an OS version. - // Use -bullseye variants on local on arm64/Apple Silicon. "args": { "VARIANT": "18" } }, - - // Configure tool-specific properties. "customizations": { - // Configure properties specific to VS Code. "vscode": { - // Add the IDs of extensions you want installed when the container is created. "extensions": ["dbaeumer.vscode-eslint"] } }, - - // Use 'forwardPorts' to make a list of ports inside the container available locally. - // "forwardPorts": [], - - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "yarn install", - - // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "node" } diff --git a/.editorconfig b/.editorconfig index f1cc3ad..f22b0d5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,5 +11,5 @@ insert_final_newline = true trim_trailing_whitespace = true [*.md] -insert_final_newline = false +insert_final_newline = true trim_trailing_whitespace = false diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 15eff9b..289f36e 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -89,11 +89,13 @@ jobs: LLM_ADVISOR_ENABLED: >- ${{ github.event_name != 'pull_request' || - (github.event.pull_request.user.login != 'dependabot[bot]' && - github.event.pull_request.user.login != 'renovate[bot]' && - github.event.pull_request.user.login != 'github-actions[bot]' && - !startsWith(github.event.pull_request.user.login, 'dependabot') && - !startsWith(github.event.pull_request.user.login, 'renovate')) + ( + github.event.pull_request.user.login != 'dependabot[bot]' && + github.event.pull_request.user.login != 'renovate[bot]' && + github.event.pull_request.user.login != 'github-actions[bot]' && + !startsWith(github.event.pull_request.user.login, 'dependabot') && + !startsWith(github.event.pull_request.user.login, 'renovate') + ) }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.mega-linter.yml b/.mega-linter.yml index 75d5a11..111a09c 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -14,6 +14,13 @@ APPLY_FIXES: all # default # ENABLE_LINTERS: +DISABLE_LINTERS: + - COPYPASTE_JSCPD + - REPOSITORY_CHECKOV + - REPOSITORY_GRYPE + - REPOSITORY_TRIVY + - SPELL_LYCHEE + # DISABLE: # - COPYPASTE # Uncomment to disable checks of excessive copy-pastes # - SPELL # Uncomment to disable checks of spelling mistakes diff --git a/package.json b/package.json index 68d16a1..60160cf 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "storybook": "turbo run storybook", "test": "turbo run test", "test:all": "tsx --test \"packages/**/tests/**/*.test.mts\"", - "test:coverage": "COVERAGE=1 c8 --extension .ts --include 'packages/**/src/**/*.ts' --exclude 'packages/**/dist/**' --reporter=text --reporter=lcov --branches 59 --functions 60 --lines 60 --statements 60 tsx --test \"packages/**/tests/**/*.test.mts\"", + "test:coverage": "npm run build && COVERAGE=1 c8 --extension .ts --include 'packages/**/src/**/*.ts' --exclude 'packages/**/dist/**' --reporter=text --reporter=lcov --branches 59 --functions 60 --lines 60 --statements 60 tsx --test \"packages/**/tests/**/*.test.mts\"", "type-check": "turbo run type-check" }, "devDependencies": { diff --git a/packages/create-awesome-node-app/README.md b/packages/create-awesome-node-app/README.md index 8be1007..72a8ec0 100644 --- a/packages/create-awesome-node-app/README.md +++ b/packages/create-awesome-node-app/README.md @@ -101,8 +101,8 @@ create-awesome-node-app --template react-vite-boilerplate --list-addons ## 🧱 Template Ecosystem -| Category | Example Templates | -| ---------------- | ----------------------------------------------------------------- | +| Category | Example Templates | +| --------------- | ----------------------------------------------------------------- | | 🖥 Frontend | `react-vite-boilerplate` — React 18 + Vite + TS + ESLint + Vitest | | 🔧 Backend | `nestjs-boilerplate` — NestJS + TS + ESLint + Jest | | 🌐 Full Stack | `nextjs-starter` — Next.js + SSR + TS + Prettier | @@ -118,8 +118,8 @@ create-awesome-node-app --template react-vite-boilerplate --list-addons Think of addons as _lego bricks_ — snap them onto any template to add exactly what you need: -| Category | Examples | -| --------------- | -------------------------------------------------------- | +| Category | Examples | +| -------------- | -------------------------------------------------------- | | 🎨 UI Libraries | Material UI, Tailwind CSS, component libraries | | 📊 State & Data | Jotai, tRPC, React Query, Zustand | | 🔧 Tooling | GitHub Actions workflows, changesets, release automation | @@ -184,7 +184,7 @@ npm create awesome-node-app@latest my-app ## 🔍 CLI Reference -``` +```text Usage: create-awesome-node-app [project-directory] [options] ``` diff --git a/turbo.json b/turbo.json index 21e04d4..25f8981 100644 --- a/turbo.json +++ b/turbo.json @@ -31,6 +31,7 @@ "outputs": ["dist/**"] }, "test": { + "dependsOn": ["^build"], "cache": false } }