From 82e201973ba840e4642b4945aa8bc9453614aa5a Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Thu, 13 Apr 2023 10:16:33 -0700 Subject: [PATCH] chore: remove .netlify dir --- .gitignore | 1 + .netlify/functions-serve/hub/hub.js | 1 - .../hub/src/docs/functions/hub.js | 40 ------------------- .../hub/src/docs/functions/hub.js.map | 8 ---- .../test/src/docs/functions/test.js | 40 ------------------- .../test/src/docs/functions/test.js.map | 8 ---- .netlify/functions-serve/test/test.js | 1 - 7 files changed, 1 insertion(+), 98 deletions(-) delete mode 100644 .netlify/functions-serve/hub/hub.js delete mode 100644 .netlify/functions-serve/hub/src/docs/functions/hub.js delete mode 100644 .netlify/functions-serve/hub/src/docs/functions/hub.js.map delete mode 100644 .netlify/functions-serve/test/src/docs/functions/test.js delete mode 100644 .netlify/functions-serve/test/src/docs/functions/test.js.map delete mode 100644 .netlify/functions-serve/test/test.js diff --git a/.gitignore b/.gitignore index 2e027188..72800172 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ coverage .pnpm-debug.log .vscode coverage.out +.netlify diff --git a/.netlify/functions-serve/hub/hub.js b/.netlify/functions-serve/hub/hub.js deleted file mode 100644 index 0e38c49b..00000000 --- a/.netlify/functions-serve/hub/hub.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("./src/docs/functions/hub.js"); diff --git a/.netlify/functions-serve/hub/src/docs/functions/hub.js b/.netlify/functions-serve/hub/src/docs/functions/hub.js deleted file mode 100644 index 1eb38462..00000000 --- a/.netlify/functions-serve/hub/src/docs/functions/hub.js +++ /dev/null @@ -1,40 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if ((from && typeof from === "object") || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { - get: () => from[key], - enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable, - }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// docs/functions/hub.ts -var hub_exports = {}; -__export(hub_exports, { - handler: () => handler, -}); -module.exports = __toCommonJS(hub_exports); -var handler = async (event, context) => { - const response = await fetch("https://hub.docker.com/v2/repositories/amir20/dozzle"); - const data = await response.json(); - return { - statusCode: 200, - body: JSON.stringify(data), - }; -}; -// Annotate the CommonJS export names for ESM import in node: -0 && - (module.exports = { - handler, - }); -//# sourceMappingURL=hub.js.map diff --git a/.netlify/functions-serve/hub/src/docs/functions/hub.js.map b/.netlify/functions-serve/hub/src/docs/functions/hub.js.map deleted file mode 100644 index b47062ec..00000000 --- a/.netlify/functions-serve/hub/src/docs/functions/hub.js.map +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 3, - "sources": ["../../../../../../Users/amirraminfar/Workspace/dozzle/docs/functions/hub.ts"], - "sourceRoot": "/var/folders/cy/3q44l5qx3xdbplx0yrjhv9ph00m20d/T/tmp-77248-u0S6P6W9k4tc", - "sourcesContent": ["import { Handler, HandlerEvent, HandlerContext } from \"@netlify/functions\";\n\nconst handler: Handler = async (event: HandlerEvent, context: HandlerContext) => {\n const response = await fetch(\"https://hub.docker.com/v2/repositories/amir20/dozzle\");\n const data = await response.json();\n\n return {\n statusCode: 200,\n body: JSON.stringify(data),\n };\n};\n\nexport { handler };\n"], - "mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,IAAM,UAAmB,OAAO,OAAqB,YAA4B;AAC/E,QAAM,WAAW,MAAM,MAAM,sDAAsD;AACnF,QAAM,OAAO,MAAM,SAAS,KAAK;AAEjC,SAAO;AAAA,IACL,YAAY;AAAA,IACZ,MAAM,KAAK,UAAU,IAAI;AAAA,EAC3B;AACF;", - "names": [] -} diff --git a/.netlify/functions-serve/test/src/docs/functions/test.js b/.netlify/functions-serve/test/src/docs/functions/test.js deleted file mode 100644 index 4e8f7da2..00000000 --- a/.netlify/functions-serve/test/src/docs/functions/test.js +++ /dev/null @@ -1,40 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if ((from && typeof from === "object") || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { - get: () => from[key], - enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable, - }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// docs/functions/test.ts -var test_exports = {}; -__export(test_exports, { - handler: () => handler, -}); -module.exports = __toCommonJS(test_exports); -var handler = async (event, context) => { - const response = await fetch("https://hub.docker.com/v2/repositories/amir20/dozzle"); - const data = await response.json(); - return { - statusCode: 200, - body: JSON.stringify(data), - }; -}; -// Annotate the CommonJS export names for ESM import in node: -0 && - (module.exports = { - handler, - }); -//# sourceMappingURL=test.js.map diff --git a/.netlify/functions-serve/test/src/docs/functions/test.js.map b/.netlify/functions-serve/test/src/docs/functions/test.js.map deleted file mode 100644 index 445c17ad..00000000 --- a/.netlify/functions-serve/test/src/docs/functions/test.js.map +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 3, - "sources": ["../../../../../../Users/amirraminfar/Workspace/dozzle/docs/functions/test.ts"], - "sourceRoot": "/var/folders/cy/3q44l5qx3xdbplx0yrjhv9ph00m20d/T/tmp-77248-OXAFZrtCXXBc", - "sourcesContent": ["import { Handler, HandlerEvent, HandlerContext } from \"@netlify/functions\";\n\nconst handler: Handler = async (event: HandlerEvent, context: HandlerContext) => {\n const response = await fetch(\"https://hub.docker.com/v2/repositories/amir20/dozzle\");\n const data = await response.json();\n\n return {\n statusCode: 200,\n body: JSON.stringify(data),\n };\n};\n\nexport { handler };\n"], - "mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,IAAM,UAAmB,OAAO,OAAqB,YAA4B;AAC/E,QAAM,WAAW,MAAM,MAAM,sDAAsD;AACnF,QAAM,OAAO,MAAM,SAAS,KAAK;AAEjC,SAAO;AAAA,IACL,YAAY;AAAA,IACZ,MAAM,KAAK,UAAU,IAAI;AAAA,EAC3B;AACF;", - "names": [] -} diff --git a/.netlify/functions-serve/test/test.js b/.netlify/functions-serve/test/test.js deleted file mode 100644 index dc607a29..00000000 --- a/.netlify/functions-serve/test/test.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("./src/docs/functions/test.js");