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
12 changes: 5 additions & 7 deletions .github/workflows/docs.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
cache: "yarn"
cache-dependency-path: yarn.lock

# Monorepo workspaces include apps/web (engines: node >=24); install at root.
- run: yarn install --frozen-lockfile

cache-dependency-path: documentation/yarn.lock
- name: Install
run: yarn install --frozen-lockfile
working-directory: documentation
- name: Build Docusaurus archive
run: yarn build
working-directory: documentation
4 changes: 1 addition & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lerna run --concurrency 1 --stream precommit --since HEAD --exclude-dependents
# Lerna workspaces were removed; packages have no precommit scripts.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Unified **Next.js 16** marketing site and **v0.17 documentation** for [getcondui

## Development

Install and run the live site from `apps/web` (its own npm lockfile). Root `npm install` is husky-only; it is not a workspace install.

```bash
cd apps/web
npm install
Expand All @@ -19,6 +21,14 @@ npm run dev

Open [http://localhost:3000](http://localhost:3000). Docs at `/docs`.

Legacy archive docs use Yarn **inside** `documentation/` (not a root `yarn.lock`):

```bash
cd documentation
yarn install
yarn start
```

## Build

```bash
Expand Down
2 changes: 1 addition & 1 deletion apps/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ DNS for `getconduit.dev` should be on Cloudflare. Uses [@opennextjs/cloudflare](
| `SKIP_DEPENDENCY_INSTALL` | `true` |
| `NODE_VERSION` | `24` |

`SKIP_DEPENDENCY_INSTALL` is required — the monorepo root has a Yarn lockfile; without this, Cloudflare auto-runs Yarn 4 and the build fails before your npm command runs.
`SKIP_DEPENDENCY_INSTALL` keeps Cloudflare from auto-installing before the build command. Install is part of the build command (`npm ci` in this directory). The Docusaurus archive uses Yarn under `documentation/`; the live site uses npm here.

**Important:** Use `npm run deploy:cf-only`, not `npx opennextjs-cloudflare` or `npm exec -- opennextjs-cloudflare`. Those look up a non-existent npm package name; `npm run` uses the local binary from `node_modules/.bin` (same reason `npm run build:cf` works).

Expand Down
2 changes: 1 addition & 1 deletion apps/web/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts";
import "./.next/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
Loading
Loading