1
0
Fork 0
This commit is contained in:
Vojtěch Mareš 2022-09-07 01:20:40 +02:00
parent fa96a47bdf
commit 2eb1e7103f
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
12 changed files with 3066 additions and 3371 deletions

4
.gitignore vendored
View file

@ -1,3 +1,7 @@
.turbo
build/**
dist/**
.next/**
/**/node_modules /**/node_modules
/**/.next /**/.next
/**/out /**/out

View file

@ -7,15 +7,22 @@
"url": "https://gitlab.mareshq.com/mareshq/internal-static-sites" "url": "https://gitlab.mareshq.com/mareshq/internal-static-sites"
}, },
"author": "Vojtech Mares <iam@vojtechmares.com>", "author": "Vojtech Mares <iam@vojtechmares.com>",
"workspaces": [
"themes/*",
"sites/*"
],
"scripts": { "scripts": {
"preinstall": "npx only-allow pnpm",
"fmt": "prettier --write .", "fmt": "prettier --write .",
"fmt-check": "prettier --check ." "fmt-check": "prettier --check .",
"build": "turbo run build",
"test": "turbo run test",
"lint": "turbo run lint",
"dev": "turbo run dev"
}, },
"devDependencies": { "devDependencies": {
"prettier": "^2.4.1" "prettier": "^2.7.1",
"turbo": "^1.4.5"
},
"dependencies": {
"@babel/core": "^7.19.0",
"autoprefixer": "^10.4.8",
"postcss": "^8.4.16"
} }
} }

2971
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load diff

4
pnpm-workspace.yaml Normal file
View file

@ -0,0 +1,4 @@
packages:
- 'sites/**'
- 'themes/**'
- 'packages/**'

View file

@ -9,19 +9,19 @@
"lint": "next lint" "lint": "next lint"
}, },
"dependencies": { "dependencies": {
"next": "12.0.7", "next": "12.2.5",
"react": "17.0.2", "react": "18.2.0",
"react-dom": "17.0.2" "react-dom": "18.2.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "16.11.7", "@types/node": "18.7.15",
"@types/react": "17.0.34", "@types/react": "18.0.18",
"autoprefixer": "^10.4.0", "autoprefixer": "^10.4.8",
"eslint": "7", "eslint": "^8.23.0",
"eslint-config-next": "12.0.3", "eslint-config-next": "12.2.5",
"next-transpile-modules": "^9.0.0", "next-transpile-modules": "^9.0.0",
"postcss": "^8.3.11", "postcss": "^8.4.16",
"tailwindcss": "^3.0.8", "tailwindcss": "^3.1.8",
"typescript": "4.4.4" "typescript": "4.8.2"
} }
} }

View file

@ -11,19 +11,19 @@
"fmt-check": "prettier --check ." "fmt-check": "prettier --check ."
}, },
"dependencies": { "dependencies": {
"next": "12.0.7", "next": "12.2.5",
"react": "17.0.2", "react": "18.2.0",
"react-dom": "17.0.2" "react-dom": "18.2.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "16.11.7", "@types/node": "18.7.15",
"@types/react": "17.0.34", "@types/react": "18.0.18",
"autoprefixer": "^10.4.0", "autoprefixer": "^10.4.8",
"eslint": "7", "eslint": "^8.23.0",
"eslint-config-next": "12.0.3", "eslint-config-next": "12.2.5",
"next-transpile-modules": "^9.0.0", "next-transpile-modules": "^9.0.0",
"postcss": "^8.3.11", "postcss": "^8.4.16",
"tailwindcss": "^3.0.8", "tailwindcss": "^3.1.8",
"typescript": "4.4.4" "typescript": "4.8.2"
} }
} }

View file

@ -11,19 +11,19 @@
"fmt-check": "prettier --check ." "fmt-check": "prettier --check ."
}, },
"dependencies": { "dependencies": {
"next": "12.0.7", "next": "12.2.5",
"react": "17.0.2", "react": "18.2.0",
"react-dom": "17.0.2" "react-dom": "18.2.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "16.11.7", "@types/node": "18.7.15",
"@types/react": "17.0.34", "@types/react": "18.0.18",
"autoprefixer": "^10.4.0", "autoprefixer": "^10.4.8",
"eslint": "7", "eslint": "^8.23.0",
"eslint-config-next": "12.0.3", "eslint-config-next": "12.2.5",
"next-transpile-modules": "^9.0.0", "next-transpile-modules": "^9.0.0",
"postcss": "^8.3.11", "postcss": "^8.4.16",
"tailwindcss": "^3.0.8", "tailwindcss": "^3.1.8",
"typescript": "4.4.4" "typescript": "4.8.2"
} }
} }

View file

@ -4,10 +4,10 @@
"version": "0.0.0", "version": "0.0.0",
"author": "Vojtech Mares <iam@vojtechmares.com>", "author": "Vojtech Mares <iam@vojtechmares.com>",
"devDependencies": { "devDependencies": {
"@types/react": "^17.0.34", "@types/react": "^18.0.18",
"react": "^17.0.2", "react": "^18.2.0",
"react-dom": "^17.0.2", "react-dom": "^18.2.0",
"tailwindcss": "^3.0.8", "tailwindcss": "^3.1.8",
"typescript": "^4.4.4" "typescript": "^4.8.2"
} }
} }

View file

@ -4,10 +4,10 @@
"version": "0.0.0", "version": "0.0.0",
"author": "Vojtech Mares <iam@vojtechmares.com>", "author": "Vojtech Mares <iam@vojtechmares.com>",
"devDependencies": { "devDependencies": {
"@types/react": "^17.0.34", "@types/react": "^18.0.18",
"react": "^17.0.2", "react": "^18.2.0",
"react-dom": "^17.0.2", "react-dom": "^18.2.0",
"tailwindcss": "^3.0.8", "tailwindcss": "^3.1.8",
"typescript": "^4.4.4" "typescript": "^4.8.2"
} }
} }

View file

@ -4,10 +4,10 @@
"version": "0.0.0", "version": "0.0.0",
"author": "Vojtech Mares <iam@vojtechmares.com>", "author": "Vojtech Mares <iam@vojtechmares.com>",
"devDependencies": { "devDependencies": {
"@types/react": "^17.0.34", "@types/react": "^18.0.18",
"react": "^17.0.2", "react": "^18.2.0",
"react-dom": "^17.0.2", "react-dom": "^18.2.0",
"tailwindcss": "^3.0.8", "tailwindcss": "^3.1.8",
"typescript": "^4.4.4" "typescript": "^4.8.2"
} }
} }

26
turbo.json Normal file
View file

@ -0,0 +1,26 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": [".next/**"]
},
"test": {
"dependsOn": ["build"],
"outputs": [],
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
"test/**/*.ts",
"test/**/*.tsx"
]
},
"lint": {
"outputs": []
},
"deploy": {
"dependsOn": ["build", "test", "lint"],
"outputs": []
}
}
}

3317
yarn.lock

File diff suppressed because it is too large Load diff