Skip to content

Commit 452a5cc

Browse files
committed
chore: setup
1 parent e587383 commit 452a5cc

File tree

14 files changed

+306
-298
lines changed

14 files changed

+306
-298
lines changed

@fiction/core/package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"@types/ffprobe": "^1.1.8",
3333
"@types/ffprobe-static": "^2.0.3",
3434
"@types/turndown": "^5.0.5",
35-
"@unhead/schema": "^1.11.7",
36-
"@unhead/ssr": "^1.11.7",
37-
"@unhead/vue": "^1.11.7",
35+
"@unhead/schema": "^1.11.9",
36+
"@unhead/ssr": "^1.11.9",
37+
"@unhead/vue": "^1.11.9",
3838
"@vitejs/plugin-vue": "^5.1.4",
3939
"@vue-email/compiler": "^0.8.14",
4040
"@vue-email/components": "^0.0.19",
@@ -93,7 +93,7 @@
9393
"json-schema-to-typescript": "^15.0.2",
9494
"jsonwebtoken": "^9.0.2",
9595
"knex": "^3.1.0",
96-
"knex-stringcase": "^1.4.6",
96+
"knex-stringcase": "^1.5.3",
9797
"less": "^4.2.0",
9898
"magic-string": "^0.30.12",
9999
"marked": "^14.1.2",
@@ -130,16 +130,16 @@
130130
"spark-md5": "^3.0.2",
131131
"stream-browserify": "^3.0.0",
132132
"stream-http": "^3.2.0",
133-
"tailwind-merge": "^2.5.3",
133+
"tailwind-merge": "^2.5.4",
134134
"tailwindcss": "^3.4.13",
135135
"ts-node": "^10.9.2",
136136
"tsup": "^8.3.0",
137137
"turndown": "^7.2.0",
138138
"typescript": "^5.6.3",
139-
"unhead": "^1.11.7",
139+
"unhead": "^1.11.9",
140140
"uuid-apikey": "^1.5.3",
141141
"validator": "^13.12.0",
142-
"vite": "^5.4.8",
142+
"vite": "^5.4.9",
143143
"vue": "^3.5.12",
144144
"vue-router": "^4.4.5",
145145
"ws": "^8.18.0",
@@ -176,7 +176,7 @@
176176
"@types/spark-md5": "^3.0.4",
177177
"@types/validator": "^13.12.2",
178178
"@types/ws": "^8.5.12",
179-
"@vitest/ui": "^2.1.2",
179+
"@vitest/ui": "^2.1.3",
180180
"deep-object-diff": "^1.1.9",
181181
"fake-indexeddb": "^6.0.0",
182182
"ngrok": "5.0.0-beta.2",

@fiction/core/plugin-email/endpoint.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export abstract class EmailQuery extends Query<EmailQuerySettings> {
3838
disabledMessage = 'in test'
3939
}
4040
else if (emailMode === 'sendInProd' && (!isProd || isTest)) {
41-
disabledMessage = 'in dev or test'
41+
disabledMessage = 'in dev/test but set to prod only'
4242
}
4343

4444
if (disabledMessage)

@fiction/core/types/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { User } from '../plugin-user'
2-
import type { ActionButton, MediaObject, ProgressStatus } from '../schemas/schemas.js'
2+
import type { ActionButton, MediaObject } from '../schemas/schemas.js'
33
import type { vue } from '../utils/libraries.js'
44

55
export type CleanupCallback = (() => void) | undefined

@fiction/forms/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@fiction/site": "workspace:*",
1010
"@fiction/ui": "workspace:*",
1111
"@types/chroma-js": "^2.4.4",
12-
"chroma-js": "^3.1.1"
12+
"chroma-js": "^3.1.2"
1313
},
1414
"gitHead": "b257411e1c6c32b52b444cc6f1518bf1bee1e480",
1515
"license": "MIT",

@fiction/plugins/plugin-ai/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"@fiction/core": "workspace:*",
66
"@fiction/plugin-unsplash": "workspace:*",
77
"@pinecone-database/pinecone": "^3.0.3",
8-
"ai": "^3.4.9",
8+
"ai": "^3.4.10",
99
"openai": "^4.67.3",
1010
"tailwindcss": "^3.4.13",
1111
"vue": "^3.5.12"

@fiction/plugins/plugin-send/admin/EmailEditor.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ const actions = vue.computed(() => {
7171
theme="primary"
7272
design="outline"
7373
size="md"
74-
href="/"
74+
:href="manageLink"
7575
class="shrink-0"
76-
icon="i-tabler-home"
76+
icon="i-tabler-arrow-left"
7777
>
78-
Home
78+
Back
7979
</CardButton>
8080
</div>
8181
<div v-if="campaign" class="flex space-x-1 font-medium">
@@ -85,7 +85,7 @@ const actions = vue.computed(() => {
8585
href="/send"
8686
>
8787
<span class="i-tabler-mail text-xl inline-block dark:text-theme-500" />
88-
<span>Newsletter Composer</span>
88+
<span>Email Composer</span>
8989
<span class="i-tabler-slash text-xl dark:text-theme-500" />
9090
</CardLink>
9191
<XText :model-value="campaign?.title.value" class="whitespace-nowrap" :is-editable="true" @update:model-value="campaign && (campaign.title.value = $event)" />

@fiction/plugins/plugin-send/admin/ViewIndex.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ vue.onMounted(async () => {
5757

5858
<template>
5959
<div class="p-12 w-full max-w-screen-md mx-auto">
60-
<ElIndexGrid media-icon="i-tabler-mail" list-title="Newsletter Campaigns" :list="list" :loading="loading" :actions="[{ name: 'New Campaign', icon: 'i-tabler-plus', theme: 'primary', onClick: () => { showStartModal = true } }]">
60+
<ElIndexGrid media-icon="i-tabler-mail" list-title="Newsletter Emails" :list="list" :loading="loading" :actions="[{ name: 'New Email', icon: 'i-tabler-plus', theme: 'primary', onClick: () => { showStartModal = true } }]">
6161
<template #item="{ item }">
6262
<div class="flex -space-x-0.5">
6363
<dt class="sr-only">
@@ -73,7 +73,7 @@ vue.onMounted(async () => {
7373
title="Your Newsletter"
7474
description="Quickly craft emails and send them to your subscribers."
7575
icon="i-tabler-mail-share"
76-
:actions="[{ name: 'Create Campaign', onClick: () => { showStartModal = true }, theme: 'primary', icon: 'i-heroicons-plus' }]"
76+
:actions="[{ name: 'New Email', onClick: () => { showStartModal = true }, theme: 'primary', icon: 'i-heroicons-plus' }]"
7777
/>
7878
</template>
7979
</ElIndexGrid>

@fiction/plugins/plugin-send/endpoint.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ export class ManageCampaign extends SendEndpoint {
422422
try {
423423
await fictionEmail.sendEmail(
424424
{ ...emailConfig, to: email, subject: `[TEST] ${emailConfig.subject}` },
425-
{ server: true, emailMode: 'sendInProd' },
425+
{ server: true, emailMode: 'standard' },
426426
)
427427
return { email, success: true }
428428
}

@fiction/plugins/plugin-send/schema.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { ColType } from '@fiction/core'
22
import type { TablePostConfig } from '@fiction/posts'
33

4-
import test from 'node:test'
54
import { ActionButtonSchema, AndDataFilterSchema, Col, FictionDbTable, MediaDisplaySchema, ProgressStatusSchema, standardTable } from '@fiction/core'
65
import { t as postTableNames } from '@fiction/posts'
76
import { z } from 'zod'

@fiction/plugins/plugin-subscribe/admin/ChartSubs.vue

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script lang="ts" setup>
2-
import type { vue } from '@fiction/core'
32
import type { FictionSubscribe } from '..'
43
import WidgetWrap from '@fiction/admin/dashboard/WidgetWrap.vue'
54
import DateChart from '@fiction/analytics/chart/DateChart.vue'

@fiction/ui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@types/imagesloaded": "^4.1.6",
3838
"@types/packery": "^1.4.37",
3939
"add": "^2.0.6",
40-
"ai": "^3.4.9",
40+
"ai": "^3.4.10",
4141
"blurhash": "^2.0.5",
4242
"flickity": "^3.0.0",
4343
"gsap": "^3.12.5",

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</h1>
44

55
<p align="center">
6-
Quickly create personal websites, marketing funnels, and newsletter campaigns.
6+
Quickly create personal websites, marketing funnels, and newsletter emails.
77
</p>
88

99
<div align="center">

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@fiction/www": "workspace:*",
6969
"@google-cloud/vision": "^4.3.2",
7070
"@vitejs/plugin-vue": "^5.1.4",
71-
"@vitest/browser": "^2.1.2",
71+
"@vitest/browser": "^2.1.3",
7272
"axios": "^1.7.7",
7373
"cloudinary": "^2.5.1",
7474
"commander": "^12.1.0",
@@ -85,8 +85,8 @@
8585
"textlint": "^14.2.1",
8686
"ts-node": "^10.9.2",
8787
"tsx": "^4.19.1",
88-
"vite": "^5.4.8",
89-
"vitest": "^2.1.2",
88+
"vite": "^5.4.9",
89+
"vitest": "^2.1.3",
9090
"vue": "^3.5.12",
9191
"vue-router": "^4.4.5"
9292
},
@@ -101,7 +101,7 @@
101101
"@types/eslint__js": "^8.42.3",
102102
"@types/express": "^5.0.0",
103103
"@types/node": "^22.7.5",
104-
"@vitest/coverage-istanbul": "^2.1.2",
104+
"@vitest/coverage-istanbul": "^2.1.3",
105105
"@vue/test-utils": "^2.4.6",
106106
"eslint": "^9.12.0",
107107
"happy-dom": "^15.7.4",
@@ -117,8 +117,8 @@
117117
"tailwindcss": "^3.4.13",
118118
"tslib": "^2.7.0",
119119
"typescript": "^5.6.3",
120-
"typescript-eslint": "^8.8.1",
121-
"vitepress": "^1.4.0",
120+
"typescript-eslint": "^8.9.0",
121+
"vitepress": "^1.4.1",
122122
"vue-tsc": "^2.1.6"
123123
},
124124
"pnpm": {

0 commit comments

Comments
 (0)