Skip to content

Commit 86a57c0

Browse files
committed
Upgrade to Node 16
Since Node 14 EOL'ed earlier in the year
1 parent ba694ce commit 86a57c0

File tree

8 files changed

+2797
-2280
lines changed

8 files changed

+2797
-2280
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14
1+
16

examples/.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14
1+
16

examples/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@
1111
"example1": "npx ts-node -T src/example1Sheep.ts",
1212
"example2": "npx ts-node -T src/example2Chickens.ts",
1313
"example3": "npx ts-node -T src/example3Farms.ts",
14-
"local-checks": "yarn tsc"
14+
"local-checks": "tsc"
1515
},
1616
"dependencies": {
1717
"@symphoniacloud/dynamodb-entity-store": "*"
1818
},
1919
"devDependencies": {
2020
"@aws-sdk/types": "3.x",
2121
"@types/deep-equal": "1.x",
22-
"@types/node": "14.x",
22+
"@types/node": "16.x",
2323
"ts-node": "10.x",
2424
"typescript": "4.x"
25-
},
26-
"version": "0.0.0"
25+
}
2726
}

examples/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"include": ["src/**/*.ts"],
44
"compilerOptions": {
5-
"target": "es2020",
5+
"target": "es2021",
66
"module": "commonjs",
77

88
// ** Type Checking **

examples/yarn.lock

Lines changed: 0 additions & 971 deletions
This file was deleted.

package-lock.json

Lines changed: 2787 additions & 1298 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
"all-checks": "npm run local-checks && npm run integration-tests",
2828
"deploy": "cd test/examples && aws cloudformation deploy --template-file template.yaml --stack-name \"${STACK_NAME-entity-store-test-stack}\" --no-fail-on-empty-changeset",
2929
"deploy-and-all-checks": "npm run deploy && npm run integration-tests",
30-
"build": "rm -rf dist && npm tsc -p tsconfig-build-esm.json && npm tsc -p tsconfig-build-cjs.json && echo '{\"type\": \"module\"}' > dist/esm/package.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
30+
"build": "rm -rf dist && tsc -p tsconfig-build-esm.json && tsc -p tsconfig-build-cjs.json && echo '{\"type\": \"module\"}' > dist/esm/package.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
3131
"prepublishOnly": "npm run local-checks && npm run build",
3232
"check-examples": "cd examples && npm run local-checks"
3333
},
3434
"engines": {
35-
"node": ">=14.21.0"
35+
"node": ">=16.20.0"
3636
},
3737
"dependencies": {
3838
"@aws-sdk/client-dynamodb": "3.x",
@@ -43,7 +43,7 @@
4343
"@aws-sdk/client-cloudformation": "3.x",
4444
"@aws-sdk/types": "3.x",
4545
"@types/deep-equal": "1.x",
46-
"@types/node": "14.x",
46+
"@types/node": "16.x",
4747
"@typescript-eslint/eslint-plugin": "5.x",
4848
"@typescript-eslint/parser": "5.x",
4949
"deep-equal": "2.x",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"exclude": ["node_modules", "dist"],
66
"compilerOptions": {
77
// ** Modules **
8-
"target": "es2020",
8+
"target": "es2021",
99
// "module"" is overridden in the ESM build config
1010
"module": "commonjs",
1111
// This is default for commonjs, but not for ES Modules, so be explicit here

0 commit comments

Comments
 (0)