Skip to content

Commit 4aa0543

Browse files
committed
Bumps node modules
1 parent 191951d commit 4aa0543

9 files changed

Lines changed: 1394 additions & 346 deletions

File tree

tests/infra/bin/infra.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
#!/usr/bin/env node
2-
import 'source-map-support/register';
3-
import * as cdk from 'aws-cdk-lib';
4-
import { InfraStack } from '../lib/infra-stack';
52
import assert from 'assert';
3+
import { InfraStack } from '../lib/infra-stack.js';
4+
import * as cdk from 'aws-cdk-lib';
65

76
const app = new cdk.App();
87

98
const name = app.node.tryGetContext('name') as string | undefined;
109
assert(name);
1110

1211
new InfraStack(app, `csv2dynamodb-test-${name}-stack`, {
13-
name
12+
name,
1413
});

tests/infra/lib/infra-stack.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { RemovalPolicy } from 'aws-cdk-lib';
44
import { Construct } from 'constructs';
55

66
interface InfraStackProps extends cdk.StackProps {
7-
name: string
7+
readonly name: string
88
}
99

1010
export class InfraStack extends cdk.Stack {
@@ -15,9 +15,9 @@ export class InfraStack extends cdk.Stack {
1515
tableName: props.name,
1616
partitionKey: {
1717
name: 'test',
18-
type: AttributeType.STRING
18+
type: AttributeType.STRING,
1919
},
20-
removalPolicy: RemovalPolicy.DESTROY
20+
removalPolicy: RemovalPolicy.DESTROY,
2121
});
2222
}
2323
}

tests/infra/package.json

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,34 @@
99
"build": "tsc",
1010
"watch": "tsc -w",
1111
"test": "vitest run",
12-
"cdk": "cdk"
12+
"clean": "tsc --build --clean",
13+
"cdk": "cdk",
14+
"lint": "eslint",
15+
"lint-fix": "eslint --fix"
1316
},
1417
"devDependencies": {
15-
"@types/node": "^25.6.0",
18+
"@eslint/compat": "^2.0.5",
19+
"@eslint/js": "^10.0.1",
20+
"@stylistic/eslint-plugin": "^5.10.0",
21+
"@types/node": "^24.12.2",
22+
"@vitest/coverage-v8": "^4.1.5",
23+
"@vitest/eslint-plugin": "^1.6.16",
1624
"aws-cdk": "^2.1119.0",
25+
"eslint": "^10.2.1",
26+
"eslint-import-resolver-typescript": "^4.4.4",
27+
"eslint-plugin-awscdk": "^4.3.2",
28+
"eslint-plugin-import-x": "^4.16.2",
29+
"eslint-plugin-promise": "^7.3.0",
30+
"jiti": "^2.6.1",
1731
"tsx": "^4.21.0",
1832
"typescript": "^6.0.3",
33+
"typescript-eslint": "^8.59.1",
1934
"vite": "^8.0.10",
2035
"vitest": "^4.1.5"
2136
},
2237
"dependencies": {
2338
"aws-cdk-lib": "^2.251.0",
2439
"constructs": "^10.6.0"
2540
},
26-
"packageManager": "pnpm@10.33.3"
41+
"packageManager": "pnpm@11.0.5"
2742
}

0 commit comments

Comments
 (0)