From f2fbfa410f8903ce047fb369377e4d9e82dee2d5 Mon Sep 17 00:00:00 2001 From: "Mark S. Lewis" Date: Fri, 29 Apr 2022 15:59:50 +0100 Subject: [PATCH] Enable engine-strict checks for TypeScript Gateway samples (#726) Use an .npmrc to enable engine-strict checks so that `npm install` will fail for projects when an incompatible Node version is used, rather than confusing errors about unsupported language features occuring at runtime. Signed-off-by: Mark S. Lewis --- asset-transfer-basic/application-gateway-typescript/.npmrc | 1 + asset-transfer-events/application-gateway-typescript/.npmrc | 1 + .../application-gateway-typescript/.npmrc | 1 + 3 files changed, 3 insertions(+) create mode 100644 asset-transfer-basic/application-gateway-typescript/.npmrc create mode 100644 asset-transfer-events/application-gateway-typescript/.npmrc create mode 100644 asset-transfer-private-data/application-gateway-typescript/.npmrc diff --git a/asset-transfer-basic/application-gateway-typescript/.npmrc b/asset-transfer-basic/application-gateway-typescript/.npmrc new file mode 100644 index 00000000..b6f27f13 --- /dev/null +++ b/asset-transfer-basic/application-gateway-typescript/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/asset-transfer-events/application-gateway-typescript/.npmrc b/asset-transfer-events/application-gateway-typescript/.npmrc new file mode 100644 index 00000000..b6f27f13 --- /dev/null +++ b/asset-transfer-events/application-gateway-typescript/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/asset-transfer-private-data/application-gateway-typescript/.npmrc b/asset-transfer-private-data/application-gateway-typescript/.npmrc new file mode 100644 index 00000000..b6f27f13 --- /dev/null +++ b/asset-transfer-private-data/application-gateway-typescript/.npmrc @@ -0,0 +1 @@ +engine-strict=true