Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandru Bereghici committed Aug 30, 2021
0 parents commit c8a71c4
Show file tree
Hide file tree
Showing 114 changed files with 199,585 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
# Keep environment variables out of version control
.env
3 changes: 3 additions & 0 deletions .netlify/cache/cwd/.next/cache.netlify.cache.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"hash": "b7a95f82656d2b9006cad386e5c1269130e7a57a"
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions .netlify/functions/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"functions":[{"mainFile":"/Users/abereghici/Development/nextjs-prisma-test/netlify/functions/next_api_hello/next_api_hello.js","name":"next_api_hello","path":"/Users/abereghici/Development/nextjs-prisma-test/.netlify/functions/next_api_hello.zip","runtime":"js"},{"mainFile":"/Users/abereghici/Development/nextjs-prisma-test/netlify/functions/next_api_views/next_api_views.js","name":"next_api_views","path":"/Users/abereghici/Development/nextjs-prisma-test/.netlify/functions/next_api_views.zip","runtime":"js"},{"mainFile":"/Users/abereghici/Development/nextjs-prisma-test/netlify/functions/next_image/next_image.js","name":"next_image","path":"/Users/abereghici/Development/nextjs-prisma-test/.netlify/functions/next_image.zip","runtime":"js"}],"system":{"arch":"x64","platform":"darwin"},"timestamp":1630343821147,"version":1}
Binary file added .netlify/functions/next_api_hello.zip
Binary file not shown.
Binary file added .netlify/functions/next_api_views.zip
Binary file not shown.
Binary file added .netlify/functions/next_image.zip
Binary file not shown.
3,024 changes: 3,024 additions & 0 deletions .netlify/plugins/package-lock.json

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions .netlify/plugins/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "netlify-local-plugins",
"description": "This directory contains Build plugins that have been automatically installed by Netlify.",
"version": "1.0.0",
"private": true,
"author": "Netlify",
"license": "MIT",
"dependencies": {
"@netlify/plugin-nextjs": "3.8.0"
}
}
1 change: 1 addition & 0 deletions .next/BUILD_ID
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
S45WcXilnL_BhXcLY5yXb
34 changes: 34 additions & 0 deletions .next/build-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"polyfillFiles": [
"static/chunks/polyfills-a54b4f32bdc1ef890ddd.js"
],
"devFiles": [],
"ampDevFiles": [],
"lowPriorityFiles": [
"static/S45WcXilnL_BhXcLY5yXb/_buildManifest.js",
"static/S45WcXilnL_BhXcLY5yXb/_ssgManifest.js"
],
"pages": {
"/": [
"static/chunks/webpack-ddd010a953737b6e3536.js",
"static/chunks/framework-b97a0ed4f13ff8397343.js",
"static/chunks/main-4809d8b3f3ef3c100198.js",
"static/css/eb291d7de33c874d5a88.css",
"static/chunks/pages/index-1bc536f110911ad281dd.js"
],
"/_app": [
"static/chunks/webpack-ddd010a953737b6e3536.js",
"static/chunks/framework-b97a0ed4f13ff8397343.js",
"static/chunks/main-4809d8b3f3ef3c100198.js",
"static/css/120f2e2270820d49a21f.css",
"static/chunks/pages/_app-02949d4bc7be286824d0.js"
],
"/_error": [
"static/chunks/webpack-ddd010a953737b6e3536.js",
"static/chunks/framework-b97a0ed4f13ff8397343.js",
"static/chunks/main-4809d8b3f3ef3c100198.js",
"static/chunks/pages/_error-737a04e9a0da63c9d162.js"
]
},
"ampFirstPages": []
}
Binary file added .next/cache/webpack/client-production/0.pack
Binary file not shown.
Binary file added .next/cache/webpack/client-production/index.pack
Binary file not shown.
Binary file added .next/cache/webpack/server-production/0.pack
Binary file not shown.
Binary file added .next/cache/webpack/server-production/index.pack
Binary file not shown.
1 change: 1 addition & 0 deletions .next/export-marker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"hasExportPathMap":false,"exportTrailingSlash":false,"isNextImageImported":true}
1 change: 1 addition & 0 deletions .next/images-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[16,32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","domains":[],"disableStaticImages":false,"minimumCacheTTL":60,"sizes":[640,750,828,1080,1200,1920,2048,3840,16,32,48,64,96,128,256,384]}}
1 change: 1 addition & 0 deletions .next/prerender-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":3,"routes":{},"dynamicRoutes":{},"preview":{"previewModeId":"5dc436fead49dd978742ff1eb9cb6ddf","previewModeSigningKey":"c8492b1bec7be54685e3ce79f46d065ecead4db726e40ca40b8f1bfc47100967","previewModeEncryptionKey":"3fdac5595f865a218b1dc19e1c866ff7546a60f9dcdc19c5e6d0e4ecd70b8e55"},"notFoundRoutes":[]}
1 change: 1 addition & 0 deletions .next/react-loadable-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions .next/required-server-files.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"config":{"env":{},"webpackDevMiddleware":null,"distDir":".next","cleanDistDir":true,"assetPrefix":"","configOrigin":"next.config.js","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"target":"serverless","poweredByHeader":true,"compress":false,"analyticsId":"","images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[16,32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","domains":[],"disableStaticImages":false,"minimumCacheTTL":60},"devIndicators":{"buildActivity":true},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":2},"amp":{"canonicalBase":""},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"optimizeFonts":true,"excludeDefaultMomentLocales":true,"serverRuntimeConfig":{},"publicRuntimeConfig":{},"reactStrictMode":true,"httpAgentOptions":{"keepAlive":true},"experimental":{"swcLoader":false,"swcMinify":false,"cpus":11,"plugins":false,"profiling":false,"isrFlushToDisk":true,"workerThreads":false,"pageEnv":false,"optimizeImages":false,"optimizeCss":false,"scrollRestoration":false,"stats":false,"externalDir":false,"reactRoot":false,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":false,"staticPageGenerationTimeout":60,"pageDataCollectionTimeout":60,"isrMemoryCacheSize":52428800,"concurrentFeatures":false},"future":{"strictPostcssConfiguration":false}},"appDir":"/Users/abereghici/Development/nextjs-prisma-test","files":[".next/routes-manifest.json",".next/serverless/pages-manifest.json",".next/build-manifest.json",".next/prerender-manifest.json",".next/react-loadable-manifest.json",".next/serverless/font-manifest.json",".next/BUILD_ID"],"ignore":["node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*"]}
1 change: 1 addition & 0 deletions .next/routes-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":3,"pages404":true,"basePath":"","redirects":[{"source":"/:path+/","destination":"/:path+","internal":true,"statusCode":308,"regex":"^(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))/$"}],"headers":[],"dynamicRoutes":[],"dataRoutes":[],"rewrites":[]}
160 changes: 160 additions & 0 deletions .next/serverless/chunks/130.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
"use strict";
exports.id = 130;
exports.ids = [130];
exports.modules = {

/***/ 6560:
/***/ ((module) => {


module.exports = (flag, argv) => {
argv = argv || process.argv;
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
const pos = argv.indexOf(prefix + flag);
const terminatorPos = argv.indexOf('--');
return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
};


/***/ }),

/***/ 2130:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {


const os = __webpack_require__(2087);
const hasFlag = __webpack_require__(6560);

const env = process.env;

let forceColor;
if (hasFlag('no-color') ||
hasFlag('no-colors') ||
hasFlag('color=false')) {
forceColor = false;
} else if (hasFlag('color') ||
hasFlag('colors') ||
hasFlag('color=true') ||
hasFlag('color=always')) {
forceColor = true;
}
if ('FORCE_COLOR' in env) {
forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
}

function translateLevel(level) {
if (level === 0) {
return false;
}

return {
level,
hasBasic: true,
has256: level >= 2,
has16m: level >= 3
};
}

function supportsColor(stream) {
if (forceColor === false) {
return 0;
}

if (hasFlag('color=16m') ||
hasFlag('color=full') ||
hasFlag('color=truecolor')) {
return 3;
}

if (hasFlag('color=256')) {
return 2;
}

if (stream && !stream.isTTY && forceColor !== true) {
return 0;
}

const min = forceColor ? 1 : 0;

if (process.platform === 'win32') {
// Node.js 7.5.0 is the first version of Node.js to include a patch to
// libuv that enables 256 color output on Windows. Anything earlier and it
// won't work. However, here we target Node.js 8 at minimum as it is an LTS
// release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows
// release that supports 256 colors. Windows 10 build 14931 is the first release
// that supports 16m/TrueColor.
const osRelease = os.release().split('.');
if (
Number(process.versions.node.split('.')[0]) >= 8 &&
Number(osRelease[0]) >= 10 &&
Number(osRelease[2]) >= 10586
) {
return Number(osRelease[2]) >= 14931 ? 3 : 2;
}

return 1;
}

if ('CI' in env) {
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
return 1;
}

return min;
}

if ('TEAMCITY_VERSION' in env) {
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
}

if (env.COLORTERM === 'truecolor') {
return 3;
}

if ('TERM_PROGRAM' in env) {
const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);

switch (env.TERM_PROGRAM) {
case 'iTerm.app':
return version >= 3 ? 3 : 2;
case 'Apple_Terminal':
return 2;
// No default
}
}

if (/-256(color)?$/i.test(env.TERM)) {
return 2;
}

if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
return 1;
}

if ('COLORTERM' in env) {
return 1;
}

if (env.TERM === 'dumb') {
return min;
}

return min;
}

function getSupportLevel(stream) {
const level = supportsColor(stream);
return translateLevel(level);
}

module.exports = {
supportsColor: getSupportLevel,
stdout: getSupportLevel(process.stdout),
stderr: getSupportLevel(process.stderr)
};


/***/ })

};
;
Loading

0 comments on commit c8a71c4

Please sign in to comment.