Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasShabiCS committed Jan 7, 2023
0 parents commit 9dd32af
Show file tree
Hide file tree
Showing 116 changed files with 26,458 additions and 0 deletions.
70 changes: 70 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# and https://github.com/github/gitignore for examples

# local env files (followinf dotenv-flow / nextjs convention)

.env.local
.env.*.local

# security: atlassian/changeset

**/.netrc

# dependencies
node_modules
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*

# testing
/coverage
.out/

# Debug

**/.debug

# Build directories (next.js...)
/.next/
/out/
/build

# Cache
**/tsconfig.tsbuildinfo
**/.eslintcache
.cache/*

# Misc
.DS_Store
*.pem

# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*


# IDE
.idea/*
!.idea/modules.xml
!.idea/nextjs-monorepo-example.iml
.project
.classpath
*.launch
*.sublime-workspace

.vscode/
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets


# Deployment platforms

.vercel
828 changes: 828 additions & 0 deletions .yarn/releases/yarn-4.0.0-rc.34.cjs

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
changesetBaseRefs:
- main
- origin/main
- upstream/main

changesetIgnorePatterns:
- '**/*.test.{js,ts}'
- '**/*.spec.{js,ts}'

defaultSemverRangePrefix: ''

enableGlobalCache: false

nmMode: hardlinks-local

nodeLinker: node-modules

npmRegistryServer: 'https://registry.npmjs.org/'

packageExtensions:
'@pothos/plugin-prisma@*':
peerDependenciesMeta:
typescript:
optional: true

supportedArchitectures:
cpu:
- current
os:
- current

yarnPath: .yarn/releases/yarn-4.0.0-rc.34.cjs
32 changes: 32 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "monorepo-nextjs",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "yarn workspaces foreach -p --topological-dev -v run build",
"test": "yarn workspaces foreach -ptv run test-unit",
"lint": "yarn workspaces foreach -ptv run lint --color",
"typecheck": "yarn workspaces foreach -ptv run typecheck"
},
"devDependencies": {
"@types/prettier": "2.7.2",
"@types/shell-quote": "1.7.1",
"eslint": "8.31.0",
"husky": "8.0.3",
"is-ci": "3.0.1",
"lint-staged": "13.1.0",
"npm-run-all": "4.1.5",
"prettier": "2.8.1",
"rimraf": "3.0.2",
"shell-quote": "1.7.4",
"typescript": "4.9.4"
},
"engines": {
"node": "^14.13.1 || >=19.0.0",
"yarn": ">=1.22.0",
"npm": "please-use-yarn"
},
"packageManager": "[email protected]"
}
3 changes: 3 additions & 0 deletions packages/client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
35 changes: 35 additions & 0 deletions packages/client/.next/build-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"polyfillFiles": [
"static/chunks/polyfills.js"
],
"devFiles": [
"static/chunks/react-refresh.js"
],
"ampDevFiles": [
"static/chunks/webpack.js",
"static/chunks/amp.js"
],
"lowPriorityFiles": [
"static/development/_buildManifest.js",
"static/development/_ssgManifest.js"
],
"rootMainFiles": [],
"pages": {
"/": [
"static/chunks/webpack.js",
"static/chunks/main.js",
"static/chunks/pages/index.js"
],
"/_app": [
"static/chunks/webpack.js",
"static/chunks/main.js",
"static/chunks/pages/_app.js"
],
"/_error": [
"static/chunks/webpack.js",
"static/chunks/main.js",
"static/chunks/pages/_error.js"
]
},
"ampFirstPages": []
}
1 change: 1 addition & 0 deletions packages/client/.next/cache/.tsbuildinfo

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/client/.next/cache/eslint/.cache_1865y8f
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"/Users/ilyas.shabi/Desktop/monorepo-test/apps/client/pages/_app.tsx":"1","/Users/ilyas.shabi/Desktop/monorepo-test/apps/client/pages/_document.tsx":"2","/Users/ilyas.shabi/Desktop/monorepo-test/apps/client/pages/api/hello.ts":"3","/Users/ilyas.shabi/Desktop/monorepo-test/apps/client/pages/index.tsx":"4"},{"size":179,"mtime":1673122383222,"results":"5","hashOfConfig":"6"},{"size":231,"mtime":1673122383223,"results":"7","hashOfConfig":"6"},{"size":307,"mtime":1673122383224,"results":"8","hashOfConfig":"6"},{"size":4004,"mtime":1673122383225,"results":"9","hashOfConfig":"6"},{"filePath":"10","messages":"11","suppressedMessages":"12","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1a33z7b",{"filePath":"13","messages":"14","suppressedMessages":"15","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"16","messages":"17","suppressedMessages":"18","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"19","messages":"20","suppressedMessages":"21","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/ilyas.shabi/Desktop/monorepo-test/apps/client/pages/_app.tsx",[],[],"/Users/ilyas.shabi/Desktop/monorepo-test/apps/client/pages/_document.tsx",[],[],"/Users/ilyas.shabi/Desktop/monorepo-test/apps/client/pages/api/hello.ts",[],[],"/Users/ilyas.shabi/Desktop/monorepo-test/apps/client/pages/index.tsx",[],[]]
1 change: 1 addition & 0 deletions packages/client/.next/cache/eslint/.cache_1wdvysx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"/Users/ilyas.shabi/Desktop/monorepo-test/packages/client/pages/_app.tsx":"1","/Users/ilyas.shabi/Desktop/monorepo-test/packages/client/pages/_document.tsx":"2","/Users/ilyas.shabi/Desktop/monorepo-test/packages/client/pages/api/hello.ts":"3","/Users/ilyas.shabi/Desktop/monorepo-test/packages/client/pages/index.tsx":"4"},{"size":179,"mtime":1673122502606,"results":"5","hashOfConfig":"6"},{"size":231,"mtime":1673122502607,"results":"7","hashOfConfig":"6"},{"size":307,"mtime":1673122502608,"results":"8","hashOfConfig":"6"},{"size":4004,"mtime":1673122502609,"results":"9","hashOfConfig":"6"},{"filePath":"10","messages":"11","suppressedMessages":"12","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"17tu867",{"filePath":"13","messages":"14","suppressedMessages":"15","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"16","messages":"17","suppressedMessages":"18","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"19","messages":"20","suppressedMessages":"21","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/ilyas.shabi/Desktop/monorepo-test/packages/client/pages/_app.tsx",[],[],"/Users/ilyas.shabi/Desktop/monorepo-test/packages/client/pages/_document.tsx",[],[],"/Users/ilyas.shabi/Desktop/monorepo-test/packages/client/pages/api/hello.ts",[],[],"/Users/ilyas.shabi/Desktop/monorepo-test/packages/client/pages/index.tsx",[],[]]
1 change: 1 addition & 0 deletions packages/client/.next/cache/next-server.js.nft.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"cacheKey":"46d9df49d1dfc85e56da68b53bfadd42787755123f9b5e6f4232234435e89647","files":["../../../node_modules/next/dist/server/next-server.js"]}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions packages/client/.next/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "commonjs"}
1 change: 1 addition & 0 deletions packages/client/.next/react-loadable-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
136 changes: 136 additions & 0 deletions packages/client/.next/server/_error.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions packages/client/.next/server/font-loader-manifest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
self.__FONT_LOADER_MANIFEST={
"pages": {
"/": [
"static/media/2aaf0723e720e8b9.p.woff2"
]
},
"app": {}
}
8 changes: 8 additions & 0 deletions packages/client/.next/server/font-loader-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"pages": {
"/": [
"static/media/2aaf0723e720e8b9.p.woff2"
]
},
"app": {}
}
1 change: 1 addition & 0 deletions packages/client/.next/server/middleware-build-manifest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions packages/client/.next/server/middleware-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sortedMiddleware": [],
"middleware": {},
"functions": {},
"version": 2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self.__REACT_LOADABLE_MANIFEST={}
6 changes: 6 additions & 0 deletions packages/client/.next/server/pages-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"/_app": "pages/_app.js",
"/_error": "pages/_error.js",
"/_document": "pages/_document.js",
"/": "pages/index.js"
}
57 changes: 57 additions & 0 deletions packages/client/.next/server/pages/_app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(() => {
var exports = {};
exports.id = "pages/_app";
exports.ids = ["pages/_app"];
exports.modules = {

/***/ "./pages/_app.tsx":
/*!************************!*\
!*** ./pages/_app.tsx ***!
\************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ App)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _styles_globals_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../styles/globals.css */ \"./styles/globals.css\");\n/* harmony import */ var _styles_globals_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_styles_globals_css__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction App({ Component , pageProps }) {\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Component, {\n ...pageProps\n }, void 0, false, {\n fileName: \"/Users/ilyas.shabi/Desktop/monorepo-test/packages/client/pages/_app.tsx\",\n lineNumber: 5,\n columnNumber: 10\n }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWdlcy9fYXBwLnRzeC5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBO0FBQThCO0FBR2YsU0FBU0EsSUFBSSxFQUFFQyxVQUFTLEVBQUVDLFVBQVMsRUFBWSxFQUFFO0lBQzlELHFCQUFPLDhEQUFDRDtRQUFXLEdBQUdDLFNBQVM7Ozs7OztBQUNqQyxDQUFDIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vQGFydGNyeXB0aW9uL2NsaWVudC8uL3BhZ2VzL19hcHAudHN4PzJmYmUiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICcuLi9zdHlsZXMvZ2xvYmFscy5jc3MnXG5pbXBvcnQgdHlwZSB7IEFwcFByb3BzIH0gZnJvbSAnbmV4dC9hcHAnXG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIEFwcCh7IENvbXBvbmVudCwgcGFnZVByb3BzIH06IEFwcFByb3BzKSB7XG4gIHJldHVybiA8Q29tcG9uZW50IHsuLi5wYWdlUHJvcHN9IC8+XG59XG4iXSwibmFtZXMiOlsiQXBwIiwiQ29tcG9uZW50IiwicGFnZVByb3BzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./pages/_app.tsx\n");

/***/ }),

/***/ "./styles/globals.css":
/*!****************************!*\
!*** ./styles/globals.css ***!
\****************************/
/***/ (() => {



/***/ }),

/***/ "react/jsx-dev-runtime":
/*!****************************************!*\
!*** external "react/jsx-dev-runtime" ***!
\****************************************/
/***/ ((module) => {

"use strict";
module.exports = require("react/jsx-dev-runtime");

/***/ })

};
;

// load runtime
var __webpack_require__ = require("../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = (__webpack_exec__("./pages/_app.tsx"));
module.exports = __webpack_exports__;

})();
167 changes: 167 additions & 0 deletions packages/client/.next/server/pages/_document.js

Large diffs are not rendered by default.

Loading

0 comments on commit 9dd32af

Please sign in to comment.