Skip to content

Commit 2c1518b

Browse files
committed
feat: all building and working
1 parent 345b8b2 commit 2c1518b

Some content is hidden

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

76 files changed

+320
-900
lines changed

apps/ai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@module-federation/rspress-plugin": "^0.18.3",
14-
"@rspress/core": "2.0.0-beta.28",
14+
"@rspress/core": "2.0.0-beta.29",
1515
"@zephyr-docs/shared": "workspace:*"
1616
},
1717
"devDependencies": {

apps/ai/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"lib": ["DOM", "ES2020"],
55
"module": "ESNext",
66
"jsx": "react-jsx",
7-
"noEmit": true,
87
"strict": true,
98
"skipLibCheck": true,
109
"isolatedModules": true,

apps/cloud/components/cloud-provider.tsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
import { SiteConfig } from "../../host/lib/site.config";
2-
import type { CardItemProps } from "../../host/lib/site.config";
1+
import { SiteConfig, type CardItemProps } from '@zephyr-docs/shared';
32
import {
43
AkamaiIcon,
54
CloudflareIcon,
65
FastlyIcon,
76
NetlifyIcon,
8-
Card
9-
} from "@zephyr-docs/shared";
7+
Card,
8+
} from '@zephyr-docs/shared';
109

1110
export const CloudProviderCards = () => {
1211
return (
@@ -19,11 +18,11 @@ export const CloudProviderCards = () => {
1918
};
2019

2120
const item = {
22-
title: "Add Environments",
23-
href: "/how-to/environments",
21+
title: 'Add Environments',
22+
href: '/how-to/environments',
2423
description:
25-
"Configure custom domain for your application with your deployment integration platform.",
26-
variant: "default",
24+
'Configure custom domain for your application with your deployment integration platform.',
25+
variant: 'default',
2726
icons: [<CloudflareIcon />, <NetlifyIcon />, <FastlyIcon />, <AkamaiIcon />],
2827
} satisfies CardItemProps;
2928

apps/cloud/docs/cloud.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ title: Manage Cloud Providers
33
description: With Zephyr's bring your own cloud feature, you can use Zephyr with your existing cloud infrastructure to manage your applications
44
---
55

6-
import { Button } from '@zephyr-docs/shared';
7-
import { Steps, Badge } from '@theme';
8-
import { Separator } from '@zephyr-docs/shared';
9-
import { CardLayout } from '@zephyr-docs/shared';
10-
import { CloudProviderCards } from "../components/cloud-provider"
6+
import { Steps, Badge } from '@rspress/core/theme';
7+
import { Separator, Button, CardLayout } from '@zephyr-docs/shared';
8+
import { CloudProviderCards} from "../components/cloud-provider"
119

1210
# Manage Cloud Providers on Zephyr
1311

apps/cloud/docs/cloud/akamai.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Configure Akamai on Zephyr'
33
description: 'Configuring Akamai as your deployment integration provider on Zephyr'
44
---
55

6-
import { Steps } from '@theme';
6+
import { Steps } from '@rspress/core/theme';
77
import { Button } from '@zephyr-docs/shared';
88

99
# Configure Akamai on Zephyr

apps/cloud/docs/cloud/aws.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Configure AWS on Zephyr'
33
description: 'Configuring AWS as your deployment integration provider on Zephyr'
44
---
55

6-
import { Steps } from '@theme';
6+
import { Steps } from '@rspress/core/theme';
77
import { Button } from '@zephyr-docs/shared';
88

99
# Configure AWS on Zephyr
@@ -383,9 +383,7 @@ if [[ -n "$S3_BUCKET" ]]; then
383383
log " Bucket is versioned — cleaning versions:"
384384
while : ; do
385385
VERS="$(aws s3api list-object-versions --bucket "$S3_BUCKET" --max-items 1000)"
386-
CNT=$(echo "$VERS" | jq '[.Versions[]?, .DeleteMarkers[]?] | length')
387386
[[ "$CNT" -eq 0 ]] && break
388-
IDS=$(echo "$VERS" | jq -c '{Objects: ([.Versions[]? , .DeleteMarkers[]?] | map({Key:.Key, VersionId:.VersionId})), Quiet:true}')
389387
echo "$IDS" | aws s3api delete-objects --bucket "$S3_BUCKET" --delete file:///dev/stdin >/dev/null || true
390388
done
391389
fi

apps/cloud/docs/cloud/cloudflare.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { Steps, Badge } from '@rspress/core/theme';
88
import { Separator } from '@zephyr-docs/shared';
99
import { CustomDomain } from '../../components/cloud-provider.tsx';
1010

11+
1112
# Configure Cloudflare on Zephyr
1213

1314
Originally launched as an email spam tracker, Cloudflare today offers extensive capabilities for users to register, manage domains as a registrar, and monitor, secure, and configure an entire IT infrastructure.
@@ -73,7 +74,7 @@ Before proceeding, you will need two details and one DNS configuration from Clou
7374
- Return to your domain’s home page (the **Overview** page should still be open) and click on **DNS** on the left sidebar.
7475
- Click **Add record** on the _Records_ page and enter the following details:
7576

76-
![dns](../public/cf-dns-entry-cname.png)
77+
![dns](/cf-dns-entry-cname.png)
7778

7879
<details>
7980
<summary>Click to view DNS record details</summary>
@@ -133,7 +134,7 @@ Details for each input after clicking **Add Integration** under **Cloudflare**:
133134

134135
### Testing Cloudflare Integration
135136

136-
Visit our [recipes](/recipes) to test an application. Your next deployment should use your designated domain! (If not, [talk to us on Discord](https://zephyr-cloud.io/discord)).
137+
Your next deployment should use your designated domain! (If not, [talk to us on Discord](https://zephyr-cloud.io/discord)).
137138

138139
When using our managed cloud (Cloudflare) or custom Cloudflare integration, avoid including capital letters in names for `package.json`, module federation configuration, or assets to prevent issues with Cloudflare queries.
139140

@@ -180,7 +181,7 @@ In your Cloudflare dashboard, navigate to **Workers & Pages** and then **KV** to
180181
- `ze_envs`: stores application environment and access rights.
181182
- `ze_snapshot`: stores application snapshots compared against the previous build.
182183
- If deploying an application previously on our managed cloud, run `rm -rf ~/.zephyr` before deployment.
183-
- If you encounter issues deploying Micro-frontend applications, see our [Micro-frontend deployment guide](/how-to/mf-guide).
184+
- If you encounter issues deploying Micro-frontend applications, refer to our deployment documentation.
184185

185186
:::
186187

apps/cloud/docs/cloud/fastly.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Configuring Fastly as your deployment integration provider on Zephy
44
---
55

66
import { Button } from '@zephyr-docs/shared';
7-
import { Steps, Badge } from '@theme';
7+
import { Steps, Badge } from '@rspress/core/theme';
88
import { Separator } from '@zephyr-docs/shared';
99

1010
# Configure Fastly on Zephyr

apps/cloud/docs/cloud/netlify.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Configuring Netlify as your deployment integration provider on Zeph
44
---
55

66
import { Button } from '@zephyr-docs/shared';
7-
import { Steps, Badge } from '@theme';
7+
import { Steps, Badge } from '@rspress/core/theme';
88
import { Separator } from '@zephyr-docs/shared';
99
import { CustomDomain } from '../../components/cloud-provider.tsx'
1010

@@ -202,7 +202,7 @@ Make every repository deployed through Zephyr attempt to deploy through this
202202

203203
### How to test it
204204

205-
Navigate to our [recipes](/recipes) to try one of the application, you should see your next deployment deployed through your designated domain! (if not come [talk to us](https://zephyr-cloud.io/discord))
205+
Navigate to our recipes to try one of the application, you should see your next deployment deployed through your designated domain! (if not come [talk to us](https://zephyr-cloud.io/discord))
206206

207207

208208
</Steps>
@@ -247,7 +247,6 @@ Sign in to your Netlify team's main dashboard page and select your site project,
247247
- `site:ze_envs` stores you application's environment, access right etc.
248248
- `site:ze_snapshot` stores your application's snapshots comparing against previous build.
249249
- If you are deploying an application that's previously deployed through our managed cloud, you will need to run `rm -rf ~/.zephyr` before deployment.
250-
- If you faced issues while deploying Micro-frontend application, you can follow your complete guide on [how to deploy Micro-frontend applications on Zephyr](/how-to/mf-guide).
251250

252251
:::
253252

apps/cloud/docs/cloud/updating-integrations.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Updating Deployment Integrations'
33
description: 'Step-by-step guide to update your deployment integrations and keep them current'
44
---
55

6-
import { Steps, Badge } from '@theme';
6+
import { Steps, Badge } from '@rspress/core/theme';
77

88
# Updating Deployment Integrations
99

@@ -63,5 +63,5 @@ If you encounter issues after updating an integration:
6363
## Next Steps
6464

6565
- Return to [Cloud Providers](/cloud) overview
66-
- Explore [deployment environments](/how-to/environments) for better testing workflows
67-
- Set up [automated deployments](/how-to/github-automations) with your updated integrations
66+
- Explore deployment environments for better testing workflows
67+
- Set up automated deployments with your updated integrations

0 commit comments

Comments
 (0)