@exabugs/dynamodb-client 1.2.1 → 1.2.2

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/CHANGELOG.md CHANGED
@@ -7,14 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ## [1.2.1] - 2026-01-02
10
+ ## [1.2.2] - 2026-01-02
11
11
 
12
12
  ### Fixed
13
13
 
14
- - **Terraform変更検知の修正**: `data.archive_file.lambda_records`を`source_file`から`source_dir`に変更
15
- - `node_modules`を含むディレクトリ全体を監視するように修正
16
- - 依存関係(`@exabugs/dynamodb-client`等)の変更を正しく検知
17
- - Lambda関数の自動再デプロイが正常に動作するように改善
14
+ - **Terraform設定のリバート**: `source_dir`から`source_file`に戻す
15
+ - dynamodb-clientはTerraformコードを内包して提供するライブラリ
16
+ - `source_file`で`handler.cjs`のみを監視するのが正しい設計
17
+ - asanowaプロジェクト側の変更(node_modules等)は、asanowa側のTerraformで検知すべき
18
+ - v1.2.1の変更(コミットd535ba3f9019fd9c178998988300c358b4634222)をリバート
18
19
 
19
20
  ## [1.2.0] - 2026-01-02
20
21
 
@@ -1,5 +1,5 @@
1
- // @exabugs/dynamodb-client v1.2.1
2
- // Built: 2026-01-02T06:58:18.644Z
1
+ // @exabugs/dynamodb-client v1.2.2
2
+ // Built: 2026-01-02T07:11:32.471Z
3
3
  "use strict";
4
4
  var __create = Object.create;
5
5
  var __defProp = Object.defineProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exabugs/dynamodb-client",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "DynamoDB Single-Table Client SDK with MongoDB-like API, Shadow Records, and Lambda implementation for serverless applications",
5
5
  "author": "exabugs",
6
6
  "license": "MIT",
package/terraform/main.tf CHANGED
@@ -81,12 +81,10 @@ resource "aws_cloudwatch_log_group" "lambda_records" {
81
81
  }
82
82
 
83
83
  # Lambda関数のZIPファイルを作成
84
- # source_dirを使用してnode_modulesを含むディレクトリ全体を監視
85
84
  data "archive_file" "lambda_records" {
86
85
  type = "zip"
87
- source_dir = "${path.module}/../dist/server"
86
+ source_file = "${path.module}/../dist/server/handler.cjs"
88
87
  output_path = "${path.module}/../dist/server/handler.zip"
89
- excludes = ["handler.zip"]
90
88
  }
91
89
 
92
90
  # Lambda関数