@jaypie/mcp 0.8.9 → 0.8.10

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.
@@ -9,7 +9,7 @@ import { gt } from 'semver';
9
9
  /**
10
10
  * Docs Suite - Documentation services (skill, version, release_notes)
11
11
  */
12
- const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.9#95406a5a"
12
+ const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.10#b3e5862c"
13
13
  ;
14
14
  const __filename$1 = fileURLToPath(import.meta.url);
15
15
  const __dirname$1 = path.dirname(__filename$1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaypie/mcp",
3
- "version": "0.8.9",
3
+ "version": "0.8.10",
4
4
  "description": "Jaypie MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,11 @@
1
+ ---
2
+ version: 1.2.39
3
+ date: 2026-03-31
4
+ summary: Add environment prop and deploy nonce to JaypieMigration
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Add `environment` prop to `JaypieMigration` for passing environment variables to the migration Lambda
10
+ - Add `deployNonce` custom resource property to force re-invocation on every deploy, even when only Lambda code changes
11
+ - Closes #261
@@ -32,16 +32,17 @@ new JaypieMigration(this, "SeedData", {
32
32
  | Prop | Type | Default | Description |
33
33
  |------|------|---------|-------------|
34
34
  | `code` | `lambda.Code \| string` | *required* | Path to bundled migration code or CDK Code object |
35
+ | `dependencies` | `Construct[]` | `[]` | Constructs that must be created before the migration runs |
36
+ | `environment` | `Record<string, string> \| (Record<string, string> \| string)[]` | - | Environment variables for the migration Lambda |
35
37
  | `handler` | `string` | `"index.handler"` | Lambda entry point |
36
- | `tables` | `dynamodb.ITable[]` | `[]` | DynamoDB tables to grant read/write access |
37
38
  | `secrets` | `SecretsArrayItem[]` | `[]` | Secrets to make available to the Lambda |
38
- | `dependencies` | `Construct[]` | `[]` | Constructs that must be created before the migration runs |
39
+ | `tables` | `dynamodb.ITable[]` | `[]` | DynamoDB tables to grant read/write access |
39
40
 
40
41
  ## Behavior
41
42
 
42
43
  - **Timeout**: 5 minutes (vs 30s for API Lambdas) to accommodate long-running migrations
43
44
  - **Role**: Tagged as `CDK.ROLE.PROCESSING`
44
- - **Execution**: Runs on every deploy via CloudFormation custom resource
45
+ - **Execution**: Runs on every deploy via CloudFormation custom resource (uses a deploy nonce to force re-invocation even when only Lambda code changes)
45
46
  - **Dependencies**: Use `dependencies` to ensure tables and other resources exist before the migration executes
46
47
 
47
48
  ## Migration Lambda Handler