forked from Mirrors/keyoxide-web
Compare commits
No commits in common. "abfa9697b12c58a4231ff3948086c8650f2aaf74" and "b8c94ebc0b9fffe1e2bd9dfbec62890ea24fbea7" have entirely different histories.
abfa9697b1
...
b8c94ebc0b
6 changed files with 5581 additions and 8188 deletions
11
.gitignore
vendored
11
.gitignore
vendored
|
@ -33,13 +33,4 @@ node_modules
|
|||
ignore
|
||||
dist
|
||||
static
|
||||
logs
|
||||
|
||||
# yarn
|
||||
.pnp.*
|
||||
.yarn/*
|
||||
!.yarn/patches
|
||||
!.yarn/plugins
|
||||
!.yarn/releases
|
||||
!.yarn/sdks
|
||||
!.yarn/versions
|
||||
logs
|
|
@ -1,4 +0,0 @@
|
|||
nodeLinker: node-modules
|
||||
npmScopes:
|
||||
myriation:
|
||||
npmRegistryServer: https://git.myriation.xyz/api/packages/myriation/npm/
|
|
@ -3,9 +3,9 @@ FROM node:20-alpine as builder
|
|||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
RUN corepack enable
|
||||
RUN yarn install --immutable
|
||||
RUN yarn run build:server && yarn run build:static
|
||||
RUN yarn --pure-lockfile
|
||||
RUN yarn run build:server
|
||||
RUN yarn run build:static
|
||||
|
||||
###
|
||||
|
||||
|
|
|
@ -4,13 +4,12 @@
|
|||
"description": "Verifying online identity with cryptography",
|
||||
"main": "./src/index.js",
|
||||
"type": "module",
|
||||
"packageManager": "yarn@3.6.1",
|
||||
"dependencies": {
|
||||
"ajv": "^8.6.3",
|
||||
"bent": "^7.3.12",
|
||||
"body-parser": "^1.19.0",
|
||||
"colorjs.io": "^0.4.5",
|
||||
"doipjs": "npm:@myriation/doipjs@1.2.9+myriation.1",
|
||||
"doipjs": "^1.2.9",
|
||||
"dotenv": "^16.0.3",
|
||||
"express": "^4.17.1",
|
||||
"express-http-context2": "^1.0.0",
|
||||
|
|
|
@ -42,12 +42,7 @@ const opts = {
|
|||
privateKey: process.env.ACTIVITYPUB_PRIVATE_KEY || null
|
||||
},
|
||||
irc: {
|
||||
nick: process.env.IRC_NICK || null,
|
||||
sasl: Object.keys(process.env).filter(k => k.startsWith('IRC_SASL_USERNAME_')).map(k => ({
|
||||
username: process.env[k],
|
||||
password: process.env[`IRC_SASL_PASSWORD_${k.substring('IRC_SASL_USERNAME_'.length)}`],
|
||||
domainRegex: process.env[`IRC_SASL_DOMAIN_REGEX_${k.substring('IRC_SASL_USERNAME_'.length)}`]
|
||||
}))
|
||||
nick: process.env.IRC_NICK || null
|
||||
},
|
||||
matrix: {
|
||||
instance: process.env.MATRIX_INSTANCE || null,
|
||||
|
|
Loading…
Add table
Reference in a new issue