Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat: 🎸 Remove dotenv dep
Jin924044ae52a1
diff --git a/example.env b/example.envdeleted file mode 100644index 48c81fb7cb..0000000000--- a/example.env+++ /dev/null@@ -1,7 +0,0 @@-SSO_ENABLED="false"-BASE_URL="http://localhost:8080"-CLIENT_ID="1234"-SECRET="I-Like-Trilium-Notes"--TOTP_ENABLED="false"-TOTP_SECRET="Trilium-Notes-is-the-best"\ No newline at end of filediff --git a/package-lock.json b/package-lock.jsonindex 622e8fd174..8cbb5d4bd3 100644--- a/package-lock.json+++ b/package-lock.json@@ -32,7 +32,6 @@"dayjs": "1.11.13","dayjs-plugin-utc": "0.1.2","debounce": "2.2.0",- "dotenv": "^16.4.5","draggabilly": "3.0.0","ejs": "3.1.10","electron-debug": "4.1.0",@@ -9203,18 +9202,6 @@"url": "https://github.com/fb55/domutils?sponsor=1"}},- "node_modules/dotenv": {- "version": "16.4.7",- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz",- "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==",- "license": "BSD-2-Clause",- "engines": {- "node": ">=12"- },- "funding": {- "url": "https://dotenvx.com"- }- },"node_modules/draggabilly": {"version": "3.0.0","resolved": "https://registry.npmjs.org/draggabilly/-/draggabilly-3.0.0.tgz",diff --git a/package.json b/package.jsonindex 0d9055cd2a..590f7f179b 100644--- a/package.json+++ b/package.json@@ -91,8 +91,6 @@"csrf-csrf": "3.1.0","dayjs": "1.11.13","dayjs-plugin-utc": "0.1.2",- "dotenv": "^16.4.5",- "express-openid-connect": "^2.17.1","debounce": "2.2.0","draggabilly": "3.0.0","ejs": "3.1.10",@@ -103,7 +101,7 @@"escape-html": "1.0.3","eslint-linter-browserify": "9.22.0","express": "4.21.2",- "time2fa": "^1.3.0",+ "express-openid-connect": "^2.17.1","express-rate-limit": "7.5.0","express-session": "1.18.1","force-graph": "1.49.5",@@ -151,6 +149,7 @@"strip-bom": "5.0.0","striptags": "3.2.0","swagger-ui-express": "5.0.1",+ "time2fa": "^1.3.0","tmp": "0.2.3","turndown": "7.2.0","unescape": "1.0.1",