Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/young-eels-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@deepdish/cli": minor
---

Attempted to fix npx ux.
5 changes: 3 additions & 2 deletions apps/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"url": "https://byteslice.co"
},
"type": "module",
"main": "./dist/cli.js",
"bin": {
"__cli_bash_complete": "./dist/bash-complete.js",
"deepdish": "./dist/cli.js"
Expand All @@ -17,13 +18,13 @@
"scripts": {
"prebuild": "tsc -p tsconfig.json",
"build": "if command -v op >/dev/null 2>&1; then op run --no-masking --env-file=.env.development -- tsup; else tsup; fi",
"postbuild": "chmod +x ./dist/cli.js",
"postbuild": "chmod +x ./dist/cli.js && chmod +x ./dist/bash-complete.js",
"dev": "op run --no-masking --env-file=.env.development -- tsup --watch"
},
"dependencies": {
"@byteslice/result": "catalog:byteslice",
"@clerk/clerk-js": "5.57.3",
"@deepdish-cloud/clients": "0.0.2",
"@deepdish-cloud/clients": "0.0.3",
"@stricli/auto-complete": "1.1.1",
"@stricli/core": "1.1.1",
"chalk": "5.4.1",
Expand Down
3 changes: 2 additions & 1 deletion apps/cli/src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const values = {
process.env.DEEPDISH_CLOUD_CLI_URL || 'https://api.deepdish.app/cli',
/* @ts-ignore */
OAUTH_AUTHORIZE_URL:
process.env.OAUTH_AUTHORIZE_URL || 'https://clerk.deepdish.app',
process.env.OAUTH_AUTHORIZE_URL ||
'https://clerk.deepdish.app/oauth/authorize',
}

export const env = v.parse(envSchema, values)
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.