diff --git a/.gitignore b/.gitignore index 2fd53d93..8ee0349c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +### https://raw.github.com/github/gitignore/3df9bc0bd9cb0c3f5ea0904e88b9df5a378ccd59/Node.gitignore + # Logs logs *.log @@ -20,6 +22,7 @@ lib-cov # Coverage directory used by tools like istanbul coverage +*.lcov # nyc test coverage .nyc_output @@ -40,8 +43,11 @@ build/Release node_modules/ jspm_packages/ -# TypeScript v1 declaration files -typings/ +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo # Optional npm cache directory .npm @@ -49,6 +55,12 @@ typings/ # Optional eslint cache .eslintcache +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + # Optional REPL history .node_repl_history @@ -64,12 +76,20 @@ typings/ # parcel-bundler cache (https://parceljs.org/) .cache +.parcel-cache -# next.js build output +# Next.js build output .next -# nuxt.js build output +# Nuxt.js build / generate output .nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public # vuepress build output .vuepress/dist @@ -83,23 +103,17 @@ typings/ # DynamoDB Local files .dynamodb/ -# TypeScript output -dist -out +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test -# Azure Functions artifacts -bin -obj -appsettings.json -local.settings.json +# yarn v2 -# Azurite -__azurite_* -__blobstorage__ -__queuestorage__ +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.pnp.* -# Tests -/coverage/ -# Others -/tmp/ diff --git a/.eslintrc b/azure/.eslintrc similarity index 100% rename from .eslintrc rename to azure/.eslintrc diff --git a/.funcignore b/azure/.funcignore similarity index 100% rename from .funcignore rename to azure/.funcignore diff --git a/azure/.gitignore b/azure/.gitignore new file mode 100644 index 00000000..2fd53d93 --- /dev/null +++ b/azure/.gitignore @@ -0,0 +1,105 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env +.env.test + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# next.js build output +.next + +# nuxt.js build output +.nuxt + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TypeScript output +dist +out + +# Azure Functions artifacts +bin +obj +appsettings.json +local.settings.json + +# Azurite +__azurite_* +__blobstorage__ +__queuestorage__ + +# Tests +/coverage/ + +# Others +/tmp/ diff --git a/.nvmrc b/azure/.nvmrc similarity index 100% rename from .nvmrc rename to azure/.nvmrc diff --git a/CheckDriveUpdate/config.ts b/azure/CheckDriveUpdate/config.ts similarity index 100% rename from CheckDriveUpdate/config.ts rename to azure/CheckDriveUpdate/config.ts diff --git a/CheckDriveUpdate/drive-activity-api.ts b/azure/CheckDriveUpdate/drive-activity-api.ts similarity index 100% rename from CheckDriveUpdate/drive-activity-api.ts rename to azure/CheckDriveUpdate/drive-activity-api.ts diff --git a/CheckDriveUpdate/drive-api.ts b/azure/CheckDriveUpdate/drive-api.ts similarity index 100% rename from CheckDriveUpdate/drive-api.ts rename to azure/CheckDriveUpdate/drive-api.ts diff --git a/CheckDriveUpdate/function.json b/azure/CheckDriveUpdate/function.json similarity index 100% rename from CheckDriveUpdate/function.json rename to azure/CheckDriveUpdate/function.json diff --git a/CheckDriveUpdate/index.ts b/azure/CheckDriveUpdate/index.ts similarity index 100% rename from CheckDriveUpdate/index.ts rename to azure/CheckDriveUpdate/index.ts diff --git a/CheckDriveUpdate/lib.ts b/azure/CheckDriveUpdate/lib.ts similarity index 100% rename from CheckDriveUpdate/lib.ts rename to azure/CheckDriveUpdate/lib.ts diff --git a/CheckDriveUpdate/notify-to-slack.test.ts b/azure/CheckDriveUpdate/notify-to-slack.test.ts similarity index 100% rename from CheckDriveUpdate/notify-to-slack.test.ts rename to azure/CheckDriveUpdate/notify-to-slack.test.ts diff --git a/CheckDriveUpdate/notify-to-slack.ts b/azure/CheckDriveUpdate/notify-to-slack.ts similarity index 100% rename from CheckDriveUpdate/notify-to-slack.ts rename to azure/CheckDriveUpdate/notify-to-slack.ts diff --git a/CheckDriveUpdate/readme.md b/azure/CheckDriveUpdate/readme.md similarity index 100% rename from CheckDriveUpdate/readme.md rename to azure/CheckDriveUpdate/readme.md diff --git a/CleanupSandbox/function.json b/azure/CleanupSandbox/function.json similarity index 100% rename from CleanupSandbox/function.json rename to azure/CleanupSandbox/function.json diff --git a/CleanupSandbox/index.ts b/azure/CleanupSandbox/index.ts similarity index 100% rename from CleanupSandbox/index.ts rename to azure/CleanupSandbox/index.ts diff --git a/CleanupSandbox/readme.md b/azure/CleanupSandbox/readme.md similarity index 100% rename from CleanupSandbox/readme.md rename to azure/CleanupSandbox/readme.md diff --git a/DumpSandbox/function.json b/azure/DumpSandbox/function.json similarity index 100% rename from DumpSandbox/function.json rename to azure/DumpSandbox/function.json diff --git a/DumpSandbox/index.ts b/azure/DumpSandbox/index.ts similarity index 100% rename from DumpSandbox/index.ts rename to azure/DumpSandbox/index.ts diff --git a/DumpSandbox/output.ts b/azure/DumpSandbox/output.ts similarity index 100% rename from DumpSandbox/output.ts rename to azure/DumpSandbox/output.ts diff --git a/DumpSandbox/readme.md b/azure/DumpSandbox/readme.md similarity index 100% rename from DumpSandbox/readme.md rename to azure/DumpSandbox/readme.md diff --git a/azure/LICENSE b/azure/LICENSE new file mode 100644 index 00000000..b140855e --- /dev/null +++ b/azure/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 ap2020 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/azure/README.md similarity index 100% rename from README.md rename to azure/README.md diff --git a/SlackEvents/function.json b/azure/SlackEvents/function.json similarity index 100% rename from SlackEvents/function.json rename to azure/SlackEvents/function.json diff --git a/SlackEvents/handlers.ts b/azure/SlackEvents/handlers.ts similarity index 100% rename from SlackEvents/handlers.ts rename to azure/SlackEvents/handlers.ts diff --git a/SlackEvents/index.ts b/azure/SlackEvents/index.ts similarity index 100% rename from SlackEvents/index.ts rename to azure/SlackEvents/index.ts diff --git a/SlackEvents/sample.dat b/azure/SlackEvents/sample.dat similarity index 100% rename from SlackEvents/sample.dat rename to azure/SlackEvents/sample.dat diff --git a/host.json b/azure/host.json similarity index 100% rename from host.json rename to azure/host.json diff --git a/jest.config.js b/azure/jest.config.js similarity index 100% rename from jest.config.js rename to azure/jest.config.js diff --git a/package-lock.json b/azure/package-lock.json similarity index 100% rename from package-lock.json rename to azure/package-lock.json diff --git a/package.json b/azure/package.json similarity index 100% rename from package.json rename to azure/package.json diff --git a/proxies.json b/azure/proxies.json similarity index 100% rename from proxies.json rename to azure/proxies.json diff --git a/tsconfig.json b/azure/tsconfig.json similarity index 100% rename from tsconfig.json rename to azure/tsconfig.json diff --git a/utils-dev/fake-context.ts b/azure/utils-dev/fake-context.ts similarity index 100% rename from utils-dev/fake-context.ts rename to azure/utils-dev/fake-context.ts diff --git a/utils-dev/loadenv.js b/azure/utils-dev/loadenv.js similarity index 100% rename from utils-dev/loadenv.js rename to azure/utils-dev/loadenv.js diff --git a/utils/google-client.ts b/azure/utils/google-client.ts similarity index 100% rename from utils/google-client.ts rename to azure/utils/google-client.ts diff --git a/utils/slack/clients.ts b/azure/utils/slack/clients.ts similarity index 100% rename from utils/slack/clients.ts rename to azure/utils/slack/clients.ts diff --git a/utils/slack/index.ts b/azure/utils/slack/index.ts similarity index 100% rename from utils/slack/index.ts rename to azure/utils/slack/index.ts diff --git a/utils/slack/message.ts b/azure/utils/slack/message.ts similarity index 100% rename from utils/slack/message.ts rename to azure/utils/slack/message.ts diff --git a/utils/slack/timestamp.test.ts b/azure/utils/slack/timestamp.test.ts similarity index 100% rename from utils/slack/timestamp.test.ts rename to azure/utils/slack/timestamp.test.ts diff --git a/utils/slack/timestamp.ts b/azure/utils/slack/timestamp.ts similarity index 100% rename from utils/slack/timestamp.ts rename to azure/utils/slack/timestamp.ts diff --git a/utils/slack/types.ts b/azure/utils/slack/types.ts similarity index 100% rename from utils/slack/types.ts rename to azure/utils/slack/types.ts diff --git a/utils/utils.test.ts b/azure/utils/utils.test.ts similarity index 100% rename from utils/utils.test.ts rename to azure/utils/utils.test.ts diff --git a/utils/utils.ts b/azure/utils/utils.ts similarity index 100% rename from utils/utils.ts rename to azure/utils/utils.ts diff --git a/watch-mipro/function.json b/azure/watch-mipro/function.json similarity index 100% rename from watch-mipro/function.json rename to azure/watch-mipro/function.json diff --git a/watch-mipro/index.ts b/azure/watch-mipro/index.ts similarity index 100% rename from watch-mipro/index.ts rename to azure/watch-mipro/index.ts diff --git a/watch-mipro/readme.md b/azure/watch-mipro/readme.md similarity index 100% rename from watch-mipro/readme.md rename to azure/watch-mipro/readme.md