This PR removes the `/nx-api` pages from `nx-dev`. They are already redirected from `/nx-api` to either `/technologies` or `/reference/core-api` URLs. e.g. `/nx-api/nx` goes to `/reference/core-api/nx` and `/nx-api/react` goes to `/technologies/react/api` **Changes**: - Remove old `nx-api.json` from being generated in `scripts/documentation/generators/generate-manifests.ts` -- this was used to generate the sitemap - Remove `pages/nx-api` from Next.js app since we don't need them - Remove workaround from link checker `scripts/documentation/internal-link-checker.ts` -- the angular rspack/rsbuild and other workarounds are gone now that they are proper docs in `map.json` - Update Powerpack/Remote Cache reference docs to exclude API documents (since they are duplicated in the Intro page) -- `nx-dev/models-document/src/lib/mappings.ts` - All content in `docs` have been updated with new URL structure **Note:** Redirects are already handled, and Claude Code was used to verify the updated `docs/` URLs (see report below). The twelve 404s links were updated by hand. ## Verification Report https://gist.github.com/jaysoo/c7863fe7e091cb77929d1976165c357a
1.0 KiB
1.0 KiB
| title | description |
|---|---|
| Skip Task Caching | Learn how to bypass Nx's caching mechanism for specific tasks, skip remote caching from Nx Cloud, and reset the cache when needed. |
Skip Task Caching
There are times when you might want to bypass the caching mechanism, either locally or remotely.
Skip Caching
To skip caching for a specific task, use the --skip-nx-cache flag. This can be useful when you want to ensure that a task runs fresh, without using cached results.
npx nx build --skip-nx-cache
This will avoid using any local or remote cache.
Skip Remote Caching from Nx Cloud
To skip remote caching provided by Nx Cloud, use the --no-cloud flag. This ensures that the task does not use cached results from Nx Cloud.
npx nx build --no-cloud
It will still use the local cache if available.
Reset
To clear the cache and metadata about the workspace and shuts down the Nx Daemon you can use the reset command:
npx nx reset