diff --git a/examples/generators/production_beaker_smart_contract_typescript/.npmrc b/examples/generators/production_beaker_smart_contract_typescript/.npmrc new file mode 100644 index 0000000..c42da84 --- /dev/null +++ b/examples/generators/production_beaker_smart_contract_typescript/.npmrc @@ -0,0 +1 @@ +engine-strict = true diff --git a/examples/generators/production_beaker_smart_contract_typescript/package.json b/examples/generators/production_beaker_smart_contract_typescript/package.json index 4afc3fb..933f41b 100644 --- a/examples/generators/production_beaker_smart_contract_typescript/package.json +++ b/examples/generators/production_beaker_smart_contract_typescript/package.json @@ -10,7 +10,8 @@ "format": "prettier --write ." }, "engines": { - "node": ">=18.0" + "node": ">=18.0", + "npm": ">=9.0" }, "dependencies": { "@algorandfoundation/algokit-utils": "^5.1.0", diff --git a/examples/generators/starter_beaker_smart_contract_typescript/.npmrc b/examples/generators/starter_beaker_smart_contract_typescript/.npmrc new file mode 100644 index 0000000..c42da84 --- /dev/null +++ b/examples/generators/starter_beaker_smart_contract_typescript/.npmrc @@ -0,0 +1 @@ +engine-strict = true diff --git a/examples/generators/starter_beaker_smart_contract_typescript/package.json b/examples/generators/starter_beaker_smart_contract_typescript/package.json index 4a3ecae..75b8aa2 100644 --- a/examples/generators/starter_beaker_smart_contract_typescript/package.json +++ b/examples/generators/starter_beaker_smart_contract_typescript/package.json @@ -9,7 +9,8 @@ "format": "prettier --write ." }, "engines": { - "node": ">=18.0" + "node": ">=18.0", + "npm": ">=9.0" }, "dependencies": { "@algorandfoundation/algokit-utils": "^5.1.0", diff --git a/template_content/{% if deployment_language == 'typescript' or use_typescript_jest %}.npmrc{% endif %} b/template_content/{% if deployment_language == 'typescript' or use_typescript_jest %}.npmrc{% endif %} new file mode 100644 index 0000000..c42da84 --- /dev/null +++ b/template_content/{% if deployment_language == 'typescript' or use_typescript_jest %}.npmrc{% endif %} @@ -0,0 +1 @@ +engine-strict = true diff --git a/template_content/{% if deployment_language == 'typescript' or use_typescript_jest %}package.json{% endif %}.jinja b/template_content/{% if deployment_language == 'typescript' or use_typescript_jest %}package.json{% endif %}.jinja index 360bdae..26e6674 100644 --- a/template_content/{% if deployment_language == 'typescript' or use_typescript_jest %}package.json{% endif %}.jinja +++ b/template_content/{% if deployment_language == 'typescript' or use_typescript_jest %}package.json{% endif %}.jinja @@ -12,7 +12,8 @@ "format": "prettier --write ." }, "engines": { - "node": ">=18.0" + "node": ">=18.0", + "npm": ">=9.0" }, "dependencies": { "@algorandfoundation/algokit-utils": "^5.1.0",