From e98587e7fa3694026f35475cf54c26e238f5e4be Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Fri, 9 Dec 2022 17:28:23 +0100 Subject: [PATCH] feat(sites): add argocd-skoleni.cz --- pnpm-lock.yaml | 31 +++++++++++++++++++++ sites/argocd-skoleni.cz/.eslintrc.js | 4 +++ sites/argocd-skoleni.cz/README.md | 30 ++++++++++++++++++++ sites/argocd-skoleni.cz/next-env.d.ts | 5 ++++ sites/argocd-skoleni.cz/next.config.js | 5 ++++ sites/argocd-skoleni.cz/package.json | 28 +++++++++++++++++++ sites/argocd-skoleni.cz/postcss.config.js | 1 + sites/argocd-skoleni.cz/src/pages/index.tsx | 10 +++++++ sites/argocd-skoleni.cz/tailwind.config.js | 1 + sites/argocd-skoleni.cz/tsconfig.json | 5 ++++ 10 files changed, 120 insertions(+) create mode 100644 sites/argocd-skoleni.cz/.eslintrc.js create mode 100644 sites/argocd-skoleni.cz/README.md create mode 100644 sites/argocd-skoleni.cz/next-env.d.ts create mode 100644 sites/argocd-skoleni.cz/next.config.js create mode 100644 sites/argocd-skoleni.cz/package.json create mode 100644 sites/argocd-skoleni.cz/postcss.config.js create mode 100644 sites/argocd-skoleni.cz/src/pages/index.tsx create mode 100644 sites/argocd-skoleni.cz/tailwind.config.js create mode 100644 sites/argocd-skoleni.cz/tsconfig.json diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fdc0322..902931b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,6 +61,37 @@ importers: tsconfig: link:../tsconfig typescript: 4.8.3 + sites/argocd-skoleni.cz: + specifiers: + '@babel/core': ^7.0.0 + '@types/node': ^18.0.0 + '@types/react': 18.0.26 + config: workspace:* + eslint: 8.29.0 + eslint-config-custom: workspace:* + next: 13.0.6 + next-transpile-modules: 10.0.0 + react: 18.2.0 + react-dom: 18.2.0 + tsconfig: workspace:* + typescript: ^4.5.3 + ui: workspace:* + dependencies: + config: link:../../packages/config + next: 13.0.6_mqvh5p7ejg4taogoj6tpk3gd5a + react: 18.2.0 + react-dom: 18.2.0_react@18.2.0 + ui: link:../../packages/ui + devDependencies: + '@babel/core': 7.20.2 + '@types/node': 18.11.12 + '@types/react': 18.0.26 + eslint: 8.29.0 + eslint-config-custom: link:../../packages/eslint-config-custom + next-transpile-modules: 10.0.0 + tsconfig: link:../../packages/tsconfig + typescript: 4.9.3 + sites/kubernetes-skoleni.cz: specifiers: '@babel/core': ^7.0.0 diff --git a/sites/argocd-skoleni.cz/.eslintrc.js b/sites/argocd-skoleni.cz/.eslintrc.js new file mode 100644 index 0000000..c8df607 --- /dev/null +++ b/sites/argocd-skoleni.cz/.eslintrc.js @@ -0,0 +1,4 @@ +module.exports = { + root: true, + extends: ["custom"], +}; diff --git a/sites/argocd-skoleni.cz/README.md b/sites/argocd-skoleni.cz/README.md new file mode 100644 index 0000000..1d67ece --- /dev/null +++ b/sites/argocd-skoleni.cz/README.md @@ -0,0 +1,30 @@ +## Getting Started + +First, run the development server: + +```bash +yarn dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. + +[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. + +The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. + +## Learn More + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_source=github.com&utm_medium=referral&utm_campaign=turborepo-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/sites/argocd-skoleni.cz/next-env.d.ts b/sites/argocd-skoleni.cz/next-env.d.ts new file mode 100644 index 0000000..4f11a03 --- /dev/null +++ b/sites/argocd-skoleni.cz/next-env.d.ts @@ -0,0 +1,5 @@ +/// +/// + +// NOTE: This file should not be edited +// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/sites/argocd-skoleni.cz/next.config.js b/sites/argocd-skoleni.cz/next.config.js new file mode 100644 index 0000000..53e0a42 --- /dev/null +++ b/sites/argocd-skoleni.cz/next.config.js @@ -0,0 +1,5 @@ +const withTM = require("next-transpile-modules")(["ui"]); + +module.exports = withTM({ + reactStrictMode: true, +}); diff --git a/sites/argocd-skoleni.cz/package.json b/sites/argocd-skoleni.cz/package.json new file mode 100644 index 0000000..ef97a3b --- /dev/null +++ b/sites/argocd-skoleni.cz/package.json @@ -0,0 +1,28 @@ +{ + "name": "argocd-skoleni.cz", + "version": "0.0.0", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint" + }, + "dependencies": { + "next": "13.0.6", + "react": "18.2.0", + "react-dom": "18.2.0", + "ui": "workspace:*", + "config": "workspace:*" + }, + "devDependencies": { + "@babel/core": "^7.0.0", + "eslint-config-custom": "workspace:*", + "eslint": "8.29.0", + "next-transpile-modules": "10.0.0", + "tsconfig": "workspace:*", + "@types/node": "^18.0.0", + "@types/react": "18.0.26", + "typescript": "^4.5.3" + } +} diff --git a/sites/argocd-skoleni.cz/postcss.config.js b/sites/argocd-skoleni.cz/postcss.config.js new file mode 100644 index 0000000..da3ae17 --- /dev/null +++ b/sites/argocd-skoleni.cz/postcss.config.js @@ -0,0 +1 @@ +module.exports = require('config/postcss.config') \ No newline at end of file diff --git a/sites/argocd-skoleni.cz/src/pages/index.tsx b/sites/argocd-skoleni.cz/src/pages/index.tsx new file mode 100644 index 0000000..4a7314b --- /dev/null +++ b/sites/argocd-skoleni.cz/src/pages/index.tsx @@ -0,0 +1,10 @@ +import { Button } from "ui"; + +export default function Web() { + return ( +
+

argocd-skoleni.cz

+
+ ); +} diff --git a/sites/argocd-skoleni.cz/tailwind.config.js b/sites/argocd-skoleni.cz/tailwind.config.js new file mode 100644 index 0000000..586a406 --- /dev/null +++ b/sites/argocd-skoleni.cz/tailwind.config.js @@ -0,0 +1 @@ +module.exports = require('config/tailwind.config') \ No newline at end of file diff --git a/sites/argocd-skoleni.cz/tsconfig.json b/sites/argocd-skoleni.cz/tsconfig.json new file mode 100644 index 0000000..a355365 --- /dev/null +++ b/sites/argocd-skoleni.cz/tsconfig.json @@ -0,0 +1,5 @@ +{ + "extends": "tsconfig/nextjs.json", + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "exclude": ["node_modules"] +}