Skip to content

Commit

Permalink
fix: publish creation
Browse files Browse the repository at this point in the history
  • Loading branch information
0xzio committed Jul 3, 2024
1 parent ba94029 commit 7dd6621
Show file tree
Hide file tree
Showing 23 changed files with 27 additions and 23 deletions.
4 changes: 2 additions & 2 deletions apps/desktop/.env
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "desktop",
"private": true,
"version": "0.3.34",
"version": "0.3.35",
"type": "module",
"scripts": {
"vite:dev": "vite",
Expand Down
10 changes: 8 additions & 2 deletions apps/desktop/src/common/installBuiltinCreations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '',
Expand Down Expand Up @@ -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(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@types/react": "^18.2.61",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@types/react": "^18.2.61",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@types/react": "^18.2.61",
Expand Down
2 changes: 1 addition & 1 deletion creation-samples/custom-ui-react/hacker-news/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@types/react": "^18.2.61",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@penxio/api": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@penxio/api": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@penxio/api": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion creation-samples/mix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@penxio/preset-ui": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion creation-samples/preset-ui/base64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@penxio/preset-ui": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion creation-samples/preset-ui/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@penxio/preset-ui": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion creation-samples/preset-ui/developer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "penx dev",
"build": "penx build",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@penxio/preset-ui": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion creation-samples/preset-ui/github-trending/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@penxio/preset-ui": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion creation-samples/preset-ui/hacker-news/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@penxio/preset-ui": "workspace:*",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion creation-samples/preset-ui/hello-word/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@penxio/preset-ui": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion creation-samples/preset-ui/run-apple-script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "penx dev",
"release": "penx release"
"build": "penx build"
},
"devDependencies": {
"@penxio/preset-ui": "workspace:*",
Expand Down
2 changes: 0 additions & 2 deletions packages/trpc-client/src/trpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export const api = createTRPCClient<any>({
url: `${BASE_URL}/api/trpc`,
transformer: superjson,
async headers() {
console.log('headers', await getHeaders())

return await getHeaders()
},
}),
Expand Down

0 comments on commit 7dd6621

Please sign in to comment.