From 08459b5a28f16f6b55d04c8776f203646e8de138 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Tue, 23 Apr 2024 23:18:53 -0700 Subject: [PATCH] replace .npmignore with files=[] in package.json net changes: - no longer publishing all the dotfiles [on NPM](https://www.npmjs.com/package/libmime?activeTab=code) - no more need to maintain .npmignore --- .github/workflows/test.yml | 4 ++-- .npmignore | 4 ---- package.json | 1 + 3 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 .npmignore diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e56a4c4..1c97bfb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,11 +8,11 @@ jobs: test: strategy: matrix: - node: [16.x, 18.x, 20.x, 21.x] + node: [16, 18, 20, 21] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v4 with: diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 6f13870..0000000 --- a/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -.travis.yml -.jshintrc -Gruntfile.js -test diff --git a/package.json b/package.json index e656b5e..b9c53d9 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "description": "Encode and decode quoted printable and base64 strings", "version": "5.3.5", "main": "lib/libmime.js", + "files": ["lib", "CHANGELOG.md"], "homepage": "https://github.com/nodemailer/libmime", "repository": { "type": "git",