Skip to content

Commit

Permalink
rename migration helpers package
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Égée committed Nov 10, 2023
1 parent 061a05f commit d5f3e61
Show file tree
Hide file tree
Showing 8 changed files with 4,130 additions and 1,507 deletions.
2 changes: 1 addition & 1 deletion demo/example/lib/runMigrationsLambda/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
getMigrationsToRun,
getTargetVersion,
MigrateActionResponse,
} from 'dynamodb-migration-helpers';
} from 'migration-version-helpers';

import { migrationsToRun } from './migrations';

Expand Down
2 changes: 1 addition & 1 deletion demo/example/lib/runMigrationsLambda/migrations/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Migration } from 'dynamodb-migration-helpers';
import { Migration } from 'migration-version-helpers';

import { migration1 } from './migration1';
import { migration2 } from './migration2';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DynamoDB } from '@aws-sdk/client-dynamodb';
import { Migration } from 'dynamodb-migration-helpers';
import { Migration } from 'migration-version-helpers';

const client = new DynamoDB({ region: 'eu-west-1' });

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Migration } from 'dynamodb-migration-helpers';
import { Migration } from 'migration-version-helpers';

export const migration2: Migration = {
id: 2,
Expand Down
2 changes: 1 addition & 1 deletion demo/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"aws-cdk-lib": "^2.103.1",
"cdk-dynamodb-migrator": "workspace:*",
"constructs": "^10.3.0",
"dynamodb-migration-helpers": "0.1.0"
"migration-version-helpers": "0.1.0"
},
"devDependencies": {
"@types/jest": "^29.5.6",
Expand Down
6 changes: 3 additions & 3 deletions packages/migration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ This package is part of the cdk-dynamodb-migration project. See its documentatio
# Installation

```bash
pnpm add dynamodb-migration-helpers
pnpm add migration-version-helpers
```

or if using yarn

```bash
yarn add dynamodb-migration-helpers
yarn add migration-version-helpers
```

or if using npm

```bash
npm install dynamodb-migration-helpers
npm install migration-version-helpers
```
2 changes: 1 addition & 1 deletion packages/migration/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "dynamodb-migration-helpers",
"name": "migration-version-helpers",
"description": "A set of helpers for DynamoDB migrations",
"version": "0.1.0",
"license": "MIT",
Expand Down
Loading

0 comments on commit d5f3e61

Please sign in to comment.