@ampless/runtime 1.0.0-alpha.59 → 1.0.0-beta.60

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.
package/README.ja.md CHANGED
@@ -5,14 +5,14 @@
5
5
 
6
6
  [ampless](https://github.com/heavymoons/ampless) 向けパブリックサイドランタイム。投稿取得クライアント、サイト設定、テーマ解決、SEO メタデータ集約、ミドルウェア、パブリックルートハンドラーを `createAmpless()` ひとつのファクトリーにまとめます。
7
7
 
8
- > **プレリリース / アルファ版。** v1.0 まではマイナーバージョンでも破壊的変更が入る可能性があります。
8
+ > **プレリリース / ベータ版。** v1.0 まではマイナーバージョンでも破壊的変更が入る可能性があります。
9
9
 
10
10
  テンプレートから切り出すことで、スキャフォールドされたファイルに触れずに `npm update @ampless/runtime` でアップデートできます — パブリックサイトの動作改善はスキャフォールダーの再実行ではなく、パッケージを通じて届きます。
11
11
 
12
12
  ## インストール
13
13
 
14
14
  ```bash
15
- npm install @ampless/runtime@alpha ampless@alpha
15
+ npm install @ampless/runtime@beta ampless@beta
16
16
  ```
17
17
 
18
18
  `@ampless/runtime` は `next`(15+)、`react`(18/19)、`aws-amplify`(6+)、`@aws-amplify/adapter-nextjs`(1+)をピア依存として宣言します。CLI スキャフォールダーがテンプレートの `package.json` に互換バージョンをピン留めします。
package/README.md CHANGED
@@ -5,14 +5,14 @@
5
5
 
6
6
  Public-side runtime for [ampless](https://github.com/heavymoons/ampless). Bundles the post-fetching client, site settings, theme resolution, SEO metadata aggregation, middleware, and public route handlers behind a single `createAmpless()` factory.
7
7
 
8
- > **Pre-release / alpha.** Breaking changes possible in any minor version until v1.0.
8
+ > **Pre-release / beta.** Breaking changes possible in any minor version until v1.0.
9
9
 
10
10
  Splitting this out of the template lets you `npm update @ampless/runtime` without touching scaffolded files — public-site behaviour upgrades come in through the package, not by re-running the scaffolder.
11
11
 
12
12
  ## Install
13
13
 
14
14
  ```bash
15
- npm install @ampless/runtime@alpha ampless@alpha
15
+ npm install @ampless/runtime@beta ampless@beta
16
16
  ```
17
17
 
18
18
  `@ampless/runtime` declares peer dependencies on `next` (15+), `react` (18/19), `aws-amplify` (6+), and `@aws-amplify/adapter-nextjs` (1+). The CLI scaffolder pins compatible versions in the template's `package.json`.
package/dist/index.d.ts CHANGED
@@ -461,9 +461,9 @@ declare function renderThemeCss(cssVars: Record<string, string>): string;
461
461
  * Failure modes that resolve to `null`:
462
462
  * - Package not installed at this resolution root
463
463
  * (`ERR_MODULE_NOT_FOUND`)
464
- * - `package.json` not in the package's `exports`
465
- * (`ERR_PACKAGE_PATH_NOT_EXPORTED`) — see the spec under
466
- * `docs/tmp/plugin-extension-phase5.md` §B
464
+ * - `package.json` not in the package's `exports`
465
+ * (`ERR_PACKAGE_PATH_NOT_EXPORTED`) — see the package manifest
466
+ * convention above
467
467
  * - `readFileSync` throws (e.g. ENOENT, permissions)
468
468
  * - JSON parse error
469
469
  * - `amplessPlugin` field absent or not an object
@@ -629,7 +629,7 @@ interface Ampless {
629
629
  *
630
630
  * <div>{await ampless.renderBody(post)}</div>
631
631
  *
632
- * Phase 7 alpha breaking: this signature replaced the prior sync
632
+ * Phase 7 pre-1.0 breaking: this signature replaced the prior sync
633
633
  * `string` return shape. The sync string flavour is still available
634
634
  * via `renderBodyHtmlString` for routes (raw HTML response) that
635
635
  * cannot await — but those callsites bypass the `contentFields`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampless/runtime",
3
- "version": "1.0.0-alpha.59",
3
+ "version": "1.0.0-beta.60",
4
4
  "description": "Public-side runtime for ampless: post fetching, theme dispatch, middleware, public route handlers",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -51,8 +51,8 @@
51
51
  "marked": "^18.0.4",
52
52
  "sanitize-html": "^2.17.4",
53
53
  "tailwind-merge": "^3.6.0",
54
- "@ampless/plugin-og-image": "0.2.0-alpha.50",
55
- "ampless": "1.0.0-alpha.50"
54
+ "@ampless/plugin-og-image": "0.2.0-beta.51",
55
+ "ampless": "1.0.0-beta.51"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "@aws-amplify/adapter-nextjs": "^1",