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
2 changes: 1 addition & 1 deletion .github/workflows/continuous-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v6

- name: Check if there are changes
uses: dorny/paths-filter@v3
uses: dorny/paths-filter@v4
id: changes
with:
filters: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
- uses: actions/github-script@v9.0.0
env:
PULL_REQUEST_TITLE: ${{ github.event.pull_request.title }}
with:
Expand Down
2 changes: 1 addition & 1 deletion apps/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dotenv": "^17.4.1",
"iron-webcrypto": "^2.0.0",
"motion-plus-vue": "^1.8.1",
"motion-v": "^1.10.3",
"motion-v": "^2.2.1",
"nuxt": "4.4.2",
"vue": "^3.5.32",
"vue-sonner": "^2.0.9",
Expand Down
2 changes: 1 addition & 1 deletion apps/lp/app/pages/about.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const title = 'About Shelve'
const description = 'Learn about Shelve\'s origins, the mission to simplify secrets management, and the vision for a unified, open-source developer workspace.'
const titleTemplate = ref('%s - Our Story, Mission & Vision')

defineOgImage({ url: ogImage })
useSeoMeta({ ogImage: ogImage })

useSeoMeta({
title,
Expand Down
2 changes: 1 addition & 1 deletion apps/lp/app/pages/blog/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (!posts.value) {
const { title, description } = page.value
const titleTemplate = ref('%s - Updates, Insights & Building in Public')

defineOgImage({ url: ogImage })
useSeoMeta({ ogImage: ogImage })

useSeoMeta({
title,
Expand Down
2 changes: 1 addition & 1 deletion apps/lp/app/pages/brand.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (!page.value) {
const { title, description } = page.value
const titleTemplate = ref('%s')

defineOgImage({ url: ogImage })
useSeoMeta({ ogImage: ogImage })

useSeoMeta({
title,
Expand Down
2 changes: 1 addition & 1 deletion apps/lp/app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ useSeoMeta({
ogTitle: titleTemplate.value?.includes('%s') ? titleTemplate.value.replace('%s', title) : title
})

defineOgImage({ url: ogImage })
useSeoMeta({ ogImage: ogImage })
</script>

<template>
Expand Down
3 changes: 3 additions & 0 deletions apps/lp/docus-i18n.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/** Declared for `tsc` when resolving docus composables (Nuxt auto-imports at runtime). */
declare function useLocalePath(): (to: string) => string
declare function useSwitchLocalePath(): (locale: string) => string
4 changes: 2 additions & 2 deletions apps/lp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"@shelve/base": "workspace:*",
"docus": "https://pkg.pr.new/docus@061666a",
"@number-flow/vue": "^0.5.0",
"@nuxtjs/seo": "^3.4.0",
"@nuxtjs/seo": "^5.1.3",
"better-sqlite3": "^12.8.0",
"nuxt-build-cache": "^0.1.1",
"nuxt-llms": "^0.2.0",
"tailwindcss": "^4.2.2",
"vue-router": "^4.6.4"
"vue-router": "^5.0.0"
},
"devDependencies": {
"@shelve/cli": "^4.1.7"
Expand Down
2 changes: 1 addition & 1 deletion apps/shelve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"resend": "^6.10.0",
"tailwindcss": "^4.2.2",
"tweetnacl": "^1.0.3",
"vue-router": "^4.6.4"
"vue-router": "^5.0.0"
},
"devDependencies": {
"@nuxt/devtools": "^3.2.4",
Expand Down
1 change: 1 addition & 0 deletions apps/shelve/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "./.nuxt/tsconfig.json",
"compilerOptions": {
"ignoreDeprecations": "6.0",
"baseUrl": ".",
"paths": {
"@types": ["../../packages/types"],
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
"@parcel/watcher",
"esbuild",
"vue-demi"
]
],
"patchedDependencies": {
"docus@5.5.1": "patches/docus@5.5.1.patch"
}
},
"packageManager": "pnpm@10.33.0",
"workspaces": [
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"vitest": "vitest run"
},
"dependencies": {
"@antfu/ni": "^28.3.0",
"@clack/prompts": "0.11.0",
"@antfu/ni": "^30.0.0",
"@clack/prompts": "^1.2.0",
"c12": "3.3.4",
"dotenv": "^17.4.1",
"citty": "^0.2.2",
Expand All @@ -50,7 +50,7 @@
"nypm": "0.6.5",
"ofetch": "1.5.1",
"pkg-types": "2.3.0",
"rc9": "^2.1.2",
"rc9": "^3.0.1",
"semver": "7.7.4",
"tinyglobby": "0.2.16",
"tree-kill": "^1.2.2"
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ async function checkConfig(path: string | null, isRoot = false): Promise<ShelveC
* @returns Promise<ShelveConfig> - The base configuration object
*/
async function getDefaultConfig(): Promise<ShelveConfig> {
// @ts-expect-error we don't want to specify 'cwd' option
await setupDotenv({})
const { name } = await readPackageJSON().catch(() => ({ name: undefined }))
const conf = readUser('.shelve')
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/utils/prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function askText(message: string, placeholder?: string, initialValu
placeholder,
initialValue,
validate(value) {
if (value.length === 0) return 'Value is required!'
if (!value?.length) return 'Value is required!'
},
})
if (isCancel(response)) handleCancel('Operation cancelled.')
Expand All @@ -36,7 +36,7 @@ export async function askPassword(message: string): Promise<string> {
const response = await password({
message,
validate(value) {
if (value.length === 0) return 'Value is required!'
if (!value?.length) return 'Value is required!'
},
})
if (isCancel(response)) handleCancel('Operation cancelled.')
Expand Down
14 changes: 14 additions & 0 deletions packages/cli/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import { defineConfig } from 'vitest/config'

const cliDir = path.dirname(fileURLToPath(import.meta.url))

export default defineConfig({
resolve: {
alias: {
'@utils': path.resolve(cliDir, '../utils'),
'@types': path.resolve(cliDir, '../types'),
},
},
})
8 changes: 8 additions & 0 deletions patches/docus@5.5.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
diff --git a/app/components/OgImage/OgImageDocs.vue b/app/components/OgImage/OgImageDocs.satori.vue
similarity index 100%
rename from app/components/OgImage/OgImageDocs.vue
rename to app/components/OgImage/OgImageDocs.satori.vue
diff --git a/app/components/OgImage/OgImageLanding.vue b/app/components/OgImage/OgImageLanding.satori.vue
similarity index 100%
rename from app/components/OgImage/OgImageLanding.vue
rename to app/components/OgImage/OgImageLanding.satori.vue
Loading
Loading