Skip to content

Commit

Permalink
to upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
isooosi committed Aug 2, 2024
1 parent 2ed2f0a commit 5c4b0d8
Show file tree
Hide file tree
Showing 7 changed files with 5,741 additions and 9,023 deletions.
5 changes: 4 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
public-hoist-pattern[]=*@nextui-org/*
enable-pre-post-scripts=true
enable-pre-post-scripts=true
shamefully-hoist=true
strict-peer-dependencies=false
auto-install-peers=true
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,12 @@ All commands are run from the root of the project, from a terminal:

| Command | Action |
| :---------------- | :------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:4321` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run format` | Code formatter using prettier |
| `pnpm install` | Installs dependencies |
| `pnpm run dev` | Starts local dev server at `localhost:4321` |
| `pnpm run build` | Build your production site to `./dist/` |
| `pnpm run preview` | Preview your build locally, before deploying |
| `pnpm run format` | Code formatter using prettier |
| `npx @astrojs/upgrade` | To upgrade |

### 🔧Configuration

Expand Down
11 changes: 6 additions & 5 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,12 @@ pnpm run dev

| 命令 | 动作 |
| :---------------- | :------------------------------------------- |
| `npm install` | 安装依赖项 |
| `npm run dev` |`localhost:4321` 启动本地开发服务器 |
| `npm run build` | 将您的生产站点构建到 `./dist/` |
| `npm run preview` | 在部署之前在本地预览您的构建 |
| `npm run format` | 使用prettier格式化代码 |
| `pnpm install` | 安装依赖项 |
| `pnpm run dev` |`localhost:4321` 启动本地开发服务器 |
| `pnpm run build` | 将您的生产站点构建到 `./dist/` |
| `pnpm run preview` | 在部署之前在本地预览您的构建 |
| `pnpm run format` | 使用prettier格式化代码 |
| `npx @astrojs/upgrade` | 更新依赖 |

### 🔧配置

Expand Down
1 change: 0 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import tailwind from "@astrojs/tailwind";
export default defineConfig({
site: "https://verse-astro.vercel.app/",
trailingSlash: "always",

prefetch: {
prefetchAll: true,
defaultStrategy: 'viewport',
Expand Down
Loading

0 comments on commit 5c4b0d8

Please sign in to comment.