⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
minor change
daniel31x138e49ccf72323
diff --git a/components/ModalContent/DeleteLinkModal.tsx b/components/ModalContent/DeleteLinkModal.tsxindex ebbe5ae2..69911282 100644--- a/components/ModalContent/DeleteLinkModal.tsx+++ b/components/ModalContent/DeleteLinkModal.tsx@@ -75,7 +75,7 @@ export default function DeleteLinkModal({ onClose, activeLink }: Props) {<p>Hold the <kbd className="kbd kbd-sm">Shift</kbd> key while clicking- 'Delete' to bypass this confirmation in the future.+ 'Delete' to bypass this confirmation in the future.</p><buttondiff --git a/components/ModalContent/EditCollectionSharingModal.tsx b/components/ModalContent/EditCollectionSharingModal.tsxindex 79eaf423..3b2eade8 100644--- a/components/ModalContent/EditCollectionSharingModal.tsx+++ b/components/ModalContent/EditCollectionSharingModal.tsx@@ -122,7 +122,7 @@ export default function EditCollectionSharingModal({</label><p className="text-neutral text-sm">- This will let <b>Anyone</b> to view this collection and it's+ This will let <b>Anyone</b> to view this collection and it'susers.</p></div>diff --git a/layouts/LinkLayout.tsx b/layouts/LinkLayout.tsxindex 3a00f07d..ddcced19 100644--- a/layouts/LinkLayout.tsx+++ b/layouts/LinkLayout.tsx@@ -114,7 +114,7 @@ export default function LinkLayout({ children }: Props) {href={router.pathname.startsWith("/public")? `/public/collections/${- linkCollection?.id || link?.collection.id+ linkCollection?.id || link?.collection?.id}`: `/dashboard`}diff --git a/package.json b/package.jsonindex d5de5be5..5376952f 100644--- a/package.json+++ b/package.json@@ -8,8 +8,8 @@"private": true,"scripts": {"dev": "next dev",- "build": "next build","start": "next start",+ "build": "next build","lint": "next lint"},"dependencies": {@@ -26,7 +26,7 @@"@stripe/stripe-js": "^1.54.1","@types/crypto-js": "^4.1.1","@types/formidable": "^3.4.5",- "@types/node": "20.4.4",+ "@types/node": "^20.10.4","@types/nodemailer": "^6.4.8","@types/react": "18.2.14","@types/react-dom": "18.2.7",@@ -55,7 +55,6 @@"react-select": "^5.7.4","sharp": "^0.32.1","stripe": "^12.13.0",- "typescript": "4.9.4","zustand": "^4.3.8"},"devDependencies": {@@ -63,10 +62,12 @@"@types/bcrypt": "^5.0.0","@types/dompurify": "^3.0.4","@types/jsdom": "^21.1.3",+ "@types/shelljs": "^0.8.15","autoprefixer": "^10.4.14","daisyui": "^4.4.2","postcss": "^8.4.26","prisma": "^5.1.0",- "tailwindcss": "^3.3.3"+ "tailwindcss": "^3.3.3",+ "typescript": "4.9.4"}}diff --git a/scripts/start.ts b/scripts/start.tsnew file mode 100644index 00000000..d64ba788--- /dev/null+++ b/scripts/start.ts@@ -0,0 +1,13 @@+import shell from "shelljs";+import urlHandler from "../lib/api/urlHandler";++const command = process.argv[2];++const args = process.argv.slice(3).join(" ");++if (!command) {+ console.log("Please provide a command to run. (start, dev, etc.)");+ process.exit(1);+}++shell.exec(`yarn ${command || ""} ${args || ""}`);diff --git a/yarn.lock b/yarn.lockindex 1552ad70..813b83e9 100644--- a/yarn.lock+++ b/yarn.lock@@ -1504,6 +1504,14 @@dependencies:"@types/node" "*"+"@types/glob@~7.2.0":+ version "7.2.0"+ resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb"+ integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==+ dependencies:+ "@types/minimatch" "*"+ "@types/node" "*"+"@types/jsdom@^21.1.3":version "21.1.3"resolved "https://registry.yarnpkg.com/@types/jsdom/-/jsdom-21.1.3.tgz#a88c5dc65703e1b10b2a7839c12db49662b43ff0"@@ -1518,11 +1526,23 @@resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==-"@types/node@*", "@types/[email protected]", "@types/node@>=8.1.0":+"@types/minimatch@*":+ version "5.1.2"+ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca"+ integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==++"@types/node@*", "@types/node@>=8.1.0":version "20.4.4"resolved "https://registry.yarnpkg.com/@types/node/-/node-20.4.4.tgz#c79c7cc22c9d0e97a7944954c9e663bcbd92b0cb"integrity sha512-CukZhumInROvLq3+b5gLev+vgpsIqC2D0deQr/yS1WnxvmYLlJXZpaQrQiseMY+6xusl79E04UjWoqyr+t1/Ew==+"@types/node@^20.10.4":+ version "20.10.4"+ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.4.tgz#b246fd84d55d5b1b71bf51f964bd514409347198"+ integrity sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==+ dependencies:+ undici-types "~5.26.4"+"@types/nodemailer@^6.4.8":version "6.4.8"resolved "https://registry.yarnpkg.com/@types/nodemailer/-/nodemailer-6.4.8.tgz#f06c661e9b201fc2acc3a00a0fded42ba7eaca9d"@@ -1568,6 +1588,14 @@resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39"integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==+"@types/shelljs@^0.8.15":+ version "0.8.15"+ resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.8.15.tgz#22c6ab9dfe05cec57d8e6cb1a95ea173aee9fcac"+ integrity sha512-vzmnCHl6hViPu9GNLQJ+DZFd6BQI2DBTUeOvYHqkWQLMfKAAQYMb/xAmZkTogZI/vqXHCWkqDRymDI5p0QTi5Q==+ dependencies:+ "@types/glob" "~7.2.0"+ "@types/node" "*"+"@types/tough-cookie@*":version "4.0.3"resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-4.0.3.tgz#3d06b6769518450871fbc40770b7586334bdfd90"@@ -5116,6 +5144,11 @@ unbox-primitive@^1.0.2:has-symbols "^1.0.3"which-boxed-primitive "^1.0.2"+undici-types@~5.26.4:+ version "5.26.5"+ resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"+ integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==+uniq@^1.0.0:version "1.0.1"resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff"