Updated dependencies and updated link aliases
This commit is contained in:
parent
11f0e33a8a
commit
40deffcca2
20 changed files with 48 additions and 48 deletions
|
@ -11,8 +11,8 @@ import ssr from "choo-ssr";
|
||||||
|
|
||||||
// U T I L S
|
// U T I L S
|
||||||
|
|
||||||
import head from "@component/head";
|
import head from "~component/head";
|
||||||
import wrapper from "@component/wrapper";
|
import wrapper from "~component/wrapper";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// U T I L
|
// U T I L
|
||||||
|
|
||||||
import markdown from "@component/markdown";
|
import markdown from "~component/markdown";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// U T I L
|
// U T I L
|
||||||
|
|
||||||
import markdown from "@component/markdown";
|
import markdown from "~component/markdown";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// U T I L
|
// U T I L
|
||||||
|
|
||||||
import markdown from "@component/markdown";
|
import markdown from "~component/markdown";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// U T I L
|
// U T I L
|
||||||
|
|
||||||
import markdown from "@component/markdown";
|
import markdown from "~component/markdown";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// U T I L
|
// U T I L
|
||||||
|
|
||||||
import markdown from "@component/markdown";
|
import markdown from "~component/markdown";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// U T I L
|
// U T I L
|
||||||
|
|
||||||
import markdown from "@component/markdown";
|
import markdown from "~component/markdown";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// U T I L
|
// U T I L
|
||||||
|
|
||||||
import markdown from "@component/markdown";
|
import markdown from "~component/markdown";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import html from "choo/html";
|
||||||
|
|
||||||
// U T I L
|
// U T I L
|
||||||
|
|
||||||
import config from "@root/config";
|
import config from "~root/config";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import html from "choo/html";
|
||||||
|
|
||||||
// U T I L S
|
// U T I L S
|
||||||
|
|
||||||
import config from "@root/config";
|
import config from "~root/config";
|
||||||
import editLink from "./edit-link";
|
import editLink from "./edit-link";
|
||||||
import emailSubscribe from "./email-subscribe";
|
import emailSubscribe from "./email-subscribe";
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import html from "choo/html";
|
||||||
|
|
||||||
// U T I L
|
// U T I L
|
||||||
|
|
||||||
import config from "@root/config";
|
import config from "~root/config";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ import fs from "graceful-fs";
|
||||||
import html from "choo/html";
|
import html from "choo/html";
|
||||||
import m from "markdown-it";
|
import m from "markdown-it";
|
||||||
import markdownAnchor from "markdown-it-anchor";
|
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 path from "path";
|
||||||
import raw from "choo/html/raw";
|
import raw from "choo/html/raw";
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ import stringifyObject from "stringify-object";
|
||||||
import messageSlack from "./slack";
|
import messageSlack from "./slack";
|
||||||
import publishMeme from "./publish-meme";
|
import publishMeme from "./publish-meme";
|
||||||
import randomString from "./random-string";
|
import randomString from "./random-string";
|
||||||
import { send } from "@socket";
|
import { send } from "~socket";
|
||||||
import uploadImage from "./upload-image";
|
import uploadImage from "./upload-image";
|
||||||
|
|
||||||
const allowedQueryMethods = [
|
const allowedQueryMethods = [
|
||||||
|
|
|
@ -11,8 +11,8 @@ import redis from "redis";
|
||||||
|
|
||||||
// U T I L S
|
// U T I L S
|
||||||
|
|
||||||
import messageSlack from "@helper/slack";
|
import messageSlack from "~helper/slack";
|
||||||
import relativeDate from "@module/relative-date";
|
import relativeDate from "~module/relative-date";
|
||||||
|
|
||||||
let octokit;
|
let octokit;
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@ import websockets from "@inc/fastify-ws";
|
||||||
// U T I L S
|
// U T I L S
|
||||||
|
|
||||||
import handleSocketMessages from "./sockets";
|
import handleSocketMessages from "./sockets";
|
||||||
import messageSlack from "@helper/slack";
|
import messageSlack from "~helper/slack";
|
||||||
import redirects from "@data/redirects.json";
|
import redirects from "~data/redirects.json";
|
||||||
|
|
||||||
const server = fastify({
|
const server = fastify({
|
||||||
logger: {
|
logger: {
|
||||||
|
|
|
@ -9,9 +9,9 @@ import html from "choo/html";
|
||||||
|
|
||||||
// U T I L S
|
// U T I L S
|
||||||
|
|
||||||
import fetchMetadata from "@helper/fetch-metadata";
|
import fetchMetadata from "~helper/fetch-metadata";
|
||||||
import { generateGitHubFeed } from "@helper/github";
|
import { generateGitHubFeed } from "~helper/github";
|
||||||
import messageSlack from "@helper/slack";
|
import messageSlack from "~helper/slack";
|
||||||
|
|
||||||
const githubAppId = process.env.GITHUB_APP_ID;
|
const githubAppId = process.env.GITHUB_APP_ID;
|
||||||
const githubAppSecret = process.env.GITHUB_APP_SECRET;
|
const githubAppSecret = process.env.GITHUB_APP_SECRET;
|
||||||
|
|
|
@ -10,9 +10,9 @@ import got from "got";
|
||||||
|
|
||||||
// U T I L S
|
// U T I L S
|
||||||
|
|
||||||
import headerBlockchain from "@component/api/header-blockchain";
|
import headerBlockchain from "~component/api/header-blockchain";
|
||||||
import headerSdk from "@component/api/header-sdk";
|
import headerSdk from "~component/api/header-sdk";
|
||||||
import redirects from "@data/redirects.json";
|
import redirects from "~data/redirects.json";
|
||||||
|
|
||||||
const blockchainApi = "https://cdn.jsdelivr.net/gh/lbryio/lbrycrd@master/contrib/devtools/generated/api_v1.json";
|
const blockchainApi = "https://cdn.jsdelivr.net/gh/lbryio/lbrycrd@master/contrib/devtools/generated/api_v1.json";
|
||||||
const cache = new Map();
|
const cache = new Map();
|
||||||
|
|
|
@ -8,7 +8,7 @@ import html from "choo/html";
|
||||||
|
|
||||||
// U T I L
|
// U T I L
|
||||||
|
|
||||||
import linkGrid from "@component/link-grid";
|
import linkGrid from "~component/link-grid";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ import raw from "choo/html/raw";
|
||||||
|
|
||||||
// U T I L S
|
// U T I L S
|
||||||
|
|
||||||
import markdown from "@component/markdown";
|
import markdown from "~component/markdown";
|
||||||
import page404 from "./404";
|
import page404 from "./404";
|
||||||
|
|
||||||
|
|
||||||
|
|
44
package.json
44
package.json
|
@ -1,22 +1,22 @@
|
||||||
{
|
{
|
||||||
"_moduleAliases": {
|
"_moduleAliases": {
|
||||||
"@component": "app/components",
|
"~component": "app/components",
|
||||||
"@data": "app/data",
|
"~data": "app/data",
|
||||||
"@helper": "app/helpers",
|
"~helper": "app/helpers",
|
||||||
"@module": "app/modules",
|
"~module": "app/modules",
|
||||||
"@root": ".",
|
"~root": ".",
|
||||||
"@socket": "app/sockets.js",
|
"~socket": "app/sockets.js",
|
||||||
"@view": "app/views"
|
"~view": "app/views"
|
||||||
},
|
},
|
||||||
"author": "LBRY Team",
|
"author": "LBRY Team",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/polyfill": "^7.4.0",
|
"@babel/polyfill": "^7.4.3",
|
||||||
"@inc/fastify-ws": "^1.1.0",
|
"@inc/fastify-ws": "^1.1.0",
|
||||||
"@octokit/rest": "^16.21.0",
|
"@octokit/rest": "^16.23.4",
|
||||||
"@slack/client": "^4.12.0",
|
"@slack/client": "^5.0.0",
|
||||||
"async": "^2.6.2",
|
"async": "^2.6.2",
|
||||||
"async-es": "^2.6.2",
|
"async-es": "^2.6.2",
|
||||||
"choo": "^6.13.1",
|
"choo": "^6.13.3",
|
||||||
"choo-async": "^0.1.1",
|
"choo-async": "^0.1.1",
|
||||||
"choo-devtools": "^2.5.1",
|
"choo-devtools": "^2.5.1",
|
||||||
"choo-ssr": "^0.2.1",
|
"choo-ssr": "^0.2.1",
|
||||||
|
@ -25,10 +25,10 @@
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"cron": "^1.7.0",
|
"cron": "^1.7.0",
|
||||||
"date-format-lite": "^17.7.0",
|
"date-format-lite": "^17.7.0",
|
||||||
"decamelize": "^3.1.1",
|
"decamelize": "^3.2.0",
|
||||||
"dedent": "^0.7.0",
|
"dedent": "^0.7.0",
|
||||||
"dotenv": "^7.0.0",
|
"dotenv": "^7.0.0",
|
||||||
"fastify": "~2.1.0",
|
"fastify": "~2.2.0",
|
||||||
"fastify-compress": "^0.8.1",
|
"fastify-compress": "^0.8.1",
|
||||||
"fastify-helmet": "^3.0.0",
|
"fastify-helmet": "^3.0.0",
|
||||||
"fastify-static": "^2.4.0",
|
"fastify-static": "^2.4.0",
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
"fs-exists-sync": "^0.1.0",
|
"fs-exists-sync": "^0.1.0",
|
||||||
"got": "^9.6.0",
|
"got": "^9.6.0",
|
||||||
"graceful-fs": "^4.1.15",
|
"graceful-fs": "^4.1.15",
|
||||||
"link-module-alias": "^1.1.6",
|
"link-module-alias": "^1.2.0",
|
||||||
"make-promises-safe": "^5.0.0",
|
"make-promises-safe": "^5.0.0",
|
||||||
"markdown-it": "^8.4.2",
|
"markdown-it": "^8.4.2",
|
||||||
"markdown-it-anchor": "^5.0.2",
|
"markdown-it-anchor": "^5.0.2",
|
||||||
|
@ -48,8 +48,8 @@
|
||||||
},
|
},
|
||||||
"description": "Documentation for the LBRY protocol and associated projects",
|
"description": "Documentation for the LBRY protocol and associated projects",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.2.3",
|
"@babel/cli": "^7.4.3",
|
||||||
"@babel/core": "^7.4.0",
|
"@babel/core": "^7.4.3",
|
||||||
"@babel/plugin-external-helpers": "7.2.0",
|
"@babel/plugin-external-helpers": "7.2.0",
|
||||||
"@babel/plugin-proposal-class-properties": "7.4.0",
|
"@babel/plugin-proposal-class-properties": "7.4.0",
|
||||||
"@babel/plugin-proposal-decorators": "7.4.0",
|
"@babel/plugin-proposal-decorators": "7.4.0",
|
||||||
|
@ -60,22 +60,22 @@
|
||||||
"@babel/plugin-proposal-throw-expressions": "7.2.0",
|
"@babel/plugin-proposal-throw-expressions": "7.2.0",
|
||||||
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
||||||
"@babel/plugin-syntax-import-meta": "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",
|
"@babel/register": "^7.4.0",
|
||||||
"@inc/eslint-config": "^1.1.3",
|
"@inc/eslint-config": "^1.1.3",
|
||||||
"@inc/sasslint-config": "^1.2.0",
|
"@inc/sasslint-config": "^1.2.0",
|
||||||
"@lbry/color": "^1.1.1",
|
"@lbry/color": "^1.1.1",
|
||||||
"@lbry/components": "^2.4.0",
|
"@lbry/components": "^2.4.0",
|
||||||
"eslint": "^5.15.3",
|
"eslint": "^5.16.0",
|
||||||
"husky": "^1.3.1",
|
"husky": "^1.3.1",
|
||||||
"nodemon": "^1.18.10",
|
"nodemon": "^1.18.11",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"pino-pretty": "^2.5.0",
|
"pino-pretty": "^2.6.0",
|
||||||
"sass": "^1.17.3",
|
"sass": "^1.18.0",
|
||||||
"sass-lint": "^1.12.1",
|
"sass-lint": "^1.12.1",
|
||||||
"snazzy": "^8.0.0",
|
"snazzy": "^8.0.0",
|
||||||
"standardx": "^3.0.1",
|
"standardx": "^3.0.1",
|
||||||
"updates": "^7.2.1"
|
"updates": "^8.0.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "10.2.x"
|
"node": "10.2.x"
|
||||||
|
|
Loading…
Reference in a new issue