diff --git a/apps/desktop/.env b/apps/desktop/.env index 5c8d27e2d..553daf12a 100644 --- a/apps/desktop/.env +++ b/apps/desktop/.env @@ -1,5 +1,5 @@ -# VITE_API_URL=https://app.penx.io -VITE_API_URL=http://localhost:3000 +VITE_API_URL=https://penx.io +# VITE_API_URL=http://localhost:3000 NEXT_PUBLIC_PLATFORM=DESKTOP diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 2cb985f61..8fa81f6a1 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,7 +1,7 @@ { "name": "desktop", "private": true, - "version": "0.3.34", + "version": "0.3.35", "type": "module", "scripts": { "vite:dev": "vite", diff --git a/apps/desktop/src/common/installBuiltinCreations.ts b/apps/desktop/src/common/installBuiltinCreations.ts index acbc53ea0..13a2273db 100644 --- a/apps/desktop/src/common/installBuiltinCreations.ts +++ b/apps/desktop/src/common/installBuiltinCreations.ts @@ -7,7 +7,10 @@ const commands: ICommand[] = [ { name: 'marketplace', title: 'marketplace', - icon: '/icons/marketplace.svg', + icon: { + name: 'lucide--target', + className: 'bg-gradient-to-r from-green-500 to-cyan-500', + }, subtitle: '', description: '', code: '', @@ -107,7 +110,10 @@ export async function installBuiltinCreations() { version: '0.0.0', assets: {}, isDeveloping: false, - icon: '/logo/128x128.png', + icon: { + name: 'lucide--folder-closed', + className: 'bg-gradient-to-r from-green-500 to-cyan-500', + }, commands: [], createdAt: new Date(), updatedAt: new Date(), diff --git a/creation-samples/custom-ui-react/creation-react-example/package.json b/creation-samples/custom-ui-react/creation-react-example/package.json index 22e08018c..050e1f00a 100644 --- a/creation-samples/custom-ui-react/creation-react-example/package.json +++ b/creation-samples/custom-ui-react/creation-react-example/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@types/react": "^18.2.61", diff --git a/creation-samples/custom-ui-react/creation-template-react/package.json b/creation-samples/custom-ui-react/creation-template-react/package.json index 6eb900ad6..f3f56c9b4 100644 --- a/creation-samples/custom-ui-react/creation-template-react/package.json +++ b/creation-samples/custom-ui-react/creation-template-react/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@types/react": "^18.2.61", diff --git a/creation-samples/custom-ui-react/github-trending/package.json b/creation-samples/custom-ui-react/github-trending/package.json index e1310af6d..74f0f2bef 100644 --- a/creation-samples/custom-ui-react/github-trending/package.json +++ b/creation-samples/custom-ui-react/github-trending/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@types/react": "^18.2.61", diff --git a/creation-samples/custom-ui-react/hacker-news/package.json b/creation-samples/custom-ui-react/hacker-news/package.json index c243d3019..e942b8b0b 100644 --- a/creation-samples/custom-ui-react/hacker-news/package.json +++ b/creation-samples/custom-ui-react/hacker-news/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@types/react": "^18.2.61", diff --git a/creation-samples/custom-ui-solid/creation-template-solid/package.json b/creation-samples/custom-ui-solid/creation-template-solid/package.json index e67bad5ce..abcfd5c4a 100644 --- a/creation-samples/custom-ui-solid/creation-template-solid/package.json +++ b/creation-samples/custom-ui-solid/creation-template-solid/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/api": "workspace:*", diff --git a/creation-samples/custom-ui-svelte/creation-template-svelte/package.json b/creation-samples/custom-ui-svelte/creation-template-svelte/package.json index 13d9f6b44..4b2331923 100644 --- a/creation-samples/custom-ui-svelte/creation-template-svelte/package.json +++ b/creation-samples/custom-ui-svelte/creation-template-svelte/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/api": "workspace:*", diff --git a/creation-samples/custom-ui-vue/extension-template-vue/package.json b/creation-samples/custom-ui-vue/extension-template-vue/package.json index 3bad8c148..ad42ba5c6 100644 --- a/creation-samples/custom-ui-vue/extension-template-vue/package.json +++ b/creation-samples/custom-ui-vue/extension-template-vue/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/api": "workspace:*", diff --git a/creation-samples/mix/package.json b/creation-samples/mix/package.json index ff70d7853..40873c2d2 100644 --- a/creation-samples/mix/package.json +++ b/creation-samples/mix/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/preset-ui": "workspace:*", diff --git a/creation-samples/preset-ui/base64/package.json b/creation-samples/preset-ui/base64/package.json index b4016dca9..558fabff3 100644 --- a/creation-samples/preset-ui/base64/package.json +++ b/creation-samples/preset-ui/base64/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/preset-ui": "workspace:*", diff --git a/creation-samples/preset-ui/counter/package.json b/creation-samples/preset-ui/counter/package.json index fd8ea088f..6182f7822 100644 --- a/creation-samples/preset-ui/counter/package.json +++ b/creation-samples/preset-ui/counter/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/preset-ui": "workspace:*", diff --git a/creation-samples/preset-ui/developer/package.json b/creation-samples/preset-ui/developer/package.json index bc801f65a..8445683c4 100644 --- a/creation-samples/preset-ui/developer/package.json +++ b/creation-samples/preset-ui/developer/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "penx dev", "build": "penx build", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/preset-ui": "workspace:*", diff --git a/creation-samples/preset-ui/developer/src/lib/getPackageJSON.ts b/creation-samples/preset-ui/developer/src/lib/getPackageJSON.ts index 26cbaeaee..0f43097fc 100644 --- a/creation-samples/preset-ui/developer/src/lib/getPackageJSON.ts +++ b/creation-samples/preset-ui/developer/src/lib/getPackageJSON.ts @@ -4,7 +4,7 @@ export function getPackageJSON(template: string) { "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/preset-ui": "latest", diff --git a/creation-samples/preset-ui/github-trending/package.json b/creation-samples/preset-ui/github-trending/package.json index fa43bba99..da02371f1 100644 --- a/creation-samples/preset-ui/github-trending/package.json +++ b/creation-samples/preset-ui/github-trending/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/preset-ui": "workspace:*", diff --git a/creation-samples/preset-ui/hacker-news/package.json b/creation-samples/preset-ui/hacker-news/package.json index b19bf1140..16c037584 100644 --- a/creation-samples/preset-ui/hacker-news/package.json +++ b/creation-samples/preset-ui/hacker-news/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/preset-ui": "workspace:*", diff --git a/creation-samples/preset-ui/hacker-news/screenshots/1.png b/creation-samples/preset-ui/hacker-news/screenshots/1.png deleted file mode 100644 index db860b010..000000000 Binary files a/creation-samples/preset-ui/hacker-news/screenshots/1.png and /dev/null differ diff --git a/creation-samples/preset-ui/hacker-news/screenshots/2.png b/creation-samples/preset-ui/hacker-news/screenshots/2.png deleted file mode 100644 index bff47083b..000000000 Binary files a/creation-samples/preset-ui/hacker-news/screenshots/2.png and /dev/null differ diff --git a/creation-samples/preset-ui/hacker-news/screenshots/3.png b/creation-samples/preset-ui/hacker-news/screenshots/3.png deleted file mode 100644 index b0332f0bb..000000000 Binary files a/creation-samples/preset-ui/hacker-news/screenshots/3.png and /dev/null differ diff --git a/creation-samples/preset-ui/hello-word/package.json b/creation-samples/preset-ui/hello-word/package.json index 3dc1c37d1..e6bb60aa3 100644 --- a/creation-samples/preset-ui/hello-word/package.json +++ b/creation-samples/preset-ui/hello-word/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/preset-ui": "workspace:*", diff --git a/creation-samples/preset-ui/run-apple-script/package.json b/creation-samples/preset-ui/run-apple-script/package.json index 62ad53de7..9f8f61121 100644 --- a/creation-samples/preset-ui/run-apple-script/package.json +++ b/creation-samples/preset-ui/run-apple-script/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "dev": "penx dev", - "release": "penx release" + "build": "penx build" }, "devDependencies": { "@penxio/preset-ui": "workspace:*", diff --git a/packages/trpc-client/src/trpc.ts b/packages/trpc-client/src/trpc.ts index 9ad674ea5..a4d9abc9b 100644 --- a/packages/trpc-client/src/trpc.ts +++ b/packages/trpc-client/src/trpc.ts @@ -12,8 +12,6 @@ export const api = createTRPCClient({ url: `${BASE_URL}/api/trpc`, transformer: superjson, async headers() { - console.log('headers', await getHeaders()) - return await getHeaders() }, }),