The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Merge branch 'main' of https://github.com/sujjeee/dub
Surajbb5b47e2299c
diff --cc packages/cli/src/commands/shorten.tsindex 1748fa5d61,f34670adf6..4cf60200e5--- a/packages/cli/src/commands/shorten.ts+++ b/packages/cli/src/commands/shorten.ts@@@ -14,9 -14,9 +14,9 @@@ const addOptionsSchema = z.object(key: z.string().min(4, "Key must be at least 4 characters long"),});-export const link = new Command()- .name("link")+export const shorten = new Command()+ .name("shorten")- .description("Configure domain for your workspace")+ .description("Create a short link").argument("[url]", "Destination URL").argument("[key]", "Short key", getNanoid()).action(async (url, key) => {diff --cc pnpm-lock.yamlindex a09442bca8,a154b52915..154693ab6b--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@@ -21956,24 -17493,45 +21956,29 @@@ snapshotstransitivePeerDependencies:- '@babel/core'- babel-plugin-macros- dev: false- resolution: {integrity: sha512-WDD0bdg9mbq6F4mRxEYcPWwfA1vxd0mrvKOyxI7Xj/atfRHVeutzuWByG//jfm4uPzp0y4Kj051EORCBSQMycw==}- engines: {node: '>=12.0.0'}- dev: false+ [email protected]: {}- resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==}- dev: false+ [email protected]: {}- resolution: {integrity: sha512-tmPX422rYgofd4epzrNoOXiE8XFZYOcCq1vD7MAXCDO+O+zndlA2ztdKKMa+EeuBG5tHETpr4ml4RGgpqDCCAg==}- engines: {node: '>= 0.10.5'}dependencies:minimatch: 3.1.2- dev: false++ [email protected]: {}+ resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==}+ engines: {node: '>=10.5.0'}+ dev: false+- resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==}- engines: {node: 4.x || >=6.0.0}- peerDependencies:- encoding: ^0.1.0- peerDependenciesMeta:- encoding:- optional: truedependencies:- encoding: 0.1.13whatwg-url: 5.0.0- dev: false+ optionalDependencies:+ encoding: 0.1.13- resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}dependencies:data-uri-to-buffer: 4.0.1fetch-blob: 3.2.0@@@ -24899,28 -21956,60 +24904,58 @@@dependencies:glob-to-regexp: 0.4.1graceful-fs: 4.2.11- dev: false- resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==}dependencies:defaults: 1.0.4+ dev: false- [email protected]: {}+ resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==}+ engines: {node: '>= 8'}+ dev: false- [email protected]: {}+ resolution: {integrity: sha512-nYfoOqb4EmElljyXU2qdeE76KsvoHdftQKY4DzA9Aw8DervCg2bG634pHLrJ/d6+B4mE3nWTSJv8Mo7B2mbZkw==}+ dev: false- [email protected]: {}+ resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}+ dev: false- [email protected]: {}+ resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==}+ dev: true- [email protected]: {}+ resolution: {integrity: sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==}+ engines: {node: '>=8'}+ dev: true- [email protected]: {}+ resolution: {integrity: sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==}+ engines: {node: '>=10.4'}+ dev: true- [email protected]: {}+ resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==}+ engines: {node: '>=12'}+ dev: false- [email protected]: {}+ resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==}+ engines: {node: '>=10.13.0'}+ dev: false+ resolution: {integrity: sha512-bdmyXRCXeeNIePv6R6tGPyy20aUobw4Zy8r0LUS2EWO+U+Ke/gYDgsCh7bl5rB6jPpr4r0SZa6dPxBxLooDT3w==}+ engines: {node: '>=10.13.0'}+ hasBin: true+ peerDependencies:+ webpack-cli: '*'+ peerDependenciesMeta:+ webpack-cli:+ optional: truedependencies:'@types/eslint-scope': 3.7.7'@types/estree': 1.0.5