From eec9bb63d06d0b854abb8027b9bf5f859b695cb7 Mon Sep 17 00:00:00 2001 From: jamie-bitflight Date: Mon, 20 Nov 2023 14:03:56 -0500 Subject: [PATCH] ci(tests): debug permissions --- .node-version | 1 + README.md | 3 +++ package.json | 5 ++++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .node-version diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..922f10a --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +20.x diff --git a/README.md b/README.md index 4455cac..7b98a60 100644 --- a/README.md +++ b/README.md @@ -221,5 +221,8 @@ You can modify the script below to include any extra variables you like or use n | readme_after | The content of the readme file after the changes were made | + +**NOTE**: [volta.sh](https://volta.sh/) is a great tool for managing node versions, and is configured in this directory. If you have volta installed, you can run `volta install` to install the correct version of node for this project. + diff --git a/package.json b/package.json index 4e804f0..8cfdbd4 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "postinstall": "echo '✨ Successfully Installed'", "prelint": "npm run format && tsc --project tsconfig.json --noemit", "lint": "npm run lint:eslint && npm run lint:markdown", - "lint:fix": "npm run lint:eslint:fix && npm run lint:markdown:fix", + "lint:fix": "npm run lint:eslint:fix && npm run lint:markdown:fix", "lint:eslint": "eslint -c .eslintrc.cjs --color ./src/ ./__tests__/", "lint:eslint:fix": "npm run eslint -- --fix", "markdownlint": "markdownlint", @@ -218,5 +218,8 @@ "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" + }, + "volta": { + "node": "20.9.0" } }