@icebreakers/monorepo-templates 2.3.2 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ overrides:
19
19
  prettier: 3.9.9
20
20
  typescript: 6.0.3
21
21
  "@arethetypeswrong/core>typescript": 5.9.3
22
- vite: 8.3.3
22
+ vite: 8.3.4
23
23
  postcss: 8.5.29
24
24
  postcss-selector-parser: 7.1.6
25
25
  js-yaml: 5.4.3
@@ -39,6 +39,17 @@
39
39
  ],
40
40
  "groupName": "Cloudflare Workers tooling",
41
41
  "groupSlug": "cloudflare-workers-tooling"
42
+ },
43
+ {
44
+ "matchManagers": [
45
+ "npm"
46
+ ],
47
+ "matchPackageNames": [
48
+ "@cloudflare/nimbus-docs"
49
+ ],
50
+ "groupName": "Nimbus documentation engine",
51
+ "groupSlug": "nimbus-documentation-engine",
52
+ "automerge": false
42
53
  }
43
54
  ]
44
55
  }
package/dist/cli.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as prepareAssets } from "./prepare-BYNSxvoB.mjs";
1
+ import { t as prepareAssets } from "./prepare-3Vhzg3fr.mjs";
2
2
  import process from "node:process";
3
3
  //#region src/cli.ts
4
4
  async function main() {
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as isGitignoreFile, c as toWorkspaceGitignorePath, d as packageDir, f as skeletonDir, h as getAssetTargets$1, i as shouldSkipTemplatePath, l as templateChoices$1, m as assetTargets$1, n as sanitizePublishedWorkspaceContent, o as toPublishGitignorePath, p as templatesDir, r as createTemplateCopyFilter, s as toWorkspaceAssetPath, t as prepareAssets, u as assetsDir } from "./prepare-BYNSxvoB.mjs";
1
+ import { a as isGitignoreFile, c as toWorkspaceGitignorePath, d as packageDir, f as skeletonDir, h as getAssetTargets$1, i as shouldSkipTemplatePath, l as templateChoices$1, m as assetTargets$1, n as sanitizePublishedWorkspaceContent, o as toPublishGitignorePath, p as templatesDir, r as createTemplateCopyFilter, s as toWorkspaceAssetPath, t as prepareAssets, u as assetsDir } from "./prepare-3Vhzg3fr.mjs";
2
2
  import path from "node:path";
3
3
  import fs, { access, open, readFile, rm } from "node:fs/promises";
4
4
  import { Buffer } from "node:buffer";
@@ -208,6 +208,7 @@ function createTemplateCopyFilter(rootDir) {
208
208
  const sourceScriptNames = /* @__PURE__ */ new Set([
209
209
  "tooling:build",
210
210
  "check:no-tracked-build-artifacts",
211
+ "check:nimbus-upgrade",
211
212
  "check:workflows",
212
213
  "test:dev-scenarios",
213
214
  "test:worker-types"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/monorepo-templates",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "Built-in project templates and managed workspace assets for repoctl",
6
6
  "author": "ice breaker <hi@sonofmagic.top>",
7
7
  "license": "MIT",
@@ -39,8 +39,8 @@
39
39
  "@faker-js/faker": "^10.6.0",
40
40
  "@tanstack/vue-query": "^5.104.1",
41
41
  "@tanstack/vue-query-devtools": "^6.3.1",
42
- "@tanstack/vue-table": "^9.2.7",
43
- "@tanstack/vue-virtual": "^3.13.39",
42
+ "@tanstack/vue-table": "^9.2.8",
43
+ "@tanstack/vue-virtual": "^3.13.40",
44
44
  "@trpc/client": "^11.19.0",
45
45
  "clsx": "^2.1.1",
46
46
  "pinia": "^4.0.3",
@@ -63,7 +63,7 @@
63
63
  "hono": "^4.13.13",
64
64
  "tailwindcss": "^4.3.3",
65
65
  "typescript": "~6.0.3",
66
- "vite": "^8.3.3",
66
+ "vite": "^8.3.4",
67
67
  "vite-plugin-vue-devtools": "^8.2.1",
68
68
  "vite-tsconfig-paths": "^6.1.1",
69
69
  "vue-tsc": "3.3.12",
@@ -14,4 +14,26 @@ pnpm typecheck
14
14
 
15
15
  Edit `src/content/docs/` and its `zh/` translations. Set your project title and canonical site URL in `astro.config.ts` before publishing `dist/` to a static host. Search is available after a production build.
16
16
 
17
- 机器可读入口包括 `/llms.txt`、`/zh/llms.txt`、`/llms-full.txt`,以及页面的 `/index.md` 和 `/index.mdx`。详见 `AGENTS.md` 和 `UPSTREAM.md`。
17
+ 机器可读入口包括 `/llms.txt`、`/zh/llms.txt`、`/llms-full.txt`,以及页面的 `/index.md` 和 `/index.mdx`。Nimbus 还会生成 `/.well-known/ard.json`、`/.well-known/ai-catalog.json` 和 `dist/_headers` 中的发现响应头。静态托管需要应用这些响应头;不支持 `_headers` 的主机应配置等效规则。使用子路径部署时,发现文件仍须发布到域名根目录的 `/.well-known/`,并在那里应用对应响应头规则。详见 `AGENTS.md` 和 `UPSTREAM.md`。
18
+
19
+ ## Upgrading Nimbus / 升级 Nimbus
20
+
21
+ Nimbus updates can require review even within a minor release. Keep its dependency pinned to an exact version and review the migration report before advancing `nimbus.json`.
22
+
23
+ 更新依赖后,先在 monorepo 根目录运行 `pnpm install --ignore-scripts`,再在此目录检查迁移要求:
24
+
25
+ ```sh
26
+ pnpm exec nimbus-docs migrate --dry-run --json
27
+ ```
28
+
29
+ 逐项核对适用条件并完成必要修改,在 `UPSTREAM.md` 记录审阅结论,再通过官方命令记录基线并验证:
30
+
31
+ ```sh
32
+ pnpm exec nimbus-docs migrate --yes
33
+ pnpm exec nimbus-docs check --migrations
34
+ pnpm build
35
+ pnpm lint
36
+ pnpm typecheck
37
+ ```
38
+
39
+ 不要只修改审阅版本来跳过迁移。部署前检查发现文件、首页 Link 响应头,以及中英文页面和机器可读入口。
@@ -4,13 +4,31 @@ This template adapts the static empty starter from [Cloudflare Nimbus](https://g
4
4
 
5
5
  - Starter tag: `templates-v0.7.9`
6
6
  - Starter commit: `aae348048a8c659f84c39696ee6b20c2ad2f5ae2`
7
- - Nimbus package: `@cloudflare/nimbus-docs@0.16.0`
8
- - Astro: `7.3.6`
7
+ - Nimbus package: `@cloudflare/nimbus-docs@0.17.0`
8
+ - Nimbus release commit: `1951de5cc3e420a5e672f192c334584216716c1e`
9
+ - Astro: `7.3.8`
9
10
 
10
- Nimbus declares Astro `>=7.2.6 <8`; Astro requires Node `>=22.12.0`, so this workspace retains its stricter Node `>=22.13.0` baseline. Builds, Astro diagnostics and TypeScript checks were verified with the repository's TypeScript `6.0.3` and Vite `8.3.3` constraints. Resolved dependencies are recorded in the monorepo's root `pnpm-lock.yaml`; generated projects use their own root workspace lockfile.
11
+ Nimbus declares Astro `>=7.2.6 <8`; Astro requires Node `>=22.12.0`, so this workspace retains its stricter Node `>=22.13.0` baseline. The repository validates builds, Astro diagnostics and TypeScript checks with TypeScript `6.0.3` and Vite `8.3.4`. Resolved dependencies are recorded in the monorepo's root `pnpm-lock.yaml`; generated projects use their own root workspace lockfile.
11
12
 
12
13
  Agent endpoint routes and the content-loading approach come from that starter. The bilingual layout, navigation, search interface, examples and workspace checks are repoctl adaptations. These files are maintained locally; generating a project never downloads the upstream starter.
13
14
 
14
15
  The local head component emits page-specific language metadata because the upstream head uses the site-wide locale. Client scripts are emitted as external assets so Astro does not inline them before Vite finalizes Pagefind's dynamic import.
15
16
 
16
17
  The package version and starter tag were checked against published package metadata. `nimbus.json` records the reviewed package API baseline. The original full starter was not copied wholesale, so upstream starter diffs are not a claim that every local file is an unmodified upstream component.
18
+
19
+ ## Nimbus 0.17.0 upgrade review
20
+
21
+ The `0.16.0` → `0.17.0` review follows the installed package's `nimbus-docs migrate --dry-run --json` report and the release's [upgrade manifest](https://github.com/cloudflare/nimbus/blob/1951de5cc3e420a5e672f192c334584216716c1e/packages/nimbus-docs/src/_internal/upgrade-manifest.json).
22
+
23
+ | Required review | Template decision |
24
+ | --- | --- |
25
+ | `api-body-request-example` | No API collection or copied `ApiBody` component exists. No component replacement is needed. |
26
+ | `api-catalog-published-specs` | No API collection or versioned spec exists, so there are no specs to publish or hide. |
27
+ | `api-version-id-format` | No API versions are configured. |
28
+ | `version-switcher-keeps-query` | No query-versioned API or copied `VersionSwitcher` exists. |
29
+ | `page-collections-from-helpers` | The only collection uses `defineCollection(docsCollection())`; there are no plain-loader page collections or rendering overrides. |
30
+ | `generated-agent-discovery-routes` | Neither `public/` nor `src/pages/` owns the generated discovery paths. Nimbus generates both discovery documents and homepage Link headers; packaged regression checks validate their resources and static header rules. |
31
+
32
+ The site remains static. Its existing Markdown/MDX and LLM endpoint factories stay valid. Optional copied-sidebar, browser WebMCP and server-rendering changes are not adopted. There is no project `skills/` directory to publish. Existing `robots.txt` policy is preserved; the new starter's optional AI training Content Signals are not adopted implicitly.
33
+
34
+ For a subpath deployment, publish the generated `.well-known/` directory at the origin root and apply its header rules there. Hosts that do not consume `_headers` need equivalent native header configuration; see the [agent deployment guidance](https://nimbus-docs.com/ai/docs-for-agents/).
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "$schema": "https://nimbus-docs.com/schema/nimbus.json",
3
- "lastReviewedNimbusVersion": "0.16.0"
3
+ "lastReviewedNimbusVersion": "0.17.0"
4
4
  }
@@ -19,8 +19,8 @@
19
19
  "check:locales": "node scripts/check-locales.mjs"
20
20
  },
21
21
  "dependencies": {
22
- "@cloudflare/nimbus-docs": "0.16.0",
23
- "astro": "7.3.7"
22
+ "@cloudflare/nimbus-docs": "0.17.0",
23
+ "astro": "7.3.8"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@astrojs/check": "^0.9.10",
@@ -41,7 +41,7 @@
41
41
  "react-dom": "^19.3.0",
42
42
  "tsd": "^0.33.0",
43
43
  "typescript": "~6.0.3",
44
- "vite": "^8.3.3",
44
+ "vite": "^8.3.4",
45
45
  "vite-plugin-dts": "^5.1.2",
46
46
  "vitest": "~5.0.3"
47
47
  }
@@ -30,7 +30,7 @@
30
30
  "@vitejs/plugin-react": "^6.1.2",
31
31
  "jsdom": "^30.1.2",
32
32
  "typescript": "~6.0.3",
33
- "vite": "^8.3.3",
33
+ "vite": "^8.3.4",
34
34
  "vitest": "~5.0.3"
35
35
  }
36
36
  }
@@ -63,7 +63,7 @@
63
63
  "@vue/test-utils": "^2.5.1",
64
64
  "@vue/tsconfig": "^0.9.1",
65
65
  "jsdom": "^30.1.2",
66
- "vite": "^8.3.3",
66
+ "vite": "^8.3.4",
67
67
  "vite-plugin-dts": "^5.1.2",
68
68
  "vue": "^3.5.43",
69
69
  "vue-tsc": "^3.3.12"