forked from schulze/bam
		
	fix project settings
This commit is contained in:
		@@ -1,3 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "extends": "next/core-web-vitals"
 | 
			
		||||
  "extends": [
 | 
			
		||||
    "next/core-web-vitals",
 | 
			
		||||
    "next/typescript"
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,33 +0,0 @@
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - main
 | 
			
		||||
      - dev
 | 
			
		||||
      - "!renovate/**"
 | 
			
		||||
  pull_request:
 | 
			
		||||
    types: [opened, synchronize, reopened]
 | 
			
		||||
 | 
			
		||||
name: SonarQube Scan
 | 
			
		||||
jobs:
 | 
			
		||||
  sonarqube:
 | 
			
		||||
    name: SonarQube Trigger
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checking out
 | 
			
		||||
        uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
 | 
			
		||||
        with:
 | 
			
		||||
          # Disabling shallow clone is recommended for improving relevancy of reporting
 | 
			
		||||
          fetch-depth: 0
 | 
			
		||||
      - name: SonarQube Scan
 | 
			
		||||
        uses: SonarSource/sonarqube-scan-action@884b79409bbd464b2a59edc326a4b77dc56b2195 # v3.0.0
 | 
			
		||||
        env:
 | 
			
		||||
          SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
 | 
			
		||||
          SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
 | 
			
		||||
 | 
			
		||||
      # Check the Quality Gate status.
 | 
			
		||||
      - name: SonarQube Quality Gate check
 | 
			
		||||
        uses: sonarsource/sonarqube-quality-gate-action@master
 | 
			
		||||
        timeout-minutes: 2
 | 
			
		||||
        env:
 | 
			
		||||
          SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
 | 
			
		||||
          SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
 | 
			
		||||
							
								
								
									
										6
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							@@ -1,6 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  "sonarlint.connectedMode.project": {
 | 
			
		||||
    "connectionId": "https-sonarqube-schulze-network",
 | 
			
		||||
    "projectKey": "bangersandmashgbg.com"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@@ -5,7 +5,7 @@ export type listmonkData = {
 | 
			
		||||
  name: string;
 | 
			
		||||
  status: "enabled" | "blocklisted";
 | 
			
		||||
  lists: number[];
 | 
			
		||||
  attribs: {};
 | 
			
		||||
  attribs: Record<string, string>;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
async function listmonk(data: listmonkData): Promise<string> {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
import { clsx, type ClassValue } from "clsx"
 | 
			
		||||
import { twMerge } from "tailwind-merge"
 | 
			
		||||
import { clsx, type ClassValue } from "clsx";
 | 
			
		||||
import { twMerge } from "tailwind-merge";
 | 
			
		||||
 | 
			
		||||
export function cn(...inputs: ClassValue[]) {
 | 
			
		||||
  return twMerge(clsx(inputs))
 | 
			
		||||
  return twMerge(clsx(inputs));
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +0,0 @@
 | 
			
		||||
/** @type {import('next').NextConfig} */
 | 
			
		||||
const nextConfig = {};
 | 
			
		||||
 | 
			
		||||
export default nextConfig;
 | 
			
		||||
							
								
								
									
										7
									
								
								next.config.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								next.config.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
import type { NextConfig } from "next";
 | 
			
		||||
 | 
			
		||||
const nextConfig: NextConfig = {
 | 
			
		||||
  /* config options here */
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export default nextConfig;
 | 
			
		||||
							
								
								
									
										19
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										19
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -19,13 +19,13 @@
 | 
			
		||||
        "cssnano": "^7.0.1",
 | 
			
		||||
        "date-fns": "^3.6.0",
 | 
			
		||||
        "lucide-react": "^0.452.0",
 | 
			
		||||
        "next": "15.2.1",
 | 
			
		||||
        "next": "^15.2.1",
 | 
			
		||||
        "next-plausible": "^3.12.0",
 | 
			
		||||
        "postcss-flexbugs-fixes": "^5.0.2",
 | 
			
		||||
        "postcss-preset-env": "^10.0.0",
 | 
			
		||||
        "react": "19.0.0",
 | 
			
		||||
        "react": "^19.0.0",
 | 
			
		||||
        "react-day-picker": "^9.5.1",
 | 
			
		||||
        "react-dom": "19.0.0",
 | 
			
		||||
        "react-dom": "^19.0.0",
 | 
			
		||||
        "react-hook-form": "^7.54.2",
 | 
			
		||||
        "sharp": "^0.33.4",
 | 
			
		||||
        "tailwind-merge": "^2.5.2",
 | 
			
		||||
@@ -38,6 +38,7 @@
 | 
			
		||||
        "@types/react-dom": "19.0.4",
 | 
			
		||||
        "eslint": "8.57.1",
 | 
			
		||||
        "eslint-config-next": "15.2.1",
 | 
			
		||||
        "eslint-config-prettier": "^10.0.2",
 | 
			
		||||
        "postcss": "8.4.47",
 | 
			
		||||
        "tailwindcss": "3.4.13",
 | 
			
		||||
        "turbo": "2.1.3",
 | 
			
		||||
@@ -4259,6 +4260,18 @@
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/eslint-config-prettier": {
 | 
			
		||||
      "version": "10.0.2",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.0.2.tgz",
 | 
			
		||||
      "integrity": "sha512-1105/17ZIMjmCOJOPNfVdbXafLCLj3hPmkmB7dLgt7XsQ/zkxSuDerE/xgO3RxoHysR1N1whmquY0lSn2O0VLg==",
 | 
			
		||||
      "dev": true,
 | 
			
		||||
      "bin": {
 | 
			
		||||
        "eslint-config-prettier": "build/bin/cli.js"
 | 
			
		||||
      },
 | 
			
		||||
      "peerDependencies": {
 | 
			
		||||
        "eslint": ">=7.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/eslint-import-resolver-node": {
 | 
			
		||||
      "version": "0.3.9",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
 | 
			
		||||
 
 | 
			
		||||
@@ -20,13 +20,13 @@
 | 
			
		||||
    "cssnano": "^7.0.1",
 | 
			
		||||
    "date-fns": "^3.6.0",
 | 
			
		||||
    "lucide-react": "^0.452.0",
 | 
			
		||||
    "next": "15.2.1",
 | 
			
		||||
    "next": "^15.2.1",
 | 
			
		||||
    "next-plausible": "^3.12.0",
 | 
			
		||||
    "postcss-flexbugs-fixes": "^5.0.2",
 | 
			
		||||
    "postcss-preset-env": "^10.0.0",
 | 
			
		||||
    "react": "19.0.0",
 | 
			
		||||
    "react": "^19.0.0",
 | 
			
		||||
    "react-day-picker": "^9.5.1",
 | 
			
		||||
    "react-dom": "19.0.0",
 | 
			
		||||
    "react-dom": "^19.0.0",
 | 
			
		||||
    "react-hook-form": "^7.54.2",
 | 
			
		||||
    "sharp": "^0.33.4",
 | 
			
		||||
    "tailwind-merge": "^2.5.2",
 | 
			
		||||
@@ -39,6 +39,7 @@
 | 
			
		||||
    "@types/react-dom": "19.0.4",
 | 
			
		||||
    "eslint": "8.57.1",
 | 
			
		||||
    "eslint-config-next": "15.2.1",
 | 
			
		||||
    "eslint-config-prettier": "^10.0.2",
 | 
			
		||||
    "postcss": "8.4.47",
 | 
			
		||||
    "tailwindcss": "3.4.13",
 | 
			
		||||
    "turbo": "2.1.3",
 | 
			
		||||
 
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  "extends": ["config:best-practices", ":semanticCommits"],
 | 
			
		||||
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
 | 
			
		||||
  "packageRules": [
 | 
			
		||||
    {
 | 
			
		||||
      "matchUpdateTypes": ["minor", "patch", "pin", "digest"],
 | 
			
		||||
      "automerge": true,
 | 
			
		||||
      "automergeType": "branch"
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
@@ -1,5 +0,0 @@
 | 
			
		||||
sonar.projectKey=bangersandmashgbg.com
 | 
			
		||||
 | 
			
		||||
# relative paths to source directories. More details and properties are described
 | 
			
		||||
# at https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/ 
 | 
			
		||||
sonar.sources=. 
 | 
			
		||||
		Reference in New Issue
	
	Block a user