From 14a0fba74754cdc2fc84bcb8306b99fad4475cdf Mon Sep 17 00:00:00 2001 From: Stepan Vladovskiy Date: Tue, 9 Apr 2024 12:16:23 -0300 Subject: [PATCH] feat: npm install (bo check package.lock) --- .gitea/workflows/main.yml | 2 +- index.mjs | 2 +- package-lock.json | 197 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 199 insertions(+), 2 deletions(-) create mode 100644 package-lock.json diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index d84660d..f539ab4 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 - name: Install dependencies - run: npm ci + run: npm install deploy: runs-on: ubuntu-latest diff --git a/index.mjs b/index.mjs index 6484293..584dee6 100644 --- a/index.mjs +++ b/index.mjs @@ -9,7 +9,7 @@ const authorizer = new Authorizer({ }); const Sentry = require("@sentry/node"); -Sentry.init({ dsn: process.env.SENTRY_DSN }); +Sentry.init({ dsn: process.env.GLITCHTIP_DSN }); const startServer = async () => { const server = await Server.configure({ diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..88b4ba2 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,197 @@ +{ + "name": "discours-editing-server", + "version": "1.0.3", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "discours-editing-server", + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "@authorizerdev/authorizer-js": "^2.0.0", + "@hocuspocus/server": "^2.11.2" + } + }, + "node_modules/@authorizerdev/authorizer-js": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "cross-fetch": "^3.1.5" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/authorizerdev" + } + }, + "node_modules/@hocuspocus/common": { + "version": "2.11.2", + "license": "MIT", + "dependencies": { + "lib0": "^0.2.87" + } + }, + "node_modules/@hocuspocus/server": { + "version": "2.11.2", + "resolved": "https://registry.npmjs.org/@hocuspocus/server/-/server-2.11.2.tgz", + "integrity": "sha512-/djaNUSS9vYmz5H/bformB9BXKVhSXS10WIURT1OqFLnN0dZnOB0gxL/IyGCZgXCNyiD8U03n7FIgad9MckV8g==", + "dependencies": { + "@hocuspocus/common": "^2.11.2", + "async-lock": "^1.3.1", + "kleur": "^4.1.4", + "lib0": "^0.2.47", + "uuid": "^9.0.0", + "ws": "^8.5.0" + }, + "peerDependencies": { + "y-protocols": "^1.0.6", + "yjs": "^13.6.8" + } + }, + "node_modules/async-lock": { + "version": "1.4.1", + "license": "MIT" + }, + "node_modules/cross-fetch": { + "version": "3.1.8", + "license": "MIT", + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "node_modules/isomorphic.js": { + "version": "0.2.5", + "license": "MIT", + "funding": { + "type": "GitHub Sponsors ❤", + "url": "https://github.com/sponsors/dmonad" + } + }, + "node_modules/kleur": { + "version": "4.1.5", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/lib0": { + "version": "0.2.88", + "license": "MIT", + "dependencies": { + "isomorphic.js": "^0.2.4" + }, + "bin": { + "0gentesthtml": "bin/gentesthtml.js", + "0serve": "bin/0serve.js" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "type": "GitHub Sponsors ❤", + "url": "https://github.com/sponsors/dmonad" + } + }, + "node_modules/node-fetch": { + "version": "2.7.0", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "license": "MIT" + }, + "node_modules/uuid": { + "version": "9.0.1", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "license": "BSD-2-Clause" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/ws": { + "version": "8.16.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/y-protocols": { + "version": "1.0.6", + "license": "MIT", + "peer": true, + "dependencies": { + "lib0": "^0.2.85" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=8.0.0" + }, + "funding": { + "type": "GitHub Sponsors ❤", + "url": "https://github.com/sponsors/dmonad" + }, + "peerDependencies": { + "yjs": "^13.0.0" + } + }, + "node_modules/yjs": { + "version": "13.6.12", + "license": "MIT", + "peer": true, + "dependencies": { + "lib0": "^0.2.86" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=8.0.0" + }, + "funding": { + "type": "GitHub Sponsors ❤", + "url": "https://github.com/sponsors/dmonad" + } + } + } +}