From 40deffcca28233eca784d96513344c24d7674efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=AB=20=E3=82=A6=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=83=96?= Date: Fri, 12 Apr 2019 16:17:39 -0400 Subject: [PATCH] Updated dependencies and updated link aliases --- app/client.js | 4 +- .../ecosystem/module-applications.js | 2 +- app/components/ecosystem/module-lbry.js | 2 +- app/components/ecosystem/module-lbrycrd.js | 2 +- .../ecosystem/submodule-chainquery.js | 2 +- .../ecosystem/submodule-lighthouse.js | 2 +- .../ecosystem/submodule-reflector.js | 2 +- app/components/ecosystem/submodule-wallet.js | 2 +- app/components/edit-link.js | 2 +- app/components/footer.js | 2 +- app/components/head.js | 2 +- app/components/markdown.js | 2 +- app/helpers/fetch-metadata.js | 2 +- app/helpers/github.js | 4 +- app/index.js | 4 +- app/sockets.js | 6 +-- app/views/api.js | 6 +-- app/views/home.js | 2 +- app/views/redirect.js | 2 +- package.json | 44 +++++++++---------- 20 files changed, 48 insertions(+), 48 deletions(-) diff --git a/app/client.js b/app/client.js index 76e4235..01df20d 100755 --- a/app/client.js +++ b/app/client.js @@ -11,8 +11,8 @@ import ssr from "choo-ssr"; // U T I L S -import head from "@component/head"; -import wrapper from "@component/wrapper"; +import head from "~component/head"; +import wrapper from "~component/wrapper"; diff --git a/app/components/ecosystem/module-applications.js b/app/components/ecosystem/module-applications.js index 891dbec..a816388 100644 --- a/app/components/ecosystem/module-applications.js +++ b/app/components/ecosystem/module-applications.js @@ -4,7 +4,7 @@ // U T I L -import markdown from "@component/markdown"; +import markdown from "~component/markdown"; diff --git a/app/components/ecosystem/module-lbry.js b/app/components/ecosystem/module-lbry.js index 833eaf5..150a3e1 100644 --- a/app/components/ecosystem/module-lbry.js +++ b/app/components/ecosystem/module-lbry.js @@ -4,7 +4,7 @@ // U T I L -import markdown from "@component/markdown"; +import markdown from "~component/markdown"; diff --git a/app/components/ecosystem/module-lbrycrd.js b/app/components/ecosystem/module-lbrycrd.js index dadbfac..346b258 100644 --- a/app/components/ecosystem/module-lbrycrd.js +++ b/app/components/ecosystem/module-lbrycrd.js @@ -4,7 +4,7 @@ // U T I L -import markdown from "@component/markdown"; +import markdown from "~component/markdown"; diff --git a/app/components/ecosystem/submodule-chainquery.js b/app/components/ecosystem/submodule-chainquery.js index 6e62af9..cc72452 100644 --- a/app/components/ecosystem/submodule-chainquery.js +++ b/app/components/ecosystem/submodule-chainquery.js @@ -4,7 +4,7 @@ // U T I L -import markdown from "@component/markdown"; +import markdown from "~component/markdown"; diff --git a/app/components/ecosystem/submodule-lighthouse.js b/app/components/ecosystem/submodule-lighthouse.js index c1ac0c1..9dd107b 100644 --- a/app/components/ecosystem/submodule-lighthouse.js +++ b/app/components/ecosystem/submodule-lighthouse.js @@ -4,7 +4,7 @@ // U T I L -import markdown from "@component/markdown"; +import markdown from "~component/markdown"; diff --git a/app/components/ecosystem/submodule-reflector.js b/app/components/ecosystem/submodule-reflector.js index 6604162..8439a59 100644 --- a/app/components/ecosystem/submodule-reflector.js +++ b/app/components/ecosystem/submodule-reflector.js @@ -4,7 +4,7 @@ // U T I L -import markdown from "@component/markdown"; +import markdown from "~component/markdown"; diff --git a/app/components/ecosystem/submodule-wallet.js b/app/components/ecosystem/submodule-wallet.js index d0bba0a..cab0636 100644 --- a/app/components/ecosystem/submodule-wallet.js +++ b/app/components/ecosystem/submodule-wallet.js @@ -4,7 +4,7 @@ // U T I L -import markdown from "@component/markdown"; +import markdown from "~component/markdown"; diff --git a/app/components/edit-link.js b/app/components/edit-link.js index 6e26e70..b9dca71 100644 --- a/app/components/edit-link.js +++ b/app/components/edit-link.js @@ -8,7 +8,7 @@ import html from "choo/html"; // U T I L -import config from "@root/config"; +import config from "~root/config"; diff --git a/app/components/footer.js b/app/components/footer.js index b52b122..25fba6e 100644 --- a/app/components/footer.js +++ b/app/components/footer.js @@ -8,7 +8,7 @@ import html from "choo/html"; // U T I L S -import config from "@root/config"; +import config from "~root/config"; import editLink from "./edit-link"; import emailSubscribe from "./email-subscribe"; diff --git a/app/components/head.js b/app/components/head.js index cad408d..93a3c50 100644 --- a/app/components/head.js +++ b/app/components/head.js @@ -8,7 +8,7 @@ import html from "choo/html"; // U T I L -import config from "@root/config"; +import config from "~root/config"; diff --git a/app/components/markdown.js b/app/components/markdown.js index 08d8014..e8a2317 100644 --- a/app/components/markdown.js +++ b/app/components/markdown.js @@ -11,7 +11,7 @@ import fs from "graceful-fs"; import html from "choo/html"; import m from "markdown-it"; import markdownAnchor from "markdown-it-anchor"; -import markdownSup from "@module/markdown-it-sup"; +import markdownSup from "~module/markdown-it-sup"; import path from "path"; import raw from "choo/html/raw"; diff --git a/app/helpers/fetch-metadata.js b/app/helpers/fetch-metadata.js index b07cd55..61802df 100644 --- a/app/helpers/fetch-metadata.js +++ b/app/helpers/fetch-metadata.js @@ -14,7 +14,7 @@ import stringifyObject from "stringify-object"; import messageSlack from "./slack"; import publishMeme from "./publish-meme"; import randomString from "./random-string"; -import { send } from "@socket"; +import { send } from "~socket"; import uploadImage from "./upload-image"; const allowedQueryMethods = [ diff --git a/app/helpers/github.js b/app/helpers/github.js index 75b73ba..51e0be8 100644 --- a/app/helpers/github.js +++ b/app/helpers/github.js @@ -11,8 +11,8 @@ import redis from "redis"; // U T I L S -import messageSlack from "@helper/slack"; -import relativeDate from "@module/relative-date"; +import messageSlack from "~helper/slack"; +import relativeDate from "~module/relative-date"; let octokit; diff --git a/app/index.js b/app/index.js index 5a28487..123a776 100755 --- a/app/index.js +++ b/app/index.js @@ -16,8 +16,8 @@ import websockets from "@inc/fastify-ws"; // U T I L S import handleSocketMessages from "./sockets"; -import messageSlack from "@helper/slack"; -import redirects from "@data/redirects.json"; +import messageSlack from "~helper/slack"; +import redirects from "~data/redirects.json"; const server = fastify({ logger: { diff --git a/app/sockets.js b/app/sockets.js index 7ce3752..1b8322b 100644 --- a/app/sockets.js +++ b/app/sockets.js @@ -9,9 +9,9 @@ import html from "choo/html"; // U T I L S -import fetchMetadata from "@helper/fetch-metadata"; -import { generateGitHubFeed } from "@helper/github"; -import messageSlack from "@helper/slack"; +import fetchMetadata from "~helper/fetch-metadata"; +import { generateGitHubFeed } from "~helper/github"; +import messageSlack from "~helper/slack"; const githubAppId = process.env.GITHUB_APP_ID; const githubAppSecret = process.env.GITHUB_APP_SECRET; diff --git a/app/views/api.js b/app/views/api.js index 5c469d0..d4db95f 100644 --- a/app/views/api.js +++ b/app/views/api.js @@ -10,9 +10,9 @@ import got from "got"; // U T I L S -import headerBlockchain from "@component/api/header-blockchain"; -import headerSdk from "@component/api/header-sdk"; -import redirects from "@data/redirects.json"; +import headerBlockchain from "~component/api/header-blockchain"; +import headerSdk from "~component/api/header-sdk"; +import redirects from "~data/redirects.json"; const blockchainApi = "https://cdn.jsdelivr.net/gh/lbryio/lbrycrd@master/contrib/devtools/generated/api_v1.json"; const cache = new Map(); diff --git a/app/views/home.js b/app/views/home.js index 254761c..7900f3c 100644 --- a/app/views/home.js +++ b/app/views/home.js @@ -8,7 +8,7 @@ import html from "choo/html"; // U T I L -import linkGrid from "@component/link-grid"; +import linkGrid from "~component/link-grid"; diff --git a/app/views/redirect.js b/app/views/redirect.js index 05f60b4..43b520e 100644 --- a/app/views/redirect.js +++ b/app/views/redirect.js @@ -11,7 +11,7 @@ import raw from "choo/html/raw"; // U T I L S -import markdown from "@component/markdown"; +import markdown from "~component/markdown"; import page404 from "./404"; diff --git a/package.json b/package.json index 4214000..4d89b0a 100755 --- a/package.json +++ b/package.json @@ -1,22 +1,22 @@ { "_moduleAliases": { - "@component": "app/components", - "@data": "app/data", - "@helper": "app/helpers", - "@module": "app/modules", - "@root": ".", - "@socket": "app/sockets.js", - "@view": "app/views" + "~component": "app/components", + "~data": "app/data", + "~helper": "app/helpers", + "~module": "app/modules", + "~root": ".", + "~socket": "app/sockets.js", + "~view": "app/views" }, "author": "LBRY Team", "dependencies": { - "@babel/polyfill": "^7.4.0", + "@babel/polyfill": "^7.4.3", "@inc/fastify-ws": "^1.1.0", - "@octokit/rest": "^16.21.0", - "@slack/client": "^4.12.0", + "@octokit/rest": "^16.23.4", + "@slack/client": "^5.0.0", "async": "^2.6.2", "async-es": "^2.6.2", - "choo": "^6.13.1", + "choo": "^6.13.3", "choo-async": "^0.1.1", "choo-devtools": "^2.5.1", "choo-ssr": "^0.2.1", @@ -25,10 +25,10 @@ "cors": "^2.8.5", "cron": "^1.7.0", "date-format-lite": "^17.7.0", - "decamelize": "^3.1.1", + "decamelize": "^3.2.0", "dedent": "^0.7.0", "dotenv": "^7.0.0", - "fastify": "~2.1.0", + "fastify": "~2.2.0", "fastify-compress": "^0.8.1", "fastify-helmet": "^3.0.0", "fastify-static": "^2.4.0", @@ -36,7 +36,7 @@ "fs-exists-sync": "^0.1.0", "got": "^9.6.0", "graceful-fs": "^4.1.15", - "link-module-alias": "^1.1.6", + "link-module-alias": "^1.2.0", "make-promises-safe": "^5.0.0", "markdown-it": "^8.4.2", "markdown-it-anchor": "^5.0.2", @@ -48,8 +48,8 @@ }, "description": "Documentation for the LBRY protocol and associated projects", "devDependencies": { - "@babel/cli": "^7.2.3", - "@babel/core": "^7.4.0", + "@babel/cli": "^7.4.3", + "@babel/core": "^7.4.3", "@babel/plugin-external-helpers": "7.2.0", "@babel/plugin-proposal-class-properties": "7.4.0", "@babel/plugin-proposal-decorators": "7.4.0", @@ -60,22 +60,22 @@ "@babel/plugin-proposal-throw-expressions": "7.2.0", "@babel/plugin-syntax-dynamic-import": "7.2.0", "@babel/plugin-syntax-import-meta": "7.2.0", - "@babel/preset-env": "^7.4.2", + "@babel/preset-env": "^7.4.3", "@babel/register": "^7.4.0", "@inc/eslint-config": "^1.1.3", "@inc/sasslint-config": "^1.2.0", "@lbry/color": "^1.1.1", "@lbry/components": "^2.4.0", - "eslint": "^5.15.3", + "eslint": "^5.16.0", "husky": "^1.3.1", - "nodemon": "^1.18.10", + "nodemon": "^1.18.11", "npm-run-all": "^4.1.5", - "pino-pretty": "^2.5.0", - "sass": "^1.17.3", + "pino-pretty": "^2.6.0", + "sass": "^1.18.0", "sass-lint": "^1.12.1", "snazzy": "^8.0.0", "standardx": "^3.0.1", - "updates": "^7.2.1" + "updates": "^8.0.1" }, "engines": { "node": "10.2.x"