create-ampless 1.0.0-alpha.47 → 1.0.0-alpha.50

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
@@ -69,7 +69,7 @@ apex ドメインが同じ AWS アカウントの Route 53 でホストされて
69
69
 
70
70
  ## 動作要件
71
71
 
72
- - Node.js >= 20
72
+ - Node.js >= 22
73
73
  - AWS アカウントと `aws configure` の設定済み(サンドボックス / パイプラインデプロイは AWS に直接アクセスします)
74
74
 
75
75
  ## ライセンス
package/README.md CHANGED
@@ -69,7 +69,7 @@ If the apex domain is hosted in Route 53 in the same AWS account, Amplify will a
69
69
 
70
70
  ## Requirements
71
71
 
72
- - Node.js >= 20
72
+ - Node.js >= 22
73
73
  - AWS account + `aws configure` already set up (sandbox / pipeline-deploy talk to AWS directly)
74
74
 
75
75
  ## License
@@ -10,7 +10,7 @@
10
10
 
11
11
  ## 必要なもの
12
12
 
13
- - **Node.js 20+** と **npm**。
13
+ - **Node.js 22+** と **npm**。
14
14
  - **AWS アカウント.** [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) をインストールしてから `aws configure` で認証情報とデフォルトリージョンを設定します。sandbox / 本番ともに実 AWS リソースをデプロイします。
15
15
  - **GitHub アカウント** — AWS Amplify Hosting 経由の本番デプロイで必要。下記の [CLI デプロイフロー](#方法-1-cli-ワンショット推奨) を使う場合は [`gh` CLI](https://cli.github.com/) を `gh auth login` で認証する(または `repo` スコープ付きの `GITHUB_TOKEN` 環境変数を設定する)必要があります。コンソール経由の手動フローには `gh` は不要です。
16
16
 
@@ -10,7 +10,7 @@ If you use an AI coding agent (Claude Code, Cursor, Codex, etc.) on this project
10
10
 
11
11
  ## Requirements
12
12
 
13
- - **Node.js 20+** and **npm**.
13
+ - **Node.js 22+** and **npm**.
14
14
  - **AWS account.** Install the [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html), then `aws configure` to set credentials + default region. The sandbox + production both deploy real AWS resources.
15
15
  - **GitHub account** for production hosting via AWS Amplify Hosting. The CLI deploy flow ([below](#option-1-cli-one-shot-recommended)) also needs the [`gh` CLI](https://cli.github.com/) authenticated via `gh auth login` (or a `GITHUB_TOKEN` env var with `repo` scope). The manual console flow doesn't need `gh`.
16
16
 
@@ -3,6 +3,7 @@ import { defineFunction } from '@aws-amplify/backend'
3
3
  export const postConfirmation = defineFunction({
4
4
  name: 'post-confirmation',
5
5
  entry: './handler.ts',
6
+ runtime: 22,
6
7
  // Auth trigger — assign to the auth nested stack so CFN doesn't
7
8
  // place it in a separate `function` stack that ends up in a
8
9
  // circular dependency loop with auth (which references this
@@ -3,6 +3,7 @@ import { defineFunction } from '@aws-amplify/backend'
3
3
  export const eventDispatcher = defineFunction({
4
4
  name: 'event-dispatcher',
5
5
  entry: './handler.ts',
6
+ runtime: 22,
6
7
  // Co-locate with the data stack — the function reads the Post table's
7
8
  // DynamoDB Stream, so being in the same stack avoids a CloudFormation
8
9
  // circular dependency between data, function, and auth.
@@ -3,6 +3,7 @@ import { defineFunction } from '@aws-amplify/backend'
3
3
  export const processorTrusted = defineFunction({
4
4
  name: 'processor-trusted',
5
5
  entry: './handler.ts',
6
+ runtime: 22,
6
7
  // Co-locate with data — this Lambda reads the Post table to assemble
7
8
  // sitemap/RSS, so we keep the dependency intra-stack and avoid a
8
9
  // function → data → auth → function cycle.
@@ -3,6 +3,7 @@ import { defineFunction } from '@aws-amplify/backend'
3
3
  export const processorUntrusted = defineFunction({
4
4
  name: 'processor-untrusted',
5
5
  entry: './handler.ts',
6
+ runtime: 22,
6
7
  // Untrusted plugins do pure JS work; modest memory.
7
8
  memoryMB: 256,
8
9
  timeoutSeconds: 30,
@@ -3,6 +3,7 @@ import { defineFunction } from '@aws-amplify/backend'
3
3
  export const apiKeyRenewer = defineFunction({
4
4
  name: 'api-key-renewer',
5
5
  entry: './handler.ts',
6
+ runtime: 22,
6
7
  // Co-locate with the data stack — the function reads/updates the
7
8
  // AppSync API's API key, so being in the same stack avoids a CFN
8
9
  // dependency cycle between data, function, and auth.
@@ -3,6 +3,7 @@ import { defineFunction } from '@aws-amplify/backend'
3
3
  export const mcpHandler = defineFunction({
4
4
  name: 'mcp-handler',
5
5
  entry: './handler.ts',
6
+ runtime: 22,
6
7
  // Co-locate with the data stack so the function has the KvStore
7
8
  // table ARN available without cross-stack references at synth time.
8
9
  resourceGroupName: 'data',
@@ -8,5 +8,6 @@ import { defineFunction } from '@aws-amplify/backend'
8
8
  export const userAdmin = defineFunction({
9
9
  name: 'user-admin',
10
10
  entry: './handler.ts',
11
+ runtime: 22,
11
12
  resourceGroupName: 'data',
12
13
  })
@@ -3,6 +3,9 @@
3
3
  "version": "0.1.0",
4
4
  "private": true,
5
5
  "type": "module",
6
+ "engines": {
7
+ "node": ">=22"
8
+ },
6
9
  "scripts": {
7
10
  "dev": "next dev",
8
11
  "build": "next build",
@@ -22,15 +25,15 @@
22
25
  "@tiptap/pm": "^3.23.6",
23
26
  "@tiptap/react": "^3.23.6",
24
27
  "@tiptap/starter-kit": "^3.23.6",
25
- "@ampless/plugin-og-image": "^0.2.0-alpha.12",
26
- "@ampless/plugin-rss": "^0.2.0-alpha.12",
27
- "@ampless/plugin-seo": "^0.2.0-alpha.12",
28
- "@ampless/plugin-webhook": "^0.2.0-alpha.12",
29
- "@ampless/admin": "^1.0.0-alpha.30",
30
- "@ampless/backend": "^1.0.0-alpha.23",
31
- "@ampless/runtime": "^1.0.0-alpha.16",
28
+ "@ampless/plugin-og-image": "^0.2.0-alpha.13",
29
+ "@ampless/plugin-rss": "^0.2.0-alpha.13",
30
+ "@ampless/plugin-seo": "^0.2.0-alpha.13",
31
+ "@ampless/plugin-webhook": "^0.2.0-alpha.13",
32
+ "@ampless/admin": "^1.0.0-alpha.32",
33
+ "@ampless/backend": "^1.0.0-alpha.24",
34
+ "@ampless/runtime": "^1.0.0-alpha.18",
32
35
  "@digital-go-jp/tailwind-theme-plugin": "^0.3.4",
33
- "ampless": "^1.0.0-alpha.12",
36
+ "ampless": "^1.0.0-alpha.13",
34
37
  "aws-amplify": "^6.17.0",
35
38
  "class-variance-authority": "^0.7.1",
36
39
  "clsx": "^2.1.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ampless",
3
- "version": "1.0.0-alpha.47",
3
+ "version": "1.0.0-alpha.50",
4
4
  "description": "Create a new ampless project",
5
5
  "license": "MIT",
6
6
  "type": "module",