Skip to content

Commit 6957835

Browse files
author
福晋
committed
chore: update dependencies package name
1 parent 546a544 commit 6957835

7 files changed

Lines changed: 8 additions & 7 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ yarn.lock
1616
dist/
1717
.astro/
1818
coverage/
19+
pnpm-lock.yaml

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AntV New Site 📈
22

3-
New AntV site built on [@antv/site](https://github.com/antvis/site).
3+
New AntV site built on [@antv/astro-theme-antv](https://github.com/antvis/astro-theme-antv).
44

55
![prettier code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)
66

‎astro.config.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from 'astro/config';
2-
import { antvSite } from '@antv/site';
2+
import { antvSite } from '@antv/astro-theme-antv';
33
import react from '@astrojs/react';
44
import mdx from '@astrojs/mdx';
55
import sitemap from '@astrojs/sitemap';

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"react-dom": "^18.3.1"
2727
},
2828
"devDependencies": {
29-
"@antv/site": "0.1.0",
29+
"@antv/astro-theme-antv": "^0.1.0-beta.1",
3030
"astro": "7.2.0",
3131
"@astrojs/react": "6.0.5",
3232
"@astrojs/mdx": "7.0.8",

‎site/Content.astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import type { HomeSlotProps } from '@antv/site';
2+
import type { HomeSlotProps } from '@antv/astro-theme-antv';
33
import ThemeIsland from './components/ThemeCharts/Island';
44
import HomeSections from './components/HomeSections';
55

‎site/Home.astro‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
import type { HomeSlotProps } from '@antv/site';
3-
import { QaEntry, Updates } from '@antv/site/components';
2+
import type { HomeSlotProps } from '@antv/astro-theme-antv';
3+
import { QaEntry, Updates } from '@antv/astro-theme-antv/components';
44
import { qaSuggestions } from './data/qa';
55
66
type Props = HomeSlotProps;

‎src/content.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineCollection } from 'astro:content';
2-
import { antvDocsLoader, antvDocsSchema } from '@antv/site/content';
2+
import { antvDocsLoader, antvDocsSchema } from '@antv/astro-theme-antv/content';
33

44
export const collections = {
55
docs: defineCollection({

0 commit comments

Comments
 (0)