Skip to content

Commit 46becb9

Browse files
committed
chore: Prepare Eagle v6 compatibility layer prerelease
1 parent 559d080 commit 46becb9

File tree

45 files changed

+2349
-2630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2349
-2630
lines changed

docs/.vitepress/components.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
/* eslint-disable */
22
// @ts-nocheck
3+
// biome-ignore lint: disable
4+
// oxlint-disable
5+
// ------
36
// Generated by unplugin-vue-components
47
// Read more: https://github.com/vuejs/core/pull/3399
8+
59
export {}
610

711
/* prettier-ignore */

docs/.vitepress/config.nav.ts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { releases } from './meta'
22
// import { version } from '../package.json'
33

4-
const version = 5
4+
const version = '6-compat'
55

66
export default [
77
{ text: 'Guides', link: '/guides/' },
@@ -15,12 +15,20 @@ export default [
1515
link: releases
1616
},
1717
{
18-
text: 'Crow v4 ',
19-
link: 'https://crow.docs.feathersjs.com'
18+
text: 'v6',
19+
link: 'https://feathersjs.com'
20+
},
21+
{
22+
text: 'Eagle (v6-compat)',
23+
link: 'https://eagle.feathersjs.com'
2024
},
2125
{
22-
text: 'Buzzard v3 ',
23-
link: 'https://buzzard.docs.feathersjs.com'
26+
text: 'Dove (v5)',
27+
link: 'https://dove.feathersjs.com'
28+
},
29+
{
30+
text: 'Crow (v4)',
31+
link: 'https://crow.docs.feathersjs.com'
2432
}
2533
]
2634
},

docs/.vitepress/config.sidebar.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,12 @@ export default {
223223
// collapsible: true,
224224
items: [
225225
{
226-
text: "What's new?",
227-
link: '/guides/whats-new.md'
226+
text: 'Migrating from v5',
227+
link: '/guides/migrating.md'
228228
},
229229
{
230-
text: 'Migration guide',
231-
link: '/guides/migrating.md'
230+
text: 'Migrating from v4',
231+
link: '/guides/migrating-v4.md'
232232
}
233233
]
234234
}

docs/.vitepress/theme/FeathersLayout.vue

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,38 @@ const { Layout } = DefaultTheme
88

99
<template>
1010
<Layout>
11+
<template #doc-before>
12+
<div class="compatibility-warning">
13+
<strong>⚠️ Compatibility Documentation:</strong> You are viewing the documentation for the Feathers 6
14+
compatibility layer for v4 and v5. For the current documentation, please visit
15+
<a href="https://feathersjs.com" target="_blank" rel="noopener">feathersjs.com</a>.
16+
</div>
17+
</template>
1118
<template #sidebar-nav-before>
1219
<DatabaseSelect />
1320
</template>
1421
</Layout>
1522
<Footer />
1623
</template>
24+
25+
<style scoped>
26+
.compatibility-warning {
27+
background-color: var(--vp-c-warning-soft);
28+
border: 1px solid var(--vp-c-warning-1);
29+
border-radius: 8px;
30+
color: var(--vp-c-warning-1);
31+
padding: 12px 16px;
32+
margin-bottom: 24px;
33+
font-size: 14px;
34+
}
35+
36+
.compatibility-warning a {
37+
color: var(--vp-c-warning-1);
38+
font-weight: 600;
39+
text-decoration: underline;
40+
}
41+
42+
.compatibility-warning a:hover {
43+
opacity: 0.8;
44+
}
45+
</style>

0 commit comments

Comments
 (0)