WIP
This commit is contained in:
parent
fa96a47bdf
commit
2eb1e7103f
12 changed files with 3066 additions and 3371 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,3 +1,7 @@
|
|||
.turbo
|
||||
build/**
|
||||
dist/**
|
||||
.next/**
|
||||
/**/node_modules
|
||||
/**/.next
|
||||
/**/out
|
||||
|
|
|
|||
19
package.json
19
package.json
|
|
@ -7,15 +7,22 @@
|
|||
"url": "https://gitlab.mareshq.com/mareshq/internal-static-sites"
|
||||
},
|
||||
"author": "Vojtech Mares <iam@vojtechmares.com>",
|
||||
"workspaces": [
|
||||
"themes/*",
|
||||
"sites/*"
|
||||
],
|
||||
"scripts": {
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"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": {
|
||||
"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
2971
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load diff
4
pnpm-workspace.yaml
Normal file
4
pnpm-workspace.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
packages:
|
||||
- 'sites/**'
|
||||
- 'themes/**'
|
||||
- 'packages/**'
|
||||
|
|
@ -9,19 +9,19 @@
|
|||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "12.0.7",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2"
|
||||
"next": "12.2.5",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.11.7",
|
||||
"@types/react": "17.0.34",
|
||||
"autoprefixer": "^10.4.0",
|
||||
"eslint": "7",
|
||||
"eslint-config-next": "12.0.3",
|
||||
"@types/node": "18.7.15",
|
||||
"@types/react": "18.0.18",
|
||||
"autoprefixer": "^10.4.8",
|
||||
"eslint": "^8.23.0",
|
||||
"eslint-config-next": "12.2.5",
|
||||
"next-transpile-modules": "^9.0.0",
|
||||
"postcss": "^8.3.11",
|
||||
"tailwindcss": "^3.0.8",
|
||||
"typescript": "4.4.4"
|
||||
"postcss": "^8.4.16",
|
||||
"tailwindcss": "^3.1.8",
|
||||
"typescript": "4.8.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,19 +11,19 @@
|
|||
"fmt-check": "prettier --check ."
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "12.0.7",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2"
|
||||
"next": "12.2.5",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.11.7",
|
||||
"@types/react": "17.0.34",
|
||||
"autoprefixer": "^10.4.0",
|
||||
"eslint": "7",
|
||||
"eslint-config-next": "12.0.3",
|
||||
"@types/node": "18.7.15",
|
||||
"@types/react": "18.0.18",
|
||||
"autoprefixer": "^10.4.8",
|
||||
"eslint": "^8.23.0",
|
||||
"eslint-config-next": "12.2.5",
|
||||
"next-transpile-modules": "^9.0.0",
|
||||
"postcss": "^8.3.11",
|
||||
"tailwindcss": "^3.0.8",
|
||||
"typescript": "4.4.4"
|
||||
"postcss": "^8.4.16",
|
||||
"tailwindcss": "^3.1.8",
|
||||
"typescript": "4.8.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,19 +11,19 @@
|
|||
"fmt-check": "prettier --check ."
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "12.0.7",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2"
|
||||
"next": "12.2.5",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.11.7",
|
||||
"@types/react": "17.0.34",
|
||||
"autoprefixer": "^10.4.0",
|
||||
"eslint": "7",
|
||||
"eslint-config-next": "12.0.3",
|
||||
"@types/node": "18.7.15",
|
||||
"@types/react": "18.0.18",
|
||||
"autoprefixer": "^10.4.8",
|
||||
"eslint": "^8.23.0",
|
||||
"eslint-config-next": "12.2.5",
|
||||
"next-transpile-modules": "^9.0.0",
|
||||
"postcss": "^8.3.11",
|
||||
"tailwindcss": "^3.0.8",
|
||||
"typescript": "4.4.4"
|
||||
"postcss": "^8.4.16",
|
||||
"tailwindcss": "^3.1.8",
|
||||
"typescript": "4.8.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
"version": "0.0.0",
|
||||
"author": "Vojtech Mares <iam@vojtechmares.com>",
|
||||
"devDependencies": {
|
||||
"@types/react": "^17.0.34",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"tailwindcss": "^3.0.8",
|
||||
"typescript": "^4.4.4"
|
||||
"@types/react": "^18.0.18",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"tailwindcss": "^3.1.8",
|
||||
"typescript": "^4.8.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
"version": "0.0.0",
|
||||
"author": "Vojtech Mares <iam@vojtechmares.com>",
|
||||
"devDependencies": {
|
||||
"@types/react": "^17.0.34",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"tailwindcss": "^3.0.8",
|
||||
"typescript": "^4.4.4"
|
||||
"@types/react": "^18.0.18",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"tailwindcss": "^3.1.8",
|
||||
"typescript": "^4.8.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
"version": "0.0.0",
|
||||
"author": "Vojtech Mares <iam@vojtechmares.com>",
|
||||
"devDependencies": {
|
||||
"@types/react": "^17.0.34",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"tailwindcss": "^3.0.8",
|
||||
"typescript": "^4.4.4"
|
||||
"@types/react": "^18.0.18",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"tailwindcss": "^3.1.8",
|
||||
"typescript": "^4.8.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
26
turbo.json
Normal file
26
turbo.json
Normal 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": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in a new issue