move website to own directory

This commit is contained in:
Rene Haas
2022-10-17 22:12:54 +02:00
parent f47e2728f7
commit 83e7ffcd3a
49 changed files with 4310 additions and 363 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ module.exports = {
alwaysTryTypes: true, alwaysTryTypes: true,
project: [ project: [
'./packages/**/tsconfig.json', './packages/**/tsconfig.json',
'./docs/**/tsconfig.json', './website/**/tsconfig.json',
'./local/**/tsconfig.json', './local/**/tsconfig.json',
], ],
}, },
@@ -95,7 +95,7 @@ module.exports = {
tsconfigRootDir: __dirname, tsconfigRootDir: __dirname,
project: [ project: [
'./packages/**/tsconfig.json', './packages/**/tsconfig.json',
'./docs/**/tsconfig.json', './website/**/tsconfig.json',
'./local/**/tsconfig.json', './local/**/tsconfig.json',
], ],
}, },
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
with: with:
node-version: '18' node-version: '18'
- name: Install dependencies - name: Install dependencies
run: npm ci --install-links run: npm ci
- name: Run Jest - name: Run Jest
run: npm run jest run: npm run jest
- name: Run Playwright - name: Run Playwright
+4292 -338
View File
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -1,7 +1,8 @@
{ {
"private": true, "private": true,
"workspaces": [ "workspaces": [
"packages/*" "packages/*",
"website"
], ],
"devDependencies": { "devDependencies": {
"@~local/browser-testing": "file:./local/browser-testing", "@~local/browser-testing": "file:./local/browser-testing",
@@ -41,6 +42,8 @@
"eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10", "eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-tailwindcss": "^3.6.2",
"glob": "^7.1.6", "glob": "^7.1.6",
"istanbul-lib-instrument": "^5.2.0", "istanbul-lib-instrument": "^5.2.0",
"jest": "^28.1.3", "jest": "^28.1.3",
View File
+10 -4
View File
@@ -1,11 +1,11 @@
{ {
"name": "v2", "name": "website",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"dependencies": { "dependencies": {
"@~package/overlayscrollbars": "file:../../packages/overlayscrollbars", "@~package/overlayscrollbars": "file:../packages/overlayscrollbars",
"@mdx-js/loader": "^2.1.5", "@mdx-js/loader": "^2.1.5",
"@mdx-js/react": "^2.1.5", "@mdx-js/react": "^2.1.5",
"@next/mdx": "^12.3.1", "@next/mdx": "^12.3.1",
@@ -46,11 +46,17 @@
} }
}, },
"../../packages/overlayscrollbars": { "../../packages/overlayscrollbars": {
"version": "2.0.0-beta.2",
"extraneous": true,
"license": "MIT"
},
"../packages/overlayscrollbars": {
"name": "overlayscrollbars",
"version": "2.0.0-beta.2", "version": "2.0.0-beta.2",
"license": "MIT" "license": "MIT"
}, },
"node_modules/@~package/overlayscrollbars": { "node_modules/@~package/overlayscrollbars": {
"resolved": "../../packages/overlayscrollbars", "resolved": "../packages/overlayscrollbars",
"link": true "link": true
}, },
"node_modules/@babel/runtime": { "node_modules/@babel/runtime": {
@@ -7291,7 +7297,7 @@
}, },
"dependencies": { "dependencies": {
"@~package/overlayscrollbars": { "@~package/overlayscrollbars": {
"version": "file:../../packages/overlayscrollbars" "version": "file:../packages/overlayscrollbars"
}, },
"@babel/runtime": { "@babel/runtime": {
"version": "7.19.4", "version": "7.19.4",
+1 -17
View File
@@ -6,7 +6,7 @@
"start": "node esbuild.mjs && cd next-app && next start" "start": "node esbuild.mjs && cd next-app && next start"
}, },
"dependencies": { "dependencies": {
"@~package/overlayscrollbars": "file:../../packages/overlayscrollbars", "@~package/overlayscrollbars": "file:../packages/overlayscrollbars",
"@mdx-js/loader": "^2.1.5", "@mdx-js/loader": "^2.1.5",
"@mdx-js/react": "^2.1.5", "@mdx-js/react": "^2.1.5",
"@next/mdx": "^12.3.1", "@next/mdx": "^12.3.1",
@@ -19,27 +19,11 @@
"@types/node": "18.7.20", "@types/node": "18.7.20",
"@types/react": "18.0.21", "@types/react": "18.0.21",
"@types/react-dom": "18.0.6", "@types/react-dom": "18.0.6",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"concurrently": "^7.4.0", "concurrently": "^7.4.0",
"esbuild": "^0.15.10",
"eslint": "8.24.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-tailwindcss": "^3.6.2",
"fast-glob": "^3.2.12", "fast-glob": "^3.2.12",
"prettier": "2.7.1",
"rehype-pretty-code": "^0.4.0", "rehype-pretty-code": "^0.4.0",
"rehype-slug": "^5.0.1", "rehype-slug": "^5.0.1",
"remark-gfm": "^3.0.1", "remark-gfm": "^3.0.1",
"sass": "^1.55.0",
"shiki": "^0.11.1", "shiki": "^0.11.1",
"tailwindcss": "^3.1.8", "tailwindcss": "^3.1.8",
"typescript": "4.8.3", "typescript": "4.8.3",

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before

Width:  |  Height:  |  Size: 838 B

After

Width:  |  Height:  |  Size: 838 B

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB